tripleo-upgrade workaround don't delegate correctly when overcloud name is not overcloud.

Bug #1857119 reported by Sofer Athlan-Guyot on 2019-12-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Unassigned

Bug Description

Hi,

using that workaround:

  - rhbz-1770907-change-timout-live:
      patch: false
      basedir: ''
      ansible_hosts: "controller-0"
      id: ''
      command: |
        sudo pcs resource op defaults timeout=120s

on an env where the overcloud's name is qe-Cloud-0, "fail" (ie, not applied) with this warning:

2019-12-20 01:06:17 | [WARNING]: Could not match supplied host pattern, ignoring: controller-0

The inventory file generated is:

(undercloud) [stack@undercloud-0 ~]$ cat ansible_workarounds/tripleo-inventory.yaml
Undercloud:
  hosts:
    undercloud: {}
  vars:
    ansible_connection: local
    ansible_host: localhost
    ansible_python_interpreter: /usr/bin/python3
    ansible_remote_tmp: /tmp/ansible-${USER}
    auth_url: https://192.168.24.2:13000
    cacert: null
    os_auth_token: gAAAAABd_B6GDNpdyIDiNIJQvkSE0TLQWt3zai8skIUaTZyQ82O-fRxCswRy8tXpshS17GXtXv-SKOFhA-fuzeY5f7R20ZgaWlymf78ON-9HFqT26_xKGQAP4-ngIjWt14DO1HdSh0Rl1T3zuAbFMB5-2OF6ue9Lz_pAODKrLTw-mUL_-Lq2y3E
    plan: overcloud
    project_name: admin
    undercloud_service_list: [tripleo_nova_compute, tripleo_heat_engine, tripleo_ironic_conductor,
      tripleo_swift_container_server, tripleo_swift_object_server, tripleo_mistral_engine]
    undercloud_swift_url: https://192.168.24.2:13808/v1/AUTH_b9eb9a792e4549f38ffed9bbc7d18b76
    username: admin

None of the overcloud nodes are there.

Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin) on 2020-02-10
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin) on 2020-04-13
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin) on 2020-05-26
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers