Existing tripleo passwords files are not correctly updated for newly added services

Bug #1314615 reported by Loganathan Parthipan
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Unassigned

Bug Description

If a tripleo passwords file such as tripleo-undercloud-passwords already exists it is sourced as it is. If a new service has been added then its password is not updated since setup-undercloud-passwords wouldn't be called. This can result in a failure such as the following:

devtest_undercloud.sh: line 158: UNDERCLOUD_CEILOMETER_PASSWORD: unbound variable

Revision history for this message
Ben Nemec (bnemec) wrote :

I actually had a change proposed to fix this. I've restored it and will get it fixed up so it can go in.

https://review.openstack.org/#/c/87039/

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Loganathan Parthipan (parthipan) wrote :

@Ben: Thanks, the patch looks good.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-incubator (master)

Reviewed: https://review.openstack.org/87039
Committed: https://git.openstack.org/cgit/openstack/tripleo-incubator/commit/?id=449ae5c167f956d6f28b078d0f05328c719412d1
Submitter: Jenkins
Branch: master

commit 449ae5c167f956d6f28b078d0f05328c719412d1
Author: Ben Nemec <email address hidden>
Date: Fri Apr 11 21:14:59 2014 -0500

    Allow adding passwords in setup-*-passwords

    By default we don't overwrite password files when running devtest,
    which means that when a new password is needed the existing
    password files must be deleted and regenerated or the new password
    will not exist. This change checks for the existence of each
    password individually so that new passwords can simply be appended
    to the password files.

    Closes-Bug: #1314615

    Change-Id: I746749c6cc07e7b43bd3bc327b62098d72e317cf

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.