[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] VBD.destroy


  • To: <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: "Uli Staerk" <Uli.Staerk@xxxxxxxxxxxxxx>
  • Date: Tue, 7 Aug 2007 15:34:10 +0200
  • Delivery-date: Tue, 07 Aug 2007 06:31:47 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcfY96L4+vXxBwWQQLuxJ/+bMtfKjw==
  • Thread-topic: VBD.destroy

I created a Virtual Block Device by with the following call:

'VDI.create':  [
  'VDI'       : ac4b4197-ccbc-74c8-1070-f10158f0fc32, 
  'VM'        : e3d9c743-c991-9739-5d5a-a3da76bff796, 
  'device'    : /dev/sda1,
  'bootable'  : true
]

Then I get an Virtual Block Device with the following record:
[
  'io_read_kbs'  : 0.0
  'uuid'         : c6dff9a2-997c-966f-f4b0-503cd7fdcb15
  'image'        :
tap:qcow:/var/lib/xend/storage/ac4b4197-ccbc-74c8-1070-f10158f0fc32.qcow
  'driver'       : paravirtualised
  'VM'           : e3d9c743-c991-9739-5d5a-a3da76bff796
  'io_write_kbs' : 0.0
  'VDI'          : ac4b4197-ccbc-74c8-1070-f10158f0fc32
  'mode'         : RO
  'device'       : /dev/sda1:disk
]

So far so good, but I cant destroy this Virtual Block Device. I always
get the error message from the server:
XendDomainInfo instance has no attribute 'get_device_property' 

Whats wrong?

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.