Bug 963206

Summary: Headpin Nightly : headpin cli refresh manifest failed
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Tom McKay <tomckay>
Status: CLOSED ERRATA QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: cwelton, sthirugn, tomckay
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 11:10:38 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:
Bug Depends On: 975026, 1009012    
Bug Blocks: 833466    
Attachments:
Description Flags
katello-debug none

Description Tazim Kolhar 2013-05-15 11:40:37 UTC
Description of problem:
headpin cli refresh manifest failed 

Version-Release number of selected component (if applicable):
# rpm -qa | grep katello
katello-configure-1.4.3-1.git.17.b0067d4.el6.noarch
katello-glue-elasticsearch-1.4.2-1.git.333.d2a35bc.el6.noarch
signo-katello-0.0.9-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.4.2-1.git.48.441089b.el6.noarch
katello-repos-1.4.2-1.el6.noarch
katello-common-1.4.2-1.git.333.d2a35bc.el6.noarch
katello-headpin-1.4.2-1.git.333.d2a35bc.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
katello-selinux-1.4.3-1.git.3.ce8227b.el6.noarch
katello-headpin-all-1.4.2-1.git.333.d2a35bc.el6.noarch
katello-cli-1.4.2-1.git.48.441089b.el6.noarch
katello-glue-candlepin-1.4.2-1.git.333.d2a35bc.el6.noarch


How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=headpin

Steps to Reproduce:
1.Create a org
  # headpin -u admin -p *** org create --name testorg
    Successfully created org [ testorg ]

2.Import manifest
  # headpin -u admin -p *** provider import_manifest --org testorg --name     
'Red Hat' --file '/tmp/manifest_refresh.zip'
Provider [ Red Hat ] manifest import complete

3.Add/modify the no of subscription on redhat customer portal


4.# headpin -u admin -p *** provider refresh_manifest --org testorg --name 'Red Hat'
Provider [ Red Hat ] failed to refresh manifest: U

  
Actual results:
Refresh manifest failed

Expected results:
Refresh manifest worked successfully

Additional info:

Comment 1 Tazim Kolhar 2013-05-15 12:11:24 UTC
Created attachment 748243 [details]
katello-debug

Comment 2 Tom McKay 2013-07-15 17:23:36 UTC
This should be working now, please re-test.

Comment 3 sthirugn@redhat.com 2013-07-22 13:59:49 UTC
This will not work until https://bugzilla.redhat.com/show_bug.cgi?id=975026 is fixed

Comment 4 Bryan Kearney 2013-08-02 18:52:20 UTC
SNAP0 contains these bug fixes. Moving to ON_QA.

Comment 5 Tazim Kolhar 2013-08-07 08:45:45 UTC
This will not work until https://bugzilla.redhat.com/show_bug.cgi?id=990699 is fixed

Comment 6 Tazim Kolhar 2013-08-08 12:04:29 UTC
VERIFIED :

# rpm -qa | grep katello
katello-selinux-1.4.4-2.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-common-1.4.3-5.el6sat.noarch
katello-cli-1.4.3-5.el6sat.noarch
katello-common-1.4.3-6.el6sam_splice.noarch
katello-configure-1.4.4-2.el6sat.noarch
katello-glue-elasticsearch-1.4.3-6.el6sam_splice.noarch
katello-headpin-all-1.4.3-6.el6sam_splice.noarch
katello-glue-candlepin-1.4.3-6.el6sam_splice.noarch
signo-katello-0.0.10-2.el6sat.noarch
katello-headpin-1.4.3-6.el6sam_splice.noarch

# headpin -u admin -p admin provider import_manifest --org test --name 'Red Hat' --file '/root/manifest_refresh.zip'
Provider [ Red Hat ] manifest import complete

# headpin -u admin -p admin provider refresh_manifest --org test --name 'Red Hat'
Provider [ Red Hat ] manifest refresh complete

Comment 8 errata-xmlrpc 2013-10-01 11:10:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1390.html