Race condition causes resize-flavor to fail in Percona
Bug #1284989 reported by
Steve Leon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Undecided
|
Steve Leon |
Bug Description
In Percona, when resizing an instance, Trove reports success (ACTIVE) even though percona hasnt truly finished up loading. ALthough mysql service is started and port 3306 is open, percona still does some tasks under the hood.
Normally this wouldnt matter that much. However when an instance is resized immediately after it has finished provisioning, the migrate fails and mysql gets corrupted.
To fix this issue, we need to make sure that percona mysql has shutdown successfully before doing a resize.
Since this is a race condition that happens when a resize is perform immediately after a instance-create finishes, this is only reproducible in automated tests.
Changed in trove: | |
milestone: | none → icehouse-3 |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/76446
Review: https:/