Skip to content

error migrating liberty to mitaka recovering a sql dump from the scratch #194

@AlvaroVega

Description

@AlvaroVega

Migrating from keystone liberty (spasword 1.4.X) to mitaka (1.5.X) keystone is getting this error

2021-11-03 11:11:50.028 147 ERROR keystone DBError: (_mysql_exceptions.IntegrityError) (1215, 'Cannot add foreign key constraint') [SQL: u'\nCREATE TABLE local_user (\n\tid INTEGER NOT NULL AUTO_INCREMENT, \n\tuser_id VARCHAR(64) NOT NULL, \n\tdomain_id VARCHAR(64) NOT NULL, \n\tname VARCHAR(255) NOT NULL, \n\tPRIMARY KEY (id)
, \n\tUNIQUE (domain_id, name), \n\tUNIQUE (user_id), \n\tFOREIGN KEY(user_id) REFERENCES user (id)
ON DELETE CASCADE\n)\n\n']

with some kind of data

Migrate from liberty to mitaka is needed as requested by #193

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions