Comment #1 on issue 584 by [email protected]: gnt-backup import fails with 'VLAN is given, but network mode is not openvswitch'
http://code.google.com/p/ganeti/issues/detail?id=584

This should of course not happen.

The code that causes the problem is in cmdlib/instance.py:186

...
    if vlan is not None and nic_mode != constants.NIC_MODE_OVS:
      raise errors.OpPrereqError("VLAN is given, but network mode is not"
                                 " openvswitch", errors.ECODE_INVAL)
...

My guess is also that this might be a problem with VALUE_HS_NOTHING.

Can you import the machine is you manually change the config file to:

...
nic0_vlan = None
...
?

I will have a look if there are places in the code, where we this parameter is set to None and try to just unset it.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to