summaryrefslogtreecommitdiff
path: root/zuul.d
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2020-07-13 14:29:05 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2020-07-13 14:29:05 -0700
commit44d56c559b5cc634911b5cdea42ae1b22aa4cb76 (patch)
tree70576282021cd970c0ebd4804c26f1b54a5b3287 /zuul.d
parent0e65f0134d1b068cac7b0ea5b6f35ed8726dda25 (diff)
downloadironic-44d56c559b5cc634911b5cdea42ae1b22aa4cb76.tar.gz
Change non-tinyipa jobs to use multiple cores
A large ramdisk image tends to take an undesirable amount of time performing the initial uncompression into memory before the system is booted and available. This sets the number of CPU cores by default for all jobs to 2, and only sets that back to 1 where TinyIPA is being used. Change-Id: I88c57a1345edb1b14c760753638ad927641b34a2
Diffstat (limited to 'zuul.d')
-rw-r--r--zuul.d/ironic-jobs.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/zuul.d/ironic-jobs.yaml b/zuul.d/ironic-jobs.yaml
index d503954c2..acab159bb 100644
--- a/zuul.d/ironic-jobs.yaml
+++ b/zuul.d/ironic-jobs.yaml
@@ -51,6 +51,7 @@
# NOTE(dtantsur): in some jobs we end up with 12 disks total, so reduce
# each of them. For don't need all 10 GiB for CirrOS anyway.
IRONIC_VM_SPECS_DISK: 4
+ IRONIC_VM_SPECS_CPU: 2
IRONIC_DEFAULT_DEPLOY_INTERFACE: iscsi
Q_AGENT: openvswitch
@@ -121,6 +122,7 @@
IRONIC_RAMDISK_TYPE: tinyipa
IRONIC_RPC_TRANSPORT: json-rpc
IRONIC_VM_SPECS_RAM: 384
+ IRONIC_VM_SPECS_CPU: 1
IRONIC_VM_COUNT: 6
IRONIC_VM_VOLUME_COUNT: 2
# We're using a lot of disk space in this job. Some testing nodes have
@@ -182,6 +184,7 @@
IRONIC_VM_COUNT: 6
IRONIC_VM_VOLUME_COUNT: 2
IRONIC_VM_SPECS_RAM: 384
+ IRONIC_VM_SPECS_CPU: 1
# We're using a lot of disk space in this job. Some testing nodes have
# a small root partition, so use /opt which is mounted from a bigger
# ephemeral partition on such nodes
@@ -521,6 +524,7 @@
IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
IRONIC_VM_SPECS_RAM: 384
IRONIC_VM_SPECS_DISK: 4
+ IRONIC_VM_SPECS_CPU: 1
OVS_BRIDGE_MAPPINGS: 'mynetwork:brbm,public:br-infra'
OVS_PHYSICAL_BRIDGE: brbm
PHYSICAL_NETWORK: mynetwork
@@ -599,6 +603,7 @@
IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
IRONIC_VM_NETWORK_BRIDGE: sub1brbm
IRONIC_VM_SPECS_RAM: 384
+ IRONIC_VM_SPECS_CPU: 1
OVS_BRIDGE_MAPPINGS: 'mynetwork:sub1brbm,public:br-infra'
OVS_PHYSICAL_BRIDGE: sub1brbm
PHYSICAL_NETWORK: mynetwork