Registration fails when having # in the registration key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Landscape client registration is failing on version 14.01-0ubuntu3 when having the '#' (hash) character in the registration key. To reproduce the problem try to register a Trusty client with an account where the registration key has a '#' in it.
Examples from broker.log:
1) having 'ubuntuuser#' as registration key, broker.log shows:
'registration_
...and the registration fails with: "Invalid account name or registration key."
2) having 'ubuntu#user' as registration key, broker.log shows:
'registration_
..and the registration fails with: "Invalid account name or registration key."
It looks like starting with the # everything is missing from the registration key.
I've tested registration with older landscape-client versions (precise,saucy) without any issues. This seems to be localized to the version that comes with Ubuntu 14.04 LTS (14.01-0ubuntu3).
The workaround is not to use the '#' character in the registration key.
This bug has not seen any activity in the last 6 months, so it is being automatically closed.
If you are still experiencing this issue, please feel free to re-open.
Landscape Team