Quickstart fails if Virtual BMCs have already been created

Bug #1705734 reported by Alan Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alan Bishop

Bug Description

The quickstart-extras task that creates Virtual BMCs will fail if they already exist:

TASK [undercloud-deploy : Create the Virtual BMCs] *****************************
task path: /home/ooo/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/configure-vbmc.yml:61
Friday 21 July 2017 11:51:29 -0400 (0:00:00.122) 0:26:42.667 ***********
failed: [undercloud] (item={u'flavor': u'control', u'virtualbmc_port': 6230, u'name': u'control_0'}) => {"changed": false, "cmd": ["vbmc", "add", "control_0", "--
port", "6230", "--libvirt-uri", "qemu+ssh://stack@192.168.23.1/session?socket=/run/user/1002/libvirt/libvirt-sock&keyfile=/root/.ssh/id_rsa_virt_power&no_verify=1
&no_tty=1"], "delta": "0:00:01.112262", "end": "2017-07-21 15:51:41.162018", "failed": true, "item": {"flavor": "control", "name": "control_0", "virtualbmc_port":
 6230}, "rc": 1, "start": "2017-07-21 15:51:40.049756", "stderr": "Domain control_0 already exists", "stdout": "", "stdout_lines": [], "warnings": []}

This makes it difficult to re-runing quickstart without rebuilding or patching the undercloud node.

Changed in tripleo:
assignee: nobody → Alan Bishop (alan-bishop)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
milestone: none → pike-3
importance: Undecided → Medium
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/486175
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=649d54bd7a881f30a7660c503c2afbacad26367e
Submitter: Jenkins
Branch: master

commit 649d54bd7a881f30a7660c503c2afbacad26367e
Author: Alan Bishop <email address hidden>
Date: Fri Jul 21 12:13:30 2017 -0400

    Don't fail if Virtual BMCs have already been created

    Update the "Create the Virtual BMCs" task so that it doesn't fail when
    a vbmc instance already exists. This avoids false failures that otherwise
    occur if you re-run quickstart.

    Closes-Bug: #1705734
    Change-Id: Ib290fabd3b8ce868f189ad5bbd095fe996f39ce7

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

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 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.