Deploy user_data expects binary string

Bug #1885237 reported by Huw Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Adam Collard

Bug Description

When passing user_data to the deploy action from the websocket API it returns an error that the string must be a binary string.

Also, is there any way to access the user_data post deploy? Is it stored somewhere I've missed. In the new UI there will be a modal to show what the machine was deployed with (linked from the machine list and machine details).

Related branches

Revision history for this message
Lee Trager (ltrager) wrote :

I mentioned to Amy that MAAS should accept base64 or plain text user_data. We should do this on both the API and for the websocket.

Changed in maas:
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Huw Wilkins (huwshimi) wrote :

Closing this because we can write a function to convert UTF-16 to binary in the client.

Changed in maas:
status: New → Invalid
status: Invalid → New
Revision history for this message
Huw Wilkins (huwshimi) wrote :

Lee, oops sorry didn't see that you replied, I've reopened it.

Lee Trager (ltrager)
Changed in maas:
milestone: none → 2.9.0b1
importance: Undecided → High
status: New → Triaged
Changed in maas:
assignee: Lee Trager (ltrager) → Adam Collard (adam-collard)
Changed in maas:
status: Triaged → Fix Committed
Lee Trager (ltrager)
Changed in maas:
status: Fix Committed → 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.