<div dir="ltr">On Tue, Aug 6, 2013 at 2:15 AM, Robert van Leeuwen <span dir="ltr"><<a href="mailto:Robert.vanLeeuwen@spilgames.com" target="_blank">Robert.vanLeeuwen@spilgames.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div class="im">> 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><div style="font-size:16px;font-family:Times New Roman">
<div>
<div dir="ltr">
<div><div class="im">
<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></div><div class="im">
> Any clues on how to get my db to sync?<br>
<br>
</div></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></div></blockquote><div><br><br><br></div><div>They are innodb, SHOW TABLE STATUS confirms.<br><br></div><div>Thanks,<br></div><div>-Jon <br></div></div></div></div>