Migration 159 does not downgrade with mysql

Bug #1207355 reported by Joshua Hesketh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Joshua Hesketh

Bug Description

When downgrading the tests fail due to truncation. I'm still working on getting more details sorry.

Changed in nova:
assignee: nobody → Joshua Hesketh (joshua.hesketh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
Joshua Hesketh (joshua.hesketh) wrote :

This error only shows itself with downgrading with MySQL.

This appears to be due to the IPAddress/CIDR formatting applied to the models. By making the tests use the correct formatting from netaddr.IPNetwork we don't test against incorrect/long strings.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/39708
Committed: http://github.com/openstack/nova/commit/ed37027964ce610cb1f7eef0a32a498831031cd8
Submitter: Jenkins
Branch: master

commit ed37027964ce610cb1f7eef0a32a498831031cd8
Author: Joshua Hesketh <email address hidden>
Date: Thu Aug 1 23:53:10 2013 +1000

    Format CIDR strings as per storage

    Make sure the CIDR addresses are formatted in the same way sqlalchemy stores
    them.

    Fixes bug 1207355

    Change-Id: I7b202c44e6e8e973c1753aa33c192a4fcfe762cc

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.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.