-
Notifications
You must be signed in to change notification settings - Fork 33
Set additionalPrinterColumns for UpdateService CRD #138
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
Set additionalPrinterColumns for UpdateService CRD #138
Conversation
|
/hold |
Add additionalPrinterColumns to the UpdateService custom resource definition file. Previously running the "oc get -o wide ..." command only displayed the name and the age of the specific running UpdateService resources. Display the policyEngineURI, releases, graphDataImage, and the ReconcileCompleted condition status to provide more information to a user about the UpdateService resource. Set the priority of these additionalPrinterColumns to 1 to list them only when the "-o wide" flag is provided.
c53bd19 to
bf6d5e5
Compare
|
/unhold |
|
An example of the output when running the command Note: Some of the columns are only proposed as an idea in https://issues.redhat.com/browse/OTA-449 for the |
wking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Davoska, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
operator-e2e spent 10m waiting for the Cincinnati pod: We should probably update the test suite to dump pod status if that happens, but I don't see how it could be related to this CRD change, so: /retest Poking at events, looks like we're permafailing on readiness probe 503s: $ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_cincinnati-operator/138/pull-ci-openshift-cincinnati-operator-master-operator-e2e/1470424053910081536/artifacts/operator-e2e/gather-extra/artifacts/events.json | jq -r '.items | sort_by(.metadata.creationTimestamp)[] | select(.metadata.namespace == "openshift-updateservice") | .metadata.creationTimestamp + " " + (.count | tostring) + " " + .reason + ": " + .message' | tail -n4
2021-12-13T16:43:39Z 34 ProbeError: Readiness probe error: HTTP probe failed with statuscode: 503
body:
2021-12-13T16:43:39Z 7 Unhealthy: Readiness probe failed: HTTP probe failed with statuscode: 503 |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
14 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
e2e tests was failing when I did the last promote early Nov. Not sure why but the OSUS operand graph-builder container started failing and never did figured out why. At the time I just overrode the test to get the PR in since I had completely tested it on my own. We need to take another look. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
13 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
I'm pretty sure these failures are unrelated. /override ci/prow/operator-e2e |
|
@wking: Overrode contexts on behalf of wking: ci/prow/operator-e2e DetailsIn response to this:
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/test-infra repository. |
|
@Davoska: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Using: $ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0 $ controller-gen rbac:roleName=updateservice-operator crd paths=./... output:crd:dir=config/crd/bases $ git add -p # avoid dropping additionalPrinterColumns with: $ go version go version go1.21.1 linux/amd64 $ controller-gen --version # not surprising since I installed 0.13.0 with 'go install ...' above Version: v0.13.0 where additionalPrinterColumns is from bf6d5e5 (Add additionalPrinterColumns to the UpdateService crd, 2021-12-13, openshift#138).
Set
additionalPrinterColumnsfor UpdateService CRD to provide more information to a user about the UpdateService resource.Previously running the
oc get -o wide ...command only displayed the name and the age of the specific running UpdateService resources.Display the
policyEngineURI,releases,graphDataImage, and theReconcileCompletedcondition status to provide more information to a user about the UpdateService resource. Set the priority of theseadditionalPrinterColumnsaccordingly to list them only when the-o wideflag is provided.Pull request is related to https://issues.redhat.com/browse/OTA-449