Comment 5 for bug 1510072

Revision history for this message
Artem Panchenko (apanchenko-8) wrote : Re: Network is unreachable for nodes that are routed through the master node after cluster restart

@Sergey, doesn't matter what network architecture you have, after reboot non-controller nodes (which doesn't have access) lose their network configuration due to broken config files. This bug is a regression caused by https://review.openstack.org/#/c/232479/5 , configure_default_route.pp saves configs for admin and management bridges in OVS format, because there 2 default providers for l23_stored_config now:

2015-11-10 03:18:34 +0000 Scope(Class[main]) (notice): MODULAR: configure_default_route.pp
2015-11-10 03:18:35 +0000 Puppet (warning): Found multiple default providers for l23_stored_config: ovs_ubuntu, lnx_ubuntu; using ovs_ubuntu
2015-11-10 03:18:36 +0000 Puppet (debug): Prefetching ovs_ubuntu resources for l23_stored_config
2015-11-10 03:18:36 +0000 Puppet::Type::L23_stored_config::ProviderOvs_ubuntu (debug): format_file('/etc/network/interfaces.d/ifcfg-br-fw-admin')::properties: {:ovs_type=>"OVSIntPort", :bridge=>:absent, :ipaddr=>"10.109.10.6/24", :bond_slaves=>[:absent]}
2015-11-10 03:18:36 +0000 Puppet::Type::L23_stored_config::ProviderOvs_ubuntu (debug): format_file('/etc/network/interfaces.d/ifcfg-br-fw-admin')::content: ["auto br-fw-admin", "allow-absent br-fw-admin", "iface br-fw-admin inet static", "address 10.109.10.6/24", "ovs_type OVSIntPort"]
2015-11-10 03:18:37 +0000 Puppet::Type::L23_stored_config::ProviderOvs_ubuntu (debug): format_file('/etc/network/interfaces.d/ifcfg-br-mgmt')::properties: {:ovs_type=>"OVSIntPort", :bridge=>:absent, :ipaddr=>"192.168.0.6/24", :gateway=>"192.168.0.1", :bond_slaves=>[:absent]}
2015-11-10 03:18:37 +0000 Puppet::Type::L23_stored_config::ProviderOvs_ubuntu (debug): format_file('/etc/network/interfaces.d/ifcfg-br-mgmt')::content: ["auto br-mgmt", "allow-absent br-mgmt", "iface br-mgmt inet static", "address 192.168.0.6/24", "gateway 192.168.0.1", "ovs_type OVSIntPort"]

Looks like we need to set provider type explicitly while configuring default route.

BTW, commenting of this line also solves the problem:

https://github.com/openstack/fuel-library/blob/master/deployment/puppet/l23network/lib/puppet/provider/l23_stored_config/ovs_ubuntu.rb#L9