Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1576079 - FFU: openstack overcloud ffwd-upgrade run --yes generates inventory with wrong ansible_ssh_user
FFU: openstack overcloud ffwd-upgrade run --yes generates inventory with wron...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
urgent Severity urgent
: rc
: 13.0 (Queens)
Assigned To: Carlos Camacho
Marius Cornea
: Triaged
: 1575445 (view as bug list)
Depends On:
Blocks: 1561169
  Show dependency treegraph
 
Reported: 2018-05-08 14:14 EDT by Marius Cornea
Modified: 2018-06-27 09:56 EDT (History)
10 users (show)

See Also:
Fixed In Version: python-tripleoclient-9.2.1-11.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:55:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1767379 None None None 2018-05-09 10:06 EDT
Launchpad 1769867 None None None 2018-05-09 10:28 EDT
Launchpad 1769974 None None None 2018-05-09 10:06 EDT
OpenStack gerrit 566960 None master: MERGED python-tripleoclient: Add ssh-user to get_tripleo_ansible_inventory (I447a050ce67d626e7050a22c9821f883ebeda2ee) 2018-05-09 15:54 EDT
OpenStack gerrit 567013 None stable/queens: MERGED python-tripleoclient: Add ssh-user to get_tripleo_ansible_inventory (I447a050ce67d626e7050a22c9821f883ebeda2ee) 2018-05-09 15:54 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:56 EDT

  None (edit)
Description Marius Cornea 2018-05-08 14:14:28 EDT
openstack overcloud ffwd-upgrade run --yes generates inventory with wrong ansible_ssh_user:

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud ffwd-upgrade run --yes
Warning! The TripleO Fast Forward Upgrade workflow is currently considered under development. In particular invocations of the ffwd-upgrade cli should be initially limited to development/test environments. Once and if you decide to use ffwd-upgrade in production, ensure you are adequately prepared with valid backup of your current deployment state.
Continuing fast forward upgrade
Started Mistral Workflow tripleo.package_update.v1.update_nodes. Execution ID: b00c6b64-b809-4556-b0ec-97f1d9b60a79
Waiting for messages on queue 'ffwdupgrade' with no timeout.
[u'Using /tmp/ansible-mistral-actionAS5fdE/ansible.cfg as config file',
 u' [WARNING]: Skipping unexpected key (hostvars) in group (_meta), only "vars",',
 u'"children" and "hosts" are valid',
 u'',
 u'PLAY [overcloud] ***************************************************************',
 u'',
 u'TASK [Gathering Facts] *********************************************************',
 u'fatal: [192.168.24.15]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.15\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.13]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.13\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.17]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.17\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.19]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.19\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.12]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.12\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.10]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.10\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.18]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.18\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'fatal: [192.168.24.23]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Could not create directory \'/home/mistral/.ssh\'.\\r\\nWarning: Permanently added \'192.168.24.23\' (ECDSA) to the list of known hosts.\\r\\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n", "unreachable": true}',
 u'',
 u'PLAY RECAP *********************************************************************',
 u'192.168.24.10 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.12 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.13 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.15 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.17 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.18 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.19 : ok=0 changed=0 unreachable=1 failed=0 ',
 u'192.168.24.23 : ok=0 changed=0 unreachable=1 failed=0 ',

[root@undercloud-0 stack]# grep ansible_ssh_user /tmp/ansible-mistral-actionAS5fdE/inventory.yaml
    ansible_ssh_user: overcloud
    ansible_ssh_user: overcloud
    ansible_ssh_user: overcloud
  vars: {ansible_ssh_user: overcloud}
Comment 1 Marios Andreou 2018-05-09 06:03:03 EDT
this is duplicate of BZ 1575445. I assigned it to myself but i saw that ccamacho landed https://review.openstack.org/#/c/566960/ so re-assigning back to him
Comment 2 Marios Andreou 2018-05-09 07:01:51 EDT
*** Bug 1575445 has been marked as a duplicate of this bug. ***
Comment 3 Marios Andreou 2018-05-09 10:26:01 EDT
adding https://review.openstack.org/#/c/567233/ for tracking since I closed BZ 1575445 as duplicate
Comment 4 Carlos Camacho 2018-05-09 11:43:10 EDT
We need blocker flags for proposing this downstream.
Comment 11 Sergii Golovatiuk 2018-05-24 04:21:00 EDT
The actual patch was not included, so I added the actual patch to package. It should be included to python-tripleoclient-9.2.1-11. Thus it requires retesting
Comment 14 errata-xmlrpc 2018-06-27 09:55:31 EDT
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://access.redhat.com/errata/RHEA-2018:2086

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