Test live migration between hosts with differnet cpu_shared_sets
This change modifes the nova-live-migration job to define [compute]cpu_shared_set to different ranges on the controller and compute node. in ci we have 8 cpus so the controller is set to 0-5 and the compute uses 2-7 6 cores with our default allocation ratio should be sufficent for our current level of concurrancy. This change also adds the remaining cores as cpu_dedicated_set, they will currently be unused but are thre if we want to enable pinned cpu testing in the future. Change-Id: I0d8463cf584d6ac141a5e1cb492d17996db458e0
This commit is contained in:
parent
804bc98759
commit
aca63b66e5
23
.zuul.yaml
23
.zuul.yaml
@ -130,12 +130,35 @@
|
||||
neutron-trunk: true
|
||||
openstack-cli-server: true
|
||||
devstack_local_conf:
|
||||
post-config:
|
||||
$NOVA_CPU_CONF:
|
||||
compute:
|
||||
# we want to test live migration of floating instances between hosts with different
|
||||
# cpu_shared_set to ensure the xml is updated properly. This is important when migrating
|
||||
# between hosts with different number of cpu cores even when cpu_shared_set is not defined.
|
||||
# In the ci, we have 8 cpu cores, so we set the cpu_shared_set to 0-5 for the first compute
|
||||
# node and 2-7 for the second compute node.
|
||||
cpu_shared_set: "0-5"
|
||||
cpu_dedicated_set: "6-7"
|
||||
test-config:
|
||||
$TEMPEST_CONFIG:
|
||||
compute-feature-enabled:
|
||||
volume_backed_live_migration: true
|
||||
block_migration_for_live_migration: true
|
||||
block_migrate_cinder_iscsi: true
|
||||
group-vars:
|
||||
subnode:
|
||||
devstack_local_conf:
|
||||
post-config:
|
||||
$NOVA_CPU_CONF:
|
||||
compute:
|
||||
# we want to test live migration of floating instances between hosts with different
|
||||
# cpu_shared_set to ensure the xml is updated properly. This is important when migrating
|
||||
# between hosts with different number of cpu cores even when cpu_shared_set is not defined.
|
||||
# In the ci, we have 8 cpu cores, so we set the cpu_shared_set to 0-5 for the first compute
|
||||
# node and 2-7 for the second compute node.
|
||||
cpu_shared_set: "2-7"
|
||||
cpu_dedicated_set: "0-1"
|
||||
post-run: playbooks/nova-live-migration/post-run.yaml
|
||||
|
||||
- job:
|
||||
|
Loading…
Reference in New Issue
Block a user