heal script is not idempotent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Ann Taraday |
Bug Description
tested with mysql
1) upgrade head
2) downgrade havana
3) upgrade head
4) BOOM -> http://
5) This is easy [1]
6) Try 1-3 again
7) BOOM -> http://
8) This is easy as well [2]
9) Repeat again steps 1-3
10) BOOM -> http://
I'm clueless so far about the last failure.
[1]
--- a/neutron/
+++ b/neutron/
@@ -103,12 +103,12 @@ def parse_modify_
# autoincrement=None, existing_type=None,
# existing_
# existing_
+ bind = op.get_bind()
for modified, schema, table, column, existing, old, new in command:
if modified.
elif modified.
- bind = op.get_bind()
insp = sqlalchemy.
if column in insp.get_
[2]
--- a/neutron/
+++ b/neutron/
@@ -103,12 +103,12 @@ def parse_modify_
# autoincrement=None, existing_type=None,
# existing_
# existing_
+ bind = op.get_bind()
for modified, schema, table, column, existing, old, new in command:
if modified.
elif modified.
- bind = op.get_bind()
insp = sqlalchemy.
if column in insp.get_
@@ -123,7 +123,7 @@ def parse_modify_
else:
- dialect=
+ dialect=
Changed in neutron: | |
assignee: | Salvatore Orlando (salvatore-orlando) → Ann Kamyshnikova (akamyshnikova) |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/116833
Review: https:/