Bug 1131537 - sync tasks generated by a schedule are missing some data
Summary: sync tasks generated by a schedule are missing some data
Keywords:
Status: CLOSED DUPLICATE of bug 1120671
Alias: None
Product: Pulp
Classification: Retired
Component: async/tasks
Version: 2.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks: 950743
TreeView+ depends on / blocked
 
Reported: 2014-08-19 14:16 UTC by Justin Sherrill
Modified: 2014-08-20 03:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-19 19:19:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2014-08-19 14:16:08 UTC
Description of problem:

Create a sync schedule on a repo sync.  Once it is triggered examine the task.  You'll notice its missing that tags:

Operations:  
Resources:   
State:       Successful
Start Time:  2014-08-19T13:50:05Z
Finish Time: 2014-08-19T13:50:06Z
Task Id:     a3958d14-050e-4435-9dbb-10ed388a0886



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

How reproducible:
Always

Steps to Reproduce:
1.  Create a repo with a feed
2.  set a schedule on it
3.  Wait for that schedule to run
4.  Examine the task

Actual results:

Task has no 'tags' so we can't identify what type of task it is. 


Expected results:

Task does have 'tags'.  Not sure if anything else is missing.

Additional info:

Full task object:

{"_href":"/pulp/api/v2/tasks/a3958d14-050e-4435-9dbb-10ed388a0886/","task_id":"a3958d14-050e-4435-9dbb-10ed388a0886","finish_time":"2014-08-19T13:50:06Z","_ns":"task_status","start_time":"2014-08-19T13:50:05Z","spawned_tasks":[{"_href":"/pulp/api/v2/tasks/63aa6162-115f-4e0a-a453-9f832233ad89/","task_id":"63aa6162-115f-4e0a-a453-9f832233ad89"},{"_href":"/pulp/api/v2/tasks/7edcddbf-7d58-4fcb-8878-dcaec4305e78/","task_id":"7edcddbf-7d58-4fcb-8878-dcaec4305e78"}],"progress_report":{"yum_importer":{"content":{"size_total":317036,"items_left":0,"items_total":5,"state":"FINISHED","size_left":0,"details":{"rpm_total":5,"rpm_done":5,"drpm_total":0,"drpm_done":0},"error_details":[]},"comps":{"state":"FINISHED"},"distribution":{"items_total":0,"state":"FINISHED","error_details":[],"items_left":0},"errata":{"state":"FINISHED"},"metadata":{"state":"FINISHED"}}},"state":"finished","result":{"importer_type_id":"yum_importer","importer_id":"yum_importer","exception":null,"repo_id":"Default_Organization-asdf2-somerepo","removed_count":0,"started":"2014-08-19T09:50:00-04:00","_ns":"repo_sync_results","completed":"2014-08-19T09:50:05-04:00","traceback":null,"summary":{"content":{"state":"FINISHED"},"comps":{"state":"FINISHED"},"distribution":{"state":"FINISHED"},"errata":{"state":"FINISHED"},"metadata":{"state":"FINISHED"}},"added_count":6,"error_message":null,"updated_count":1,"details":{"content":{"size_total":317036,"items_left":0,"items_total":5,"state":"FINISHED","size_left":0,"details":{"rpm_total":5,"rpm_done":5,"drpm_total":0,"drpm_done":0},"error_details":[]},"comps":{"state":"FINISHED"},"distribution":{"items_total":0,"state":"FINISHED","error_details":[],"items_left":0},"errata":{"state":"FINISHED"},"metadata":{"state":"FINISHED"}},"id":"53f3560d4707870c34f50a10","result":"success"},"_id":{"":"53f35608d83b24482a675675"}}

Comment 1 Justin Sherrill 2014-08-19 14:25:11 UTC
Affected Version should be  2.4.0-1

Comment 2 Michael Hrivnak 2014-08-19 18:44:51 UTC
This has already been reported and triaged. I think it was already fixed even.  I'll let someone else find the original report and close this one since I'm on a tablet at the moment.

Comment 3 Preethi Thomas 2014-08-19 19:19:03 UTC
I think this is the older bz on it

https://bugzilla.redhat.com/show_bug.cgi?id=1120671

*** This bug has been marked as a duplicate of bug 1120671 ***


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