Setting host maps in omshell fails

Bug #1062040 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Julian Edwards

Bug Description

The task is called but no host map is added in the leases file. Debugging in the maas shell shows:

>>> NodeGroup.objects.all()[0].dhcp_key
u'YXY5pr+No/8NZeodSd27wWbI8N6kIjMF/nrnFIlPwVLuByJKkQcBRtfDrDLLG2U9/ND7/bIlJxEGTUnyipffHQ=='
>>> omshell=Omshell('127.0.0.1','YXY5pr+No/8NZeodSd27wWbI8N6kIjMF/nrnFIlPwVLuByJKkQcBRtfDrDLLG2U9/ND7/bIlJxEGTUnyipffHQ==')
>>> omshell.create('10.0.0.100','e4:11:5b:13:7b:36')
<STDIN> line 1: partial base64 value left over: 2.
key omapi_key YXY5pr+No/
                     ^

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Apparently +no+ or +no/ breaks the b64 parser in omshell!

https://lists.isc.org/pipermail/dhcp-users/2011-January/012969.html

Changed in maas:
status: Triaged → In Progress
assignee: nobody → Julian Edwards (julian-edwards)
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Released
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.