yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77545
[Bug 1820373] [NEW] can not import neutron.db.api
Public bug reported:
Found this error in rally gates, please give a help, thanks
http://logs.openstack.org/96/643696/1/check/rally-task-neutron-with-
extensions/71e8fd9/job-output.txt.gz#_2019-03-16_06_33_23_447342
2019-03-16 06:33:23.443897 | controller | File "/usr/local/bin/neutron-db-manage", line 10, in <module>
2019-03-16 06:33:23.443964 | controller | sys.exit(main())
2019-03-16 06:33:23.444139 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 656, in main
2019-03-16 06:33:23.444295 | controller | return_val |= bool(CONF.command.func(config, CONF.command.name))
2019-03-16 06:33:23.444546 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 178, in do_upgrade
2019-03-16 06:33:23.444660 | controller | run_sanity_checks(config, revision)
2019-03-16 06:33:23.444854 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 640, in run_sanity_checks
2019-03-16 06:33:23.444931 | controller | script_dir.run_env()
2019-03-16 06:33:23.445131 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/script/base.py", line 475, in run_env
2019-03-16 06:33:23.445246 | controller | util.load_python_file(self.dir, "env.py")
2019-03-16 06:33:23.445463 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 90, in load_python_file
2019-03-16 06:33:23.445575 | controller | module = load_module_py(module_id, path)
2019-03-16 06:33:23.445787 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/util/compat.py", line 216, in load_module_py
2019-03-16 06:33:23.446152 | controller | mod = imp.load_source(module_id, path, fp)
2019-03-16 06:33:23.446410 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/migration/alembic_migrations/env.py", line 25, in <module>
2019-03-16 06:33:23.446599 | controller | from networking_sfc.db.migration.models import head # noqa
2019-03-16 06:33:23.446844 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/migration/models/head.py", line 17, in <module>
2019-03-16 06:33:23.447004 | controller | from networking_sfc.db import flowclassifier_db # noqa
2019-03-16 06:33:23.447237 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/flowclassifier_db.py", line 30, in <module>
2019-03-16 06:33:23.447342 | controller | from neutron.db import api as db_api
2019-03-16 06:33:23.447437 | controller | ImportError: cannot import name api
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1820373
Title:
can not import neutron.db.api
Status in neutron:
New
Bug description:
Found this error in rally gates, please give a help, thanks
http://logs.openstack.org/96/643696/1/check/rally-task-neutron-with-
extensions/71e8fd9/job-output.txt.gz#_2019-03-16_06_33_23_447342
2019-03-16 06:33:23.443897 | controller | File "/usr/local/bin/neutron-db-manage", line 10, in <module>
2019-03-16 06:33:23.443964 | controller | sys.exit(main())
2019-03-16 06:33:23.444139 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 656, in main
2019-03-16 06:33:23.444295 | controller | return_val |= bool(CONF.command.func(config, CONF.command.name))
2019-03-16 06:33:23.444546 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 178, in do_upgrade
2019-03-16 06:33:23.444660 | controller | run_sanity_checks(config, revision)
2019-03-16 06:33:23.444854 | controller | File "/opt/stack/neutron/neutron/db/migration/cli.py", line 640, in run_sanity_checks
2019-03-16 06:33:23.444931 | controller | script_dir.run_env()
2019-03-16 06:33:23.445131 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/script/base.py", line 475, in run_env
2019-03-16 06:33:23.445246 | controller | util.load_python_file(self.dir, "env.py")
2019-03-16 06:33:23.445463 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 90, in load_python_file
2019-03-16 06:33:23.445575 | controller | module = load_module_py(module_id, path)
2019-03-16 06:33:23.445787 | controller | File "/usr/local/lib/python2.7/dist-packages/alembic/util/compat.py", line 216, in load_module_py
2019-03-16 06:33:23.446152 | controller | mod = imp.load_source(module_id, path, fp)
2019-03-16 06:33:23.446410 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/migration/alembic_migrations/env.py", line 25, in <module>
2019-03-16 06:33:23.446599 | controller | from networking_sfc.db.migration.models import head # noqa
2019-03-16 06:33:23.446844 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/migration/models/head.py", line 17, in <module>
2019-03-16 06:33:23.447004 | controller | from networking_sfc.db import flowclassifier_db # noqa
2019-03-16 06:33:23.447237 | controller | File "/usr/local/lib/python2.7/dist-packages/networking_sfc/db/flowclassifier_db.py", line 30, in <module>
2019-03-16 06:33:23.447342 | controller | from neutron.db import api as db_api
2019-03-16 06:33:23.447437 | controller | ImportError: cannot import name api
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1820373/+subscriptions
Follow ups