live-migration abort parameters are not honored

Bug #1583107 reported by Joseph Lanoux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

The live_migration_downtime, live_migration_downtime_steps and live_migration_downtime_delay default values are not honored.

Those parameters tune the live-migration abortion and must be higher than the LIVE_MIGRATION_DOWNTIME_MIN, LIVE_MIGRATION_DOWNTIME_STEPS_MIN and LIVE_MIGRATION_DOWNTIME_DELAY_MIN minimum values.

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
Sean Dague (sdague)
summary: - live-migration abortion parameters are not honored
+ live-migration abort parameters are not honored
Tang Chen (tangchen)
Changed in nova:
assignee: nobody → Tang Chen (tangchen)
Tang Chen (tangchen)
Changed in nova:
assignee: Tang Chen (tangchen) → nobody
Revision history for this message
Augustina Ragwitz (auggy) wrote :

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:
https://github.com/openstack/nova/blob/master/nova/conf/libvirt.py#L29
https://github.com/openstack/nova/blob/master/nova/conf/libvirt.py#L268

Checks that the max values aren't less than the min values:
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5985

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?

Changed in nova:
status: New → Incomplete
tags: added: needs-attention
Revision history for this message
Augustina Ragwitz (auggy) wrote :

I'm going to mark this as Invalid for now. I asked in the nova irc channel and it looks like my previous comment is accurate. If you have further information per my comment above, please feel free to add it and reopen this bug.

tags: removed: needs-attention
Changed in nova:
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.