2020-01-09 18:12:34 |
Michał Ajduk |
description |
In some situations nova cloud controller never pushes SSH keysf for live migration.
https://github.com/openstack/charm-nova-cloud-controller/blob/master/hooks/nova_cc_hooks.py#L702
Method _goal_state_achieved_for_relid always return false if units_so_far and all_units are out of order.
Example:
units_so_far = ['nova-compute/0', 'nova-compute/1', 'nova-compute/2', 'nova-compute/3', 'nova-compute/4', 'nova-compute/5', 'nova-compute/6']
target_units = ['nova-compute/3', 'nova-compute/2', 'nova-compute/5', 'nova-compute/0', 'nova-compute/6', 'nova-compute/4', 'nova-compute/1']
This returns false here:
https://github.com/openstack/charm-nova-cloud-controller/blob/master/hooks/nova_cc_hooks.py#L741
However there are 7 units required and 7 units present so the goal state is reached. |
In some situations nova cloud controller never pushes SSH keys for live migration.
https://github.com/openstack/charm-nova-cloud-controller/blob/master/hooks/nova_cc_hooks.py#L702
Method _goal_state_achieved_for_relid always return false if units_so_far and all_units are out of order.
Example:
units_so_far = ['nova-compute/0', 'nova-compute/1', 'nova-compute/2', 'nova-compute/3', 'nova-compute/4', 'nova-compute/5', 'nova-compute/6']
target_units = ['nova-compute/3', 'nova-compute/2', 'nova-compute/5', 'nova-compute/0', 'nova-compute/6', 'nova-compute/4', 'nova-compute/1']
This returns false here:
https://github.com/openstack/charm-nova-cloud-controller/blob/master/hooks/nova_cc_hooks.py#L741
However there are 7 units required and 7 units present so the goal state is reached. |
|