Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openstack_init target #10

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

lpiwowar
Copy link
Contributor

@lpiwowar lpiwowar commented Jan 20, 2025

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] openstack-k8s-operators/install_yamls#963

@@ -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 && \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the openstack_init should replace the existing openstack_wait that we already have.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced the openstack_wait with openstack_init. I feel like I should test this out.

@lpiwowar lpiwowar force-pushed the fix/openstack_init_target branch from 1dd1698 to a8c9b95 Compare January 20, 2025 15:44
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] openstack-k8s-operators/install_yamls#963
@lpiwowar lpiwowar force-pushed the fix/openstack_init_target branch from a8c9b95 to f6df3aa Compare January 22, 2025 13:38
@lpiwowar
Copy link
Contributor Author

I'm marking this as Ready for review. I successfully deployed environment with the changes from this PR. I still had to replace the infra-operator image to quay.io/geguileo/infra-operator:main.

@lpiwowar lpiwowar marked this pull request as ready for review January 22, 2025 13:40
@Akrog Akrog mentioned this pull request Jan 22, 2025
@umago
Copy link
Collaborator

umago commented Jan 22, 2025

LGTM! Thanks @lpiwowar

@umago umago merged commit f1b8540 into Akrog:main Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants