[openstack-dev] [tricircle]

Luck Dog dfhuangg at gmail.com
Mon Jul 4 07:10:47 UTC 2016


Hello everyone,

I am trying to run DevStack on Ubuntu 14.04 in a single VirtualBox. An
error turns up  before it successfully starts. Yesterday I clarified this
question not  clearly enough,so I make a supplication for it. My steps are:
1), Git clone DevStack,
2), Copy devstack/local.conf.sample to DevStack folder and rename it to
local.conf.

the finished steps before the error turns up are listed as follows:

2016-06-29 09:11:53.081 | stack.sh log
/opt/stack/logs/stack.sh.log.2016-06-29-171152
2016-06-29 09:12:19.797 | Installing package prerequisites
2016-06-29 09:15:27.224 | Installing OpenStack project source
2016-06-29 09:24:43.323 | Installing Tricircle
2016-06-29 09:24:55.979 | Starting RabbitMQ
2016-06-29 09:25:00.731 | Configuring and starting MySQL
2016-06-29 09:25:20.143 | Starting Keystone
2016-06-29 09:43:18.591 | Configuring Glance
2016-06-29 09:43:59.667 | Configuring Neutron
2016-06-29 09:46:30.646 | Configuring Cinder
2016-06-29 09:46:54.719 | Configuring Nova
2016-06-29 09:48:23.175 | Configuring Tricircle
2016-06-29 09:51:24.143 | Starting Glance
2016-06-29 09:52:11.133 | Uploading images
2016-06-29 09:52:45.460 | Starting Nova API
2016-06-29 09:53:27.511 | Starting Neutron
2016-06-29 09:54:21.476 | Creating initial neutron network elements

The last errors when it stops running are:

Request body: {u'network': {u'router:external': True,
u'provider:network_type': u'flat', u'name': u'public',
u'provider:physical_network': u'public', u'admin_state_up': True}}^[[00m
^[[00;33mfrom (pid=29980) prepare_request_body
/opt/stack/neutron/neutron/api/v2/base.py:674^[[00m
2016-06-29 17:56:04.359 ^[[00;32mDEBUG neutron.db.quota.driver
[^[[01;36mreq-e97f6276-8e19-408b-829a-004a31256453 ^[[00;36madmin
13869ba8005b480bbcbe17b2695fd5e2^[[00;32m] ^[[01;35m^[[00;32mResources
subnetpool have unlimited quota limit. It is not required to calculate
headroom ^[[00m ^[[00;33mfrom (pid=29980) make_reservation
/opt/stack/neutron/neutron/db/quota/driver.py:191^[[00m
2016-06-29 17:56:04.381 ^[[00;32mDEBUG neutron.db.quota.driver
[^[[01;36mreq-e97f6276-8e19-408b-829a-004a31256453 ^[[00;36madmin
13869ba8005b480bbcbe17b2695fd5e2^[[00;32m] ^[[01;35m^[[00;32mAttempting to
reserve 1 items for resource network. Total usage: 0; quota limit: 10;
headroom:10^[[00m ^[[00;33mfrom (pid=29980) make_reservation
/opt/stack/neutron/neutron/db/quota/driver.py:223^[[00m
2016-06-29 17:56:04.425 ^[[01;31mERROR neutron.api.v2.resource
[^[[01;36mreq-e97f6276-8e19-408b-829a-004a31256453 ^[[00;36madmin
13869ba8005b480bbcbe17b2695fd5e2^[[01;31m] ^[[01;35m^[[01;31mcreate
failed^[[00m
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File "/opt/stack/neutron/neutron/api/v2/resource.py", line
78, in resource
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    result = method(request=request, **args)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File "/opt/stack/neutron/neutron/api/v2/base.py", line
424, in create
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    return self._create(request, body, **kwargs)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in
wrapper
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    ectxt.value = e.inner_exc
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 221,
in __exit__
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    self.force_reraise()
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 197,
in force_reraise
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    six.reraise(self.type_, self.value, self.tb)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in
wrapper
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    return f(*args, **kwargs)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File "/opt/stack/neutron/neutron/api/v2/base.py", line
535, in _create
[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    return obj_creator(request.context, **kwargs)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File "/opt/stack/tricircle/tricircle/network/plugin.py",
line 238, in create_network
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    is_external =
self._ensure_az_set_for_external_network(net_data)
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m  File "/opt/stack/tricircle/tricircle/network/plugin.py",
line 184, in _ensure_az_set_for_external_network
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m    raise t_exceptions.ExternalNetPodNotSpecify()
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00mExternalNetPodNotSpecify: Pod for external network not
specified
^[[01;31m2016-06-29 17:56:04.425 TRACE neutron.api.v2.resource
^[[01;35m^[[00m
2016-06-29 17:56:04.439 ^[[00;36mINFO neutron.wsgi
[^[[01;36mreq-e97f6276-8e19-408b-829a-004a31256453 ^[[00;36madmin
13869ba8005b480bbcbe17b2695fd5e2^[[00;36m] ^[[01;35m^[[00;36m127.0.0.1 - -
[29/Jun/2016 17:56:04] "POST /v2.0/networks.json HTTP/1.1" 500 368
0.147805^[[00m

the final printed errors on terminal are:

Request Failed: internal server error while processing your request.
Neutron server returns request_ids:
['req-e97f6276-8e19-408b-829a-004a31256453']
lib/neutron_plugins/services/l3:create_neutron_initial_network:203
lib/neutron_plugins/services/l3:create_neutron_initial_network:207
[ERROR] /home/sword/DevStack/functions-common:207 Failure creating
EXT_NET_ID for public

I don't know whether it is  my wrong configuration of computer or the
server error, I wish someone can help me with the problem. thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160704/a5c3d6b4/attachment.html>


More information about the OpenStack-dev mailing list