Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 907502

Summary: Sync progress bar and CLI status inconsistent
Product: Red Hat Satellite Reporter: Aaron Weitekamp <aweiteka>
Component: Content ManagementAssignee: Tomas Strachota <tstrachota>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: tstrachota
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-12 12:30:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
GUI sync status none

Description Aaron Weitekamp 2013-02-04 15:05:38 UTC
Description of problem:
GUI and CLI sync status are inconsistent. While the GUI shows nearly complete (99%? -- see screenshot) the CLI sync status is 46%.

[root@qeblade40 ~]# katello -u admin -p ***** provider synchronize --name "Red Hat"
...
Progress: [#######################                           ] 46.2%


Version-Release number of selected component (if applicable):
1.1.2 candidate
[root@qeblade40 ~]# rpm -qa |grep katello
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-common-1.1.12.2-1.el6cf.noarch
katello-all-1.1.12.2-1.el6cf.noarch
katello-selinux-1.1.1-2.el6cf.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-cli-common-1.1.8-14.el6cf.noarch
katello-glue-pulp-1.1.12.2-1.el6cf.noarch
katello-1.1.12.2-1.el6cf.noarch
katello-certs-tools-1.1.8-1.el6cf.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-1.1.8-14.el6cf.noarch
katello-configure-1.1.9-13.el6cf.noarch
katello-glue-candlepin-1.1.12.2-1.el6cf.noarch


How reproducible:
unclear

Steps to Reproduce:
1. sync provider using CLI
2. view GUI sync status
  
Actual results:
GUI and CLI status inconsistent

Comment 1 Aaron Weitekamp 2013-02-04 15:07:32 UTC
Created attachment 692798 [details]
GUI sync status

Comment 3 Tomas Strachota 2013-02-12 12:30:21 UTC
This is known inconsistency. Unfortunately we are not able to obtain number of steps for tasks that haven't started yet. Pulp does not provide such information. Therefore we count progress of compound tasks as number of completely finished tasks from the whole. Sync status for single repos is displayed correctly.

Please see bz 798683 for more info.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=798683