← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1734265] [NEW] neutron-dynamic-routing needs an update for agent extension rehome

 

Public bug reported:

the following seen on networking-midonet gate.

http://logs.openstack.org/00/522700/1/check/openstack-tox-
py27/3a80d2d/testr_results.html.gz

ft2.5: midonet.neutron.tests.unit.db.test_migrations.TestModelsMigrationsPostgresql.test_models_sync_StringException: Traceback (most recent call last):
  File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/tests/base.py", line 132, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/test_migrations.py", line 603, in test_models_sync
    self.db_sync(self.get_engine())
  File "midonet/neutron/tests/unit/db/test_migrations.py", line 108, in db_sync
    migration.do_alembic_command(conf, 'upgrade', 'heads')
  File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/db/migration/cli.py", line 74, in do_alembic_command
    getattr(alembic_command, cmd)(config, *args, **kwargs)
  File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade
    script.run_env()
  File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/migration/alembic_migrations/env.py", line 24, in <module>
    from neutron_dynamic_routing.db.migration.models import head  # noqa
  File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/migration/models/head.py", line 18, in <module>
    from neutron_dynamic_routing.db import bgp_dragentscheduler_db  # noqa
  File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 31, in <module>
    from neutron_dynamic_routing.extensions import bgp_dragentscheduler as bgp_dras_ext  # noqa
  File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/extensions/bgp_dragentscheduler.py", line 43, in <module>
    class DrAgentInvalid(agent.AgentNotFound):
AttributeError: 'module' object has no attribute 'AgentNotFound'

** Affects: neutron
     Importance: Undecided
     Assignee: YAMAMOTO Takashi (yamamoto)
         Status: In Progress


** Tags: gate-failure midokura-jira-tracked

** Changed in: neutron
       Status: New => In Progress

** Changed in: neutron
     Assignee: (unassigned) => YAMAMOTO Takashi (yamamoto)

** Tags added: gate-failure midokura-jira-tracked

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

Title:
  neutron-dynamic-routing needs an update for agent extension rehome

Status in neutron:
  In Progress

Bug description:
  the following seen on networking-midonet gate.

  http://logs.openstack.org/00/522700/1/check/openstack-tox-
  py27/3a80d2d/testr_results.html.gz

  ft2.5: midonet.neutron.tests.unit.db.test_migrations.TestModelsMigrationsPostgresql.test_models_sync_StringException: Traceback (most recent call last):
    File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/tests/base.py", line 132, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/test_migrations.py", line 603, in test_models_sync
      self.db_sync(self.get_engine())
    File "midonet/neutron/tests/unit/db/test_migrations.py", line 108, in db_sync
      migration.do_alembic_command(conf, 'upgrade', 'heads')
    File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/db/migration/cli.py", line 74, in do_alembic_command
      getattr(alembic_command, cmd)(config, *args, **kwargs)
    File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade
      script.run_env()
    File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
      util.load_python_file(self.dir, 'env.py')
    File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
      module = load_module_py(module_id, path)
    File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
      mod = imp.load_source(module_id, path, fp)
    File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/migration/alembic_migrations/env.py", line 24, in <module>
      from neutron_dynamic_routing.db.migration.models import head  # noqa
    File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/migration/models/head.py", line 18, in <module>
      from neutron_dynamic_routing.db import bgp_dragentscheduler_db  # noqa
    File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 31, in <module>
      from neutron_dynamic_routing.extensions import bgp_dragentscheduler as bgp_dras_ext  # noqa
    File "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/extensions/bgp_dragentscheduler.py", line 43, in <module>
      class DrAgentInvalid(agent.AgentNotFound):
  AttributeError: 'module' object has no attribute 'AgentNotFound'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1734265/+subscriptions


Follow ups