Ask Your Question

yuri_g's profile - activity

2016-09-05 23:35:41 -0600 received badge  Famous Question (source)
2016-09-05 23:06:35 -0600 received badge  Famous Question (source)
2016-09-05 23:06:35 -0600 received badge  Notable Question (source)
2016-05-20 04:33:57 -0600 received badge  Notable Question (source)
2016-05-18 22:32:34 -0600 received badge  Popular Question (source)
2016-05-18 22:32:34 -0600 received badge  Popular Question (source)
2016-04-06 12:32:17 -0600 answered a question Is possible to have LBAAS v1 and v2 on the same time?

If you use DevStack you can't! While running stack.sh an error occurs because you can't enable both version. I don't know if it's a misconfiguration or a bug, anyway if someone knows how to do this it would be really helpful!

2016-04-02 05:38:28 -0600 asked a question Lbaas v2 with Devstack: error in creation of loadbalancer

Hi everybody, I'm a newbie and I'm trying Devstack deployment All-in-one-single-Machine. I want to test Barbican integration with Neutron, in particular I'm following https://wiki.openstack.org/wiki/Network/LBaaS/docs/how-to-create-tls-loadbalancer (this) guide to test lbaas v2.

At the moment I have an error when I try to create a new load balancer, i.e

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

This is the output:

Request Failed: internal server error while processing your request. Neutron server returns request_ids: ['req-98a7d2b9-35a8-4cb0-8cd8-928dd731e310']

This is my log file:

2016-03-31 14:30:58.841 ERROR neutron.api.v2.resource [req-f3f0ac18-bd1c-4a38-a10a-03e2163e609b admin 9b30b57443e24a2dacf29c03ff24297d] create failed
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 410, in create
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     return self._create(request, body, **kwargs)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     ectxt.value = e.inner_exc
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     self.force_reraise()
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     return f(*args, **kwargs)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 521, in _create
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     obj = do_create(body)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 503, in do_create
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     request.context, reservation.reservation_id)
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     self.force_reraise()
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-03-31 14:30:58.841 TRACE neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2016-03-31 ...
(more)
2016-04-02 05:38:28 -0600 asked a question Lbaas v2 with Devstack: error in creation loadbalancer

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)