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.
Description of problem: Attaching a subscriptions to a distributor using cli `subscribe` fails Version-Release number of selected component (if applicable): # rpm -qa | grep katello katello-certs-tools-1.4.2-1.el6.noarch katello-glue-elasticsearch-1.4.3-1.el6.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-cli-1.4.3-1.el6.noarch katello-cli-common-1.4.3-1.el6.noarch katello-glue-candlepin-1.4.3-1.el6.noarch katello-selinux-1.4.4-1.el6.noarch signo-katello-0.0.9-1.el6.noarch katello-headpin-1.4.3-1.el6.noarch katello-common-1.4.3-1.el6.noarch katello-headpin-all-1.4.3-1.el6.noarch katello-configure-1.4.4-1.el6.noarch How reproducible: # yum install -y katello-headpin-all # katello-configure --deployment=headpin --user-pass=**** Steps to Reproduce: 1.# headpin -u admin -p admin distributor create --name test_dist --org ACME_Corporation Successfully created distributor [ test_dist ] 2.# headpin -u admin -p admin org subscriptions --name ACME_Corporation -------------------------------------------------------------------------------- Organization's Subscriptions -------------------------------------------------------------------------------- Subscription : High-Availability (8 sockets) Consumed : 0 Contract Number : None SLA : ID : 8a90a98f40398e2d01403dfee617006a Limits: [ Sockets: 8 ] Start Date : 2012/12/31 05:00:00 End Date : 2013/12/31 04:59:59 Subscription : Resilient Storage (8 sockets) Consumed : 0 Contract Number : None SLA : ID : 8a90a98f40398e2d01403dfee5e2005a Limits: [ Sockets: 8 ] Start Date : 2012/12/31 05:00:00 End Date : 2013/12/31 04:59:59 Subscription : Red Hat Enterprise Linux Server, Self-support (1-2 sockets) (Up to 1 guest) Consumed : 0 Contract Number : None SLA : ID : 8a90a98f40398e2d01403dfee58f0048 Limits: [ Sockets: 2 ] Start Date : 2012/12/31 05:00:00 End Date : 2013/12/31 04:59:59 3.# headpin -u admin -p admin distributor subscribe --org ACME_Corporation --name test_dist --pool '8a90a98f40398e2d01403dfee58f0048' Couldn't find system '' 4.In UI also, we see that no subscriptions is attached Actual results: Subscriptions attachment to distributor in cli failed Expected results: Subscriptions attachment to distributor in cli successful Additional info: