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

Re: [Xen-API] VBD.destroy

To: "Uli Staerk" <Uli.Staerk@xxxxxxxxxxxxxx>
Subject: Re: [Xen-API] VBD.destroy
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 27 Aug 2007 21:06:59 -0400
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Aug 2007 18:07:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <F91A18B8B41BEA4496988E928B3AAE6D54E605@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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

xen-api-bounces@xxxxxxxxxxxxxxxxxxx wrote on 08/07/2007 09:34:10 AM:

> 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'


Which changeset of xen are you using? 'hg tip' ?


>
> Whats wrong?

Likely that this was a method that was called from somewhere on a XendDomainInfo object. Though on cs 15661 for example I don't see this method being called from anywhere.

   Stefan
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
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>