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

Re: [Xen-users] Can't stop MD array after destroying domain



Hello, Ian.
Thanks for your reply.

I use xen 4.3.2. There are no device-model processes working with
domain i mentioned in example.
I can see (null) domain in vm list:
==
(null)                                      53     0    14     --psrd  104770.2
==
Tried to unpause domain. Nothing happens.
This is /var/log/xen/ info for this domain:
==
Waiting for domain server1 (domid 53) to die [pid 14588]
Domain 53 has shut down, reason code 1 0x1
Action for shutdown reason code 1 is restart
Domain 53 needs to be cleaned up: destroying the domain
libxl: error: libxl_device.c:894:device_backend_callback: unable to
remove device with path /local/domain/0/backend/vbd/53/51712
libxl: error: libxl_device.c:894:device_backend_callback: unable to
remove device with path /local/domain/0/backend/vif/53/0
libxl: error: libxl.c:1449:devices_destroy_cb: libxl__devices_destroy
failed for 53
==
Here is config file:
==
name='"{vps_name}"'
kernel='"/var/storage/kernel/{os_file}/{os_version}/kernel-{os_bits}"'
ramdisk='"/var/storage/kernel/ramdisk-{os_bits}"'
vif='["mac=00:16:3e:{mac},ip={ip_list}"]'
<loop 
disk>disk='["{vbd_proto}:{vbd_path}{user_id}-{vbd_num},xvd{vbd_char},w"]'</loop
disk>
memory={memory}
maxmem={memory_max}
vcpus={cpu_count}
maxvcpus={maxvcpus}
cpu_cap={cpu_cap}
cpu_weight={cpu_weight}
vfb='["type=vnc,vnclisten=0.0.0.0,vncpasswd={vnc_pass}"]'
extra='"(hd0,0)/boot/grub/menu.lst root=/dev/xvda1
uos_net={ip}:{gateway}:{netmask}:{vps} uos_ns=8.8.8.8
uos_mem={memory}:{memory_max}:{memhold}:1:1 uos_stats={dc_cc_host}
root_size={root_size} selinux=1 enforcing=0 iommu=off swiotlb=off
earlyprintk=xen console=hvc0"'
on_reboot='"destroy"'
on_restart='"destroy"'
on_crash='"destroy"'
cpuid='"host,x2apic=0,aes=0,xsave=0,avx=0"'
device_model_version='"qemu-xen"'
device_model_override='"/usr/bin/qemu-system-x86_64"'
==

On Tue, May 6, 2014 at 12:45 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Mon, 2014-05-05 at 18:25 +0400, Egor Medvedev wrote:
>> Hello.
>>
>>
>> I have a problem with MD array after destroying guest machine using xl
>> toolstack.
>> Sometimes I can get an error:
>> ==
>> libxl: error: libxl_device.c:894:device_backend_callback: unable to
>> remove device with path /local/domain/0/backend/vbd/53/51712
>> libxl: error: libxl_device.c:894:device_backend_callback: unable to
>> remove device with path /local/domain/0/backend/vif/53/0
>> libxl: error: libxl.c:1449:devices_destroy_cb: libxl__devices_destroy
>> failed for 53
>> ==
>> When trying to stop array, system considers it being used by another
>> process.
>> We use dm multipath for block devices. After destroying domain, it is
>> also impossible to remove dm.
>
> Which version of Xen is this with?
>
> Is there a device model process still running?
>
> Does "xl list" still show the domain?
>
> Can you post the full logs of xl destroy please, along with any relevant
> logs from under /var/log/xen and your guest config file. Please can you
> also post the output of "xenstore-ls -fp".
>
> Ian.
>
>



-- 
Best regards,
Egor
http://aylium.net

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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