db migration (agents constraint) fails when using ryu plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
Ryu plugin does not support agent extension yet.
Therefore, 511471cc46b_
However, 1fcfc149aca4_
I think that migration_
2013-12-12 01:08:44 INFO [alembic.migration] Running upgrade e197124d4b9 -> 1fcfc149aca4, Add a unique constraint on (agent_type, host) columns to prevent a race
2013-12-12 01:08:44 condition when an agent entry is 'upserted'.
2013-12-12 01:08:44 Traceback (most recent call last):
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:44 sys.exit(main())
2013-12-12 01:08:44 File "/opt/stack/
2013-12-12 01:08:44 CONF.command.
2013-12-12 01:08:44 File "/opt/stack/
2013-12-12 01:08:44 do_alembic_
2013-12-12 01:08:44 File "/opt/stack/
2013-12-12 01:08:44 getattr(
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:44 script.run_env()
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:44 util.load_
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:44 module = load_module(
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:44 return imp.load_
2013-12-12 01:08:44 File "/opt/stack/
2013-12-12 01:08:44 run_migrations_
2013-12-12 01:08:44 File "/opt/stack/
2013-12-12 01:08:44 options=
2013-12-12 01:08:44 File "<string>", line 7, in run_migrations
2013-12-12 01:08:44 File "/usr/local/
2013-12-12 01:08:45 self.get_
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 change(**kw)
2013-12-12 01:08:45 File "/opt/stack/
2013-12-12 01:08:45 local_cols=
2013-12-12 01:08:45 File "<string>", line 7, in create_
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 schema=schema, **kw)
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 self._exec(
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 conn.execute(
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 params)
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 compiled
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 context)
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 context)
2013-12-12 01:08:45 File "/usr/local/
2013-12-12 01:08:45 cursor.
2013-12-12 01:08:45 File "/usr/lib/
2013-12-12 01:08:45 self.errorhandl
2013-12-12 01:08:45 File "/usr/lib/
2013-12-12 01:08:45 raise errorclass, errorvalue
2013-12-12 01:08:45 sqlalchemy.
This is the same bug that the one above but for a different plugin: /bugs.launchpad .net/neutron/ +bug/1260232
https:/
Let's fix this in only one commit. I can take it or you can, just let me know.