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

Re: [Xen-API] VBD.destroy




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

 


Rackspace

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