Candlepin does not support characters for activation key names other than letters, numbers, hyphen, and underscore. Katello will need to adjust to this so that activation keys are properly named and can be used at registration.
Cole is the new Component owner for Activation Keys, assigning to him. Cole, let me know if you have any questions on these or need help verifying them.
Was there a Katello/Satellite side fix to this as well? The linked PRs only seem to be for Candlepin. Also, I tested this in Sat 6.7 snap 3 and I was able to create an activation key named ',.;?'. Shouldn't it have blocked me?
Failed in satellite 6.7 snap 3. Katello let me create and update the activation key with special characters. However, subscription-manager is still unable to register with those characters. [root@coleslocal ~]# subscription-manager register --org="Default_Organization" --activationkey=",.;?" HTTP error (404 - Not Found): Couldn't find activation key '' Brad, can you let us know if there are any Katello changes for this bug?
There haven't been any katello changes made for this bugzilla. If changes are needed, I'd propose we move this one to sat-backlog for resolution in a future release. Cole, Can you attach the output of the Satellite production.log capturing the 'register' scenario?
Closing due to closure of the downstream BZ
Reopening this bug because only the update case is handled. I should not be able to create an activation key with special characters in it.
Based on the discussion https://bugzilla.redhat.com/show_bug.cgi?id=1803919#c2 its identified that the fix is needed on the katello side.
Created redmine issue https://projects.theforeman.org/issues/29202 from this bug
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 (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days