Can't create network when ENABLE_TENANT_VLANS=True

Asked by Qshadow

Hi, when I try to create network under admin Project-Networks
I get an error

Failed to create network "test": 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''}}

This happens only when I build devstack using
ENABLE_TENANT_VLANS=True

if I use instead the GRE tunnel
ENABLE_TENANT_TUNNELS=True

everything is fine.

I am using "Ubuntu 12.04" & "OpenvSwitch 1.11"

Here is my localrc:

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True

Here is the log from horizon_error.log:

[Tue Nov 12 13:48:14 2013] [error] Starting new HTTP connection (1): 209.68.168.126
[Tue Nov 12 13:48:14 2013] [error] "GET /v2.0/tenants HTTP/1.1" 200 231
[Tue Nov 12 13:48:14 2013] [error] RESP: [200] CaseInsensitiveDict({'date': 'Tue, 12 Nov 2013 13:48:14 GMT', 'vary': 'X-Auth-Token', 'content-length': '231', 'content-type': 'application/json'})
[Tue Nov 12 13:48:14 2013] [error] RESP BODY: {"tenants_links": [], "tenants": [{"description": null, "enabled": true, "id": "f50e010b25f04ac49d8d4f954acef900", "name": "demo"}, {"description": null, "enabled": true, "id": "fd7bed6f9a524b0b922f182c7b494ff4", "name": "admin"}]}
[Tue Nov 12 13:48:14 2013] [error]
[Tue Nov 12 13:48:20 2013] [error] Failed to create network "test": 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''}}
[Tue Nov 12 13:48:20 2013] [error] Recoverable error: 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''}}
[Tue Nov 12 13:48:20 2013] [error] REQ: curl -i -X POST http://209.68.168.126:5000/v2.0/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: f0f6d3b8fdc702abc17b7b6ae1d6eb6a"

I found that this bug was apparently fixed here
https://review.openstack.org/#/c/51994/

But why do I still get it?
I use
git clone https://github.com/openstack-dev/devstack.git

maybe it is not the latest?

Thanks,
Qshadow.

Question information

Language:
English Edit question
Status:
Expired
For:
devstack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.