6a2fb44a78
If the ironic_config field is not present in a node definition, then that node should not be registered with ironic. In this case we also don't need to query glance for images or wait for resources to appear in placement. If nova_flavors is empty, we do not need to register flavors, so no need to install the client or check for OS_USERNAME. Also fixes an issue in the action plugin where it would fail if ironic_config field is not present in a node definition. Finally, in CI deploy/teardown tests, rather than skipping tasks, we now remove the ironic_config field from the node definition, and set nova_flavors to empty, such that we exercise these code paths. Change-Id: I29b42665f1609c99e80f12ab6f3815d0e0918dae Story: 2004412 Task: 28056
27 lines
672 B
Django/Jinja
27 lines
672 B
Django/Jinja
---
|
|
# This file holds the config given to Tenks when running the zuul job,
|
|
# tenks-deploy-teardown. It assumes the existence of the bridge `breth1`.
|
|
|
|
node_types:
|
|
type0:
|
|
memory_mb: 1024
|
|
vcpus: 1
|
|
volumes:
|
|
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
|
|
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
|
|
- capacity: 4GiB
|
|
physical_networks:
|
|
- physnet1
|
|
console_log_enabled: true
|
|
|
|
specs:
|
|
- type: type0
|
|
count: 2
|
|
|
|
nova_flavors: []
|
|
|
|
physnet_mappings:
|
|
physnet1: breth1
|
|
|
|
python_upper_constraints_url: file://{{ upper_constraints_path }}
|