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

Bug #1857119 reported by Sofer Athlan-Guyot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
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.

Tags: upgrade
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
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
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.