From 1dd169802e971b85763cc2ac2cb9007b88ccb734 Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Mon, 20 Jan 2025 10:22:34 +0100 Subject: [PATCH] Add openstack_init target Recently, a new target called openstack_init has been added to install_yamls [1]. This target ensures deploynment of all the openstack operators. The current state of this repository fails with the following error: no matches for kind "NetConfig" when running make deploy_controlplane. This is caused by missing CRDs in the environment because only openstack-operator is being deployed. [1] https://github.com/openstack-k8s-operators/install_yamls/pull/963 --- nested-passthrough/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nested-passthrough/Makefile b/nested-passthrough/Makefile index d49c194..3ec0870 100644 --- a/nested-passthrough/Makefile +++ b/nested-passthrough/Makefile @@ -101,7 +101,7 @@ deploy_controlplane: ## Deploy OCP cluster using CRC, deploy OSP operators, and $(MAKE) prepare_controlplane_config && \ sleep 60 && \ echo Deploying RHOSO control plane && \ - OPENSTACK_CR=$$(realpath ./out/openstack-deployment.yaml) make -C $(INSTALL_YAMLS_DIR) openstack_deploy && \ + OPENSTACK_CR=$$(realpath ./out/openstack-deployment.yaml) make -C $(INSTALL_YAMLS_DIR) openstack_init openstack_deploy && \ echo Waiting for control plane to be ready && \ oc wait openstackcontrolplane openstack --for condition=Ready --timeout=$(TIMEOUT_CTRL) && \ echo "Run eval $$(crc oc-env) to be able to access the OCP cluster using the oc command"