-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newton installation failing for driver/agent combo #889
Comments
@thomsonjames - are you following all the instructions in the documentation as listed here: http://clouddocs.f5.com/products/openstack/lbaasv2-driver/master/#installation |
@thomsonjames - please let us know if this is still an issue after following docs. We can revise docs based on that. If this is no longer an issue, I will close this out in a week,. |
I have similar issue with neutron constant Traceback (most recent call last): |
I've done the instructions 10 times now and every time, I do these two commands
pip install git+https://github.com/F5Networks/[email protected]
pip install git+https://github.com/F5Networks/[email protected]
on Centos7
then I configure neutron_lbaas.conf
[service_providers]
From neutron.lbaas
Defines providers for advanced services using the format:
<service_type>::[:default] (multi valued)
#service_provider =
service_provider = LOADBALANCERV2:F5Networks:neutron_lbaas.drivers.f5.driver_v2.F5LBaaSV2Driver:default
then neutron.conf
[root@newton neutron(keystone_admin)]# cat neutron.conf | grep lbaas
service_plugins=neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,router,metering
restart neutron and I get this in /var/log/neutron/server.log
2017-12-13 21:36:06.277 11965 ERROR neutron.service
2017-12-13 21:36:06.279 11965 CRITICAL neutron [-] AttributeError: 'module' object has no attribute 'v2'
2017-12-13 21:36:06.279 11965 ERROR neutron Traceback (most recent call last):
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/bin/neutron-server", line 10, in
2017-12-13 21:36:06.279 11965 ERROR neutron sys.exit(main())
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/server/init.py", line 22, in main
2017-12-13 21:36:06.279 11965 ERROR neutron server.boot_server(_main_neutron_server)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/server/init.py", line 37, in boot_server
2017-12-13 21:36:06.279 11965 ERROR neutron server_func()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/server/init.py", line 27, in _main_neutron_server
2017-12-13 21:36:06.279 11965 ERROR neutron wsgi_eventlet.eventlet_wsgi_server()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/server/wsgi_eventlet.py", line 24, in eventlet_wsgi_server
2017-12-13 21:36:06.279 11965 ERROR neutron neutron_api = service.serve_wsgi(service.NeutronApiService)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/service.py", line 90, in serve_wsgi
2017-12-13 21:36:06.279 11965 ERROR neutron LOG.exception(LE('Unrecoverable error: please check log '
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in exit
2017-12-13 21:36:06.279 11965 ERROR neutron self.force_reraise()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-12-13 21:36:06.279 11965 ERROR neutron six.reraise(self.type, self.value, self.tb)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/service.py", line 87, in serve_wsgi
2017-12-13 21:36:06.279 11965 ERROR neutron service.start()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/service.py", line 63, in start
2017-12-13 21:36:06.279 11965 ERROR neutron self.wsgi_app = _run_wsgi(self.app_name)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/service.py", line 289, in _run_wsgi
2017-12-13 21:36:06.279 11965 ERROR neutron app = config.load_paste_app(app_name)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 125, in load_paste_app
2017-12-13 21:36:06.279 11965 ERROR neutron app = loader.load_app(app_name)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 353, in load_app
2017-12-13 21:36:06.279 11965 ERROR neutron return deploy.loadapp("config:%s" % self.config_path, name=name)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2017-12-13 21:36:06.279 11965 ERROR neutron return loadobj(APP, uri, name=name, **kw)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2017-12-13 21:36:06.279 11965 ERROR neutron return context.create()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2017-12-13 21:36:06.279 11965 ERROR neutron return self.object_type.invoke(self)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2017-12-13 21:36:06.279 11965 ERROR neutron **context.local_conf)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2017-12-13 21:36:06.279 11965 ERROR neutron val = callable(*args, **kw)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2017-12-13 21:36:06.279 11965 ERROR neutron app = loader.get_app(app_name, global_conf=global_conf)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2017-12-13 21:36:06.279 11965 ERROR neutron name=name, global_conf=global_conf).create()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2017-12-13 21:36:06.279 11965 ERROR neutron return self.object_type.invoke(self)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2017-12-13 21:36:06.279 11965 ERROR neutron **context.local_conf)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2017-12-13 21:36:06.279 11965 ERROR neutron val = callable(*args, **kw)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/auth.py", line 71, in pipeline_factory
2017-12-13 21:36:06.279 11965 ERROR neutron app = loader.get_app(pipeline[-1])
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2017-12-13 21:36:06.279 11965 ERROR neutron name=name, global_conf=global_conf).create()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2017-12-13 21:36:06.279 11965 ERROR neutron return self.object_type.invoke(self)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2017-12-13 21:36:06.279 11965 ERROR neutron return fix_call(context.object, context.global_conf, **context.local_conf)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2017-12-13 21:36:06.279 11965 ERROR neutron val = callable(*args, **kw)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 72, in factory
2017-12-13 21:36:06.279 11965 ERROR neutron return cls(**local_config)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 76, in init
2017-12-13 21:36:06.279 11965 ERROR neutron plugin = manager.NeutronManager.get_plugin()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 244, in get_plugin
2017-12-13 21:36:06.279 11965 ERROR neutron return weakref.proxy(cls.get_instance().plugin)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 238, in get_instance
2017-12-13 21:36:06.279 11965 ERROR neutron cls._create_instance()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
2017-12-13 21:36:06.279 11965 ERROR neutron return f(*args, **kwargs)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 224, in _create_instance
2017-12-13 21:36:06.279 11965 ERROR neutron cls._instance = cls()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 137, in init
2017-12-13 21:36:06.279 11965 ERROR neutron self._load_service_plugins()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 197, in _load_service_plugins
2017-12-13 21:36:06.279 11965 ERROR neutron provider)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 160, in _get_plugin_instance
2017-12-13 21:36:06.279 11965 ERROR neutron return plugin_class()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 83, in init
2017-12-13 21:36:06.279 11965 ERROR neutron self._load_drivers()
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 98, in _load_drivers
2017-12-13 21:36:06.279 11965 ERROR neutron constants.LOADBALANCERV2, self)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/services/service_base.py", line 73, in load_drivers
2017-12-13 21:36:06.279 11965 ERROR neutron provider['driver'], plugin
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object
2017-12-13 21:36:06.279 11965 ERROR neutron return import_class(import_str)(*args, **kwargs)
2017-12-13 21:36:06.279 11965 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron_lbaas/drivers/f5/driver_v2.py", line 43, in init
2017-12-13 21:36:06.279 11965 ERROR neutron self.f5 = f5lbaasdriver.v2.bigip.driver_v2.F5DriverV2(plugin, env)
2017-12-13 21:36:06.279 11965 ERROR neutron AttributeError: 'module' object has no attribute 'v2'
2017-12-13 21:36:06.279 11965 ERROR neutron
The text was updated successfully, but these errors were encountered: