[ovirt-users] Can't switch ovirt host to maintenance mode : image transfer in progress

Arnaud Lauriou arnaud.lauriou at irisa.fr
Thu May 3 07:58:33 UTC 2018


Hi,

No upload/download are in progress.
I found old entries in ovirt-engine logs about one year ago. Upload for 
those disks had already been cancelled.
Examples for disk a1476ae5-990d-45a7-90bd-c2553f8d08d3 :

2017-05-03 11:38:48,318+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] 
(org.ovirt.thread.pool-6-thread-15) 
[36f2c7a5-af4b-4565-98c6-033bd95097c8] Updating image upload 
f9f86126-5aa9-4387-9d13-f4c4e3eebf6d (image 
a1476ae5-990d-45a7-90bd-c2553f8d08d3) phase to Cancelled (message: 
'Pausing due to client error')
2017-05-03 11:39:38,129+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] (default 
task-67) [f1052bb9-9196-49c6-b54b-5bd27dde2068] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}'
2017-05-03 11:39:38,159+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) 
[f1052bb9-9196-49c6-b54b-5bd27dde2068] Running command: 
RemoveDiskCommand internal: false. Entities affected :  ID: 
a1476ae5-990d-45a7-90bd-c2553f8d08d3 Type: DiskAction group DELETE_DISK 
with role type USER
2017-05-03 11:39:38,220+02 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] START, 
DeleteImageGroupVDSCommand( 
DeleteImageGroupVDSCommandParameters:{runAsync='true', 
storagePoolId='344cbcab-2ec4-46ac-b99a-dda4ff7d3e78', 
ignoreFailoverLimit='false', 
storageDomainId='87f2500e-5a17-40b6-b95a-c0b830a499af', 
imageGroupId='a1476ae5-990d-45a7-90bd-c2553f8d08d3', postZeros='false', 
discard='false', forceDelete='false'}), log id: 127a5b4a
2017-05-03 11:39:39,266+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] Lock freed to object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}

Why those uploads are display now ? Do I need to run engine-setup again ?
How can I remove them definitely ?

Regards,

Arnaud

On 05/02/2018 11:49 AM, Fred Rolland wrote:
> Hi,
>
> Maybe you tried to upload/download images, and these are still running.
> Go to the disks tab and see if you have Upload/Download operations in 
> progress cancel them.
> You have the option to cancel in the Download/Upload buttons.
>
> Regards,
> Fred
>
> On Wed, May 2, 2018 at 11:29 AM, Arnaud Lauriou 
> <arnaud.lauriou at irisa.fr <mailto:arnaud.lauriou at irisa.fr>> wrote:
>
>     Hi,
>
>     While upgrading host from ovirt 4.1.9 to ovirt 4.2.2, got one
>     ovirt host which I can't move to maintenance mode for the
>     following reason :
>     2018-05-02 10:16:18,789+02 WARN
>     [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
>     (default task-27) [193c3d45-5b25-4ccf-9d2c-5b792e99b9fe]
>     Validation of action 'MaintenanceNumberOfVdss' failed for user
>     admin at internal-authz. Reasons:
>     VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_HOST_WITH_RUNNING_IMAGE_TRANSFERS,$host
>     xxxxx,$disks
>             a1476ae5-990d-45a7-90bd-c2553f8d08d3,
>             b2616eef-bd13-4d9b-a513-52445ebaedb6,
>             13152865-2753-407a-a0e1-425e09889d92,$disks_COUNTER 3
>
>     I don't know what are those 3 images transfers in progress, there
>     is no VM running on this host.
>     I try to list old task running on it with the taskcleaner.sh
>     script on the engine : found nothing.
>
>     How can I delete or remove those entries ?
>
>     Regards,
>
>     Arnaud Lauriou
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>     <http://lists.ovirt.org/mailman/listinfo/users>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180503/d72c5189/attachment.html>


More information about the Users mailing list