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 959211 - Katello Nightly : 'subscription-manager register' fails for Katello nightly - many automation tests failing
Summary: Katello Nightly : 'subscription-manager register' fails for Katello nightly ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Petr Chalupa
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On: 959202
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-03 11:03 UTC by Garik Khachikyan
Modified: 2015-05-05 01:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 959202
Environment:
Last Closed: 2013-07-18 21:22:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2013-05-03 11:03:37 UTC
+++ This bug was initially created as a clone of Bug #959202 +++

Description of problem:
'subscription-manager register'  fails for headpin nightly leading too failure of several automated tests  

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

# rpm -qa | grep katello
katello-common-1.4.2-1.git.162.4cb60f6.el6.noarch
katello-headpin-all-1.4.2-1.git.162.4cb60f6.el6.noarch
katello-selinux-1.4.3-1.git.3.ce8227b.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
katello-cli-1.4.2-1.git.16.bcb759c.el6.noarch
katello-glue-elasticsearch-1.4.2-1.git.162.4cb60f6.el6.noarch
katello-headpin-1.4.2-1.git.162.4cb60f6.el6.noarch
katello-cli-common-1.4.2-1.git.16.bcb759c.el6.noarch
signo-katello-0.0.7-1.el6.noarch
katello-configure-1.4.2-1.git.7.ff00c72.el6.noarch
katello-glue-candlepin-1.4.2-1.git.162.4cb60f6.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-repos-1.4.2-1.el6.noarch

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

Steps to Reproduce:

1.subscription-manager unsubscribe --all
  Stdout: This machine has been unsubscribed from all subscriptions
  Stderr:
  ExitCode: 0
2.subscription-manager unregister
  Stdout: This system is currently not registered.
  Stderr:
  ExitCode: 1
3.subscription-manager clean
  Stdout: All local data removed
  Stderr:
  ExitCode: 0
4.subscription-manager register --username admin --password **** --name  
  "sys-RegOnly-1367570828-alreadyReg" --org "orgMain-1367570828" --environment 
  "Dev-1367570828"
  Stdout:
  Stderr: 'idCert'
  ExitCode: 255

5. Please refer the current automation test report :
    http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/official-headpin-cli/85/ReportNG_Report/ 



  
Actual results:
subscription-manager register fails.

Expected results:
The system should be registered successfully.


Additional info:

Comment 1 Garik Khachikyan 2013-05-03 11:06:33 UTC
btw: 
/etc/pki/consumer looks empty

Comment 2 Garik Khachikyan 2013-05-03 11:44:23 UTC
and doing rhsm registration to CDN works fine.

Comment 3 Petr Chalupa 2013-05-07 13:25:44 UTC
fixed in 478e2edfc2ea6d34ea410ed1417dbb0eb1955241

Comment 4 Garik Khachikyan 2013-05-10 14:28:38 UTC
# VERIFIED

recent katello is fine. thanks Petr!

Katello 1.4.2-1.git.222.82e7958.el6

Comment 5 Mike McCune 2013-07-18 21:22:14 UTC
mass move to CLOSED:CURRENTRELEASE since MDP1 has been released.


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