{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/30147","labels_url":"https://api.github.com/repos/saltstack/salt/issues/30147/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/30147/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/30147/events","html_url":"https://github.com/saltstack/salt/issues/30147","id":124921050,"number":30147,"title":"salt.cloud.CloudClient method create() not working for VMware driver","user":{"login":"anandxoriant","id":9574646,"avatar_url":"https://avatars.githubusercontent.com/u/9574646?v=3","gravatar_id":"","url":"https://api.github.com/users/anandxoriant","html_url":"https://github.com/anandxoriant","followers_url":"https://api.github.com/users/anandxoriant/followers","following_url":"https://api.github.com/users/anandxoriant/following{/other_user}","gists_url":"https://api.github.com/users/anandxoriant/gists{/gist_id}","starred_url":"https://api.github.com/users/anandxoriant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandxoriant/subscriptions","organizations_url":"https://api.github.com/users/anandxoriant/orgs","repos_url":"https://api.github.com/users/anandxoriant/repos","events_url":"https://api.github.com/users/anandxoriant/events{/privacy}","received_events_url":"https://api.github.com/users/anandxoriant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Info%20Needed","name":"Info Needed","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":347,"closed_issues":707,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2016-01-05T16:56:58Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-01-05T08:51:54Z","updated_at":"2016-01-05T16:59:42Z","closed_at":null,"body":"I am trying to run simple python code to Provision VM using salt.cloud.CloudClient create() API (Create the named VMs, without using a profile) using vmware driver, but unable to execute.\r\n\r\nSalt-Cloud Version : salt-cloud 2015.8.3 (Beryllium)\r\nBase OS : Centos 6\r\n\r\nSample Code:\r\n```py\r\nimport os, json, yaml, collections\r\nfrom salt.cloud import CloudClient\r\nfrom salt.exceptions import SaltCloudSystemExit\r\n\r\n\r\nif __name__ == '__main__':\r\n        client = CloudClient(path='/etc/salt/cloud')\r\n                             spec_str='{\"provider\":\"vcenter01\",\"clonefrom\":\"Win2008R2\",\"num_cpus\":4,\"memory\":\"6GB\",\"datastore\":\"Test-cntr0\",\"cluster\":\"Test-Cluster\",\"folder\":\"Test VMs\",\"names\":[\"test_vm_2008\"],\"devices\":{\"disk\":{\"Hard disk 2\":{\"size\":15},\"Hard disk 3\":{\"size\":12}},\"scsi\":{\"SCSI controller 1\":{\"type\":\"lsilogic\"},\"SCSI controller 2\":{\"type\":\"lsilogic_sas\",\"bus_sharing\":\"virtual\"},\"SCSI controller 3\":{\"type\":\"paravirtual\"}}}}'\r\n        spec=json.loads(spec_str)\r\n        vm_names = spec.get(\"names\")\r\n        ret = client.create(provider='vcenter01', names=vm_names, kwargs=spec)\r\n        print \"vm-status: \", ret\r\n```\r\n\r\nHere, I am getting empty json without any exception."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/169060970","html_url":"https://github.com/saltstack/salt/issues/30147#issuecomment-169060970","issue_url":"https://api.github.com/repos/saltstack/salt/issues/30147","id":169060970,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T16:59:42Z","updated_at":"2016-01-05T16:59:42Z","body":"@anandxoriant, thanks for the report.  Can you post your relevant cloud provider and profile configs with the private info removed?  Can you verify that other operations with the provider work as expected using `salt-cloud`?"}}