yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18895
[Bug 1354495] [NEW] neutron-db-manage revision fails because of not provided mysql-engine parameter
Public bug reported:
[stack@localhost neutron]$ neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini revision -m "Description" --autogenerate
2014-08-07 23:13:31.549 128832 CRITICAL neutron [-] NoSuchOptError: no such option: mysql_engine
2014-08-07 23:13:31.549 128832 TRACE neutron Traceback (most recent call last):
2014-08-07 23:13:31.549 128832 TRACE neutron File "/bin/neutron-db-manage", line 10, in <module>
2014-08-07 23:13:31.549 128832 TRACE neutron sys.exit(main())
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 175, in main
2014-08-07 23:13:31.549 128832 TRACE neutron CONF.command.func(config, CONF.command.name)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 98, in do_revision
2014-08-07 23:13:31.549 128832 TRACE neutron sql=CONF.command.sql)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 63, in do_alembic_command
2014-08-07 23:13:31.549 128832 TRACE neutron getattr(alembic_command, cmd)(config, *args, **kwargs)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/command.py", line 97, in revision
2014-08-07 23:13:31.549 128832 TRACE neutron script.run_env()
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/script.py", line 203, in run_env
2014-08-07 23:13:31.549 128832 TRACE neutron util.load_python_file(self.dir, 'env.py')
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/util.py", line 212, in load_python_file
2014-08-07 23:13:31.549 128832 TRACE neutron module = load_module_py(module_id, path)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/compat.py", line 58, in load_module_py
2014-08-07 23:13:31.549 128832 TRACE neutron mod = imp.load_source(module_id, path, fp)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 125, in <module>
2014-08-07 23:13:31.549 128832 TRACE neutron run_migrations_online()
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 94, in run_migrations_online
2014-08-07 23:13:31.549 128832 TRACE neutron set_mysql_engine(neutron_config.command.mysql_engine)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2344, in __getattr__
2014-08-07 23:13:31.549 128832 TRACE neutron raise NoSuchOptError(name)
2014-08-07 23:13:31.549 128832 TRACE neutron NoSuchOptError: no such option: mysql_engine
2014-08-07 23:13:31.549 128832 TRACE neutron
** Affects: neutron
Importance: Undecided
Assignee: Jakub Libosvar (libosvar)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Jakub Libosvar (libosvar)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1354495
Title:
neutron-db-manage revision fails because of not provided mysql-engine
parameter
Status in OpenStack Neutron (virtual network service):
New
Bug description:
[stack@localhost neutron]$ neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini revision -m "Description" --autogenerate
2014-08-07 23:13:31.549 128832 CRITICAL neutron [-] NoSuchOptError: no such option: mysql_engine
2014-08-07 23:13:31.549 128832 TRACE neutron Traceback (most recent call last):
2014-08-07 23:13:31.549 128832 TRACE neutron File "/bin/neutron-db-manage", line 10, in <module>
2014-08-07 23:13:31.549 128832 TRACE neutron sys.exit(main())
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 175, in main
2014-08-07 23:13:31.549 128832 TRACE neutron CONF.command.func(config, CONF.command.name)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 98, in do_revision
2014-08-07 23:13:31.549 128832 TRACE neutron sql=CONF.command.sql)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/cli.py", line 63, in do_alembic_command
2014-08-07 23:13:31.549 128832 TRACE neutron getattr(alembic_command, cmd)(config, *args, **kwargs)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/command.py", line 97, in revision
2014-08-07 23:13:31.549 128832 TRACE neutron script.run_env()
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/script.py", line 203, in run_env
2014-08-07 23:13:31.549 128832 TRACE neutron util.load_python_file(self.dir, 'env.py')
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/util.py", line 212, in load_python_file
2014-08-07 23:13:31.549 128832 TRACE neutron module = load_module_py(module_id, path)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/alembic/compat.py", line 58, in load_module_py
2014-08-07 23:13:31.549 128832 TRACE neutron mod = imp.load_source(module_id, path, fp)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 125, in <module>
2014-08-07 23:13:31.549 128832 TRACE neutron run_migrations_online()
2014-08-07 23:13:31.549 128832 TRACE neutron File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 94, in run_migrations_online
2014-08-07 23:13:31.549 128832 TRACE neutron set_mysql_engine(neutron_config.command.mysql_engine)
2014-08-07 23:13:31.549 128832 TRACE neutron File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2344, in __getattr__
2014-08-07 23:13:31.549 128832 TRACE neutron raise NoSuchOptError(name)
2014-08-07 23:13:31.549 128832 TRACE neutron NoSuchOptError: no such option: mysql_engine
2014-08-07 23:13:31.549 128832 TRACE neutron
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1354495/+subscriptions
Follow ups
References