Comment 0 for bug 1430911

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

Noticed on custom ISO but it could arrise on any master ISO:

Wed Mar 11 16:19:19 +0000 2015 Scope(Class[main]) (notice): MODULAR: keystone.pp
Wed Mar 11 16:20:34 +0000 2015 Scope(Class[main]) (notice): MODULAR: glance.pp
Wed Mar 11 16:20:53 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-controller.pp
Wed Mar 11 16:23:37 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-network-controller.pp
Wed Mar 11 16:23:51 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-network-controller.pp
Wed Mar 11 16:24:06 +0000 2015 Scope(Class[main]) (notice): MODULAR: heat.pp

As we can see there's a retry for 'openstack-network-controller.pp' task which is caused by this error:

Wed Mar 11 16:23:44 +0000 2015 Puppet (debug): Executing '/usr/bin/nova-manage network create novanetwork 10.0.0.0/16 8 32 --dns1 8.8.4.4 --vlan_start 103 --dns2 8.8.8.8'
Wed Mar 11 16:23:44 +0000 2015 Puppet (err): Execution of '/usr/bin/nova-manage network create novanetwork 10.0.0.0/16 8 32 --dns1 8.8.4.4 --vlan_start 103 --dns2 8.8.8.8' returned 1: 2015-03-11 16:23:44.846 20710 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
..... TRACE ....
2015-03-11 16:23:44.887 20710 TRACE nova NetworkNotCreated: bridge_interface is required to create a network.
2015-03-11 16:23:44.887 20710 TRACE nova

It because puppet executes this command before Nova_config[DEFAULT/vlan_interface] is configured. We need to fix resource ordering here.