TripleO FFU failes on Cisco networking plugin

Bug #1788412 reported by Radoslaw Smigielski on 2018-08-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Undecided
Unassigned

Bug Description

I am working with TripleO Fast Forward upgrade from N to Q, full procedure here: https://docs.openstack.org/tripleo-docs/latest/install/post_deployment/fast_forward_upgrade.html

During OC upgrade I run OC upgrade steps, one of them is:

> openstack overcloud upgrade run --roles Controller --playbook deploy_steps_playbook.yaml --skip-tags validation

This step performs Neutron DB migration: neutron-db-manage upgrade heads
And this steps with error like below:

[root@overcloud-controller-0 ~]# neutron-db-manage upgrade heads
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  Running upgrade for neutron ...
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  OK
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  Running upgrade for bsn_extensions ...
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  OK
Traceback (most recent call last):
  File "/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 652, in main
    return_val |= bool(CONF.command.func(config, CONF.command.name))
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 171, in do_upgrade
    run_sanity_checks(config, revision)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 636, in run_sanity_checks
    script_dir.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/networking_cisco/db/migration/alembic_migrations/env.py", line 29, in <module>
    from networking_cisco.db.migration.models import head # noqa
  File "/usr/lib/python2.7/site-packages/networking_cisco/db/migration/models/head.py", line 18, in <module>
    from networking_cisco.plugins.cisco.db.l3 import ( # noqa
  File "/usr/lib/python2.7/site-packages/networking_cisco/plugins/cisco/db/l3/ha_db.py", line 54, in <module>
    EXTERNAL_GW_INFO = l3.EXTERNAL_GW_INFO
AttributeError: 'module' object has no attribute 'EXTERNAL_GW_INFO'

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers