Bug 1136071
| Summary: | Unable to list available subscriptions with subscription-manager < 0.96 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Martin Bacovsky <mbacovsk> |
| Component: | Registration | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.4 | CC: | bbuckingham, cwelton, jsherril, mbacovsk, tkolhar, xdmoon |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/7321 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 13:56:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Bacovsky
2014-09-01 15:01:07 UTC
It is possible to subscribe the system using known pool id. Created redmine issue http://projects.theforeman.org/issues/7321 from this bug *** Bug 1136056 has been marked as a duplicate of this bug. *** Workaround: upgrade to newer subscription-manager Works in nightly, moving to POST FAILEDQA: *** This bug is verified in upstream. This fix should eventually land in future downstream builds *** Version Tested: # rpm -qa | grep foreman ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch ruby193-rubygem-foreman_abrt-0.0.4-1.el7.noarch ruby193-rubygem-foreman_docker-0.2.0-2.el7.noarch ruby193-rubygem-foreman_bootdisk-4.0.2-1.el7.noarch rubygem-hammer_cli_foreman-0.1.3-1.201411121216git9381fc5.el7.noarch hp-dl380pgen8-02-vm-6.lab.bos.redhat.com-foreman-client-1.0-1.noarch foreman-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-ovirt-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch ruby193-rubygem-foreman_discovery-1.4.0-2.el7.noarch foreman-postgresql-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-compute-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-gce-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-libvirt-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-vmware-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch foreman-selinux-1.8.0-0.develop.201410280941git10de1c5.el7.noarch foreman-proxy-1.8.0-0.develop.201411121327gitab6edc2.el7.noarch hp-dl380pgen8-02-vm-6.lab.bos.redhat.com-foreman-proxy-1.0-1.noarch foreman-release-1.8.0-0.develop.201411201054gitbe4602e.el7.noarch # rpm -qa | grep subscription-manager subscription-manager-0.95.11-1.el6.x86_64 # rpm -Uvh http://hp-dl380pgen8-02-vm-6.lab.bos.redhat.com/pub/katello-ca-consumer-hp-dl380pgen8-02-vm-6.lab.bos.redhat.com-1.0-1.noarch.rpm Retrieving http://hp-dl380pgen8-02-vm-6.lab.bos.redhat.com/pub/katello-ca-consumer-hp-dl380pgen8-02-vm-6.lab.bos.redhat.com-1.0-1.noarch.rpm Preparing... ########################################### [100%] 1:katello-ca-consumer-hp-########################################### [100%] # subscription-manager register Username: admin Password: User 'admin' did not specify an organization ID and does not have a default organization. # subscription-manager register --org="Default_Organization" Usage: subscription-manager register [OPTIONS] subscription-manager: error: no such option: --org Tazim, Notice the error: subscription-manager: error: no such option: --org This version of subscription manager does not support orgs or environments. It relies on the Default Organization set for the user, and registers directly to Library. In the current 6.1 build the user now has the default org set for him, but if not you can simply go to Administer > Users > click the user name > Organizations tab > select a default org from the drop down. You would then simply register: subscription-manager register without an org parameter. Moving back on_QA. -Justin VERIFIED : # rpm -qa | grep foreman foreman-compute-1.7.2.9-1.el6_6sat.noarch ruby193-rubygem-foreman_discovery-2.0.0.6-1.el6_6sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.2-1.el6_6sat.noarch foreman-debug-1.7.2.9-1.el6_6sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el6_6sat.noarch foreman-selinux-1.7.2.8-1.el6_6sat.noarch foreman-ovirt-1.7.2.9-1.el6_6sat.noarch foreman-libvirt-1.7.2.9-1.el6_6sat.noarch ruby193-rubygem-foreman-redhat_access-0.0.9-1.el6_6sat.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-client-1.0-1.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-client-1.0-1.noarch rubygem-hammer_cli_foreman-0.1.4.6-1.el6_6sat.noarch foreman-vmware-1.7.2.9-1.el6_6sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.8-1.el6_6sat.noarch foreman-proxy-1.7.2.3-1.el6_6sat.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-1.0-2.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el6_6sat.noarch foreman-1.7.2.9-1.el6_6sat.noarch foreman-gce-1.7.2.9-1.el6_6sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el6_6sat.noarch ruby193-rubygem-foreman-tasks-0.6.12.1-1.el6_6sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el6_6sat.noarch foreman-postgresql-1.7.2.9-1.el6_6sat.noarch ruby193-rubygem-foreman_abrt-0.0.5-2.el6_6sat.noarch ruby193-rubygem-foreman_docker-1.2.0.3-1.el6_6sat.noarch $subscription-manager register --org="Default_Organization" --environment="Library" --force Username: admin Password: The system has been registered with ID: ddd5a814-284a-4702-9d9a-80beee1e627a $subscription-manager unregister System has been unregistered. # subscription-manager list --available No available subscription pools to list This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |