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

Don't set default for optional CtlplaneNetmask #241

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bshephar
Copy link
Contributor

@bshephar bshephar commented Dec 9, 2024

@openshift-ci openshift-ci bot requested review from dprince and viroel December 9, 2024 07:19
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/aede651eb3d449eaafd46ba7dd3c6692

openstack-baremetal-operator-content-provider FAILURE in 7m 30s
⚠️ openstack-baremetal-operator-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-baremetal-operator-content-provider

@bshephar
Copy link
Contributor Author

/test openstack-baremetal-operator-build-deploy

@@ -88,7 +88,6 @@ type OpenStackBaremetalSetSpec struct {
// +kubebuilder:validation:Optional
CtlplaneGateway string `json:"ctlplaneGateway,omitempty"`
// +kubebuilder:validation:Optional
// +kubebuilder:default="255.255.255.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

We should remove this from API as it's not used anymore. Was left behind[1] to not break any usage. I think we can safely remove this.
[1] https://github.com/openstack-k8s-operators/openstack-baremetal-operator/blob/main/pkg/openstackbaremetalset/baremetalhost.go#L102

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack, let's remove it

Copy link
Contributor

openshift-ci bot commented Dec 16, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bshephar
Once this PR has been reviewed and has the lgtm label, please assign dprince for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

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/3425573c7335423d83e6ba6a4eaa0523

openstack-baremetal-operator-content-provider FAILURE in 6m 55s
⚠️ openstack-baremetal-operator-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-baremetal-operator-content-provider

@bshephar
Copy link
Contributor Author

/retest

Copy link
Contributor

@rabi rabi left a comment

Choose a reason for hiding this comment

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

@@ -139,7 +139,6 @@ spec:
to use for ctlplane network
type: string
ctlplaneNetmask:
Copy link
Contributor

Choose a reason for hiding this comment

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

You've to regenerate these, else pre-commit and other jobs would fail.

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/f97fde84bff542feb904c45d0d8c6db9

openstack-baremetal-operator-content-provider FAILURE in 12m 18s
⚠️ openstack-baremetal-operator-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-baremetal-operator-content-provider

@bshephar
Copy link
Contributor Author

/test openstack-baremetal-operator-build-deploy

This change removes the CtlplaneNetmask parameter since it is not
required since we're using CIDR's.

Signed-off-by: Brendan Shephard <[email protected]>
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/bbdae48fe81d4606ba491a9c4c86e9ee

openstack-baremetal-operator-content-provider FAILURE in 12m 13s
⚠️ openstack-baremetal-operator-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-baremetal-operator-content-provider

Copy link
Contributor

openshift-ci bot commented Dec 23, 2024

@bshephar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/openstack-baremetal-operator-build-deploy ff31cd9 link false /test openstack-baremetal-operator-build-deploy

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

bshephar added a commit to bshephar/openstack-operator that referenced this pull request Dec 23, 2024
This change removes use of CtlplaneNetmask in line with
the changes proposed in:
openstack-k8s-operators/openstack-baremetal-operator#241

Signed-off-by: Brendan Shephard <[email protected]>
@bshephar
Copy link
Contributor Author

I think we probably need to go with the original plan of making this param optional. Then we can remove it from openstack-operator, then we can remove it from here.

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.

2 participants