Advertisement
Guest User

Untitled

a guest
Aug 4th, 2014
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. root@sdlcmaster001:~/salt# salt-cloud --list-images vsphere
  2. [INFO ] salt-cloud starting
  3. [ERROR ] Failed to get the output of 'vsphere.avail_images()': Response is "text", not "text/xml"
  4. Traceback (most recent call last):
  5. File "/usr/local/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 780, in image_list
  6. data[alias][driver] = self.clouds[fun]()
  7. File "/usr/local/lib/python2.7/dist-packages/salt/cloud/clouds/vsphere.py", line 146, in avail_images
  8. conn = get_conn()
  9. File "/usr/local/lib/python2.7/dist-packages/salt/cloud/clouds/vsphere.py", line 108, in get_conn
  10. 'password', get_configured_provider(), __opts__, search_global=False
  11. File "/usr/local/lib/python2.7/dist-packages/pysphere/vi_server.py", line 101, in connect
  12. request)._returnval
  13. File "/usr/local/lib/python2.7/dist-packages/pysphere/resources/VimService_services.py", line 2172, in RetrieveServiceContent
  14. response = self.binding.Receive(RetrieveServiceContentResponseMsg.typecode)
  15. File "/usr/local/lib/python2.7/dist-packages/pysphere/ZSI/client.py", line 540, in Receive
  16. self.ReceiveSOAP(**kw)
  17. File "/usr/local/lib/python2.7/dist-packages/pysphere/ZSI/client.py", line 425, in ReceiveSOAP
  18. 'Response is "%s", not "text/xml"' % self.local.reply_headers.type)
  19. TypeError: Response is "text", not "text/xml"
  20. vsphere:
  21. ----------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement