Bug 1270243 - Some parameters may change between two runs of packstack --answer-file
Summary: Some parameters may change between two runs of packstack --answer-file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 7.0 (Kilo)
Assignee: Javier Peña
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-09 11:24 UTC by Javier Peña
Modified: 2023-02-22 23:02 UTC (History)
8 users (show)

Fixed In Version: openstack-packstack-2015.1-0.15.dev1589.g1d6372f.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, certain Packstack parameters (for example, passwords) were not updated in the answer file when they automatically changed internally. As a result, the answer file did not reflect what was actually set up. With this update, Packstack makes sure all the automatic changes are saved back to the answer file, so the runs are reproducible. As a result, the installed state matches the values stored in the answer file.
Clone Of:
Environment:
Last Closed: 2016-02-18 16:46:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 233009 0 None None None Never
Red Hat Product Errata RHBA-2016:0265 0 normal SHIPPED_LIVE openstack-packstack and openstack-puppet-modules bug fix advisory 2016-02-18 21:41:18 UTC

Description Javier Peña 2015-10-09 11:24:42 UTC
Description of problem:
When running "packstack --answer-file file.txt", some parameters may change, and those changes are not stored anywhere. This can create issues, because passwords can be seen in the answer file as "PW_PLACEHOLDER", when they are actually different.

This makes subsequent runs with the same answer file be non reproducible, and can lead to unexpected issues.

How reproducible:
Always

Steps to Reproduce:
1. packstack --gen-answer-file=test.txt
2. Edit answer file, set CONFIG_AMQP_BACKEND=qpid and CONFIG_AMQP_ENABLE_SSL=y
3. packstack --answer-file=test.txt

Actual results:
At the end of the installation, the NSS certdb password will be unknown, while the answer file option is "PW_PLACEHOLDER".

Expected results:
Updated parameters should be stored.

Additional info:

Comment 1 Javier Peña 2015-10-09 11:25:32 UTC
https://review.openstack.org/233009 contains a proposed fix.

Comment 5 Ido Ovadia 2016-01-25 15:01:09 UTC
Verified
========
openstack-packstack-2015.1-0.15.dev1589.g1d6372f.el7ost.noarch

Comment 8 errata-xmlrpc 2016-02-18 16:46:17 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, 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://rhn.redhat.com/errata/RHBA-2016-0265.html


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