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

Update tls cert secret validation due VerifyCertSecrets() change #856

Conversation

stuggi
Copy link
Contributor

@stuggi stuggi commented Sep 5, 2024

It is depending on: openstack-k8s-operators/lib-common#559 (intentionally changed the wording as meta content provider does not play well with lib-common yet)

Jira: OSPRH-9991

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3b8982e09f8b4e97b4b9357e13858b06

openstack-meta-content-provider FAILURE in 13m 25s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@gibizer
Copy link
Contributor

gibizer commented Sep 6, 2024

Change looks good but I think we have an issue with the content provider as it tries to bump the lib common version into the openstack-operator as well and that fails.

    [1/2] STEP 14/15: RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go
    # github.com/openstack-k8s-operators/openstack-operator/controllers/client
    controllers/client/openstackclient_controller.go:258:34: assignment mismatch: 3 variables but tls.ValidateCACertSecret returns 2 values
    # github.com/openstack-k8s-operators/openstack-operator/pkg/openstack
    pkg/openstack/common.go:251:28: assignment mismatch: 3 variables but validateSecret.ValidateCertSecret returns 2 values
    pkg/openstack/common.go:287:28: assignment mismatch: 3 variables but ed.Service.TLS.GenericService.ValidateCertSecret returns 2 values
    Error: building at STEP "RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go": while running runtime: exit status 1

The provider changed by @raukadah in #850 so we need help from him to fix it.

@gibizer
Copy link
Contributor

gibizer commented Sep 6, 2024

recheck

@gibizer
Copy link
Contributor

gibizer commented Sep 6, 2024

Change looks good but I think we have an issue with the content provider as it tries to bump the lib common version into the openstack-operator as well and that fails.

    [1/2] STEP 14/15: RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go
    # github.com/openstack-k8s-operators/openstack-operator/controllers/client
    controllers/client/openstackclient_controller.go:258:34: assignment mismatch: 3 variables but tls.ValidateCACertSecret returns 2 values
    # github.com/openstack-k8s-operators/openstack-operator/pkg/openstack
    pkg/openstack/common.go:251:28: assignment mismatch: 3 variables but validateSecret.ValidateCertSecret returns 2 values
    pkg/openstack/common.go:287:28: assignment mismatch: 3 variables but ed.Service.TLS.GenericService.ValidateCertSecret returns 2 values
    Error: building at STEP "RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; env ${GO_BUILD_EXTRA_ENV_ARGS} go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go": while running runtime: exit status 1

The provider changed by @raukadah in #850 so we need help from him to fix it.

Changed the Depends-On wording in the PR message to avoid triggering the meta-content-provider logic based on @raukadah 's suggestion.

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/cee68fee4301470597aedacb3786855d

openstack-meta-content-provider FAILURE in 12m 31s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@gibizer gibizer force-pushed the update_validatecertsecrets branch from cd8ce0f to f1ab6e0 Compare September 6, 2024 07:33
@gibizer
Copy link
Contributor

gibizer commented Sep 6, 2024

just reworded the commit message to drop the Depends-On from there too.

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/10a363367240402e8e74b8faa13ab55d

openstack-meta-content-provider FAILURE in 13m 40s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@raukadah
Copy link
Contributor

raukadah commented Sep 6, 2024

recheck node hold

Copy link
Contributor

openshift-ci bot commented Sep 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gibizer, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit b05427a into openstack-k8s-operators:main Sep 7, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants