Ask Your Question
1

devstack install load balancer v2 failed to load plugin

asked 2015-12-02 13:55:05 -0600

irene gravatar image

I tried to install load balancer service in Openstack kilo version using devstack. It failed to start Neutron service ( It's actually able to start the Neutron service without adding lbaasv2 service). I checked the errors from /opt/stack/logs. It showed " No 'neutron.service_plugins' driver found, looking for 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2'". I attached the files below that are from my controller node.

I really appreciate if anyone can help me?

Thanks, Irene

local.conf

[[local|localrc]]
GIT_BASE=https://github.com
HOST_IP=192.168.20.100
HOST_NAME=openstack
SERVICE_HOST_NAME=$HOST_NAME
SERVICE_HOST=$HOST_IP
MULTI_HOST=1
RECLONE=yes
#OFFLINE=true

enable_plugin networking-odl https://github.com/stackforge/networking-odl stable/kilo
enable_plugin neutron-lbaas https://github.com/openstack/neutron-lbaas.git
enable_plugin octavia https://github.com/openstack/octavia.git

service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default

MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
KEYSTONE_AUTH_HOST=$SERVICE_HOST
KEYSTONE_SERVICE_HOST=$SERVICE_HOST
ADMIN_PASSWORD=password
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD

BRANCH=stable/kilo
GLANCE_BRANCH=$BRANCH
HORIZON_BRANCH=$BRANCH
KEYSTONE_BRANCH=$BRANCH
NOVA_BRANCH=$BRANCH
NEUTRON_BRANCH=$BRANCH
SWIFT_BRANCH=$BRANCH
CINDER_BRANCH=$BRANCH
HEAT_BRANCH=$BRANCH
TROVE_BRANCH=$BRANCH
CEILOMETER_BRANCH=$BRANCH

DEST=/opt/stack
SCREEN_LOGDIR=$DEST/logs/screen
LOGFILE=$DEST/logs/stack.sh.log
DEBUG=True
VERBOSE=True

NEUTRON_CREATE_INITIAL_NETWORKS=False
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan

VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
VNCSERVER_LISTEN=0.0.0.0

disable_service n-net
disable_service cinder
disable_service swift
enable_service n-cpu
enable_service n-cond
enable_service n-cauth
enable_service q-svc
enable_service q-dhcp
enable_service q-meta
enable_service odl-compute
enable_service neutron
enable_service q-lbaasv2
enable_service octavia o-cw o-hk o-hm o-api

enable_service q-fwaas
enable_service tempest

enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api

ODL_MODE=externalodl
ODL_MGR_IP=192.168.20.110

# Port for rest calls
ODL_PORT=8080

[[post-config|$NEUTRON_CONF]]
[DEFAULT]
service_plugins = neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2

[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[agent]
minimize_polling=True

Errors from /opt/stack/logs:

/opt/stack/logs/g-api.log.2015-12-02-142135:2015-12-02 14:27:56.342 ERROR glance.registry.client.v1.client [req-aa5189d9-2432-49d2-a132-b02f27b6fd77 5e3a71981e634dc6ae1b8b6219dd6957 536ea8bb01a245d1ab5ee29dd81813f1] Registry client request GET /images/cirros-0.3.4-x86_64-uec-kernel raised NotFound
/opt/stack/logs/g-api.log.2015-12-02-142135:2015-12-02 14:27:58.175 ERROR glance.registry.client.v1.client [req-d898e2fe-66d5-4ace-aa3d-22ec7af0fbd3 5e3a71981e634dc6ae1b8b6219dd6957 536ea8bb01a245d1ab5ee29dd81813f1] Registry client request GET /images/cirros-0.3.4-x86_64-uec-ramdisk raised NotFound
/opt/stack/logs/g-api.log.2015-12-02-142135:2015-12-02 14:27:59.087 ERROR glance.registry.client.v1.client [req-9c62228f-c6ed-47c9-aed4-256c4e051bf9 5e3a71981e634dc6ae1b8b6219dd6957 536ea8bb01a245d1ab5ee29dd81813f1] Registry client request GET /images/cirros-0.3.4-x86_64-uec raised NotFound
/opt/stack/logs/q-svc.log.2015-12-02-142135:2015-12-02 14:28:09.347 ERROR stevedore.extension [-] Could not load 'opendaylight': No module named OpenDaylightMechanismDriver
/opt/stack/logs/q-svc.log.2015-12-02-142135:2015-12-02 14:28:09.349 ERROR stevedore.extension [-] No module named OpenDaylightMechanismDriver
/opt/stack/logs/q-svc.log.2015-12-02-142135:2015-12-02 14:28:10.195 ERROR neutron.manager [-] Error loading plugin by name, No 'neutron.service_plugins' driver found, looking for 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2'
/opt/stack/logs/q-svc.log.2015-12-02-142135:2015-12-02 14:28:10.196 ERROR neutron.manager [-] Error loading plugin by class, No module named neutron_lbaas.services.loadbalancer.plugin
/opt/stack/logs/q-svc.log.2015-12-02-142135:2015-12-02 14:28:10.196 ERROR neutron.common.config [-] Unable to load neutron from configuration file /etc/neutron/api-paste.ini.
/opt/stack ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-17 12:01:16 -0600

johnsom gravatar image

Octavia is not available for Kilo. It also appears that some of the neutron components are missing from the localrc.

I use: ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron,q-lbaasv2

edit flag offensive delete link more
0

answered 2015-12-22 02:51:53 -0600

yuanli.cz gravatar image

Please use "stable/kilo" for neutron-lbaas, octavia

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: 2015-12-02 13:55:05 -0600

Seen: 715 times

Last updated: Dec 02 '15