[ovirt-users] VM disk update failure

Kevin Goldblatt kgoldbla at redhat.com
Sun May 7 12:36:31 UTC 2017


Hi Stephano,

>From the log I see that the image cannot be found. This would indicate that
you have an issue on your host connected to the storage provider:

OneImageInfoReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=254,
mMessage=Image path does not exist or cannot be accessed/created:
(u'/rhev/data-center/mnt/blockSD/6a386652-629d-4045-835b-
21d2f5c104aa/images/c5fb9190-d059-4d9b-af23-07618ff660ce',)]]

Please provide the following:

1. Provide the exact scenario you performed in the Update of the disk

2. Can you please check to see that the storage domain on which the disk
resides is up and running,

3. If not then check whether the storage on the host is visible through the
host

4. If all the above is working then please submit a bug through bugzilla
and provide the engine, server and vdsm logs.


Regards,


Kevin

On Tue, May 2, 2017 at 11:10 PM, Stefano Bovina <bovy89 at gmail.com> wrote:

> Hi, while trying to update a VM disk, a failure was returned (forcing me
> to add a new disk)
>
> Any advice on how to resolve this error?
>
> Thanks
>
>
> Installation info:
>
> ovirt-release35-006-1.noarch
> libgovirt-0.3.3-1.el7_2.1.x86_64
> vdsm-4.16.30-0.el7.centos.x86_64
> vdsm-xmlrpc-4.16.30-0.el7.centos.noarch
> vdsm-yajsonrpc-4.16.30-0.el7.centos.noarch
> vdsm-jsonrpc-4.16.30-0.el7.centos.noarch
> vdsm-python-zombiereaper-4.16.30-0.el7.centos.noarch
> vdsm-python-4.16.30-0.el7.centos.noarch
> vdsm-cli-4.16.30-0.el7.centos.noarch
> qemu-kvm-ev-2.3.0-29.1.el7.x86_64
> qemu-kvm-common-ev-2.3.0-29.1.el7.x86_64
> qemu-kvm-tools-ev-2.3.0-29.1.el7.x86_64
> libvirt-client-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-storage-1.2.17-13.el7_2.3.x86_64
> libvirt-python-1.2.17-2.el7.x86_64
> libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.3.x86_64
> libvirt-lock-sanlock-1.2.17-13.el7_2.3.x86_64
> libvirt-glib-0.1.9-1.el7.x86_64
> libvirt-daemon-driver-network-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-lxc-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-interface-1.2.17-13.el7_2.3.x86_64
> libvirt-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-config-network-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-secret-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-kvm-1.2.17-13.el7_2.3.x86_64
> libvirt-daemon-driver-qemu-1.2.17-13.el7_2.3.x86_64
>
>
> -------- engine.log
>
> 2017-05-02 09:48:26,505 INFO  [org.ovirt.engine.core.bll.UpdateVmDiskCommand]
> (ajp--127.0.0.1-8702-6) [c3d7125] Lock Acquired to object EngineLock
> [exclusiveLocks= key: 25c0bcc0-0d3d-4ddc-b103-24ed2ac5aa05 value:
> VM_DISK_BOOT
> key: c5fb9190-d059-4d9b-af23-07618ff660ce value: DISK
> , sharedLocks= key: 25c0bcc0-0d3d-4ddc-b103-24ed2ac5aa05 value: VM
> ]
> 2017-05-02 09:48:26,515 INFO  [org.ovirt.engine.core.bll.UpdateVmDiskCommand]
> (ajp--127.0.0.1-8702-6) [c3d7125] Running command: UpdateVmDiskCommand
> internal: false. Entities affected :  ID: c5fb9190-d059-4d9b-af23-07618ff660ce
> Type: DiskAction group EDIT_DISK_PROPERTIES with role type USER
> 2017-05-02 09:48:26,562 INFO  [org.ovirt.engine.core.bll.ExtendImageSizeCommand]
> (ajp--127.0.0.1-8702-6) [ae718d8] Running command: ExtendImageSizeCommand
> internal: true. Entities affected :  ID: c5fb9190-d059-4d9b-af23-07618ff660ce
> Type: DiskAction group EDIT_DISK_PROPERTIES with role type USER
> 2017-05-02 09:48:26,565 INFO  [org.ovirt.engine.core.vdsbro
> ker.irsbroker.ExtendImageSizeVDSCommand] (ajp--127.0.0.1-8702-6)
> [ae718d8] START, ExtendImageSizeVDSCommand( storagePoolId =
> 715d1ba2-eabe-48db-9aea-c28c30359808, ignoreFailoverLimit = false), log
> id: 52aac743
> 2017-05-02 09:48:26,604 INFO  [org.ovirt.engine.core.vdsbro
> ker.irsbroker.ExtendImageSizeVDSCommand] (ajp--127.0.0.1-8702-6)
> [ae718d8] FINISH, ExtendImageSizeVDSCommand, log id: 52aac743
> 2017-05-02 09:48:26,650 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (ajp--127.0.0.1-8702-6) [ae718d8] CommandAsyncTask::Adding
> CommandMultiAsyncTasks object for command cb7958d9-6eae-44a9-891a-7fe088
> a79df8
> 2017-05-02 09:48:26,651 INFO  [org.ovirt.engine.core.bll.CommandMultiAsyncTasks]
> (ajp--127.0.0.1-8702-6) [ae718d8] CommandMultiAsyncTasks::AttachTask:
> Attaching task 769a4b18-182b-4048-bb34-a276a55ccbff to command
> cb7958d9-6eae-44a9-891a-7fe088a79df8.
> 2017-05-02 09:48:26,661 INFO  [org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
> (ajp--127.0.0.1-8702-6) [ae718d8] Adding task 769a4b18-182b-4048-bb34-a276a55ccbff
> (Parent Command UpdateVmDisk, Parameters Type org.ovirt.engine.core.common.a
> synctasks.AsyncTaskParameters), polling hasn't started yet..
> 2017-05-02 09:48:26,673 INFO  [org.ovirt.engine.core.dal.db
> broker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-6)
> [ae718d8] Correlation ID: c3d7125, Call Stack: null, Custom Event ID: -1,
> Message: VM sysinfo-73 sysinfo-73_Disk3 disk was updated by admin at internal.
> 2017-05-02 09:48:26,674 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (ajp--127.0.0.1-8702-6) [ae718d8] BaseAsyncTask::startPollingTask:
> Starting to poll task 769a4b18-182b-4048-bb34-a276a55ccbff.
> 2017-05-02 09:48:28,430 INFO  [org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7] Polling and updating Async
> Tasks: 1 tasks, 1 tasks to poll now
> 2017-05-02 09:48:28,435 ERROR [org.ovirt.engine.core.vdsbrok
> er.vdsbroker.HSMGetAllTasksStatusesVDSCommand]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7] Failed in
> HSMGetAllTasksStatusesVDS method
> 2017-05-02 09:48:28,436 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7] SPMAsyncTask::PollTask:
> Polling task 769a4b18-182b-4048-bb34-a276a55ccbff (Parent Command
> UpdateVmDisk, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters)
> returned status finished, result 'cleanSuccess'.
> 2017-05-02 09:48:28,446 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7]
> BaseAsyncTask::logEndTaskFailure: Task 769a4b18-182b-4048-bb34-a276a55ccbff
> (Parent Command UpdateVmDisk, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters)
> ended with failure:
> -- Result: cleanSuccess
> -- Message: VDSGenericException: VDSErrorException: Failed to
> HSMGetAllTasksStatusesVDS, error = Could not acquire resource. Probably
> resource factory threw an exception.: (), code = 100,
> -- Exception: VDSGenericException: VDSErrorException: Failed to
> HSMGetAllTasksStatusesVDS, error = Could not acquire resource. Probably
> resource factory threw an exception.: (), code = 100
> 2017-05-02 09:48:28,448 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7]
> CommandAsyncTask::endActionIfNecessary: Al
> l tasks of command cb7958d9-6eae-44a9-891a-7fe088a79df8 has ended ->
> executing endAction
> 2017-05-02 09:48:28,449 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-48) [36cd2f7] CommandAsyncTask::endAction:
> Ending action
>  for 1 tasks (command ID: cb7958d9-6eae-44a9-891a-7fe088a79df8): calling
> endAction .
> 2017-05-02 09:48:28,450 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (org.ovirt.thread.pool-8-thread-6) [36cd2f7]
> CommandAsyncTask::endCommandAction [within
>  thread] context: Attempting to endAction UpdateVmDisk, executionIndex: 0
> 2017-05-02 09:48:28,501 ERROR [org.ovirt.engine.core.bll.UpdateVmDiskCommand]
> (org.ovirt.thread.pool-8-thread-6) [c3d7125] Ending command with failure:
> org.ovirt.engine
> .core.bll.UpdateVmDiskCommand
> 2017-05-02 09:48:28,502 ERROR [org.ovirt.engine.core.bll.ExtendImageSizeCommand]
> (org.ovirt.thread.pool-8-thread-6) Ending command with failure:
> org.ovirt.engine.core.b
> ll.ExtendImageSizeCommand
> 2017-05-02 09:48:28,504 INFO  [org.ovirt.engine.core.vdsbro
> ker.irsbroker.GetImageInfoVDSCommand] (org.ovirt.thread.pool-8-thread-6)
> START, GetImageInfoVDSCommand( stora
> gePoolId = 715d1ba2-eabe-48db-9aea-c28c30359808, ignoreFailoverLimit =
> false, storageDomainId = 6a386652-629d-4045-835b-21d2f5c104aa,
> imageGroupId = c5fb9190-d059-4d9b-
> af23-07618ff660ce, imageId = 562f5b50-1d1a-457c-8b5f-cd8020611550), log
> id: 674a2581
> 2017-05-02 09:48:28,511 ERROR [org.ovirt.engine.core.vdsbrok
> er.irsbroker.GetImageInfoVDSCommand] (org.ovirt.thread.pool-8-thread-6)
> IrsBroker::getImageInfo::Failed gett
> ing image info imageId = 562f5b50-1d1a-457c-8b5f-cd8020611550 does not
> exist on domainName = VM01 , domainId = 6a386652-629d-4045-835b-21d2f5c104aa,
>  error code: ImagePathError, message: Image path does not exist or cannot
> be accessed/created: (u'/rhev/data-center/mnt/block
> SD/6a386652-629d-4045-835b-21d2f5c104aa/images/c5fb9190-
> d059-4d9b-af23-07618ff660ce',)
> 2017-05-02 09:48:28,512 INFO  [org.ovirt.engine.core.vdsbro
> ker.irsbroker.GetImageInfoVDSCommand] (org.ovirt.thread.pool-8-thread-6)
> Command org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand
> return value
>
> OneImageInfoReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=254,
> mMessage=Image path does not exist or cannot be accessed/created:
> (u'/rhev/data-center/mnt/blockSD/6a386652-629d-4045-835b-
> 21d2f5c104aa/images/c5fb9190-d059-4d9b-af23-07618ff660ce',)]]
>
> 2017-05-02 09:48:28,512 INFO  [org.ovirt.engine.core.vdsbro
> ker.irsbroker.GetImageInfoVDSCommand] (org.ovirt.thread.pool-8-thread-6)
> FINISH, GetImageInfoVDSCommand, log id: 674a2581
> 2017-05-02 09:48:28,533 ERROR [org.ovirt.engine.core.dal.dbb
> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-6)
> Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message:
> Failed to extend size of the disk 'sysinfo-73_Disk3' to 20 GB, User:
> admin at internal.
> 2017-05-02 09:48:28,534 INFO  [org.ovirt.engine.core.bll.UpdateVmDiskCommand]
> (org.ovirt.thread.pool-8-thread-6) Lock freed to object EngineLock
> [exclusiveLocks= key: 25c0bcc0-0d3d-4ddc-b103-24ed2ac5aa05 value:
> VM_DISK_BOOT
> key: c5fb9190-d059-4d9b-af23-07618ff660ce value: DISK
> , sharedLocks= key: 25c0bcc0-0d3d-4ddc-b103-24ed2ac5aa05 value: VM
> ]
> 2017-05-02 09:48:28,541 INFO  [org.ovirt.engine.core.dal.db
> broker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-6)
> Correlation ID: c3d7125, Call Stack: null, Custom Event ID: -1, Message: VM
> sysinfo-73 sysinfo-73_Disk3 disk was updated by admin at internal.
> 2017-05-02 09:48:28,541 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (org.ovirt.thread.pool-8-thread-6) CommandAsyncTask::HandleEndActionResult
> [within thread]: endAction for action type UpdateVmDisk completed, handling
> the result.
> 2017-05-02 09:48:28,541 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (org.ovirt.thread.pool-8-thread-6) CommandAsyncTask::HandleEndActionResult
> [within thread]: endAction for action type UpdateVmDisk succeeded, clearing
> tasks.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170507/201eeea8/attachment.html>


More information about the Users mailing list