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 1001525 - org auto attach system always returns error
Summary: org auto attach system always returns error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-27 08:40 UTC by Ales Dujicek
Modified: 2019-09-25 20:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 17:07:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ales Dujicek 2013-08-27 08:40:49 UTC
Description of problem:

after running 'org attach_all_systems' command, I always get error
Organization [ org ] failed to attach subscriptions to all systems:
but subscription is successfully attached to system, so there should not be any error

Version-Release number of selected component (if applicable):
signo-katello-0.0.11-1.el6.noarch
katello-glue-elasticsearch-1.4.3-1.git.281.6adbd58.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-repos-1.4.2-1.el6.noarch
katello-cli-1.4.3-1.git.17.587602e.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
pulp-katello-plugins-0.2-1.el6.noarch
katello-glue-candlepin-1.4.3-1.git.281.6adbd58.el6.noarch
katello-1.4.3-1.git.281.6adbd58.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.4.3-1.git.17.587602e.el6.noarch
katello-selinux-1.4.4-1.el6.noarch
katello-all-1.4.3-1.git.281.6adbd58.el6.noarch
katello-glue-pulp-1.4.3-1.git.281.6adbd58.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-configure-1.4.4-1.git.7.8244ec0.el6.noarch
katello-common-1.4.3-1.git.281.6adbd58.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create org, import manifest, register system
org create --name org1
environment create --org org1 --prior Library --name env
provider import_manifest --org org1 --name "Red Hat" --file /tmp/manifest-automation-CLI-2subscriptions.zip
content definition create --org org1 --name def
content definition publish --org org1 --name def --view_name view
content view promote --org org1 --name view --environment env
activation_key create --org org1 --environment env --content_view view --name act_key
# subscription-manager register --org org1 --activationkey act_key --force --name system
2. org attach_all_systems --name org1
3. system subscriptions --org org1 --name system

Actual results:
org attach_all_systems return error but it is successful

Expected results:


Additional info:

Comment 2 Walden Raines 2013-09-18 13:49:14 UTC
What version of candlepin were you running?

This is working for me with the latest of Katello and Candlepin:

[walden@wraines-sandbox katello (task-states)]$ katello-cli org attach_all_systems --name ACME_Corporation
Organzation [ ACME_Corporation ] completed attachment of subscriptions to all systems

However I was getting a failure before I upgraded candlepin from candlepin-0.8.13-1.fc18.noarch to candlepin-0.8.27-1.fc18.noarch.

Comment 3 Garik Khachikyan 2013-10-02 11:28:02 UTC
@Walden:

anyway, please if it now got fixed, don't close it but mark as fixed and give QA a chance to verify it once. thanks.

Please I move it back to assigned, mark it fixed/on_qa for us please. thanks.

Comment 4 Garik Khachikyan 2013-10-02 11:28:34 UTC
moving to ON_QA.

@Ales: please verify/reopen it as needed. thanks.

Comment 5 Ales Dujicek 2013-10-02 11:46:08 UTC
OK, no errors now -> Verified.
Satellite-6.0.2-RHEL-6-20130927.0

Comment 6 Bryan Kearney 2014-04-24 17:07:38 UTC
This was verified and delivered with MDP2. Closing it out.


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