Registration fails when having # in the registration key

Bug #1323313 reported by Alex Moldovan
10
This bug affects 2 people
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_password': u'ubuntuuser',
...and the registration fails with: "Invalid account name or registration key."

2) having 'ubuntu#user' as registration key, broker.log shows:
'registration_password': u'ubuntu',
..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.

Revision history for this message
🤖 Landscape Builder (landscape-builder) wrote :

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

Changed in landscape-client:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.