NC reports failed AttachVolumes in DescribeInstances

Bug #344613 reported by chris grzegorczyk
12
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Critical
Dmitrii Zagorodnov
eucalyptus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When an AttachVolume fails the NC still reports the volume in DescribeInstances.

[Tue Mar 17 18:06:04 2009][007109][EUCAINFO ] doAttachVolume() invoked (id=i-497E090D vol=vol-32CE04AE remote=/dev/etherd/e0.2 local=sde)
[Tue Mar 17 18:06:04 2009][007109][EUCAERROR ] libvirt: this function is not supported by the hypervisor: this device type cannot be attached (code=3)
[Tue Mar 17 18:06:04 2009][007109][EUCAERROR ] AttachVolume() failed (err=-1) XML=<disk type='block'><driver name='phy'/><source dev='/dev/etherd/e0.2'/><target dev='sde'/></disk>
[Tue Mar 17 18:06:04 2009][007109][EUCAERROR ] ERROR: doAttachVolume() failed error=1

...

<n:ncDescribeInstancesResponse xmlns:n="http://eucalyptus.ucsb.edu/">
    <n:correlationId>c71fd598-d973-44f1-a419-fe33c f5cd7dc</n:correlationId>
    <n:userId>eucalyptus</n:userId>
    <n:return>true</n:return>
    <n:instances>
        <n:reservationId>r-558309C4</n:reservationId>
        <n:instanceId>i-497E090D
        </n:instanceId>
        <n:imageId>emi-ADF00FA4</n:imageId>
        <n:kernelId>eki-270011F9</n:kernelId>
        <n:ramdiskId>eri-76A0133F</n:ramdiskId>
        <n:userId>admin</n:userId>
        <n:keyName>ssh-rs a AAAAB3NzaC1yc2EAAAADAQABAAABAQCfH0TvVq4dg4/1li8y0Cwmko44/eo9IW3LiNJFV4zgitetuzSuJFQsjpHwFG7rcTlV+qTP7+QWNuO6EJprWnv68z
            6sEXij56VN7i15QeoGlQ5MJo9S1EdafWD5Fvs2G7jWUl3EPo9IkcdrTw4q/DDFbiqUlBbpaCRYYVsitYJXzg2kHmNs/TOVHEUsrkkii2AfStrdegq6OpJu7qK4syXbY1EiPzAijtyfFawspQkazDRqJmJjKHxZf3YxgRuR
            eR7yubqf0gA/5mJy1uG8ZrVrEKbQot74vOj4OdafM6MAve+oGvxVIkvDlyJfYu/4KP1N6R/G6H4lW8JrIuiNr3HB admin@eucalyptus
        </n:keyName>
        <n:instanceType>
            <n:memory>128</n:memory>
            <n:cores>
                1
            </n:cores>
            <n:disk>1</n:disk>
        </n:instanceType>
        <n:netParams>
            <n:privateMacAddress>d0:0d:49:7E:09:0D</n:privateMacAddress>
            <n:publicMacAddress>d0:0d:49:7E:09:0D
            </n:publicMacAddress>
            <n:vlan>10</n:vlan>
            <n:privateIp>0.0.0.0</n:privateIp>
            <n:publicIp>0.0.0.0</n:publicIp>
        </n:netParams>
        <n:stateName>Extant</n:stateName>
        <n:launchTime>2009-03-1 8T00:11:44.351Z</n:launchTime>
        <n:userData></n:userData>
        <n:launchIndex>0</n:launchIndex>
        <n:groupNames>default</n:groupNames>
        <n:volumes>
            <n:volumeId>vol-32CE04AE
            </n:volumeId>
            <n:remoteDev>/dev/etherd/e0.2</n:remoteDev>
            <n:localDev>sde</n:localDev>
            <n:state></n:state>
        </n:volumes>
    </n:instances>
</n:ncDescribeInstancesResponse>

Changed in eucalyptus:
assignee: nobody → dmitrii
importance: Undecided → Critical
Revision history for this message
Dmitrii Zagorodnov (dmitrii) wrote :

revno: 240
committer: Dmitrii Zagorodnov <email address hidden>
branch nick: 1.5
timestamp: Wed 2009-03-18 14:46:57 -0700
message:
  fixing multiple problems that prevented volume attach/detach from working

Changed in eucalyptus:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.5~bzr241-0ubuntu1

---------------
eucalyptus (1.5~bzr241-0ubuntu1) jaunty; urgency=low

  * New upstream snapshot.
    + Make sure that no addresses outside the specified range are used.
      (LP: #344330)
    + Fix EBS volume detachment. (LP: #344568)
    + Fix EBS volume attachment. (LP: #344613)
    + Fix deletiong volumes marked as deleted. (LP: #344620)
    + Add missing EBS flag in sample conffile. (LP: #345004)
    + Allow more concurrent downloads from Walrus. (LP: #345034)
  * Rely on libvirt's defaults for the emulator. (LP: #336852)

 -- Soren Hansen <email address hidden> Thu, 19 Mar 2009 00:33:07 +0100

Changed in eucalyptus:
status: New → Fix Released
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.