Bug 967849 - Registering a system (subscription-manager register) failed in Headpin Nightly
Summary: Registering a system (subscription-manager register) failed in Headpin Nightly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-05-28 12:24 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:11:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1390 0 normal SHIPPED_LIVE Release 1.3 of Subscription Asset Manager 2013-10-01 14:43:14 UTC

Description Tazim Kolhar 2013-05-28 12:24:07 UTC
Description of problem:
Registering a system (subscription-manager register) failed in Headpin Nightly

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

# rpm -qa | grep katello
ruby193-rubygem-foreman-katello-engine-0.0.7-1.el6sat.noarch
katello-common-1.4.2-7.el6sat.noarch
katello-1.4.2-7.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
ruby193-rubygem-katello_api-0.0.3-2.el6_4.noarch
katello-glue-candlepin-1.4.2-7.el6sat.noarch
katello-configure-foreman-1.4.3-10.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-1.4.2-6.el6sat.noarch
signo-katello-0.0.12-1.el6sat.noarch
katello-selinux-1.4.3-3.el6sat.noarch
katello-glue-pulp-1.4.2-7.el6sat.noarch
katello-all-1.4.2-7.el6sat.noarch
katello-foreman-all-1.4.2-7.el6sat.noarch
katello-cli-common-1.4.2-6.el6sat.noarch
katello-glue-elasticsearch-1.4.2-7.el6sat.noarch
katello-configure-1.4.3-10.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.1-1.el6_4.noarch


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

Steps to Reproduce:

1.# subscription-manager register --username admin --password **** --name "sys-sla-org-subscribed" --org "sla-org-1369741730" --environment "Library" --force
Stderr: Error: Server does not support environments.
ExitCode: 255

2 Please refer http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/official-headpin-cli/118/ReportNG_Report/

3. Test Class  :  com.redhat.qe.katello.tests.cli.OrgTests
   Test Method :  test_SLAOrg 
   
Actual results:
Test failed


Expected results:
System Registering successful

Additional info:

Comment 2 Bryan Kearney 2013-06-06 21:03:21 UTC
you do not need to specify the environment any longer. Omit that, and you shoudl be good.

Comment 3 sthirugn@redhat.com 2013-07-05 19:49:42 UTC
Verified in latest headpin nightly:
# subscription-manager register --username user1 --password **** --org=org1
The system has been registered with id: d93c92d0-f5e4-4bce-8d5b-8884839edaf7 

Version Tested:
* candlepin-0.8.16-1.el6.noarch
* candlepin-cert-consumer-ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-1.0-1.noarch
* candlepin-tomcat6-0.8.16-1.el6.noarch
* elasticsearch-0.19.9-7.el6.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-1.el6.noarch
* katello-cli-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-cli-common-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-common-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
* katello-glue-candlepin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-glue-elasticsearch-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-all-1.4.2-1.git.812.a3a58dc.el6.noarch
* Katello-Katello-Installation-RegisterRHNClassic-1.1-4.noarch
* Katello-Katello-Sanity-ImportKeys-1.2-1.noarch
* katello-repos-1.4.2-1.el6.noarch
* katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
* thumbslug-0.0.27-1.el6.noarch
* thumbslug-selinux-0.0.27-1.el6.noarch

Comment 5 errata-xmlrpc 2013-10-01 11:11:12 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


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