Ocata to Pike upgrade: running upgrade-non-controller.sh script for a split stack compute node fails because tripleo-ansible-inventory is using the heat-admin user instead of 'stack'
Bug #1724552 reported by
Marios Andreou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Marios Andreou |
Bug Description
As discussed at https:/
To overcome this we can generate and use a static inventory so that we can specify a --ansible_ssh_user
Patch posted here https:/
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/512999 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=07587f6b027 62e5b3d7c9499c0 ee8ccb1881e06e
Committed: https:/
Submitter: Zuul
Branch: master
commit 07587f6b02762e5 b3d7c9499c0ee8c cb1881e06e
Author: marios <email address hidden>
Date: Wed Oct 18 13:36:32 2017 +0300
Get a static inventory for upgrade- non-controller ansible runs
This is mainly used together with the newly added --overcloud-user
option and allows us to specify a custom overcloud admin user
e.g. in split stack environments 'stack' vs 'heat-admin'. The
static inventory is generated with the specified user.
As a further optimisation this also adds a new --inventory (-I)
option with which a previously generated inventory can be
specified.
This is also expected to be more efficient since we now only
generate the inventory at most once per node/invocation.
Change-Id: If0d5ca461ce6fa f84c26a75bf9ab9 e72bb061e7a
Closes-Bug: 1724552