This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
  Valid example: CONFIRMED FOR: LIBERTY


** Changed in: nova
   Importance: Medium => Undecided

** Changed in: nova
       Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1231874

Title:
  attaching a volume to a VM booted form an iso image fails

Status in OpenStack Compute (nova):
  Expired

Bug description:
  On grizzly (installed from Ubuntu repositories), when booting a VM from an 
ISO image, attempts to attach a volume to it fails with errors:
  ibvirtError: Requested operation is not valid: target hda already exists
  and 
  libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged

  I understand why the above fails, and maybe a fix may not be straightforward. 
However, a work-around was to try and boot the VM with a volume already 
attached to it. This boots the VM, but further attempts to attach a volume to 
it will fail with the error
  libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged

  This second error seems to be easier to fix.

  Below is the libvirt.xml file for the VM where the above attach
  attempt fails:

  <domain type="kvm">
    <uuid>61d0b9d2-a94e-461a-b431-53aeff4f76cd</uuid>
    <name>instance-000001e1</name>
    <memory>524288</memory>
    <vcpu>1</vcpu>
    <sysinfo type="smbios">
      <system>
        <entry name="manufacturer">OpenStack Foundation</entry>
        <entry name="product">OpenStack Nova</entry>
        <entry name="version">2013.1.2</entry>
        <entry name="serial">0c806f64-fb64-0650-64fb-5006696b20ff</entry>
        <entry name="uuid">61d0b9d2-a94e-461a-b431-53aeff4f76cd</entry>
      </system>
    </sysinfo>
    <os>
      <type>hvm</type>
      <boot dev="hd"/>
      <smbios mode="sysinfo"/>
    </os>
    <features>
      <acpi/>
      <apic/>
    </features>
    <clock offset="utc">
      <timer name="pit" tickpolicy="delay"/>
      <timer name="rtc" tickpolicy="catchup"/>
    </clock>
    <cpu mode="host-passthrough" match="exact"/>
    <devices>
      <disk type="file" device="cdrom">
        <driver name="qemu" type="qcow2" cache="none"/>
        <source 
file="/var/lib/nova/instances/61d0b9d2-a94e-461a-b431-53aeff4f76cd/disk"/>
        <target bus="ide" dev="hda"/>
      </disk>
      <disk type="block" device="disk">
        <driver name="qemu" type="raw" cache="none"/>
        <source 
dev="/dev/disk/by-path/ip-xx.xx.xx.xx:3260-iscsi-iqn.2010-10.org.openstack:volume-334ff83b-927a-4775-bf6e-b10908a961b6-lun-1"/>
        <target bus="virtio" dev="vda"/>
        <serial>334ff83b-927a-4775-bf6e-b10908a961b6</serial>
      </disk>
      <interface type="ethernet">
        <mac address="fa:16:3e:a6:d7:50"/>
        <model type="virtio"/>
        <script path=""/>
        <target dev="tap3e13ae38-cc"/>
      </interface>
      <serial type="file">
        <source 
path="/var/lib/nova/instances/61d0b9d2-a94e-461a-b431-53aeff4f76cd/console.log"/>
      </serial>
      <serial type="pty"/>
      <input type="tablet" bus="usb"/>
      <graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
    </devices>
  </domain>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1231874/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to