CI: master jobs fail on neutron-db-manage

Bug #1641571 reported by Gabriele Cerami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Trowbridge

Bug Description

Today's master jobs are failing with this error, as shown here

http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-ha/e15e49b/logs/postci.txt.gz#_2016-11-14_07_39_19_000

or here

http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/0d571eb/logs/postci.txt.gz#_2016-11-14_07_47_58_000

2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: Traceback (most recent call last):
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/bin/neutron-db-manage", line 10, in <module>
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: sys.exit(main())
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 686, in main
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: return_val |= bool(CONF.command.func(config, CONF.command.name))
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 205, in do_upgrade
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: run_sanity_checks(config, revision)
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 670, in run_sanity_checks
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: script_dir.run_env()
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 407, in run_env
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: util.load_python_file(self.dir, 'env.py')
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 93, in load_python_file
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: module = load_module_py(module_id, path)
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 79, in load_module_py
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: mod = imp.load_source(module_id, path, fp)
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/networking_cisco/db/migration/alembic_migrations/env.py", line 28, in <module>
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: from networking_cisco.db.migration.models import head # noqa
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/networking_cisco/db/migration/models/head.py", line 19, in <module>
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: from networking_cisco.plugins.cisco.db.l3 import ( # noqa
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/networking_cisco/plugins/cisco/db/l3/ha_db.py", line 42, in <module>
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: from networking_cisco.plugins.cisco.extensions import routerrole
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: File "/usr/lib/python2.7/site-packages/networking_cisco/plugins/cisco/extensions/routerrole.py", line 26, in <module>
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: 'default': attr.ATTR_NOT_SPECIFIED,
2016-11-14 07:39:19.000 | Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: AttributeError: 'module' object has no attribute 'ATTR_NOT_SPECIFIED'

2016-11-14 07:47:58.000 | Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade heads returned 1 instead of one of [0]

Revision history for this message
Gabriele Cerami (gcerami) wrote :

duplicate of bug https://bugs.launchpad.net/networking-cisco/+bug/1641311.
Not sure how to deal with this, just close as invalid, or leave it here to track that bug in tripleo CI

Revision history for this message
John Trowbridge (trown) wrote :
Changed in tripleo:
status: Confirmed → Fix Committed
assignee: nobody → John Trowbridge (trown)
Revision history for this message
Ben Nemec (bnemec) wrote :

Master jobs should be unblocked, marking this fixed.

Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.