Hi,
I am running ODL lithium release in one of my server running ubuntu 14.04.2.
I am bringing up DevStack master branch with ODL_MODE=externalodl option on another server
It is always failing at the step "Waiting for bridge br-int to be available..."
the br-int bridge is suppose to be created by ODL but it is not happening, so i manually created br-int bridge , set the controller and now Devstack installation is success.
But when i try create a network from OpenStack Dashboard, It is always failing with the below error.
"Error: Failed to create network "test": create_network_postcommit failed."
Below is the snapshot of cli command.
$ neutron --debug net-create test
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.212.24.105:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 339 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Sat, 05 Sep 2015 08:22:48 GMT content-type: application/json x-openstack-request-id: req-b62d8cd9-ca22-4663-bb58-621c8da049dd
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.212.24.105:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')
DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', max_width=0, name=u'test', prefix='', provider:network_type=None, provider:physical_network=None, provider:segmentation_id=None, request_format='json', tenant_id=None, variables=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://10.212.24.105:5000/v2.0/tokens
DEBUG: keystoneclient.session REQ: curl -g -i -X POST http://10.212.24.105:9696/v2.0/networks.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0f8edb3aa0290754334b3a4f5cdf9425aa9c3d60" -d '{"network": {"name": "test", "admin_state_up": true}}'
DEBUG: keystoneclient.session RESP: [500] date: Sat, 05 Sep 2015 08:22:50 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 112 x-openstack-request-id: req-bf3f192e-6c51-46da-8c2f-bf63e3f53103
RESP BODY: {"NeutronError": {"message": "create_network_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": "create_network_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
ERROR: neutronclient.shell create_network_postcommit failed.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 781, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 106, in run_command
return cmd.run(known_args)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 92, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action
return self.get_data(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 479, in get_data
data = obj_creator(body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 571, in create_network
return self.post(self.networks_path, body=body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 298, in post
headers=headers, params=params)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
self._handle_fault_response(status_code, replybody)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
exception_handler_v20(status_code, des_error_body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 70, in exception_handler_v20
status_code=status_code)
InternalServerError: create_network_postcommit failed.
I am observing this error only when ODL_MODE=externalodl and in case of ODL_MODE=allinone everything works fine for me.
Can you please look into this issue and help me to fix it.
Thanks,
Vasu.
for the br-int creating when external mode, I got a same problem.