Migration from havana to icehouse takes forever if large subset of data is present

Bug #1366905 reported by David Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned

Bug Description

Hi guys,

    I think the upgrade documentation from Havana to Icehouse should be updated so keystone-manage token_flush is used before anything else. If keystone token_flush is present in Havana, it should definitely be ran before doing anything else too.

Still runing after 30 minutes:

mysql> show processlist;
+--------+------+-----------+----------+---------+------+-------------------+------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+--------+------+-----------+----------+---------+------+-------------------+------------------------------------------------------------+
| 547285 | root | localhost | keystone | Query | 0 | NULL | show processlist |
| 547349 | root | localhost | keystone | Query | 1899 | copy to tmp table | ALTER TABLE keystone.token CONVERT TO CHARACTER SET 'utf8' |
+--------+------+-----------+----------+---------+------+-------------------+------------------------------------------------------------+
2 rows in set (0.00 sec)

Dave

Revision history for this message
Lance Bragstad (lbragstad) wrote :

Hi Dave,

Do you have a link to the specific upgrade documentation you're referencing?

Changed in keystone:
status: New → Incomplete
Revision history for this message
Dolph Mathews (dolph) wrote :

keystone-manage token_flush should be used on a regular basis (for example, hourly cron), regardless of whether you're upgrading or not.

Revision history for this message
Christina Darretta (darrettac) wrote :

It's listed as a step in these upgrade docs:
http://docs.openstack.org/openstack-ops/content/upgrades_havana-icehouse-ubuntu.html
http://docs.openstack.org/openstack-ops/content/upgrades_havana-icehouse-rhel.html

# service openstack-keystone stop
# keystone-manage token_flush
# keystone-manage db_sync
# service openstack-keystone start

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

Yep my bad.

Sorry about this.

Dolph Mathews (dolph)
Changed in keystone:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.