libvirt: rescue for images with kernel missing cmdline config in xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Yaguang Tang |
Bug Description
when rescue images with kernel, the rescued instances cannot boot successfully due to missing cmdline config in libvirt.xml.rescue
the libvirt.xml.rescue:
<domain type="kvm">
<uuid>
<name>
<memory>
<vcpu>1</vcpu>
<os>
<type>
<kernel>
<initrd>
</os>
<features>
<acpi/>
</features>
<clock offset="utc">
<timer name="pit" tickpolicy=
<timer name="rtc" tickpolicy=
</clock>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vdb"/>
</disk>
<interface type="bridge">
<mac address=
<model type="virtio"/>
<source bridge="br2"/>
<filterref filter=
<parameter name="IP" value="10.0.0.10"/>
<parameter name="DHCPSERVER" value="10.0.0.1"/>
</filterref>
</interface>
<serial type="file">
<source path="/
</serial>
<serial type="pty"/>
<input type="tablet" bus="usb"/>
<graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
</devices>
</domain>
the libvirt.xml:
<domain type="kvm">
<uuid>
<name>
<memory>
<vcpu>1</vcpu>
<os>
<type>
<kernel>
<initrd>
<cmdline>
</os>
<features>
<acpi/>
</features>
<clock offset="utc">
<timer name="pit" tickpolicy=
<timer name="rtc" tickpolicy=
</clock>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vdb"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vdc"/>
</disk>
<interface type="bridge">
<mac address=
<model type="virtio"/>
<source bridge="br2"/>
<filterref filter=
<parameter name="IP" value="10.0.0.10"/>
<parameter name="DHCPSERVER" value="10.0.0.1"/>
</filterref>
</interface>
<serial type="file">
<source path="/
</serial>
<serial type="pty"/>
<input type="tablet" bus="usb"/>
<graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
</devices>
</domain>
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → Yaguang Tang (heut2008) |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
Looks like this is already being worked on https:/ /review. openstack. org/#/c/ 17547/