PackStack fails with "No tenant network is available for allocation"
Hey guys,
I'm having issues installing a simple 3 node openstack setup with packstack... During Installation using packstack with a pre-written answer file I get an error complaining about "Unable to create the network. No tenant network is available for allocation." The install dose however complete and I am able to see the users, tenants and endpoints but there are no networks available and I am unable to create any...
I have provided the error message, stack trace and info about my infrastructure with my answer file below in case anyone sees anything stupid...
Thank you
Error message
10.100.237.11_provision_demo.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 10.100.237.11_provision_demo.pp
Error: Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=bc009dc96e2249bd974b553bf2d042af --router:external=True public' returned 1: 503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
You will find full trace in log /var/tmp/packstack/20140927-153013-Iiltqc/manifests/10.100.237.11_provision_demo.pp.log
Please check log file /var/tmp/packstack/20140927-153013-Iiltqc/openstack-setup.log for more information
Stack Trace
Notice: Compiled catalog for uk00mpve00.lab.init-d.co.uk in environment production in 0.30 seconds
Notice: /Stage[main]/Main/Glance_image[cirros]/ensure: created
Error: Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=bc009dc96e2249bd974b553bf2d042af --router:external=True public' returned 1: 503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
Error: /Stage[main]/Main/Neutron_network[public]/ensure: change from absent to present failed: Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=bc009dc96e2249bd974b553bf2d042af --router:external=True public' returned 1: 503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
Notice: /Stage[main]/Main/Neutron_subnet[public_subnet]: Dependency Neutron_network[public] has failures: true
Warning: /Stage[main]/Main/Neutron_subnet[public_subnet]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Keystone_tenant[demo]/ensure: created
Notice: /Stage[main]/Main/Neutron_router[router1]: Dependency Neutron_network[public] has failures: true
Warning: /Stage[main]/Main/Neutron_router[router1]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=cbd6b769052042c1aec67dfc7b34f307 private' returned 1: 503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
Error: /Stage[main]/Main/Neutron_network[private]/ensure: change from absent to present failed: Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=cbd6b769052042c1aec67dfc7b34f307 private' returned 1: 503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
Notice: /Stage[main]/Main/Neutron_subnet[private_subnet]: Dependency Neutron_network[private] has failures: true
Warning: /Stage[main]/Main/Neutron_subnet[private_subnet]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Neutron_router_interface[router1:private_subnet]: Dependency Neutron_network[private] has failures: true
Notice: /Stage[main]/Main/Neutron_router_interface ...
Please, post two files :-
lrwxrwxrwx. 1 root root 37 Jun 13 06:42 ml2_conf.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
lrwxrwxrwx. 1 root root 55 Jun 13 08:05 plugin.ini -> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
Hey dbaxps,
I have posted the contents of "plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini"
in my /etc/neutron/ folder i do not have an ml2_conf.ini file but it seems the plugin.ini file links to the one you ml2_conf.ini links to. as for the ovs_neutron_plugin.ini dose not exist.
Thank you
I am curious if there are any errors in your neutron logs (
/var/log/neutron/*.log
) on your network host or on your controller relating to the failednet-create
command.Hey Larsks, There is allot of noise due to the DEBUG flag being set but from a quick grep I cant see anything with net-create in it. I will search threw this more closely shortly. (currently reading links posted bellow)