Bug 786376 - When sync runs at schedule interval, sync status bar remains empty even after sync is finished
Summary: When sync runs at schedule interval, sync status bar remains empty even after...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Shannon Hughes
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On: 786762
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 09:10 UTC by Sachin Ghai
Modified: 2019-09-26 17:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:24:04 UTC
Target Upstream Version:


Attachments (Terms of Use)
Here sync is about to finish for rhel62 and for pulp repo progress bar is at 0 level (129.77 KB, image/png)
2012-02-01 09:13 UTC, Sachin Ghai
no flags Details
sync for rhel62 repo finished and progress bar again set to level 0 (39.12 KB, image/png)
2012-02-01 09:14 UTC, Sachin Ghai
no flags Details

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.


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