Reviewed:  https://review.openstack.org/305135
Committed: 
https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=58a5251515b7d58ee55f9604ad882f6a678c9bf4
Submitter: Jenkins
Branch:    stable/mitaka

commit 58a5251515b7d58ee55f9604ad882f6a678c9bf4
Author: James Page <james.p...@ubuntu.com>
Date:   Fri Apr 8 13:17:26 2016 +0100

    Ensure that PK values don't default to NULL
    
    MySQL 5.7 is stricter by default; ensure that the primary key
    of cisco_csr_identifier_map does not end up with NULL default
    otherwise the migration step will fail with:
    
     'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, 
use UNIQUE instead'
    
    Behavioural change introduced in 5.7.3:
    
     http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-3.html
    
    Change-Id: Iad2033bec39d223556c2605e3ba3f3dab44223a1
    Closes-Bug: #1567899
    (cherry picked from commit 3aeae7a3e5a351577002237663ed08ac908d5b45)


** Tags added: in-stable-mitaka

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567899

Title:
  alembic migration failure with mysql 5.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1567899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to