Bug 721353

Summary: [vdsm]vdsClient's verbs getAllTasksStatuses and getAllTasksInfo comes back empty when there is an async task running
Product: Red Hat Enterprise Linux 6 Reporter: Moran Goldboim <mgoldboi>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3CC: abaron, bazulay, fsimonce, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-15 19:35:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log none

Description Moran Goldboim 2011-07-14 11:07:30 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Moran Goldboim 2011-07-14 11:13:12 UTC
Created attachment 512861 [details]
vdsm log

Comment 3 Moran Goldboim 2011-07-14 11:14:09 UTC
Description of problem:
[vdsm]vdsClient's verbs -getAllTasksStatuses and getAllTasksInfo comes back empty when there is an async task running 

Version-Release number of selected component (if applicable):
vdsm-4.9-81.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.start an async task (spmStart)
2.run vdsClient's verbs getAllTasksStatuses and getAllTasksInfo
3.

Actual results:


Expected results:
all async task should be returned 

Additional info:

Comment 4 Dan Kenigsberg 2011-07-14 11:33:38 UTC
Is there

Comment 5 Federico Simoncelli 2011-07-15 11:26:10 UTC
I could reproduce only for the async task spmStart, which is filtered on purpose.
When you run getAllTasksStatuses and getAllTasksInfo only the tasks with the tag "spm" are returned; spmStart task does not contain such tag.
I believe this should be closed NOTABUG.

Comment 6 Dan Kenigsberg 2011-07-15 19:35:05 UTC
yes, I just saw bug 722437, with a nice display of getAllTasksStatuses working with spm tasks. (spmStart is an hsm task...)

It isn't a pretty semantics, but it seems intentional.