foospidy opened a new issue, #1893:
URL: https://github.com/apache/libcloud/issues/1893

   ## Summary
   
   For Azure arm, create_node, the ex_customedata parameter is not properly 
decoded after base64 encoding. This results in invalid json. When the driver 
creates the request the error `Object of type bytes is not JSON serializable` 
occurs.
   
   ## Detailed Information
   
   libcloud 3.7.0
   Python 3.10.11
   Linux ubuntu/debian
   
   To replicate, call azure arm driver.create_node with parameter: ` 
ex_customdata=str.encode(deployment_script)`,
   
   suggested fix: 
https://github.com/foospidy/libcloud/commit/20df1c327da71d364132ff8b6e8152dd4554aaad
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@libcloud.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to