domjobabort return the same error in distinct cases

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

 



Hi,

I am using the python api:
domain.abortjob(),

if there is no job I get exception with error code: VIR_ERR_OPERATION_INVALID with the
error message: 'Requested operation is not   valid: no job is active on the
domain'

when there is a job I get the same exception code with the same error
message,
in addition I get another exception:

libvirtError ('virDomainMigrateToURI2() failed', dom=self)
libvirtError: operation failed: migration job: canceled by client

the migration thread is throwing as well:
libvirtError ('virDomainMigrateToURI2() failed', dom=self)
libvirtError: operation failed: migration job: canceled by client


Should the same error should be for this two cases?


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]