-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vcsim: Unable to list virtual machine's snapshot #968
Labels
Comments
it seems the |
anfernee
pushed a commit
to anfernee/govmomi
that referenced
this issue
Dec 20, 2017
Initialize VM fields with the correct structs, so PropertyCollector can find and retrieve it for clients. Fix vmware#968
@anfernee Thanks for this fix. This is working but "RenameSnapshot" API fails - Request: <?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><RenameSnapshot xmlns="urn:vim25"><_this type="VirtualMachineSnapshot">snapshot-90</_this><name>snap_c</name></RenameSnapshot></soapenv:Body>
</soapenv:Envelope>
2017/12/20 19:46:31 VirtualMachineSnapshot:snapshot-90 does not implement: RenameSnapshot
Response: <?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><soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring>VirtualMachineSnapshot:snapshot-90 does not implement: RenameSnapshot</faultstring><detail><Fault xmlns:XMLSchema-instance="http://www.w3.org/2001/XMLSchema-instance" XMLSchema-instance:type="MethodNotFound"><receiver type="VirtualMachineSnapshot">snapshot-90</receiver><method>RenameSnapshot</method></Fault></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am unable to list the snapshots of VM, when no snapshot exists for given VM.
Here is reproducer -
I get traceback like -
govcsim trace =
The text was updated successfully, but these errors were encountered: