]
Dafna Ron updated OVIRT-2286:
-----------------------------
Resolution: Incomplete
Status: Done (was: To Do)
closing as this is a clone
007_sd_reattach.deactivate_storage_domain fails because of running
tasks
------------------------------------------------------------------------
Key: OVIRT-2286
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-2286
Project: oVirt - virtualization made easy
Issue Type: Bug
Reporter: Dafna Ron
Assignee: infra
Labels: ost_failures, ost_lago, ost_race
This is a known issue which we should try and solve on ost tests.
the issue is that we try to put domain in maintenance while there are still running tasks
- this is blocked by engine by design.
We should fix any actions in ost to be re-run once blocked on this error.
https://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/2571/
{quote}
The task that is stuck is downloadImageFromStream
2018-07-04 10:12:52,659-04 WARN
[org.ovirt.engine.core.bll.storage.domain.DeactivateStorageDomainWithOvfUpdateCommand]
(default task-1) [ce1c28ba-1550-457f-b5e3-ad051488f897] There are running tasks:
'AsyncTask:{commandId='0b18c13f-0fce-
4303-8f85-ae5a2b051991',
rootCommandId='0b18c13f-0fce-4303-8f85-ae5a2b051991',
storagePoolId='8dd2fe5a-9dca-42e2-8593-1de1b18b4887',
taskId='f2af86fb-dbbb-430c-afd9-2f25131583b1',
vdsmTaskId='45ee0fc8-830d-47d5-9c4a-6d4ed72ae6a1', stepId=
'null', taskType='downloadImageFromStream', status='running'}
The task succeeded but after the deactivate storage domain attempt:
2018-07-04 10:13:01,579-04 INFO
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
(EE-ManagedThreadFactory-engineScheduled-Thread-98) [1c611686] Command
'ProcessOvfUpdateForStorageDomain' id: '6342fce4-96ff-4ae3-8b40-8155a
5509761' child commands '[0b18c13f-0fce-4303-8f85-ae5a2b051991,
8e16826f-93dd-442a-8a74-13d14222d45e]' executions were completed, status
'SUCCEEDED'
{quote}