Skip to content

Improve VMware integration in automatic snapshots to support some edge cases#127

Closed
ayavilevich wants to merge 1 commit intotruenas:9.3-STABLEfrom
ayavilevich:fix/vmware-integration-pt
Closed

Improve VMware integration in automatic snapshots to support some edge cases#127
ayavilevich wants to merge 1 commit intotruenas:9.3-STABLEfrom
ayavilevich:fix/vmware-integration-pt

Conversation

@ayavilevich
Copy link
Contributor

Tries to address the following issues
Current implementation tries to snapshot all VMs. This raises errors as some VMs can't be snapshotted, such as VMs with pass-through devices.
Snapshots a VM only if the VM's working location is on the datastore. This doesn't snapshot a VM if its virtual disk on a relevant datastore but the working location is on a different datastore.

Only addresses the automatic flow. The manual flow might need to be addressed separately.

More details in https://bugs.freenas.org/issues/13970

Main changes:
Skips VMs that can't be snapshotted, such as VMs with PCI pass-through devices.
Include VMs which have virtual disks on a relevant datastore, but whose configurations are on a different datastore.

…e cases.

Skips VMs that can't be snapshotted, such as VMs with PCI pass-through devices.
Include VMs which have virtual disks on a relevant datastore, but whose configurations are on a different datastore.
@jpaetzel
Copy link
Contributor

jpaetzel commented Mar 7, 2016

I cherry-picked this into master rather than merging the pull request directly into 9.3-STABLE. The work looks great, thank you for your submission. I'll test it before merging it.

@jpaetzel
Copy link
Contributor

jpaetzel commented Jun 9, 2016

This was manually merged into FreeNAS a while ago.

@jpaetzel jpaetzel closed this Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants