Baremetal vms start failed in devstack arising from network dev is down

Bug #1700029 reported by Tao Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Expired
Undecided
Unassigned

Bug Description

## environment
1. Centos 6.5
2. nova version:
[stack@devstack devstack]$ nova --version
9.0.0

3.openstack version:
[stack@devstack devstack]$ openstack --version
openstack 3.11.0

4.[stack@devstack devstack]$ ironic --version
1.13.0

## Description
In devstack with ironic environment, I deployed vms as baremetal nodes failed. I found the tap devices attached to vms were down when started vms. Then the ironic couldn't deploy the vms because of dhcp failed. I reviewed the vm.xml and found it missing a parameter. This is the current configuration.

    <interface type='ethernet'>
      <target dev='{{ "tap-" + name + "i" + n|string }}'/>
      <model type='{{ nicdriver }}'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='{{ "0x0" + n|string }}' function='0x0'/>
    </interface>

After I added a parameter 'path' and then it worked well。

    <interface type='ethernet'>
      <target dev='{{ "tap-" + name + "i" + n|string }}'/>
      <script path='/etc/qemu-ifup'/>
      <model type='{{ nicdriver }}'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='{{ "0x0" + n|string }}' function='0x0'/>
    </interface>

So in order to launch the vms successfully everytime, we need to add the parameter. For details, see the libvirt official site: http://libvirt.org/formatdomain.html#elementsNICSEthernet

Tao Li (eric-litao)
Changed in devstack:
assignee: nobody → Tao Li (eric-litao)
Revision history for this message
Sean Dague (sdague) wrote :

No version was found in the description, which is required, marking as Incomplete. Please update the bug description to include 'devstack version: ... '.

tags: added: needs.openstack-version
Changed in devstack:
status: New → Incomplete
Revision history for this message
Tao Li (eric-litao) wrote :

@Sean Dague,I updated the nova and openstack versions, but I don't know how to check the devstack version.I always use the latest vesion in master branch.

description: updated
description: updated
Revision history for this message
Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in devstack:
assignee: Tao Li (eric-litao) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in devstack:
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.