Description of problem: After unregister, subscription management server is not displayed as 'Unknown' when run 'subscription-manager version' command. Version-Release number of selected component (if applicable): katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-1.4.3-9.el6sat.noarch katello-cli-common-1.4.3-9.el6sat.noarch katello-common-1.4.3-11.el6sam_splice.noarch katello-configure-1.4.4-3.el6sat.noarch katello-glue-candlepin-1.4.3-11.el6sam_splice.noarch katello-glue-elasticsearch-1.4.3-11.el6sam_splice.noarch katello-headpin-1.4.3-11.el6sam_splice.noarch katello-headpin-all-1.4.3-11.el6sam_splice.noarch katello-selinux-1.4.4-2.el6sat.noarch signo-katello-0.0.20-1.el6sat.noarch candlepin-0.8.24-1.el6sam.noarch candlepin-scl-1-5.el6_4.noarch candlepin-scl-quartz-2.1.5-5.el6_4.noarch candlepin-scl-rhino-1.7R3-1.el6_4.noarch candlepin-scl-runtime-1-5.el6_4.noarch candlepin-selinux-0.8.24-1.el6sam.noarch candlepin-tomcat6-0.8.24-1.el6sam.noarch thumbslug-0.0.32-1.el6sam.noarch thumbslug-selinux-0.0.32-1.el6sam.noarch subscription-manager-gui-1.8.21-1.el5 subscription-manager-1.8.21-1.el5 How reproducible: always Steps to Reproduce: 1. Register to SAM [root@unused-65-239 ~]# subscription-manager register Username: admin Password: The system has been registered with ID: 665cd0c2-6bbe-48e1-8e4e-6b3aff44f2e3 2. Check the subscription-manager version: [root@unused-65-239 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 1.4.3-11.el6sam_splice-Headpin subscription-manager: 1.8.21-1.el5 python-rhsm: 1.8.17-1.el5 3. Unregister and clean the local data: [root@unused-65-239 ~]# subscription-manager unregister Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. [root@unused-65-239 ~]# subscription-manager clean All local data removed 4. Check the subscription-manager version after unregister: [root@unused-65-239 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 1.4.3-11.el6sam_splice-Headpin subscription-manager: 1.8.21-1.el5 python-rhsm: 1.8.17-1.el5 Actual results: As above. Expected results: The value of subscription management server should be 'Unknown' after unregister. Additional info:
This is expected behavior. Whether or not you are registered should have no bearing on the server information, which doesn't require any authentication. It shows the server version of the subscription management service that your rhsm.conf is pointing to.