yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14911
[Bug 1304876] Re: Use of aliases for service plugins breaks neutron-db-manage
*** This bug is a duplicate of bug 1286052 ***
https://bugs.launchpad.net/bugs/1286052
** This bug is no longer a duplicate of bug 1294016
db migration failed when plugin name alias used in config file
** This bug has been marked a duplicate of bug 1286052
service_plugins do not work like documented in neutron-db-manage
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1304876
Title:
Use of aliases for service plugins breaks neutron-db-manage
Status in OpenStack Neutron (virtual network service):
New
Status in “neutron” package in Ubuntu:
New
Bug description:
Use of aliases in neutron.conf for service plugins results in errors
when running neutron-db-sync.
neutron.conf:
service_plugins = router,firewall,lbaas,vpnaas,metering
neutron-db-manage --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini current
No handlers could be found for logger "neutron.common.legacy"
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 169, in main
CONF.command.func(config, CONF.command.name)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 60, in do_alembic_command
getattr(alembic_command, cmd)(config, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 232, in current
script.run_env()
File "/usr/lib/python2.7/dist-packages/alembic/script.py", line 199, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/lib/python2.7/dist-packages/alembic/util.py", line 199, in load_python_file
module = load_module(module_id, path)
File "/usr/lib/python2.7/dist-packages/alembic/compat.py", line 55, in load_module
mod = imp.load_source(module_id, path, fp)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 42, in <module>
importutils.import_class(class_path)
File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/importutils.py", line 33, in import_class
traceback.format_exception(*sys.exc_info())))
ImportError: Class router cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/importutils.py", line 28, in import_class\n __import__(mod_str)\n', 'ValueError: Empty module name\n'])
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: neutron-common 1:2014.1~rc1-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
Uname: Linux 3.13.0-23-generic x86_64
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 9 07:48:44 2014
Ec2AMI: ami-00000068
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: serverstack-az-1
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: neutron
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.neutron.neutron.conf: 2014-04-09T06:24:19.987489
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1304876/+subscriptions
References