Ask Your Question
0

unable to create tenant networks in newton

asked 2017-03-17 05:21:22 -0500

ygk gravatar image

updated 2017-03-17 10:09:04 -0500

Hi All,

I am unable to create a basic tenant network in newton openstack. I have a three node installation. controller, compute and network nodes. The neutron server is on controller node and the neutron agents are on network node. When I try to create a network from commandline it is throwing the following error:

root@networking:~# neutron net-create  sample_t
Unable to create the network. No tenant network is available for allocation.
Neutron server returns request_ids: ['req-c3a11616-722d-46fa-8ae3-5ace1bae1409']

The error log show the following:

d quota_driver: <neutron.db.quota.driver.DbQuotaDriver object at 0x7fd7221de490>.
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource [req-c3a11616-722d-46fa-8ae3-5ace1bae1409 19d801b41d814a4a871e9d1bc2149eeb 48f24c7540164e96a5500a43993f88f1 - - -] create failed: No details.
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 79, in resource
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     result = method(request=request, **args)
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 430, in create
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     return self._create(request, body, **kwargs)
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 88, in wrapped
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     setattr(e, '_RETRY_EXCEEDED', True)
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     self.force_reraise()
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 84, in wrapped
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     return f(*args, **kwargs)
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 151, in wrapper
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     ectxt.value = e.inner_exc
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     self.force_reraise()
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-03-17 03:03:03.964 8604 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2017-03-17 03:03:03.964 8604 ERROR neutron.api ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-03-17 20:36:33 -0500

updated 2017-03-17 21:02:42 -0500

You don't provide tenant network types in the ml2 config file:

tenant_network_types =

The networking guide leaves that value empty, but this seems to contradict the configuration guide: "Ordered list of network_types to allocate as tenant networks. The default value ‘local’ is useful for single-box testing but provides no connectivity between hosts." (I added the highlight)

"local" is good for test deployments using DevStack and the like, where the network is simulated inside the computer. So, try setting it to vlan. I am curious if that works. Meanwhile, I am filing a bug against the networking guide.

EDIT: I deleted the bug after discovering this note in the networking guide: "The tenant_network_types option contains no value because the architecture does not support self-service networks."

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-03-17 05:21:22 -0500

Seen: 290 times

Last updated: Mar 17 '17