Bug 912014 - Error message is not friendly when register to SAM use system name with invalid characters
Summary: Error message is not friendly when register to SAM use system name with inval...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-02-17 08:36 UTC by qianzhan
Modified: 2017-06-26 20:32 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-26 20:32:57 UTC
Embargoed:


Attachments (Terms of Use)

Description qianzhan 2013-02-17 08:36:06 UTC
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:

Comment 1 Scott Lewis 2013-02-25 15:51:30 UTC
Moving to appropriate release bucket

Comment 2 Bryan Kearney 2017-06-26 20:32:57 UTC
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!


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