Silly me. Yes, that gets me farther.
Thank you.
Now it seems to be failing on checking if the name is available - looks like a management cert error.
I’ll have to continue debugging…
TASK: [create test instance] **************************************************
failed: [localhost → 127.0.0.1] => {“failed”: true, “parsed”: false}
Traceback (most recent call last):
File “/home/jklee/.ansible/tmp/ansible-tmp-1420663748.48-67769107595964/azure”, line 2049, in
main()
File “/home/jklee/.ansible/tmp/ansible-tmp-1420663748.48-67769107595964/azure”, line 445, in main
(changed, public_dns_name, deployment) = create_virtual_machine(module, azure)
File “/home/jklee/.ansible/tmp/ansible-tmp-1420663748.48-67769107595964/azure”, line 249, in create_virtual_machine
cloud_service_name_available = azure.check_hosted_service_name_availability(name)
File “/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementservice.py”, line 811, in check_hosted_service_name_availability
AvailabilityResponse)
File “/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py”, line 218, in _perform_get
response = self.perform_get(path, x_ms_version)
File “/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py”, line 114, in perform_get
response = self._perform_request(request)
File “/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py”, line 190, in _perform_request
resp = self._filter(request)
File “/usr/lib/python2.6/site-packages/azure/http/httpclient.py”, line 205, in perform_request
self.send_request_headers(connection, request.headers)
File “/usr/lib/python2.6/site-packages/azure/http/httpclient.py”, line 184, in send_request_headers
connection.endheaders()
File “/usr/lib64/python2.6/httplib.py”, line 908, in endheaders
self._send_output()
File “/usr/lib64/python2.6/httplib.py”, line 780, in _send_output
self.send(msg)
File “/usr/lib64/python2.6/httplib.py”, line 739, in send
self.connect()
File “/usr/lib64/python2.6/httplib.py”, line 1116, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File “/usr/lib64/python2.6/ssl.py”, line 342, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File “/usr/lib64/python2.6/ssl.py”, line 118, in init
cert_reqs, ssl_version, ca_certs)
ssl.SSLError: [Errno 336265225] _ssl.c:341: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
FATAL: all hosts have already failed – aborting
PLAY RECAP ********************************************************************