Join GitHub today
salt-cloud throws an exception when ec2 does not return encoding #38856
Description of Issue/Question
salt-cloud does not handle exceptions when ec2 does not return encoding.
I am able to reproduce this with a stock 2016.11.1 install using salt-cloud on ubuntu 16.04. Any VM I have tried to create has had this issue.
Stack trace is:
Steps to Reproduce Issue
Create a VM profile configured to connect via the private IP. Attempt to provision a machine in ec2 with it. I was able to work around it by just printing result.text and not attempting to encode it.