Lbaas v2 with Devstack: error in creation loadbalancer

asked 2016-04-01 10:44:08 -0500

yuri_g gravatar image

Hi everybody, I'm newbie and I'm trying to test Barbican integration with neutron Lbaas v2. I'm following https://wiki.openstack.org/wiki/Network/LBaaS/docs/how-to-create-tls-loadbalancer (this) guide. I have a problem when I try to create a new loadbalancer, i.e when I try to run this command:

neutron lbaas-loadbalancer-create --name lb1 private-subnet

and I get this error:

Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-193db13c-b557-4e9a-9265-1b77082375f1']

My Devstack installation is All-in-one-single-machine and this is my local.conf file

[[local|localrc]]

# The name of the RECLONE environment variable is a bit misleading.  It doesn't actually
# reclone repositories, rather it uses git fetch to make sure the repos are current.

RECLONE=True

# Load the external LBaaS plugin.
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas stable/liberty
enable_plugin octavia https://github.com/openstack/octavia stable/liberty

# magnum requires the following to be set correctly
PUBLIC_INTERFACE=eth1
enable_plugin magnum https://git.openstack.org/openstack/magnum
# Enable barbican service and use it to store TLS certificates
enable_plugin barbican https://git.openstack.org/openstack/barbican 
enable_service rabbit mysql key

#LIBS_FROM_GIT+=python-neutronclient
DATABASE_PASSWORD=coritel
ADMIN_PASSWORD=coritel
SERVICE_PASSWORD=coritel
SERVICE_TOKEN=coritel
RABBIT_PASSWORD=coritel

# Enable Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=$DEST/logs
# Pre-requisite
ENABLED_SERVICES=rabbit,mysql,key
# Horizon
ENABLED_SERVICES+=,horizon
# Nova
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch
IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
ENABLED_SERVICES+=,g-api,g-reg
# Neutron
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta
# Enable LBaaS V2
ENABLED_SERVICES+=,q-lbaasv2
# Cinder
ENABLED_SERVICES+=,c-api,c-vol,c-sch
# Octavia
ENABLED_SERVICES+=,octavia,o-cw,o-hk,o-hm,o-api

# enable DVR

Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan
Q_DVR_MODE=dvr_snat


# Old log files are automatically removed after 7 days to keep things neat.  Change
# the number of days by setting ``LOGDAYS``.
LOGDAYS=2


VOLUME_BACKING_FILE_SIZE=20G

Finally, this is q-svc log:

2016-03-31 15:34:59.961 ERROR neutron.api.v2.resource [req-193db13c-b557-4e9a-9265-1b77082375f1 admin 9b30b57443e24a2dacf29c03ff24297d] create failed
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 410, in create
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource     return self._create(request, body, **kwargs)
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource     ectxt.value = e.inner_exc
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource     self.force_reraise()
2016-03-31 15:34:59.961 TRACE neutron.api.v2.resource   File "/usr/local/lib ...
(more)
edit retag flag offensive close merge delete