Description of problem: Error message is not friendly when register to SAM use system name with invalid characters Version-Release number of selected component (if applicable): Test client: python-rhsm-1.1.8-1.el6.x86_64 subscription-manager-1.1.23-1.el6.x86_64 subscription-manager-firstboot-1.1.23-1.el6.x86_64 subscription-manager-gui-1.1.23-1.el6.x86_64 SAM Server: katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.2.1-1h.el6_3.noarch katello-cli-1.2.1-12h.el6_3.noarch katello-cli-common-1.2.1-12h.el6_3.noarch katello-common-1.2.1-15h.el6_3.noarch katello-configure-1.2.3-3h.el6_3.noarch katello-glue-candlepin-1.2.1-15h.el6_3.noarch katello-headpin-1.2.1-15h.el6_3.noarch katello-headpin-all-1.2.1-15h.el6_3.noarch katello-selinux-1.2.1-2h.el6_3.noarch candlepin-0.7.23-1.el6_3.noarch candlepin-tomcat6-0.7.23-1.el6_3.noarch thumbslug-0.0.28-1.el6_3.noarch thumbslug-selinux-0.0.28-1.el6_3.noarch How reproducible: always Steps to Reproduce: 1. config test client to register to SAM [root@dhcp-65-26 ~]# cat /etc/rhsm/rhsm.conf hostname = samserv.redhat.com ---> IP:10.66.12.203 baseurl=https://samserv.redhat.com:8088 ca_cert_dir = /etc/rhsm/ca/ repo_ca_cert = %(ca_cert_dir)scandlepin-local.pem 2. Register to SAM server use system name with invalid characters: [root@dhcp-65-24 ~]# subscription-manager register --username=admin --password=*** --name=test+?test Actual results: After above step 2, the output is as below: Problem creating consumer Consumer [id = 8ac28d4e3c8788c3013ce1d7b9a97baa, type = ConsumerType [id=1000, label=system], getName() = test56+?test] Expected results: After above step 2, the output should be as below: System name cannot contain most special characters. Additional info:
Moving to appropriate release bucket
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf. I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!