Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented May 5, 2023

Avoid a cosmetic:

Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later oc adm upgrade --to ... or similar talks to a 4.12 or earlier ClusterVersion. Before this commit, oc would format a patch body that included an explicit "architecture": "", which the 4.12 ClusterVersion didn't understand. With this change, oc will leave the architecture field unset unless it actually has architecture opinions.

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 5, 2023
@openshift-ci-robot
Copy link

@wking: This pull request references Jira Issue OCPBUGS-8356, which is invalid:

  • expected the bug to target the "4.14.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Avoid a cosmetic:

Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later oc adm upgrade --to ... or similar talks to a 4.12 or earlier ClusterVersion. Before this commit, oc would format a patch body that included an explicit "architecture": "", which the 4.12 ClusterVersion didn't understand. With this change, oc will leave the architecture field unset unless it actually has architecture opinions.

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 5, 2023

Hello @wking! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 5, 2023
@openshift-ci openshift-ci bot requested review from eparis and sjenning May 5, 2023 15:55
@wking
Copy link
Member Author

wking commented May 5, 2023

/jira refresh

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 5, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels May 5, 2023
@openshift-ci-robot
Copy link

@wking: This pull request references Jira Issue OCPBUGS-8356, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

Details

In response to this:

/jira refresh

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.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label May 5, 2023
@openshift-ci openshift-ci bot requested a review from zhouying7780 May 5, 2023 15:55
@wking wking force-pushed the omitempty-update-architecture branch 3 times, most recently from 0fe9581 to c08588f Compare May 8, 2023 22:31
Avoid a cosmetic [1]:

  Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later 'oc adm upgrade --to ...' or similar talks to a
4.12 or earlier ClusterVersion.  Before this commit, 'oc' would format
a patch body that included an explicit '"architecture": ""', which the
4.12 ClusterVersion didn't understand.  With this change, 'oc' will
leave the 'architecture' field unset unless it actually has
architecture opinions.

[1]: https://issues.redhat.com/browse/OCPBUGS-8356
@wking wking force-pushed the omitempty-update-architecture branch from c08588f to 55fd7cc Compare May 8, 2023 22:39
@deads2k
Copy link
Contributor

deads2k commented May 9, 2023

Server-side apply in the command sounds like a better solution.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 8, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 31, 2023

@wking: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 1, 2023
@openshift-ci-robot openshift-ci-robot added jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. and removed jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Oct 1, 2023
@openshift-ci-robot
Copy link

@wking: This pull request references Jira Issue OCPBUGS-8356, which is invalid:

  • expected the bug to target the "4.15.0" version, but it targets "4.14.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Avoid a cosmetic:

Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later oc adm upgrade --to ... or similar talks to a 4.12 or earlier ClusterVersion. Before this commit, oc would format a patch body that included an explicit "architecture": "", which the 4.12 ClusterVersion didn't understand. With this change, oc will leave the architecture field unset unless it actually has architecture opinions.

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.

1 similar comment
@openshift-ci-robot
Copy link

@wking: This pull request references Jira Issue OCPBUGS-8356, which is invalid:

  • expected the bug to target the "4.15.0" version, but it targets "4.14.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Avoid a cosmetic:

Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later oc adm upgrade --to ... or similar talks to a 4.12 or earlier ClusterVersion. Before this commit, oc would format a patch body that included an explicit "architecture": "", which the 4.12 ClusterVersion didn't understand. With this change, oc will leave the architecture field unset unless it actually has architecture opinions.

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.

@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this Oct 31, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 31, 2023

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

@openshift-ci-robot
Copy link

@wking: This pull request references Jira Issue OCPBUGS-8356. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.

Details

In response to this:

Avoid a cosmetic:

Warning: unknown field "spec.desiredUpdate.architecture"

when a 4.13 or later oc adm upgrade --to ... or similar talks to a 4.12 or earlier ClusterVersion. Before this commit, oc would format a patch body that included an explicit "architecture": "", which the 4.12 ClusterVersion didn't understand. With this change, oc will leave the architecture field unset unless it actually has architecture opinions.

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.

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

Labels

bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants