← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1816747] [NEW] Neutron neutron-db-manage failures with openstack master/stein branch

 

Public bug reported:

Neutron plugin: NSX Policy Plugin

We are bringing up the NSX Policy plugin setup with master branch and as
part of Openstack installation, it failed with the error as mentioned
below:

changed: [osctrl01] => (item=nova-manage db sync)
failed: [osctrl01] (item=neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/vmware/nsx.ini upgrade head) => {"changed": true, "cmd": ["neutron-db-manage", "--config-file", "/etc/neutron/neutron.conf", "--config-file", "/etc/neutron/plugins/vmware/nsx.ini", "upgrade", "head"], "delta": "0:01:08.695483", "end": "2019-02-18 19:00:42.339996", "failed": true, "item": "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/vmware/nsx.ini upgrade head", "rc": 1, "start": "2019-02-18 18:59:33.644513", "stderr": "/opt/mhos/python/lib/python2.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use \"pip install psycopg2-binary\" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.\n  \"\"\")\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Running upgrade  -> kilo\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 354db87e3225\nINFO  [alembic.runtime.migration] Running upgrade 354db87e3225 -> 599c6a226151\nINFO  [alembic.runtime.migration] Running upgrade 599c6a226151 -> 52c5312f6baf\nINFO  [alembic.runtime.migration] Running upgrade 52c5312f6baf -> 313373c0ffee\nINFO  [alembic.runtime.migration] Running upgrade 313373c0ffee -> 8675309a5c4f\nINFO  [alembic.runtime.migration] Running upgrade 8675309a5c4f -> 45f955889773\nINFO  [alembic.runtime.migration] Running upgrade 45f955889773 -> 26c371498592\nINFO  [alembic.runtime.migration] Running upgrade 26c371498592 -> 1c844d1677f7\nINFO  [alembic.runtime.migration] Running upgrade 1c844d1677f7 -> 1b4c6e320f79\nINFO  [alembic.runtime.migration] Running upgrade 1b4c6e320f79 -> 48153cb5f051\nINFO  [alembic.runtime.migration] Running upgrade 48153cb5f051 -> 9859ac9c136\nINFO  [alembic.runtime.migration] Running upgrade 9859ac9c136 -> 34af2b5c5a59\nINFO  [alembic.runtime.migration] Running upgrade 34af2b5c5a59 -> 59cb5b6cf4d\nINFO  [alembic.runtime.migration] Running upgrade 59cb5b6cf4d -> 13cfb89f881a\nINFO  [alembic.runtime.migration] Running upgrade 13cfb89f881a -> 32e5974ada25\nINFO  [alembic.runtime.migration] Running upgrade 32e5974ada25 -> ec7fcfbf72ee\nINFO  [alembic.runtime.migration] Running upgrade ec7fcfbf72ee -> dce3ec7a25c9\nINFO  [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4\nINFO  [alembic.runtime.migration] Running upgrade c3a73f615e4 -> 659bf3d90664\nINFO  [alembic.runtime.migration] Running upgrade 659bf3d90664 -> 1df244e556f5\nINFO  [alembic.runtime.migration] Running upgrade 1df244e556f5 -> 19f26505c74f\nINFO  [alembic.runtime.migration] Running upgrade 19f26505c74f -> 15be73214821\nINFO  [alembic.runtime.migration] Running upgrade 15be73214821 -> b4caf27aae4\nINFO  [alembic.runtime.migration] Running upgrade b4caf27aae4 -> 15e43b934f81\nINFO  [alembic.runtime.migration] Running upgrade 15e43b934f81 -> 31ed664953e6\nINFO  [alembic.runtime.migration] Running upgrade 31ed664953e6 -> 2f9e956e7532\nINFO  [alembic.runtime.migration] Running upgrade 2f9e956e7532 -> 3894bccad37f\nINFO  [alembic.runtime.migration] Running upgrade 3894bccad37f -> 0e66c5227a8a\nINFO  [alembic.runtime.migration] Running upgrade 0e66c5227a8a -> 45f8dd33480b\nINFO  [alembic.runtime.migration] Running upgrade 45f8dd33480b -> 5abc0278ca73\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 30018084ec99\nINFO  [alembic.runtime.migration] Running upgrade 30018084ec99 -> 4ffceebfada\nINFO  [alembic.runtime.migration] Running upgrade 4ffceebfada -> 5498d17be016\nINFO  [alembic.runtime.migration] Running upgrade 5498d17be016 -> 2a16083502f3\nINFO  [alembic.runtime.migration] Running upgrade 2a16083502f3 -> 2e5352a0ad4d\nINFO  [alembic.runtime.migration] Running upgrade 2e5352a0ad4d -> 11926bcfe72d\nINFO  [alembic.runtime.migration] Running upgrade 11926bcfe72d -> 4af11ca47297\nINFO  [alembic.runtime.migration] Running upgrade 4af11ca47297 -> 1b294093239c\nINFO  [alembic.runtime.migration] Running upgrade 1b294093239c -> 8a6d8bdae39\nINFO  [alembic.runtime.migration] Running upgrade 8a6d8bdae39 -> 2b4c2465d44b\nINFO  [alembic.runtime.migration] Running upgrade 2b4c2465d44b -> e3278ee65050\nINFO  [alembic.runtime.migration] Running upgrade e3278ee65050 -> c6c112992c9\nINFO  [alembic.runtime.migration] Running upgrade c6c112992c9 -> 5ffceebfada\nINFO  [alembic.runtime.migration] Running upgrade 5ffceebfada -> 4ffceebfcdc\nINFO  [alembic.runtime.migration] Running upgrade 4ffceebfcdc -> 7bbb25278f53\nINFO  [alembic.runtime.migration] Running upgrade 7bbb25278f53 -> 89ab9a816d70\nINFO  [alembic.runtime.migration] Running upgrade 5abc0278ca73 -> d3435b514502\nINFO  [alembic.runtime.migration] Running upgrade d3435b514502 -> 30107ab6a3ee\nINFO  [alembic.runtime.migration] Running upgrade 30107ab6a3ee -> c415aab1c048\nINFO  [alembic.runtime.migration] Running upgrade c415aab1c048 -> a963b38d82f4\nINFO  [alembic.runtime.migration] Running upgrade a963b38d82f4 -> 3d0e74aa7d37\nINFO  [alembic.runtime.migration] Running upgrade 3d0e74aa7d37 -> 030a959ceafa\nINFO  [alembic.runtime.migration] Running upgrade 030a959ceafa -> a5648cfeeadf\nINFO  [alembic.runtime.migration] Running upgrade a5648cfeeadf -> 0f5bef0f87d4\nINFO  [alembic.runtime.migration] Running upgrade 0f5bef0f87d4 -> 67daae611b6e\nINFO  [alembic.runtime.migration] Running upgrade 89ab9a816d70 -> c879c5e1ee90\nINFO  [alembic.runtime.migration] Running upgrade c879c5e1ee90 -> 8fd3918ef6f4\nINFO  [alembic.runtime.migration] Running upgrade 8fd3918ef6f4 -> 4bcd4df1f426\nINFO  [alembic.runtime.migration] Running upgrade 4bcd4df1f426 -> b67e765a3524\nINFO  [alembic.runtime.migration] Running upgrade 67daae611b6e -> 6b461a21bcfc\nINFO  [alembic.runtime.migration] Running upgrade 6b461a21bcfc -> 5cd92597d11d\nINFO  [alembic.runtime.migration] Running upgrade 5cd92597d11d -> 929c968efe70\nINFO  [alembic.runtime.migration] Running upgrade 929c968efe70 -> a9c43481023c\nINFO  [alembic.runtime.migration] Running upgrade a9c43481023c -> 804a3c76314c\nINFO  [alembic.runtime.migration] Running upgrade 804a3c76314c -> 2b42d90729da\nINFO  [alembic.runtime.migration] Running upgrade 2b42d90729da -> 62c781cb6192\nINFO  [alembic.runtime.migration] Running upgrade 62c781cb6192 -> c8c222d42aa9\nINFO  [alembic.runtime.migration] Running upgrade c8c222d42aa9 -> 349b6fd605a6\nINFO  [alembic.runtime.migration] Running upgrade 349b6fd605a6 -> 7d32f979895f\nINFO  [alembic.runtime.migration] Running upgrade 7d32f979895f -> 594422d373ee\nINFO  [alembic.runtime.migration] Running upgrade 594422d373ee -> 61663558142c\nINFO  [alembic.runtime.migration] Running upgrade 61663558142c -> 867d39095bf4, port forwarding\nINFO  [alembic.runtime.migration] Running upgrade 867d39095bf4 -> d72db3e25539, modify uniq port forwarding\nINFO  [alembic.runtime.migration] Running upgrade d72db3e25539 -> cada2437bf41\nINFO  [alembic.runtime.migration] Running upgrade cada2437bf41 -> 195176fb410d, router gateway IP QoS\nINFO  [alembic.runtime.migration] Running upgrade b67e765a3524 -> a84ccf28f06a\nINFO  [alembic.runtime.migration] Running upgrade a84ccf28f06a -> 7d9d8eeec6ad\nINFO  [alembic.runtime.migration] Running upgrade 7d9d8eeec6ad -> a8b517cff8ab\nINFO  [alembic.runtime.migration] Running upgrade a8b517cff8ab -> 3b935b28e7a0\nINFO  [alembic.runtime.migration] Running upgrade 3b935b28e7a0 -> b12a3ef66e62\nINFO  [alembic.runtime.migration] Running upgrade b12a3ef66e62 -> 97c25b0d2353\nINFO  [alembic.runtime.migration] Running upgrade 97c25b0d2353 -> 2e0d7a8a1586\nINFO  [alembic.runtime.migration] Running upgrade 2e0d7a8a1586 -> 5c85685d616d\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Running upgrade  -> start_networking_l2gw, start networking-l2gw chain\nINFO  [alembic.runtime.migration] Running upgrade start_networking_l2gw -> 54c9c8fe22bf, DB_Models_for_OVSDB_Hardware_VTEP_Schema\nINFO  [alembic.runtime.migration] Running upgrade 54c9c8fe22bf -> 42438454c556, l2gateway_models\nINFO  [alembic.runtime.migration] Running upgrade 42438454c556 -> kilo, kilo\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 60019185aa99, Initial no-op Liberty expand rule.\nINFO  [alembic.runtime.migration] Running upgrade 60019185aa99 -> 49ce408ac349, add indexes to tenant_id\nINFO  [alembic.runtime.migration] Running upgrade 49ce408ac349 -> 8d7d772eafcf, add standard_attribute_id for l2gw\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 79919185aa99, Initial no-op Liberty contract rule.\nINFO  [alembic.runtime.migration] Running upgrade 79919185aa99 -> 2f533f7705dd, rename tenant to project\nINFO  [alembic.runtime.migration] Running upgrade 2f533f7705dd -> 0fb45e525aa9, add standard_attribute_id for l2gw\nTraceback (most recent call last):\n  File \"/usr/local/bin/neutron-db-manage\", line 10, in <module>\n    sys.exit(main())\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 656, in main\n    return_val |= bool(CONF.command.func(config, CONF.command.name))\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 178, in do_upgrade\n    run_sanity_checks(config, revision)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 640, in run_sanity_checks\n    script_dir.run_env()\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/script/base.py\", line 475, in run_env\n    util.load_python_file(self.dir, \"env.py\")\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/util/pyfiles.py\", line 90, in load_python_file\n    module = load_module_py(module_id, path)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/util/compat.py\", line 216, in load_module_py\n    mod = imp.load_source(module_id, path, fp)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/migration/alembic_migrations/env.py\", line 25, in <module>\n    from networking_sfc.db.migration.models import head  # noqa\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/migration/models/head.py\", line 17, in <module>\n    from networking_sfc.db import flowclassifier_db  # noqa\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/flowclassifier_db.py\", line 30, in <module>\n    from neutron.db import api as db_api\nImportError: cannot import name api", "stdout": "Running upgrade for neutron ...\nOK\nRunning upgrade for networking-l2gw ...\nOK", "stdout_lines": ["Running upgrade for neutron ...", "OK", "Running upgrade for networking-l2gw ...", "OK"], "warnings": []}
changed: [osctrl01] => (item=cinder-manage db sync)

** Affects: vmware-nsx
     Importance: Undecided
         Status: New

** Project changed: neutron => vmware-nsx

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1816747

Title:
  Neutron neutron-db-manage failures with openstack master/stein branch

Status in vmware-nsx:
  New

Bug description:
  Neutron plugin: NSX Policy Plugin

  We are bringing up the NSX Policy plugin setup with master branch and
  as part of Openstack installation, it failed with the error as
  mentioned below:

  changed: [osctrl01] => (item=nova-manage db sync)
  failed: [osctrl01] (item=neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/vmware/nsx.ini upgrade head) => {"changed": true, "cmd": ["neutron-db-manage", "--config-file", "/etc/neutron/neutron.conf", "--config-file", "/etc/neutron/plugins/vmware/nsx.ini", "upgrade", "head"], "delta": "0:01:08.695483", "end": "2019-02-18 19:00:42.339996", "failed": true, "item": "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/vmware/nsx.ini upgrade head", "rc": 1, "start": "2019-02-18 18:59:33.644513", "stderr": "/opt/mhos/python/lib/python2.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use \"pip install psycopg2-binary\" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.\n  \"\"\")\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Running upgrade  -> kilo\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 354db87e3225\nINFO  [alembic.runtime.migration] Running upgrade 354db87e3225 -> 599c6a226151\nINFO  [alembic.runtime.migration] Running upgrade 599c6a226151 -> 52c5312f6baf\nINFO  [alembic.runtime.migration] Running upgrade 52c5312f6baf -> 313373c0ffee\nINFO  [alembic.runtime.migration] Running upgrade 313373c0ffee -> 8675309a5c4f\nINFO  [alembic.runtime.migration] Running upgrade 8675309a5c4f -> 45f955889773\nINFO  [alembic.runtime.migration] Running upgrade 45f955889773 -> 26c371498592\nINFO  [alembic.runtime.migration] Running upgrade 26c371498592 -> 1c844d1677f7\nINFO  [alembic.runtime.migration] Running upgrade 1c844d1677f7 -> 1b4c6e320f79\nINFO  [alembic.runtime.migration] Running upgrade 1b4c6e320f79 -> 48153cb5f051\nINFO  [alembic.runtime.migration] Running upgrade 48153cb5f051 -> 9859ac9c136\nINFO  [alembic.runtime.migration] Running upgrade 9859ac9c136 -> 34af2b5c5a59\nINFO  [alembic.runtime.migration] Running upgrade 34af2b5c5a59 -> 59cb5b6cf4d\nINFO  [alembic.runtime.migration] Running upgrade 59cb5b6cf4d -> 13cfb89f881a\nINFO  [alembic.runtime.migration] Running upgrade 13cfb89f881a -> 32e5974ada25\nINFO  [alembic.runtime.migration] Running upgrade 32e5974ada25 -> ec7fcfbf72ee\nINFO  [alembic.runtime.migration] Running upgrade ec7fcfbf72ee -> dce3ec7a25c9\nINFO  [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4\nINFO  [alembic.runtime.migration] Running upgrade c3a73f615e4 -> 659bf3d90664\nINFO  [alembic.runtime.migration] Running upgrade 659bf3d90664 -> 1df244e556f5\nINFO  [alembic.runtime.migration] Running upgrade 1df244e556f5 -> 19f26505c74f\nINFO  [alembic.runtime.migration] Running upgrade 19f26505c74f -> 15be73214821\nINFO  [alembic.runtime.migration] Running upgrade 15be73214821 -> b4caf27aae4\nINFO  [alembic.runtime.migration] Running upgrade b4caf27aae4 -> 15e43b934f81\nINFO  [alembic.runtime.migration] Running upgrade 15e43b934f81 -> 31ed664953e6\nINFO  [alembic.runtime.migration] Running upgrade 31ed664953e6 -> 2f9e956e7532\nINFO  [alembic.runtime.migration] Running upgrade 2f9e956e7532 -> 3894bccad37f\nINFO  [alembic.runtime.migration] Running upgrade 3894bccad37f -> 0e66c5227a8a\nINFO  [alembic.runtime.migration] Running upgrade 0e66c5227a8a -> 45f8dd33480b\nINFO  [alembic.runtime.migration] Running upgrade 45f8dd33480b -> 5abc0278ca73\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 30018084ec99\nINFO  [alembic.runtime.migration] Running upgrade 30018084ec99 -> 4ffceebfada\nINFO  [alembic.runtime.migration] Running upgrade 4ffceebfada -> 5498d17be016\nINFO  [alembic.runtime.migration] Running upgrade 5498d17be016 -> 2a16083502f3\nINFO  [alembic.runtime.migration] Running upgrade 2a16083502f3 -> 2e5352a0ad4d\nINFO  [alembic.runtime.migration] Running upgrade 2e5352a0ad4d -> 11926bcfe72d\nINFO  [alembic.runtime.migration] Running upgrade 11926bcfe72d -> 4af11ca47297\nINFO  [alembic.runtime.migration] Running upgrade 4af11ca47297 -> 1b294093239c\nINFO  [alembic.runtime.migration] Running upgrade 1b294093239c -> 8a6d8bdae39\nINFO  [alembic.runtime.migration] Running upgrade 8a6d8bdae39 -> 2b4c2465d44b\nINFO  [alembic.runtime.migration] Running upgrade 2b4c2465d44b -> e3278ee65050\nINFO  [alembic.runtime.migration] Running upgrade e3278ee65050 -> c6c112992c9\nINFO  [alembic.runtime.migration] Running upgrade c6c112992c9 -> 5ffceebfada\nINFO  [alembic.runtime.migration] Running upgrade 5ffceebfada -> 4ffceebfcdc\nINFO  [alembic.runtime.migration] Running upgrade 4ffceebfcdc -> 7bbb25278f53\nINFO  [alembic.runtime.migration] Running upgrade 7bbb25278f53 -> 89ab9a816d70\nINFO  [alembic.runtime.migration] Running upgrade 5abc0278ca73 -> d3435b514502\nINFO  [alembic.runtime.migration] Running upgrade d3435b514502 -> 30107ab6a3ee\nINFO  [alembic.runtime.migration] Running upgrade 30107ab6a3ee -> c415aab1c048\nINFO  [alembic.runtime.migration] Running upgrade c415aab1c048 -> a963b38d82f4\nINFO  [alembic.runtime.migration] Running upgrade a963b38d82f4 -> 3d0e74aa7d37\nINFO  [alembic.runtime.migration] Running upgrade 3d0e74aa7d37 -> 030a959ceafa\nINFO  [alembic.runtime.migration] Running upgrade 030a959ceafa -> a5648cfeeadf\nINFO  [alembic.runtime.migration] Running upgrade a5648cfeeadf -> 0f5bef0f87d4\nINFO  [alembic.runtime.migration] Running upgrade 0f5bef0f87d4 -> 67daae611b6e\nINFO  [alembic.runtime.migration] Running upgrade 89ab9a816d70 -> c879c5e1ee90\nINFO  [alembic.runtime.migration] Running upgrade c879c5e1ee90 -> 8fd3918ef6f4\nINFO  [alembic.runtime.migration] Running upgrade 8fd3918ef6f4 -> 4bcd4df1f426\nINFO  [alembic.runtime.migration] Running upgrade 4bcd4df1f426 -> b67e765a3524\nINFO  [alembic.runtime.migration] Running upgrade 67daae611b6e -> 6b461a21bcfc\nINFO  [alembic.runtime.migration] Running upgrade 6b461a21bcfc -> 5cd92597d11d\nINFO  [alembic.runtime.migration] Running upgrade 5cd92597d11d -> 929c968efe70\nINFO  [alembic.runtime.migration] Running upgrade 929c968efe70 -> a9c43481023c\nINFO  [alembic.runtime.migration] Running upgrade a9c43481023c -> 804a3c76314c\nINFO  [alembic.runtime.migration] Running upgrade 804a3c76314c -> 2b42d90729da\nINFO  [alembic.runtime.migration] Running upgrade 2b42d90729da -> 62c781cb6192\nINFO  [alembic.runtime.migration] Running upgrade 62c781cb6192 -> c8c222d42aa9\nINFO  [alembic.runtime.migration] Running upgrade c8c222d42aa9 -> 349b6fd605a6\nINFO  [alembic.runtime.migration] Running upgrade 349b6fd605a6 -> 7d32f979895f\nINFO  [alembic.runtime.migration] Running upgrade 7d32f979895f -> 594422d373ee\nINFO  [alembic.runtime.migration] Running upgrade 594422d373ee -> 61663558142c\nINFO  [alembic.runtime.migration] Running upgrade 61663558142c -> 867d39095bf4, port forwarding\nINFO  [alembic.runtime.migration] Running upgrade 867d39095bf4 -> d72db3e25539, modify uniq port forwarding\nINFO  [alembic.runtime.migration] Running upgrade d72db3e25539 -> cada2437bf41\nINFO  [alembic.runtime.migration] Running upgrade cada2437bf41 -> 195176fb410d, router gateway IP QoS\nINFO  [alembic.runtime.migration] Running upgrade b67e765a3524 -> a84ccf28f06a\nINFO  [alembic.runtime.migration] Running upgrade a84ccf28f06a -> 7d9d8eeec6ad\nINFO  [alembic.runtime.migration] Running upgrade 7d9d8eeec6ad -> a8b517cff8ab\nINFO  [alembic.runtime.migration] Running upgrade a8b517cff8ab -> 3b935b28e7a0\nINFO  [alembic.runtime.migration] Running upgrade 3b935b28e7a0 -> b12a3ef66e62\nINFO  [alembic.runtime.migration] Running upgrade b12a3ef66e62 -> 97c25b0d2353\nINFO  [alembic.runtime.migration] Running upgrade 97c25b0d2353 -> 2e0d7a8a1586\nINFO  [alembic.runtime.migration] Running upgrade 2e0d7a8a1586 -> 5c85685d616d\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Context impl MySQLImpl.\nINFO  [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO  [alembic.runtime.migration] Running upgrade  -> start_networking_l2gw, start networking-l2gw chain\nINFO  [alembic.runtime.migration] Running upgrade start_networking_l2gw -> 54c9c8fe22bf, DB_Models_for_OVSDB_Hardware_VTEP_Schema\nINFO  [alembic.runtime.migration] Running upgrade 54c9c8fe22bf -> 42438454c556, l2gateway_models\nINFO  [alembic.runtime.migration] Running upgrade 42438454c556 -> kilo, kilo\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 60019185aa99, Initial no-op Liberty expand rule.\nINFO  [alembic.runtime.migration] Running upgrade 60019185aa99 -> 49ce408ac349, add indexes to tenant_id\nINFO  [alembic.runtime.migration] Running upgrade 49ce408ac349 -> 8d7d772eafcf, add standard_attribute_id for l2gw\nINFO  [alembic.runtime.migration] Running upgrade kilo -> 79919185aa99, Initial no-op Liberty contract rule.\nINFO  [alembic.runtime.migration] Running upgrade 79919185aa99 -> 2f533f7705dd, rename tenant to project\nINFO  [alembic.runtime.migration] Running upgrade 2f533f7705dd -> 0fb45e525aa9, add standard_attribute_id for l2gw\nTraceback (most recent call last):\n  File \"/usr/local/bin/neutron-db-manage\", line 10, in <module>\n    sys.exit(main())\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 656, in main\n    return_val |= bool(CONF.command.func(config, CONF.command.name))\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 178, in do_upgrade\n    run_sanity_checks(config, revision)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/neutron/db/migration/cli.py\", line 640, in run_sanity_checks\n    script_dir.run_env()\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/script/base.py\", line 475, in run_env\n    util.load_python_file(self.dir, \"env.py\")\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/util/pyfiles.py\", line 90, in load_python_file\n    module = load_module_py(module_id, path)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/alembic/util/compat.py\", line 216, in load_module_py\n    mod = imp.load_source(module_id, path, fp)\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/migration/alembic_migrations/env.py\", line 25, in <module>\n    from networking_sfc.db.migration.models import head  # noqa\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/migration/models/head.py\", line 17, in <module>\n    from networking_sfc.db import flowclassifier_db  # noqa\n  File \"/opt/mhos/openstack/neutron/lib/python2.7/site-packages/networking_sfc/db/flowclassifier_db.py\", line 30, in <module>\n    from neutron.db import api as db_api\nImportError: cannot import name api", "stdout": "Running upgrade for neutron ...\nOK\nRunning upgrade for networking-l2gw ...\nOK", "stdout_lines": ["Running upgrade for neutron ...", "OK", "Running upgrade for networking-l2gw ...", "OK"], "warnings": []}
  changed: [osctrl01] => (item=cinder-manage db sync)

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmware-nsx/+bug/1816747/+subscriptions