kubevirt / kubevirt.github.io

KubeVirt website repo, documentation at https://kubevirt.io/user-guide/
https://kubevirt.io
MIT License
30 stars 112 forks source link

Incorrect Yaml used in https://kubevirt.io/labs/kubernetes/migration.html #772

Closed ansijain closed 3 years ago

ansijain commented 3 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug /kind enhancement

What happened: I tried live migration using https://kubevirt.io/labs/kubernetes/migration.html the yaml file used here used bridge network but for live migration masquerade is required. I am getting bellow error

 $virtctl migrate testvm
Error migrating VirtualMachine Internal error occurred: admission webhook "migration-create-validator.kubevirt.io" denied the request: Cannot migrate VMI, Reason: InterfaceNotLiveMigratable, Message: cannot migrate VMI which does not use masquerade to connect to the pod network

What you expected to happen: VM should migrate successfully without any error message

Anything else we need to know?:

URL where the problem can be found ... If the issue is with a lab, please provide information about your environment, platform, versions, ...

ansijain commented 3 years ago

/assign