We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
When a new snapshot is created for a virtual machine in vcsim, RootSnapshot is not updated and remains null.
RootSnapshot
null
To Reproduce Steps to reproduce the behavior:
# create a new snapshot $ govc snapshot.create -vm DC0_H0_VM0 my-snapshot # check the snapshot is created $ govc snapshot.tree -i -vm DC0_H0_VM0 [snapshot-67] my-snapshot [snapshot-67] . # show RootSnapshot $ govc vm.info -json DC0_H0_VM0 | jq .VirtualMachines[].RootSnapshot
Expected behavior A clear and concise description of what you expected to happen.
RootSnapshot contains a moid of the snapshot.
$ govc vm.info -json DC0_H0_VM0 | jq .VirtualMachines[].RootSnapshot [ { "Type": "VirtualMachineSnapshot", "Value": "snapshot-67" } ]
Affected version Please provide details on the version used, e.g. release tag, commit, module version, etc.
Screenshots/Debug Output If applicable, add screenshots or debug output to help explain your problem.
RootSnapshot is null.
$ govc vm.info -json DC0_H0_VM0 | jq .VirtualMachines[].RootSnapshot null
Additional context Add any other context about the problem here.
VirtualMachine.Snapshot.RootSnapshotList has root snapshot moids as expected.
VirtualMachine.Snapshot.RootSnapshotList
$ govc vm.info -json DC0_H0_VM0 | jq .VirtualMachines[].Snapshot.RootSnapshotList[].Snapshot { "Type": "VirtualMachineSnapshot", "Value": "snapshot-67" }
The text was updated successfully, but these errors were encountered:
vcsim: Fix snapshot tasks to update rootSnapshot
0331949
Closes: vmware#2912 Signed-off-by: syuparn <s.hello.spagetti@gmail.com>
Successfully merging a pull request may close this issue.
Describe the bug
When a new snapshot is created for a virtual machine in vcsim,
RootSnapshot
is not updated and remainsnull
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
RootSnapshot contains a moid of the snapshot.
Affected version
Please provide details on the version used, e.g. release tag, commit, module version, etc.
Screenshots/Debug Output
If applicable, add screenshots or debug output to help explain your problem.
RootSnapshot is null.
$ govc vm.info -json DC0_H0_VM0 | jq .VirtualMachines[].RootSnapshot null
Additional context
Add any other context about the problem here.
VirtualMachine.Snapshot.RootSnapshotList
has root snapshot moids as expected.The text was updated successfully, but these errors were encountered: