-
Notifications
You must be signed in to change notification settings - Fork 896
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
At least one snapshot has to be active to create a new snapshot for this VM #19396
Labels
Comments
@gmcculloug I know it was a long time ago but do you happen to remember why this was added? |
@agrare I do not recall off the top of my head. I will spend a little more time digging into the history. |
agrare
added a commit
to agrare/manageiq
that referenced
this issue
Nov 5, 2019
When creating a new snapshot and there is at least one snapshot already we are checking to ensure that the first snapshot is "current". This check isn't necessary and can prevent new snapshots from being created through MIQ when it is entirely possible through the underlying provider. Fixes ManageIQ#19396
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to create a snapshot for a VMware VM we sometimes see the following error message: "At least one snapshot has to be active to create a new snapshot for this VM". The error is raised in the following code fragment:
Creating a new snapshot should be possible independent of another snapshot having the “currentSnapshot” property set.
Reference:
http://talk.manageiq.org/t/at-least-one-snapshot-has-to-be-active-to-create-a-new-snapshot-for-this-vm/4590
https://github.com/ManageIQ/manageiq/blob/master/app/models/vm_or_template/operations/snapshot.rb
https://github.com/ManageIQ/manageiq/blob/master/app/models/snapshot.rb
https://code.vmware.com/apis/358/vsphere/doc/vim.vm.SnapshotInfo.html#currentSnapshot
The text was updated successfully, but these errors were encountered: