Bug #29202
closedDisallow commas in activation key names
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1665277
++ This bug was initially created as a clone of Bug #1657076 ++
Description of problem:
subscription manager register activationkey with special character failed
How reproducible:
always
Steps to Reproduce:
1.Create a activationkey named ",.;?" on satellite6.4
Please reference picture
activationkey.png
- subscription-manager register --org=Default_Organization --activationkey=',.;?'
HTTP error (404 - Not Found): Couldn't find activation key ''
3. Register satellite server with cockpit
Error:
HTTP error (404 - Not Found): Couldn't find activation key ''
Please reference picture
cockpit_activationkey.png
- subscription-manager register --org=Default_Organization --activationkey='!@#$%^&*()_+-={}{}[<.>'
The system has been registered with ID: 5978380b-9ba8-40aa-9d66-4f2641cfa403
The registered system name is: dell-r730-001-guest14.dsal.lab.eng.rdu2.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta
Status: Subscribed
Actual results:
As step 3
Expected results:
As satellite server support special character creation, register to satellite server also should support, even though we do not use this characters usually.
If we think these characters are not useful, maybe satellite server need to add validation for creating activate key using these special characters.
Updated by Jonathon Turel almost 5 years ago
- Subject changed from Disallow commas from activation key names to Disallow commas from activation key names
- Target version set to Katello 3.16.0
Updated by Jonathon Turel almost 5 years ago
- Subject changed from Disallow commas from activation key names to Disallow commas in activation key names
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8589 added
Updated by The Foreman Bot almost 5 years ago
- Fixed in Releases Katello 3.16.0 added
Updated by Jonathon Turel almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|58d2c768358a0b3000befe8dcf44b5792a36e531.