How to setup a bridge for multiple compute nodes?
I have one controller and two compute nodes which is configured with nova network. I wanted to make a bridge but just one compute node gets a bridge after the execution of instructions below.
controller@controller:~$ nova network-create vm-net --bridge br100 --multi-host T --fixed-range-v4 10.0.0.0/24
controller@controller:~$ source admin-openrc.sh
controller@controller:~$ nova network-list
+--------------------------------------+--------+-------------+
| ID | Label | Cidr |
+--------------------------------------+--------+-------------+
| bd0fadba-4416-4ad3-afab-67e465d8c264 | vm-net | 10.0.0.0/24 |
+--------------------------------------+--------+-------------+
Here's my nova.conf of compute node that has no br100 in 'ifconfig' result. What do I need to configure?
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
auth_strategy = keystone
rpc_backend = rabbit
rabbit_host = 192.168.0.40
rabbit_password = rabbitpass
my_ip = 192.168.0.5
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.0.5
novncproxy_base_url = http://192.168.0.40:6080/vnc_auto.html
glance_host = 192.168.0.40
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.FlatDHCPManager
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
flat_network_bridge = br100
flat_interface = eth1
public_interface = eth1
[database]
connection = mysql://nova:novadbpass@192.168.0.40/nova
[keystone_authtoken]
auth_uri = http://192.168.0.40:5000
auth_host = 192.168.0.40
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = novapass