Mailing List Archive

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@lists.xensource.com
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
Re: VBD.destroy [ In reply to ]
xen-api-bounces@lists.xensource.com 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@lists.xensource.com
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api