Problem with ethernet config after restore

So, I stored via Cloudmin a virtual kvm server, and, restored onto another machine. Each of our systems have TWO ethernet ports, so, there is a br0 and a br1. Each of two servers restored onto a new system, showed no second port after the restore.

In looking at the file under /etc/webmin/servers, the *.serv file, I see the following discrepancy:

Original line:

kvm_net=tap,vlan=0,script=/kvm/testfeeds.cloudmin.commservhost.com-eth0.sh tap,vlan=1,script=/kvm/testfeeds.cloudmin.commservhost.com-eth1.sh

From the restore to machine:

kvm_net=tap,vlan=0,script=/kvm/testfeeds.cloudmin.commservhost.com-eth0.sh

Of course. the files were missing as well under /kvm (these are from source machine):

-rwxr-xr-x. 1 root root 457 May 13 08:49 /kvm/testfeeds.cloudmin.commservhost.com-eth1.sh -rw-r--r--. 1 root root 5 May 13 08:49 /kvm/testfeeds.cloudmin.commservhost.com-eth1.tap

Status: 
Closed (fixed)

Comments

When you did this restore, did Cloudmin have to re-create the VM on the new host? Or were you just restoring over an existing VM?

This was a move, so, it was creating new VM on the new host. Used the cloudmin restore function, nothing special. And, cloudmin backup function on original machine. Both were lvm.

Was this second interface added when the VM was originally created, or did it only get added later on?

It looks like Cloudmin currently only restores the number of interfaces that existed when the VM was first created (which seems like a bug).

I wouldn't know, it would have been created at least a year ago.

Looking through the code, I have confirmed that adding the interfaces in that order will cause this problem. I will be fixed in the next Cloudmin release though.

Automatically closed -- issue fixed for 2 weeks with no activity.

Automatically closed -- issue fixed for 2 weeks with no activity.