WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] VBD.destroy

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] VBD.destroy
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>