{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/33136","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/33136/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/33136/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/33136/events","html_url":"https://github.com/saltstack/salt/issues/33136","id":153973583,"number":33136,"title":"Getting error:  [Object Not Found]: Could not find a VM named 'windows7Server64Guest' Error: There was a profile error: Failed to deploy VM, using salt-cloud command....","user":{"login":"akshya-github","id":19282970,"avatar_url":"https://avatars.githubusercontent.com/u/19282970?v=3","gravatar_id":"","url":"https://api.github.com/users/akshya-github","html_url":"https://github.com/akshya-github","followers_url":"https://api.github.com/users/akshya-github/followers","following_url":"https://api.github.com/users/akshya-github/following{/other_user}","gists_url":"https://api.github.com/users/akshya-github/gists{/gist_id}","starred_url":"https://api.github.com/users/akshya-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshya-github/subscriptions","organizations_url":"https://api.github.com/users/akshya-github/orgs","repos_url":"https://api.github.com/users/akshya-github/repos","events_url":"https://api.github.com/users/akshya-github/events{/privacy}","received_events_url":"https://api.github.com/users/akshya-github/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Question","name":"Question","color":"942192"},{"url":"https://api.github.com/repos/saltstack/salt/labels/RIoT","name":"RIoT","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-Cloud","name":"Salt-Cloud","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3050,"closed_issues":3636,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-05-17T17:55:49Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-05-10T10:28:21Z","updated_at":"2016-05-17T19:02:40Z","closed_at":null,"body":"### Description of Issue/Question\r\nusing this command to create VM:\r\n```\r\nsalt-cloud -p vmware-Win2K8 vmware-Win2K8\r\n```\r\n here:  vmware-Win2K8 is profile name.\r\n\r\n### Setup\r\n\r\nWant to create VM on: VMWARE vSphere ESXi 5.5.\r\n\r\nIn Provider configuration:\r\n```\r\nDriver: vsphere \r\n```\r\nProfile configuration:-\r\n```\r\nvmware-Win2K8:\r\n provider: my-vsphere-config\r\n num_cpus: 2\r\n memory: 4GB\r\n  devices:\r\n  cd:\r\n   CD/DVD drive 1:\r\n   device_type: datastore_iso_file\r\n   iso_path: \"[DataStore] /ISO/Windows_server_2008_r2.iso\"\r\n  disk:\r\n   Hard disk 1:\r\n    size: 30\r\n  network:\r\n   Network adapter 1:\r\n    name: eth007\r\n    switch_type: standard\r\n    ip: 192.168.110.201\r\n    gateway: [192.168.110.211]\r\n    subnet_mask: 255.255.255.0\r\n dns_servers:\r\n  -8.8.8.8\r\n resourcepool: MyResources\r\n datastore: Datastore\r\n host: 192.168.109.213\r\n template: False\r\n power_on: True\r\n\r\n deploy: True\r\n #private_key: /root/.ssh/mykey.pem\r\n #ssh_username: cloud-user\r\n #password: 'Admin@123'\r\n minion:\r\n  master: 192.168.104.111\r\n #file_map:\r\n  #/path/to/local/custom/script: /path/to/remote/script\r\n  #/path/to/local/file: /path/to/remote/file\r\n  #/srv/salt/yum/epel.repo: /etc/yum.repos.d/epel.repo\r\n hardware_version: 8\r\n image: windows7Server64Guest\r\n win_username: Admin\r\n win_password: 'Admin@123'\r\n win_installer: \"[Data store] /ISO/Salt-Minion-2015.8.8-2-AMD64-Setup.exe\"\r\n```\r\n\r\n### Steps to Reproduce Issue\r\n(Include debug logs if possible and relevant.)\r\n\r\n### Versions Report\r\n```\r\nSalt Version:\r\n            Salt: 2015.8.8.2\r\n\r\nDependency Versions:\r\n Apache Libcloud: 0.20.0\r\n          Jinja2: 2.7.2\r\n        M2Crypto: Not Installed\r\n            Mako: Not Installed\r\n          PyYAML: 3.11\r\n           PyZMQ: 14.7.0\r\n          Python: 2.7.5 (default, Nov 20 2015, 02:00:19)\r\n            RAET: Not Installed\r\n         Tornado: 4.2.1\r\n             ZMQ: 4.0.5\r\n            cffi: 1.6.0\r\n        cherrypy: 3.2.2\r\n        dateutil: Not Installed\r\n           gitdb: Not Installed\r\n       gitpython: Not Installed\r\n           ioflo: Not Installed\r\n         libgit2: Not Installed\r\n         libnacl: Not Installed\r\n    msgpack-pure: Not Installed\r\n  msgpack-python: 0.4.6\r\n    mysql-python: Not Installed\r\n       pycparser: 2.14\r\n        pycrypto: 2.6.1\r\n          pygit2: Not Installed\r\n    python-gnupg: Not Installed\r\n           smmap: Not Installed\r\n         timelib: 0.2.4\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/219820180","html_url":"https://github.com/saltstack/salt/issues/33136#issuecomment-219820180","issue_url":"https://api.github.com/repos/saltstack/salt/issues/33136","id":219820180,"user":{"login":"nmadhok","id":3374962,"avatar_url":"https://avatars.githubusercontent.com/u/3374962?v=3","gravatar_id":"","url":"https://api.github.com/users/nmadhok","html_url":"https://github.com/nmadhok","followers_url":"https://api.github.com/users/nmadhok/followers","following_url":"https://api.github.com/users/nmadhok/following{/other_user}","gists_url":"https://api.github.com/users/nmadhok/gists{/gist_id}","starred_url":"https://api.github.com/users/nmadhok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmadhok/subscriptions","organizations_url":"https://api.github.com/users/nmadhok/orgs","repos_url":"https://api.github.com/users/nmadhok/repos","events_url":"https://api.github.com/users/nmadhok/events{/privacy}","received_events_url":"https://api.github.com/users/nmadhok/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T19:02:40Z","updated_at":"2016-05-17T19:02:40Z","body":"@akshya-github The ability to create VM's from scratch was recently added to Salt develop branch. I don't see that it was back ported to 2015.5 branch. You can either test it by installing Salt from latest develop branch or you can wait for the next Salt release. "}}