Bug 1873246 - [RFE] --stack-only should re-generate Ansible content
Summary: [RFE] --stack-only should re-generate Ansible content
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Alpha
: 17.0
Assignee: OSP Team
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-27 17:25 UTC by Luke Short
Modified: 2022-09-21 12:11 UTC (History)
14 users (show)

Fixed In Version: python-tripleoclient-16.4.1-0.20211008042333.f3d167d.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:11:25 UTC
Target Upstream Version:
Embargoed:
grosenbe: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 772701 0 None master: MERGED python-tripleoclient: Add new option for `setup-only` (I3c0466aeed8cd7d2248c0d769b24821110a0e0a5) 2022-06-28 14:34:22 UTC
Red Hat Issue Tracker OSP-3699 0 None None None 2022-02-04 17:40:49 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:11:54 UTC

Description Luke Short 2020-08-27 17:25:28 UTC
Description of problem:
The `openstack overcloud deploy --stack-only` command will only update the Heat stack. It does NOT update the config-download playbooks. Running the `openstack overcloud deploy --config-download-only` command will run the deployment using the config-download Ansible content that was generated based on the last Heat stack (not the current one).


Version-Release number of selected component (if applicable):
All RHOSP releases


How reproducible:
100%


Steps to Reproduce:
1. Update a TripleO Heat template parameter
2. `openstack overcloud deploy --stack-only`
3. `openstack overcloud deploy --config-download-only`


Actual results:
The updated Heat stack is not used to generate new Ansible content.


Expected results:
The new Heat parameters should be picked up and used for the config-download run.

Comment 3 Luke Short 2020-08-27 17:28:09 UTC
This feature should also be extended to include `openstack overcloud config download`.

Comment 4 Luke Short 2020-08-27 17:39:19 UTC
Or rather, `openstack overcloud deploy --stack-only` should generate the Ansible deployment content.

Comment 7 Bogdan Dobrelya 2020-09-10 08:57:22 UTC
Also note that given that `openstack overcloud deploy --stack-only` should generate the Ansible deployment content, having both that and `openstack overcloud config download` looks redundant. Those two should be merged into a single command.

Comment 12 Kevin Carter 2021-01-27 14:47:54 UTC
An implementation of this RFE has been submitted upstream - linked here [0].

This change implements a new option called `setup-only` which allows the user to omit the `stack-only` flag. This change implements the setup automation required to allow the deployer to run ansible-playbook directly.

[0] https://review.opendev.org/c/openstack/python-tripleoclient/+/772701

Comment 13 Cédric Jeanneret 2021-02-17 14:52:35 UTC
Moving to osp-17 since patch still open upstream, and we're too close to the deadlines for 16.2.

Comment 21 David Rosenfeld 2022-07-13 14:56:52 UTC
Test cases pass and automation is in place.

Comment 26 errata-xmlrpc 2022-09-21 12:11:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.