Bug 700442 - There are createVolume/copyImage tasks that stuck in "running" status
Summary: There are createVolume/copyImage tasks that stuck in "running" status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Saggi Mizrahi
QA Contact: Kiril Nesenko
URL:
Whiteboard: storage
Depends On: 705815
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-28 12:36 UTC by Rami Vaknin
Modified: 2014-07-11 00:07 UTC (History)
10 users (show)

Fixed In Version: vdsm-4.9-66.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:15:23 UTC
Target Upstream Version:


Attachments (Terms of Use)
Logs (890.71 KB, application/x-gzip)
2011-04-28 12:36 UTC, Rami Vaknin
no flags Details
log (981.57 KB, application/x-gzip)
2011-04-28 12:45 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

Description Rami Vaknin 2011-04-28 12:36:27 UTC
Created attachment 495525 [details]
Logs

Environment: RHEVM 2.3 on dev env, RHEL 6.1 host, vdsm-4.9-62.el6.x86_64

These tasks run the dd command and remain stuck in "running" status, it occurred during automation testing which create vm with 8 disks and 8 nics and make a template+pool+5 pool's VMs from that template.

[root@intg-vdsb ~]# vdsClient -s 0 getAllTasksStatuses 
{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {'ebeeb83d-94b7-4dfc-8bc2-2e3dd41b042a': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': 'ebeeb83d-94b7-4dfc-8bc2-2e3dd41b042a', 'taskResult': 'success', 'taskState': 'finished'}, '4b7beb90-b043-478d-9d61-31ff1aed3416': {'message': 'Task is initializing', 'code': 0, 'taskID': '4b7beb90-b043-478d-9d61-31ff1aed3416', 'taskResult': '', 'taskState': 'running'}, 'b686b60c-49bd-4983-a8de-a011ff20e8cf': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': 'b686b60c-49bd-4983-a8de-a011ff20e8cf', 'taskResult': 'success', 'taskState': 'finished'}, 'eec70dfb-042d-482a-b235-356578ec5383': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': 'eec70dfb-042d-482a-b235-356578ec5383', 'taskResult': 'success', 'taskState': 'finished'}, 'ca3bef4c-0cee-49f7-a78c-5a21fe7ac17d': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': 'ca3bef4c-0cee-49f7-a78c-5a21fe7ac17d', 'taskResult': 'success', 'taskState': 'finished'}, '883f31db-076b-49f2-8c93-96516289a824': {'message': 'Task is initializing', 'code': 0, 'taskID': '883f31db-076b-49f2-8c93-96516289a824', 'taskResult': '', 'taskState': 'running'}, '92df454a-7068-4e41-b5e1-d51e189600a2': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': '92df454a-7068-4e41-b5e1-d51e189600a2', 'taskResult': 'success', 'taskState': 'finished'}, '045d34d0-c57e-4f6a-a578-045a99a26413': {'message': '1 jobs completed successfuly', 'code': 0, 'taskID': '045d34d0-c57e-4f6a-a578-045a99a26413', 'taskResult': 'success', 'taskState': 'finished'}}}

[root@intg-vdsb ~]# vdsClient -s 0 getAllTasksInfo 
ebeeb83d-94b7-4dfc-8bc2-2e3dd41b042a :
	verb = createVolume
	id = ebeeb83d-94b7-4dfc-8bc2-2e3dd41b042a
4b7beb90-b043-478d-9d61-31ff1aed3416 :
	verb = createVolume
	id = 4b7beb90-b043-478d-9d61-31ff1aed3416
b686b60c-49bd-4983-a8de-a011ff20e8cf :
	verb = createVolume
	id = b686b60c-49bd-4983-a8de-a011ff20e8cf
eec70dfb-042d-482a-b235-356578ec5383 :
	verb = createVolume
	id = eec70dfb-042d-482a-b235-356578ec5383
ca3bef4c-0cee-49f7-a78c-5a21fe7ac17d :
	verb = createVolume
	id = ca3bef4c-0cee-49f7-a78c-5a21fe7ac17d
883f31db-076b-49f2-8c93-96516289a824 :
	verb = createVolume
	id = 883f31db-076b-49f2-8c93-96516289a824
92df454a-7068-4e41-b5e1-d51e189600a2 :
	verb = createVolume
	id = 92df454a-7068-4e41-b5e1-d51e189600a2
045d34d0-c57e-4f6a-a578-045a99a26413 :
	verb = createVolume
	id = 045d34d0-c57e-4f6a-a578-045a99a26413

[root@intg-vdsb ~]#

Comment 2 Dafna Ron 2011-04-28 12:45:27 UTC
Created attachment 495528 [details]
log

I had the same thing happen in vdsm 59
I started VM with 11 disks in stateless and the VM got stuck on image locked. 
looking at the tasks, I could see that there were 2 tasks that were still running even though the snapshots for each disk appeared to have finished. 

I have attached the vdsm log from yesterday.

Comment 3 Saggi Mizrahi 2011-05-02 13:02:57 UTC
http://gerrit.usersys.redhat.com/338

Comment 5 Kiril Nesenko 2011-05-24 10:06:36 UTC
Blocked by 705815

Comment 6 Kiril Nesenko 2011-05-30 06:32:16 UTC
Verified
ic119

Comment 7 errata-xmlrpc 2011-12-06 07:15:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html


Note You need to log in before you can comment on or make changes to this bug.