We are trying to create a new virtual machine using vmware api. The system logs (/var/log/hostd.log) shows the following error:
2014-11-04T09:12:12.609Z [28580B70 verbose 'Cimsvc'] Ticket issued for CIMOM version 1.0, user root
2014-11-04T09:12:15.942Z [269C2B70 error 'SoapAdapter.HTTPService'] Failed to read request; stream: <io_obj p:0x27149470
, h:-1, <TCP '0.0.0.0:0'>, <TCP '0.0.0.0:0'>>, error: N7Vmacore16TimeoutExceptionE(Operation timed out)
2014-11-04T09:12:15.998Z [28580B70 verbose 'SoapAdapter'] Unrecognized version URI "urn:vim25/test"; using default
handler for "urn:vim25/5.5"
pam_per_user: create_subrequest_handle(): doing map lookup for user "cubit"
pam_per_user: create_subrequest_handle(): creating new subrequest (user="cubit", service="system-auth-generic")
Accepted password for user cubit from 10.2.46.4
2014-11-04T09:12:16.078Z [253C2B70 info 'Vimsvc.ha-eventmgr' opID=hostd-abd2] Event 37606 : User cubit@10.2.46.4 logged
in as VI Perl
2014-11-04T09:12:16.103Z [25381B70 info 'Vimsvc.TaskManager' opID=hostd-459b user=cubit] Task Created : haTask--vim.
SearchIndex.findByInventoryPath-89996897
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] FindByInventoryPath:
inventoryPath = ha-datacenter
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] GetMatchingChild: node = <null
>, childName = ha-datacenter
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] RefToNamedManagedEntity: ref =
vim.Datacenter:ha-datacenter, name = ha-datacenter
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] RefNamedManagedEntity: result
= vim.Datacenter:ha-datacenter
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] GetMatchingChild: returning
child = [N4Solo17HaFixedDatacenterE:0x1f47865c]
2014-11-04T09:12:16.104Z [25381B70 verbose 'Solo.SearchIndex' opID=hostd-459b user=cubit] FindByInventoryPath returning
vim.Datacenter:ha-datacenter
2014-11-04T09:12:16.104Z [25381B70 info 'Vimsvc.TaskManager' opID=hostd-459b user=cubit] Task Completed : haTask--vim.
SearchIndex.findByInventoryPath-89996897 Status success
2014-11-04T09:12:16.106Z [28580B70 verbose 'DatastoreBrowser' opID=hostd-50e2 user=cubit] 4f58eb42-6cf1e6bc-2855-
3cd92b09c6ba-datastorebrowser::Search Path = [datastore1] Spec = (vim.host.DatastoreBrowser.SearchSpec) {
--> dynamicType = <unset>,
--> query = (vim.host.DatastoreBrowser.Query) [
--> (vim.host.DatastoreBrowser.FolderQuery) {
--> dynamicType = <unset>,
--> },
--> (vim.host.DatastoreBrowser.Query) {
--> dynamicType = <unset>,
--> }
--> ],
--> details = (vim.host.DatastoreBrowser.FileInfo.Details) {
--> dynamicType = <unset>,
--> fileType = true,
--> fileSize = false,
--> modification = false,
--> fileOwner = false,
--> },
--> searchCaseInsensitive = <unset>,
--> matchPattern = (string) [
--> "cu003\.f\.maa\.collab\.net"
--> ],
--> sortFoldersFirst = <unset>,
--> }
2014-11-04T09:12:16.107Z [28580B70 info 'DatastoreBrowser' opID=hostd-50e2 user=cubit] 4f58eb42-6cf1e6bc-2855-
3cd92b09c6ba-datastorebrowser::SearchInt
2014-11-04T09:12:16.107Z [28580B70 verbose 'DatastoreBrowser' opID=hostd-50e2 user=cubit] 4f58eb42-6cf1e6bc-2855-
3cd92b09c6ba-datastorebrowser::GetLocalpathFromDatastorepath
2014-11-04T09:12:16.107Z [28580B70 verbose 'DatastoreBrowser' opID=hostd-50e2 user=cubit] 4f58eb42-6cf1e6bc-2855-
3cd92b09c6ba-datastorebrowser::Verify
2014-11-04T09:12:16.111Z [269C2B70 verbose 'HTTP server /folder'] Sent NotFound response for GET /folder/cu003.f.maa.
collab.net?dsName=datastore1
2014-11-04T09:12:16.119Z [250CBB70 verbose 'Default' opID=C05D9B40-0000080C user=root] AdapterServer: target='vmodl.
query.PropertyCollector:ha-property-collector', method='waitForUpdates'
2014-11-04T09:12:16.149Z [253C2B70 verbose 'SoapAdapter'] Unrecognized version URI "urn:vim25/test"; using default
handler for "urn:vim25/5.5"
2014-11-04T09:12:16.150Z [25381B70 verbose 'Default' opID=D983AFC3-000003E2 user=root] AdapterServer: target='vmodl.
query.PropertyCollector:ha-property-collector', method='waitForUpdates'
2014-11-04T09:12:16.150Z [28580B70 verbose 'Default' opID=hostd-fb4f user=cubit] CloseSession called for session id=
e58547b6-0e56-252d-8fe1-955c4e7cdb60
2014-11-04T09:12:16.150Z [28580B70 info 'Vimsvc.ha-eventmgr' opID=hostd-fb4f user=cubit] Event 37607 : User cubit@10.2.
46.4 logged out (login time: Tuesday, 04 November, 2014 09:11:26, number of API invocations: 0, user agent: VI Perl)
2014-11-04T09:12:16.711Z [28580B70 verbose 'SoapAdapter'] Unrecognized version URI "urn:vim25/test"; using default
handler for "urn:vim25/5.5"
We already raised with the vmware support team.. here is the email discussion:
Hello Rengarajan,
As discussed, since SDK entitlement is not part your account you can post this issue on our communities link.
I will proceed with archiving the SR if you have no further questions.
Thank you for choosing VMware Products.
On 05/11/2014, "VMware Technical Support" <webform@vmware.com> <webform@vmware.com> wrote:
> ** Please do not change the subject line of this email if you wish to
> respond. **
>
> Hello Rengarajan,
>
> My name is Kishore Kumar J and I am taking ownership of the Support
> Request#14550657711.
>
> I understand from your case description that you are getting an error when
> trying to execute a script on vCLI. Correct me if I am wrong.
>
> Please note that for assistance with vCLI scripts you need to speak to our
> SDK support team. SDK support is available if you have SDK entitlement on
> your account.
>
> kindly refer the below URL for details on SDK Support.
>
> https://www.vmware.com/support/sdk.html
>
> https://www.vmware.com/support/services/sdk/sdk-overview.html
>
> You can validate if your account has SDK entitlement by speaking with our
> customer service team@1-877-486-9273.
>
> Let me know if you have any questions.
>
> Regards,
> Kishore kumar J
> ITIL V3 Foundations | CCNA | VCP5
> Technical Support Engineer
> Global Support Services, VMware Inc.
> 1-877-4-VMWARE (1-877-486-9273)
> Office Hours: Monday-Friday 09:00AM – 06:00PM IST.
> Review your Support Requests Online: http://support.vmware.com/selfsupport/
> Existing Service Request: 1-877-4-VMWARE (1-877-486-9273), Option 4 for
> Support, Option 2
> Satisfied customers are our top priority. Please contact my manager, Neha
> Jain: njain@vmware.com , if you would like to provide feedback on your
> support experience.
>
>
> Please visit us at: http://www.vmware.com/support/
> VMware Knowledge Base: http://www.vmware.com/r/knowledgebase.html
> VMware Documentation: http://www.vmware.com/support/pubs/
> ref:_00D409hQR._50080cJpMv:ref
>
On 04/11/2014, VMware Technical Support <webform@vmware.com> wrote:
> ** This is a post-only email. Please do not reply. **
>
> Dear Rengarajan Govindan,
>
> Thank you for requesting support from VMware.
> Your Support Request Number is 14550657711
> Commit Time: 2014-11-05 17:12 IST
> Severity of Support Request: 3 - Medium
>
> If you have not had the opportunity to upload log files related to the
> problem you are experiencing please do so now. This will expedite the
> resolution of your problem. Our knowledge article explains the steps to
> collect and upload log files; http://kb.vmware.com/kb/1008524
>
> A copy of your Support Request is included at the end of this message.
> You may review the status of your Support Request at anytime by accessing:
> http://www.vmware.com/support/sr/sr_history.jsp
>
>
> We also offer several Web-based resources to assist our customers in finding
> answers to their questions quickly. Many issues reported by users are
> addressed and posted in our knowledgebase which you can access at:
> http://www.vmware.com/support/kb/enduser/std_alp.php
>
> Submit Support Requests and Receive Troubleshooting Alerts with vSphere Web
> Client.
>
> You can open support requests, update existing support requests, and
> identify issues in your vSphere environment before outages occur – all
> through your vSphere Web Client. Use vCenter Support Assistant, a free
> vCenter plug-in, to shorten the time needed to submit support requests,
> collect and upload diagnostic support data, and troubleshoot technical
> issues. Support Assistant allows you to open and manage support requests
> directly in the vSphere Web Client. It also automates the process of
> collecting and uploading ESXi and vCenter Server log files and matches this
> data to a continuously updated list of known customer issues to provide you
> with proactive alerts and recommended fixes. To save time and improve your
> support experience, download Support Assistant for free today!
>
> Download here:
> http://www.vmware.com/go/download-vcenter-support-assistant
>
> Learn more here:
> https://www.vmware.com/products/vcenter-support-assistant/overview.html
>
> In addition, VMTN discussion forums are available at:
> http://www.vmware.com/community/index.jspa for the VMware user community to
> share work-arounds, fixes, technical tips, and other valuable information
> about using our products.
>
> Based on the support contract you purchased with your VMware software, you
> are entitled to Basic Support Agreement.
> We will review your Support Request and respond appropriately based on the
> severity of your issue in accordance with our response policy at:
> http://www.vmware.com/support/policies/response.html
>
> Thank you for using VMware software.
>
> Sincerely,
> VMware Customer Service
> ref:_00D409hQR._50080cJpMv:ref
>
> You filed the following Support Request:
>
> Customer Email: rengarajan@collab.net
> Phone: 914442203763
> Contact: Rengarajan Govindan
> Entitlement: Basic Support Agreement
> Region: APJ
> Commit Time: 2014-11-05 17:12 IST
> Severity of Support Request: 3 - Medium
> Description of Support Request: Team,
>
> We are using vmware vsphere cli (5.5/5.5u1)to build boxes in ESXI (5.5 u1).
> ERROR: EsxGuest.status
> SOAP request error - possibly a
> protocol issue: <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj
> type="VirtualMachine">1697</obj><propSet><name>summary.
> config.vmPathName</name><val xsi
> :type="xsd:string">[datastore1]
> cu117.cloud.maa.collab.net/cu117.cloud.maa.collab.net.vmx</val></propSet></returnval><
> returnval><obj type="VirtualMac
> hine">1701</obj><propSet><name>summary.config.vmPathName</name><val
> xsi:type="xsd:string">[datastore1] cu171.cloud.maa.
> collab.net/cu171.cloud.maa.col
> lab.net.vmx</val></propSet></returnval><returnval><obj
> type="VirtualMachine">1854</obj><propSet><name>summary.config.
> vmPa
> Nov 04 02:54:31 [16973] ERROR: VmfsDir.exists failed to verify existence of
> directory '[datastore1] cu003.f.maa.collab.
> net'
> Nov 04 02:59:12 [16973] ERROR: EsxGuest.create_new_disk Unable to create
> disk [datastore1] cu003.f.maa.collab.net/cu003.
> f.maa.collab.net.vmdk: Unable
> to create virtual disk : SOAP request error - possibly a protocol issue:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj
> type="Task">haTask--vim.VirtualDiskManager.
> createVirtualDisk-90007550</obj><propSet><name>availableField</name><val
> xsi:type="ArrayOfCustomFieldDef"></val></
> propSet><propSet><name>info</name><val
> xsi:type="TaskInfo"><key>haTask--vim.VirtualDiskManager.createVirtualDisk-
> 90007550</key><task
> type="Task">haTask--vim.VirtualDiskManager.createVirtualDisk-90007550</task><name>
> CreateVirtualDisk_Task</name><descriptionId>VirtualDiskManager.createVirtualDisk</descriptionId><state>running</state><
> cancelled>false
> Date Entered: 11/4/2014
> Support Request ID: 14550657711
> Preferred Contact Method: Email
>
Can someone please help. Thanks in advance..