live-migration abort parameters are not honored
Bug #1583107 reported by
Joseph Lanoux
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The live_migration_
Those parameters tune the live-migration abortion and must be higher than the LIVE_MIGRATION_
However, those parameters have default values that are higher than the minimum values but they are overridden by the minimum ones.
Steps to reproduce:
- live-migrate an instance
- simulate a downtime
- observe that the minimum values are used instead of the default ones.
summary: |
- live-migration abortion parameters + live-migration abortion parameters are not honored |
tags: | added: liberty-rc-potential |
tags: |
added: live-migration removed: liberty-rc-potential |
summary: |
- live-migration abortion parameters are not honored + live-migration abort parameters are not honored |
Changed in nova: | |
assignee: | nobody → Tang Chen (tangchen) |
Changed in nova: | |
assignee: | Tang Chen (tangchen) → nobody |
To post a comment you must log in.
live_migration_ downtime, live_migration_ downtime_ steps and live_migration_ downtime_ delay represent maximum values. I don't see in the code where those values are overridden by the LIVE_MIGRATION_ *_MIN values unless they are less than those minimum values. I only see the LIVE_MIGRATION_ *_MIN values referenced in the files I've linked below:
Initializes the config values, sets defaults: /github. com/openstack/ nova/blob/ master/ nova/conf/ libvirt. py#L29 /github. com/openstack/ nova/blob/ master/ nova/conf/ libvirt. py#L268
https:/
https:/
Checks that the max values aren't less than the min values: /github. com/openstack/ nova/blob/ master/ nova/virt/ libvirt/ driver. py#L5985
https:/
In addition, I ran the test_live_ migration_ downtime_ steps unit test and verified that the downtime values specified in the test weren't being overwritten. I also changed the values in the test to be less than the MIN values and they were overwritten as expected.
Can you provide more insight into when you are seeing this behavior? Could you perhaps attach your nova conf and some logs for when you see this behavior?
Or maybe someone else with more knowledge of live migration and libvirt can offer some insight on what could be happening here?