Description of problem: Please correct the product/component for this bug because I'm sure I got it wrong. When a system is registered to a katello/cfse/sam server using subscription-manager, "subscription-manager version" will report the local rpm versions and the server version/type. The server version is being reported as "Unknown". I suspect that there is a katello api that is either blocked or not implemented to satisfy this function. Version-Release number of selected component (if applicable): CloudForms System Engine Version: 1.1.12-14.el6cf subscription-manager: 1.0.22-1.el5 python-rhsm: 1.0.10-1.el5 How reproducible: Steps to Reproduce: [root@jsefler-rhel59 ~]# subscription-manager register --username admin --serverurl=se-rhelbox.usersys.redhat.com/cfse/api --org Test_Org_1349760599 --env Dev --autosubscribe Password: The system has been registered with id: 028ca17c-7469-4d43-a281-d2934281d3ba Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@jsefler-rhel59 ~]# subscription-manager version registered to: Unknown server type: subscription management service subscription-manager: 1.0.22-1.el5 python-rhsm: 1.0.10-1.el5 Actual results: above; see the "registered to: Unknown"; expected something like: "1.1.12-14.el6cf" Additional info:
This is solely on the katello side.
Fixed in master at 2f643b81c784ca878e11c64b5cc8333027742793
+ skip_before_filter :require_user ^ this broke katello "ping" controller, fixing: https://github.com/Katello/katello/pull/919
Also we put community bugs to MODIFIED state. https://engineering.redhat.com/trac/systemengine/wiki/BugzillaProcess#StateFlowForCommunityBugs But I have been thinking about using ON_DEV because if we decide to give it ack, it seems to be more proper state than MODIFIED.
Branch: refs/heads/master Home: https://github.com/Katello/katello Commit: 52621d6a7109db428c37277b6923466a7b4fd415 https://github.com/Katello/katello/commit/52621d6a7109db428c37277b6923466a7b4fd415 Author: Lukas Zapletal <lzap+git> Date: 2012-10-25 (Thu, 25 Oct 2012)
*** Bug 872333 has been marked as a duplicate of this bug. ***
[root@qeclient02 ~]# subscription-manager version Usage: subscription-manager MODULE-NAME [MODULE-OPTIONS] [--help] Primary Modules: list List subscription and product information for this machine refresh Pull the latest subscription data from the server register register the client to RHN release Configure what os release to use subscribe Subscribe the registered machine to a specified product unregister unregister the client from RHN unsubscribe Unsubscribe the machine from all or specific subscriptions Other Modules (Please consult documentation): clean Remove all local consumer and subscription data without affecting the server config List, set, or remove the configuration parameters in use by this machine. environments Display the environments available for a user facts Work with the current facts for this machine identity Display the identity certificate for this machine or request a new one import Import certificates which were provided outside of the tool orgs Display the orgs against which a user can register a system redeem Attempt to redeem a subscription for a preconfigured machine repos List the repos which this machine is entitled to use service-level Manage service levels for this system. This client has subscription-manager-0.99.19.4-1.el6_3.x86_64 but it does not have a *version* parameter. What am I missing?
VERIFIED : # rpm -qa | grep katello katello-configure-1.2.3-1h.el6_3.noarch katello-headpin-all-1.2.6-1h.el6_3.noarch katello-glue-candlepin-1.2.6-1h.el6_3.noarch katello-cli-1.2.4-1h.el6_3.noarch katello-selinux-1.2.1-1h.el6_3.noarch katello-cli-common-1.2.4-1h.el6_3.noarch katello-headpin-1.2.6-1h.el6_3.noarch katello-common-1.2.6-1h.el6_3.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.2.1-1h.el6_3.noarch # subscription-manager register --username admin --password admin --org ACME_Corporation --environment DEV --autosubscribe --force The system has been registered with id: ff93b357-dddd-4a21-ab80-c55a082fa6b9 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager version server type: Red Hat Subscription Management subscription management server: 1.2.6-1h.el6_3-Headpin subscription-manager: 1.1.4-1.el6 python-rhsm: 1.1.4-1.el6
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/RHSA-2013-0544.html