{"action":"opened","issue":{"url":"https://api.github.com/repos/vmware/pyvmomi/issues/609","repository_url":"https://api.github.com/repos/vmware/pyvmomi","labels_url":"https://api.github.com/repos/vmware/pyvmomi/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/vmware/pyvmomi/issues/609/comments","events_url":"https://api.github.com/repos/vmware/pyvmomi/issues/609/events","html_url":"https://github.com/vmware/pyvmomi/issues/609","id":260634258,"number":609,"title":"Trying to obtain vim.host.vmfsdatastoreinfo","user":{"login":"Amruthapv","id":29976802,"avatar_url":"https://avatars1.githubusercontent.com/u/29976802?v=4","gravatar_id":"","url":"https://api.github.com/users/Amruthapv","html_url":"https://github.com/Amruthapv","followers_url":"https://api.github.com/users/Amruthapv/followers","following_url":"https://api.github.com/users/Amruthapv/following{/other_user}","gists_url":"https://api.github.com/users/Amruthapv/gists{/gist_id}","starred_url":"https://api.github.com/users/Amruthapv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amruthapv/subscriptions","organizations_url":"https://api.github.com/users/Amruthapv/orgs","repos_url":"https://api.github.com/users/Amruthapv/repos","events_url":"https://api.github.com/users/Amruthapv/events{/privacy}","received_events_url":"https://api.github.com/users/Amruthapv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-26T13:59:28Z","updated_at":"2017-09-26T13:59:28Z","closed_at":null,"author_association":"NONE","body":"def main():\r\n    args = GetArgs()\r\n    # try:\r\n    si = SmartConnect(host=args.host, user=args.user,\r\n                      pwd=args.password, port=int(args.port),\r\n                      )\r\n)\r\n    atexit.register(Disconnect, si)\r\n\r\n    content = si.RetrieveContent()\r\n\r\n\r\n    hostid=si.content.rootFolder.childEntity[0].hostFolder.childEntity[0].host[0]\r\n    print \"hossss\", hostid\r\n    print \"vmfs\", hostid.VmfsDatastoreInfo\r\n\r\n\r\nI get the following error: AttributeError: 'vim.HostSystem' object has no attribute 'VmfsDatastoreInfo'\r\n\r\n\r\nHow to retrieve the th evmfsdatastore info from a host\r\n"}}
{"actor":{"display_login":"Amruthapv"}}