[Bug 1061166] Re: ec2 instance IDs are broken after folsom upgrade
Andrew Glen-Young
1061166 at bugs.launchpad.net
Thu Oct 4 14:21:01 UTC 2012
I upgraded today and found that I had this issue.
Not all of my instances had duplicate entries in the
`instance_id_mappings` table, however I did have more entries within the
`instance_id_mappings` than within the `instances` table.
It seems that the `id` column in the `instances` table is still being
used somewhere.
In order to work around the problem I needed to set the auto_increment
integer to be the same for each table.
Example:
-- grab the auto_increment integer for `instances` table
SELECT Auto_increment FROM information_schema.tables WHERE table_name='instances' AND table_schema='nova';
-- grab the auto_increment integer for `instances` table
SELECT Auto_increment FROM information_schema.tables WHERE table_name='instance_id_mappings' AND table_schema='nova';
-- raise the lowest number returned to the same as the highest for the relevant table.
ALTER TABLE instances AUTO_INCREMENT = 1769801923;
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1061166
Title:
ec2 instance IDs are broken after folsom upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1061166/+subscriptions
More information about the Ubuntu-server-bugs
mailing list