<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">> On Ubuntu 12.04 using cloud-archieve repos I just upgraded keystone to grizzly from folsom,
<br>
> but 'keystone-manage db_sync' is failing with something like:<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div><br>
> sqlalchemy.exc.IntegrityError: (IntegrityError) (1452, 'Cannot add or update a child row: a foreign key<br>
</div>
</div>
</div>
<br>
</div>
> Any clues on how to get my db to sync?<br>
<br>
</div>
Jon,<br>
<br>
Could you check if your tables are innodb?<br>
I've seen something similar when the tables where myisam.<br>
<br>
Cheers,<br>
Robert van Leeuwen<br>
</div>
</div>
</div>
</div>
</body>
</html>