Skip to content
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

Network interface not UP after migration #1354

Open
cloudcafetech opened this issue Feb 15, 2025 · 2 comments
Open

Network interface not UP after migration #1354

cloudcafetech opened this issue Feb 15, 2025 · 2 comments

Comments

@cloudcafetech
Copy link

cloudcafetech commented Feb 15, 2025

I migrate Ubuntu VM from VMware to Kubevirt using forklift, migration went well but in kubevirt migrated VM network interface did not UP.

Source (Vmware) VM:

Image

Destination (Kubevirt) VM:

Image

Plan:

apiVersion: forklift.konveyor.io/v1beta1
kind: Plan
metadata:
  name: vm-mig-plan
  namespace: konveyor-forklift
spec:
  preserveStaticIPs: true
  archived: false
  description: ''
  map:
    network:
      name: vmware-network-map
      namespace: konveyor-forklift
    storage:
      name: vmware-storage-map
      namespace: konveyor-forklift
  provider:
    destination:
      name: host
      namespace: konveyor-forklift
    source:
      name: vsphere-provider
      namespace: konveyor-forklift
  targetNamespace: virtualmachines
  vms:
    - hooks: []
      name: vw-jumphost
  warm: false
@mnecas
Copy link
Member

mnecas commented Feb 17, 2025

Hi, seeing that the device name changed after migration, the netplan did not bring up the interface.
We do have a script to inject udev rules and rename the interface to the original name but it's focused on the static IPs.
Think we could reuse it for this case.

@cloudcafetech
Copy link
Author

cloudcafetech commented Feb 17, 2025

@mnecas Thanks for pointing me interface change.

script to inject udev rules and rename the interface to the original name

Can you please share script which will inject udev rules and rename the interface to the original name and how to use.

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

No branches or pull requests

2 participants