Undercloud post-install fails

Bug #1651562 reported by Sagi (Sergey) Shnaidman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo-quickstart
Fix Released
Critical
Lucas Alvares Gomes

Bug Description

When running post-install task in undercloud role:

https://github.com/openstack/tripleo-quickstart/blob/c8c6e57ca2aad70c859505e02213ddfe40223e19/roles/tripleo/undercloud/tasks/post-install.yml#L39-L39

command: >
    vbmc add {{item.name}} --port {{item.virtualbmc_port}} --libvirt-uri "qemu+ssh://{{ non_root_user }}@{{ networks[0].address }}/session?socket=/run/user/{{ hostvars[groups['virthost'][0]].non_root_user_uid }}/libvirt/libvirt-sock&keyfile=/root/.ssh/id_rsa_virt_power&no_verify=1&no_tty=1"
  with_items: "{{ overcloud_nodes }}"

it fails when 'non_root_user' and 'non_root_user_id' are not set, for example if not using the "provision" role.
They are set only in:
https://github.com/openstack/tripleo-quickstart/blob/c8c6e57ca2aad70c859505e02213ddfe40223e19/roles/provision/remote/tasks/main.yml#L36-L50

Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

Changes are from patch: VirtualBMC support for tripleo-quickstart
https://github.com/openstack/tripleo-quickstart/commit/79263b18dff77be787243d22581ba1c250f8c260

Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

"/root/.ssh/id_rsa_virt_power" from this command does not present on upstream jobs.

Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
John Trowbridge (trown)
Changed in tripleo-quickstart:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)

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

Changed in tripleo-quickstart:
assignee: nobody → John Trowbridge (trown)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in tripleo-quickstart:
assignee: John Trowbridge (trown) → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by John Trowbridge (<email address hidden>) on branch: master
Review: https://review.openstack.org/413635
Reason: whoops this should have been on extras:

https://review.openstack.org/413243

Changed in tripleo-quickstart:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Lucas Alvares Gomes (<email address hidden>) on branch: master
Review: https://review.openstack.org/413639

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.