Baremetal vms start failed in devstack arising from network dev is down
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='/
<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://
Changed in devstack: | |
assignee: | nobody → Tao Li (eric-litao) |
No version was found in the description, which is required, marking as Incomplete. Please update the bug description to include 'devstack version: ... '.