This change adds new 'migration_max_retries' and 'migrate_interval' configuration
parameters to the [nova] section to control timeout behavior for VM
migration operations.
Changes:
- Add a new [nova] section to the configuration file to store parameters
related to the integration with nova.
- Add migration_max_retries config option (default: 180) to define the max
retries to check the result of VM migrations before giving up.
- Add migration_interval config option (default: 5 seconds) to define the
polling interval to check the VM status in migrate actions.
- Update live_migrate_instance() and watcher_non_live_migrate_instance()
to use configured migration_max_retries when retry parameter is None.
- Add new parameter interval to the live_migrate_instance() and
watcher_non_live_migrate_instance() methods.
- Add comprehensive unit tests for timeout and retry functionality
- Set migrate_max_retries to 120 and migration_interval to 1s in CI jobs.
Closes-Bug: #2131663
Assisted-By: claude-code (claude-sonnet-4.5)
Change-Id: Ifed3c058d821ce3b0741627dcc414fe054eb9dca
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>