3

I try to add an instance to network, first first I need to connect the network to a bridge. I'm using bridge vbr0 instead of standard xen-br0, gnt-cluster info shows that ganeti has the default set properly.

# gnt-network list
Network Subnet          Gateway      MacPrefix GroupList Tags
net1    192.168.18.0/24 192.168.18.1 -                   nfdhcpd
# gnt-network connect net1 default 
# gnt-network list
Network Subnet          Gateway      MacPrefix GroupList                    Tags
net1    192.168.18.0/24 192.168.18.1 -         default (bridged, xen-br0, ) nfdhcpd

According to documentation, gnt-network connect no longer accepts mode and link.

Notes:

  • Debian stable, ganeti v2.12.4.
  • KVM
  • gnt-cluster info: Default nic parameters: default: link: vbr0 mode: bridged vlan:
  • Issue 897 but this should be already fixed..

Questions:

  1. Why ganeti uses xen-br0 instead of my default vbr0?

  2. How can I change the bridge name in gnt-network?

neutrinus
  • 1,095
  • 7
  • 18

1 Answers1

3
  1. Why? Because it's a bug in ganeti
  2. gnt-network connect -N link=vbr0 net1 default
neutrinus
  • 1,095
  • 7
  • 18