Skip to content

Commit

Permalink
Use default single-nic-vlans.j2
Browse files Browse the repository at this point in the history
We have removed the bespoke API interface used to override nic-config
files in favor or the direct Ansible variable. This change ensures that
we don't remove the variable from the template, which is currently using
the standard single-nic-vlans.j2 file:
https://github.com/openstack-k8s-operators/dataplane-operator/pull/394/files
openstack-k8s-operators/edpm-ansible#243

Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Sep 18, 2023
1 parent 7c78dc7 commit 0e18c87
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions ci_framework/hooks/playbooks/fetch_compute_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@
- target:
kind: OpenStackDataPlaneNodeSet
patch: |-
- op: remove
path: /spec/nodeTemplate/ansible/ansibleVars/edpm_network_config_template
- op: replace
path: /spec/nodeTemplate/ansible/ansibleVars/neutron_public_interface_name
value: "{{ crc_ci_bootstrap_networks_out.compute.default.iface | default('') }}"
Expand Down Expand Up @@ -130,7 +127,7 @@
nic2: "{{ crc_ci_bootstrap_networks_out.compute.default.iface | default('ens7') }}"
- op: replace
path: /spec/nodeTemplate/networkConfig
path: /spec/nodeTemplate/ansible/ansibleVars/edpm_network_config_override
value:
template: |-
{%- raw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ variables:
DATAPLANE_KUTTL_CONF: "/home/test-user/out/operator/dataplane-operator/kuttl-test.yaml"
DATAPLANE_KUTTL_DIR: "/home/test-user/out/operator/dataplane-operator/tests/kuttl/tests"
DATAPLANE_KUTTL_NAMESPACE: "dataplane-kuttl-tests"
DATAPLANE_NETWORK_CONFIG_TEMPLATE: "templates/single_nic_vlans/single_nic_vlans.j2"
DATAPLANE_NETWORK_INTERFACE_NAME: "eth0"
DATAPLANE_OVN_METADATA_AGENT_BIND_HOST: "127.0.0.1"
DATAPLANE_REGISTRY_URL: "quay.io/podified-antelope-centos9"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ DATAPLANE_COMPUTE_IP ?=192.168.122.100
DATAPLANE_COMPUTE_1_IP ?=192.168.122.101
DATAPLANE_TOTAL_NODES ?=2
DATAPLANE_RUNNER_IMG ?=quay.io/openstack-k8s-operators/openstack-ansibleee-runner:latest
DATAPLANE_NETWORK_CONFIG_TEMPLATE ?=templates/single_nic_vlans/single_nic_vlans.j2
DATAPLANE_NETWORK_INTERFACE_NAME ?=eth0
DATAPLANE_SSHD_ALLOWED_RANGES ?=['192.168.122.0/24']
DATAPLANE_CHRONY_NTP_SERVER ?=pool.ntp.org
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ DATAPLANE_CHRONY_NTP_SERVER ?=pool.ntp.org
METADATA_SHARED_SECRET ?= 1234567842
DATAPLANE_OVN_METADATA_AGENT_BIND_HOST ?=127.0.0.1
DATAPLANE_SSHD_ALLOWED_RANGES ?=['192.168.122.0/24']
DATAPLANE_NETWORK_CONFIG_TEMPLATE ?=templates/single_nic_vlans/single_nic_vlans.j2
DATAPLANE_DEPLOY_STRATEGY_DEPLOY ?= false

BM_PROVISIONING_INTERFACE ?=enp6s0
Expand Down

0 comments on commit 0e18c87

Please sign in to comment.