charm-nova-cloud-controller/unit_tests
Arif Ali cdaa255120
Add scheduler-max-attempts flag
Using affinity/anti-affinity policies sometimes we get into a race
condition on the resources that are available on the hypervisors.
This flag allows to increase the number of retries and hence hosts
to schedule on and therefore allowing the successful scheduling
of instances.

This option was taken from the following URL, while future work
with placement is done to help with scheduling with affinity

https://docs.openstack.org/nova/latest/admin/troubleshooting/affinity-policy-violated.html

Signed-off-by: Arif Ali <arif.ali@canonical.com>
Change-Id: I353dbaa38eb0526014888ede27702b428eb66afd
2022-02-22 11:15:53 +00:00
..
__init__.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_actions.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_actions_openstack_upgrade.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_nova_cc_contexts.py Add scheduler-max-attempts flag 2022-02-22 11:15:53 +00:00
test_nova_cc_hooks.py Remove nrpe check of nova-consoleauth when not needed. 2022-01-06 12:04:58 -03:00
test_nova_cc_utils.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_utils.py Remove nrpe check of nova-consoleauth when not needed. 2022-01-06 12:04:58 -03:00