Migration pool_monitor_status fails when database already contains data

Bug #1305725 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Eugene Nikanorov

Bug Description

In case Healthmonitmonitor tables already contain data, migration 11c6e18605c8_pool_monitor_status fails with the following traceback:

http://paste.openstack.org/show/75388/

tags: added: db
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/86548

Changed in neutron:
assignee: nobody → Eugene Nikanorov (enikanorov)
status: New → In Progress
tags: added: icehouse-backport-potential
Changed in neutron:
milestone: none → ongoing
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit c7dceedde516170d1a6ac1257103bdacb3b0cc84
Author: Eugene Nikanorov <email address hidden>
Date: Thu Apr 10 13:36:45 2014 +0400

    Properly apply column default in migration pool_monitor_status

    server_default parameter should be used to apply default value at
    table/column creation time. Otherwise non-nullable column can't
    be created because of existing rows in the tables.

    Change-Id: I7136e6a0dfb9dc66ca63ff3c9fcf6de164e27e63
    Closes-Bug: #1305725

Changed in neutron:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in neutron:
milestone: ongoing → juno-rc1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-rc1 → 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.