Bug 786376

Summary: When sync runs at schedule interval, sync status bar remains empty even after sync is finished
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cwelton, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:24:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 786762    
Bug Blocks:    
Attachments:
Description Flags
Here sync is about to finish for rhel62 and for pulp repo progress bar is at 0 level
none
sync for rhel62 repo finished and progress bar again set to level 0 none

Description Sachin Ghai 2012-02-01 09:10:42 UTC
Description of problem:
I defined a sync plan and applied on a product. When I checked the sync status, the progress bar was showing as empty (progress bar at 0 level). Sync started at it schedule interval, however even after sync completion, the empty progress bar was remains there.

Version-Release number of selected component (if applicable):
katello-0.1.206-1.el6.noarch
pulp-0.0.263-1.el6.noarch
katello-glue-pulp-0.1.206-1.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. create a sync plan
2. Applied on product
3. check sync status 
  
Actual results:
Empty progress bar before the sync starts and after sync finishes

Expected results:
No empty progress bar should be there on UI before its schedule interval and after sync completes.

Additional info:

Comment 1 Sachin Ghai 2012-02-01 09:13:03 UTC
Created attachment 558774 [details]
Here sync is about to finish for rhel62 and for pulp repo progress bar is at 0 level

Comment 2 Sachin Ghai 2012-02-01 09:14:32 UTC
Created attachment 558775 [details]
sync for rhel62 repo finished and progress bar again set to level 0

Comment 3 Sachin Ghai 2012-02-06 11:56:49 UTC
Also reproducible in puddle#6 testing. Thanks!

Comment 4 Shannon Hughes 2012-02-15 16:51:33 UTC
we are checking for not running states and missed the queued state. added the queued state (waiting) to our list. 

with this fix and how you render the page (refresh or wait for sync status) you will either see sync finished or queued. when the page is loaded we make calls to pulp to find out the latest status and if the repo is scheduled and waiting to run then the queued state will show. 

note: please test this when 786762 is fixed and in modified state. this bug is blocking the correct behavior 786376

Comment 5 Mike McCune 2012-03-07 23:44:46 UTC
mass move ON_QA after brewing

Comment 6 Corey Welton 2012-03-12 19:30:42 UTC
QA Verified.