Status: Accepted
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Defect Priority-Critical Milestone-Release2.10

New 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

I tried to import (`gnt-backup import`) an instance I just exported with `gnt-backup export`. This fails with `VLAN is given, but network mode is not openvswitch`, although no VLAN was ever involved in neither the instance, node group nor cluster.

Maybe that's also related with the strange serialization of missing values in OpCodes. In config.ini of the exported instance this line appears:

...
nic0_vlan = {'Nothing': None}
...

Note that I didn't add the --net parameter, which should cause the import to load the NIC parameters from the exported config.ini. QA does, however, add this parameter, so that's why QA does not fail. We should consider changing the behavior of QA in this regard.

This value probably comes from constants.py:330. IMHO there should be no Haskell-related code (like the VALUE_HS_NOTHING constant) in Python at all, so another solution for this should be found.

--
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