Minor update with default ssh user doesn't work

Bug #1789220 reported by Jiří Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jiří Stránský

Bug Description

When running update like:

openstack overcloud update run --roles Compute

the update fails with:

 u'TASK [Gathering Facts] *********************************************************',
 u'Monday 27 August 2018 14:17:33 +0000 (0:00:00.071) 0:00:00.071 ********* ',
 u'fatal: [overcloud-novacompute-1]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \\"192.168.24.11\\". Make sure this host can be reached over ssh", "unreachable":
true}']
[u'fatal: [overcloud-novacompute-0]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \\"192.168.24.28\\". Make sure this host can be reached over ssh", "unreachable":
true}',
 u'fatal: [overcloud-novacompute-2]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \\"192.168.24.6\\". Make sure this host can be reached over ssh", "unreachable": t
rue}',

The old default ssh user value no longer works for Rocky. We should switch to 'tripleo-admin'.

Workaround is to run:

openstack overcloud update run --roles Compute --ssh-user tripleo-admin

Changed in tripleo:
importance: High → Medium
Changed in tripleo:
milestone: rocky-rc2 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/596797

Changed in tripleo:
status: Triaged → In Progress
tags: added: rocky-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/596797
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=effb11b7e351eb9fc6d5762ae41ce5f6ed5ccd7f
Submitter: Zuul
Branch: master

commit effb11b7e351eb9fc6d5762ae41ce5f6ed5ccd7f
Author: Jiri Stransky <email address hidden>
Date: Mon Aug 27 17:09:03 2018 +0200

    Use tripleo-admin user for minor updates

    In Rocky we've moved to config-download, which also means ssh
    administration via tripleo-admin user when running Ansible via
    Mistral.

    Using heat-admin no longer seems to work for freshly deployed Rocky
    environments, we need tripleo-admin. For upgraded environments, the
    assumption is that we'd create and authorize tripleo-admin user during
    upgrade from Queens to Rocky, so using tripleo-admin for subsequent
    minor update should be safe too.

    Change-Id: If4f65d1001c23829fe3285493a6f18bc9af05a99
    Closes-Bug: #1789220

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/599364

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/rocky)

Reviewed: https://review.openstack.org/599364
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=b10c7446eb6088b2bcf9015f1ada61da7b41f7a4
Submitter: Zuul
Branch: stable/rocky

commit b10c7446eb6088b2bcf9015f1ada61da7b41f7a4
Author: Jiri Stransky <email address hidden>
Date: Mon Aug 27 17:09:03 2018 +0200

    Use tripleo-admin user for minor updates

    In Rocky we've moved to config-download, which also means ssh
    administration via tripleo-admin user when running Ansible via
    Mistral.

    Using heat-admin no longer seems to work for freshly deployed Rocky
    environments, we need tripleo-admin. For upgraded environments, the
    assumption is that we'd create and authorize tripleo-admin user during
    upgrade from Queens to Rocky, so using tripleo-admin for subsequent
    minor update should be safe too.

    Change-Id: If4f65d1001c23829fe3285493a6f18bc9af05a99
    Closes-Bug: #1789220
    (cherry picked from commit effb11b7e351eb9fc6d5762ae41ce5f6ed5ccd7f)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 10.6.0

This issue was fixed in the openstack/python-tripleoclient 10.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 11.0.0

This issue was fixed in the openstack/python-tripleoclient 11.0.0 release.

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.