Skip to content

🐛 Stop printing InstanceState for OpenStackMachine#2402

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
shiftstack:issue_2400
Jan 30, 2025
Merged

🐛 Stop printing InstanceState for OpenStackMachine#2402
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
shiftstack:issue_2400

Conversation

@EmilienM
Copy link
Contributor

@EmilienM EmilienM commented Jan 28, 2025

What this PR does / why we need it:

InstanceState was copied to the OpenStackServer API and the
OpenStackMachine controller doesn't care about this field anymore.
The field still exists for backward compatibility but it was decided
long time ago (when we worked on the OpenStackServer API) that it
wouldn't be populated anymore.
We missed to stop printing this field when listing the
OpenStackMachines.

Also, we now document that the field is not populated anymore. This was
also a miss.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2400

`InstanceState` was copied to the `OpenStackServer` API and the
`OpenStackMachine` controller doesn't care about this field anymore.
The field still exists for backward compatibility but it was decided
long time ago (when we worked on the `OpenStackServer` API) that it
wouldn't be populated anymore.
We missed to stop printing this field when listing the
`OpenStackMachines`.

Also, we now document that the field is not populated anymore. This was
also a miss.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 28, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 28, 2025
@netlify
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit d78ef80
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/67993dbd92ea0f0008bf7e00
😎 Deploy Preview https://deploy-preview-2402--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@EmilienM
Copy link
Contributor Author

/cherry-pick release-0.12

@k8s-infra-cherrypick-robot

@EmilienM: once the present PR merges, I will cherry-pick it on top of release-0.12 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-0.12

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.

Copy link
Contributor

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks for fixing!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 29, 2025
@EmilienM
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EmilienM

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 30, 2025
@k8s-ci-robot k8s-ci-robot merged commit 685b5ee into kubernetes-sigs:main Jan 30, 2025
9 checks passed
@k8s-infra-cherrypick-robot

@EmilienM: new pull request created: #2406

Details

In response to this:

/cherry-pick release-0.12

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Empty InstanceState in OpenStackMachine CLI output

4 participants