Enum type is changed incorrectly in migration 1341ed32cc1e_nvp_netbinding_update for

Bug #1301396 reported by Ann Taraday
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ann Taraday

Bug Description

In migration 1341ed32cc1e_nvp_netbinding_update Enum type had been changed incorrectly from ('flat', 'vlan', 'stt', 'gre') to ('flat', 'vlan', 'stt', 'gre', 'l3_ext') for PostgeSQL so in database this type was not changed.

This could be checked as it shown there http://paste.openstack.org/show/74835/.

The same problem is taken place for vlan_type in migrations 38fc1f6789f8_cisco_n1kv_overlay from ('vlan', 'vxlan', 'trunk',
'multi-segment') to ('vlan', 'overlay', 'trunk', 'multi-segment') and in 46a0efbd8f0_cisco_n1kv_multisegm from ('vlan', 'vxlan') to
('vlan', 'vxlan', 'trunk', 'multi-segment').

This could be checked as it shown there http://paste.openstack.org/show/75387/

Tags: db
Changed in neutron:
assignee: nobody → Ann Kamyshnikova (akamyshnikova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84730

Changed in neutron:
status: New → In Progress
description: updated
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/84730
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=73705174c9cdd847501e36385ffb942c17c8ef61
Submitter: Jenkins
Branch: master

commit 73705174c9cdd847501e36385ffb942c17c8ef61
Author: Ann Kamyshnikova <email address hidden>
Date: Wed Apr 2 18:14:26 2014 +0400

    Fix incorrect change of Enum type

    In migration 1341ed32cc1e_nvp_netbinding_update Enum type had been
    changed incorrectly from ('flat', 'vlan', 'stt', 'gre')
    to ('flat', 'vlan', 'stt', 'gre', 'l3_ext') for PostgeSQL.

    The same problem is taken place for vlan_type in migrations
    38fc1f6789f8_cisco_n1kv_overlay from ('vlan', 'vxlan', 'trunk',
    'multi-segment') to ('vlan', 'overlay', 'trunk', 'multi-segment')
    and in 46a0efbd8f0_cisco_n1kv_multisegm from ('vlan', 'vxlan') to
    ('vlan', 'vxlan', 'trunk', 'multi-segment').

    In this change request was added separate method for changing Enum
    type for PostgreSQL.

    Closes-bug: #1301396

    Change-Id: I27197fb7405630a55178be8516a4b62bd135e05c

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
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.