Bug 947368 - Headpin Nightly : Registering a client using activation key failed for headpin nightly
Summary: Headpin Nightly : Registering a client using activation key failed for headpi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker 947497
TreeView+ depends on / blocked
 
Reported: 2013-04-02 09:00 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 947497 (view as bug list)
Environment:
Last Closed: 2013-10-01 11:09:18 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-04-02 09:00:53 UTC
Description of problem:
 Registering a client using activation key failed for headpin nightly

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

# rpm -qa | grep katello
katello-cli-1.3.5-1.git.119.fbd6ba5.el6.noarch
katello-selinux-1.3.1-1.el6.noarch
katello-repos-1.3.2-1.el6.noarch
katello-common-1.3.14-1.git.1087.1a08e6e.el6.noarch
katello-headpin-all-1.3.14-1.git.1087.1a08e6e.el6.noarch
katello-cli-common-1.3.5-1.git.119.fbd6ba5.el6.noarch
katello-glue-candlepin-1.3.14-1.git.1087.1a08e6e.el6.noarch
katello-configure-1.3.6-1.git.1057.a78a564.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-glue-elasticsearch-1.3.14-1.git.1087.1a08e6e.el6.noarch
katello-headpin-1.3.14-1.git.1087.1a08e6e.el6.noarch
katello-certs-tools-1.1.9-1.el6.noarch

How reproducible:

# yum install -y katello-headpin-all
# katello-configure --deployment=headpin --user-pass=admin

Steps to Reproduce:
1.# headpin -u admin -p **** environment create --org ACME_Corporation --name DEV --prior Library

2.# headpin -u admin -p **** activation_key create --name act_key --org ACME_Corporation --environment DEV

3.# subscription-manager register --name "localhost" --org "ACME_Corporation" --activationkey "act_key" --force


  
Actual results:

Problem creating consumer Consumer [id = 8a90aa703dc9c3f7013dc9f1fc970599, type = ConsumerType [id=1000, label=system], getName() = localhost]

Expected results:

Client registered successfully using activation key

Additional info:

http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/official-headpin-cli/48/ReportNG_Report/

Automation Report for headpin nightly

Comment 2 Bryan Kearney 2013-06-07 14:24:27 UTC
My guess is this failure was due to the environment being removed:

[root@bkearney ~]# subscription-manager register --name fromkey --activationkey bkkey --org ACME_Corporation
The system has been registered with ID: 4ca099b9-ca65-4a38-a31e-6b2a68e05376 


-- bk

Comment 3 sthirugn@redhat.com 2013-07-16 17:49:45 UTC
Agree with Comment 2 above.

Verified in headpin nightly:
* candlepin-0.8.17-1.el6.noarch
* candlepin-cert-consumer-ibm-x3650-04.ovirt.rhts.eng.bos.redhat.com-1.0-1.noarch
* candlepin-tomcat6-0.8.17-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.123.5415a3c.el6.noarch
* katello-cli-common-1.4.2-1.git.123.5415a3c.el6.noarch
* katello-common-1.4.2-1.git.846.c3e1652.el6.noarch
* katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
* katello-glue-candlepin-1.4.2-1.git.846.c3e1652.el6.noarch
* katello-glue-elasticsearch-1.4.2-1.git.846.c3e1652.el6.noarch
* katello-headpin-1.4.2-1.git.846.c3e1652.el6.noarch
* katello-headpin-all-1.4.2-1.git.846.c3e1652.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:09:18 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.