Re: domain has active block job

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

 



Il 13/01/2015 10:51, Kashyap Chamarthy ha scritto:
On Tue, Jan 13, 2015 at 10:10:53AM +0100, Fiorenza Meini wrote:
Hi there,
I receive this error when I run nova image-create <VM name> <Vm Sanpshot
name>:

Okay, you're talking in the context of OpenStack.

You can also check the Nova compute.log for more contextual details of
why the operation failed.

Exception during message handling: block copy still active: domain has
active block job

In libvirt log file I can see:
error : qemuDomainDefineXML:6312 : block copy still active: domain has
active block job

Libvirt is 1.2.7 version, linux system is Debian Wheezy

Please, what does it mean ?

It means, according to libvirt, there's an unfinished `blockcopy` (Copy
a disk backing image chain to destination ) operation.

If you can find the associated libvirt guest name, you can try the
below maybe.

For the Nova libvirt guest that you're trying to create a snapshot of,
find the location of its current block device:

     $ virsh domblklist instance-YYYYYYYYY

Then check if there are active block operaations for that disk:

     $ virsh blockjob instance-YYYYYYYYY /path/to/libvirt/disk/ --info

If there is any operation and if it is a test environment, you can
run the below to abort the block operation in progress:

     $ virsh blockjob instance-YYYYYYYYY /path/to/libvirt/disk/ --abort.

Please the man page of `virsh` for more details.


Thank for your response, I'm quite new on libvirt...
1) virsh blockjob ... -info gave me an empyt list
2( virsh blockjob ... -abort gave me this error: error: Requested operation is not valid: another job on disk 'vda' is still being ended....

..but what ?

I'm looking at the man page of virsh to find an useful option for me...

Regards
Fiorenza

--
Spazio Web S.r.l.
V. Dante, 10
13900 Biella
Tel.: +39 015 2431982
Fax.: +39 015 2522600
Numero d'Iscrizione al Registro Imprese presso CCIAA Biella, Cod.Fisc.e P.Iva: 02414430021
Iscriz. REA: BI - 188936 Cap. Soc.: €. 30.000 i.v.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux