kubevirt / vm-import-operator

Operator for importing VMs from RHV to KubeVirt
Apache License 2.0
16 stars 23 forks source link

Validation - Block VMware VM in inaccessible state #459

Closed ghost closed 3 years ago

ghost commented 3 years ago

When a VM is in inaccessible state it will not report an operating system and the migration will fail, but the message is wrong. It would be clearer to detect that the VM is inaccessible and block the migration at the validation stage.

The attribute to identify the state is .runtime.connectionState and the value can be connected, disconnected, orphaned, invalid or inaccessible. The import must fail when the value is not connected.

kubevirt-bot commented 3 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale