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

collapse onto upstream version command #21434

Merged
merged 4 commits into from
Feb 23, 2019
Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Nov 6, 2018

In 3.11, oc version communicates with endpoints on joint apiserver process. Those endpoints are going away and because of API aggregation, the idea that a particular kube-apiserver maps to a particular openshift-apiserver is no longer valid. This fixes the oc version command to exactly match the upstream behavior.

/assign @soltysh @juanvallejo
/cc @sttts @jhadvig

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 6, 2018
@sttts
Copy link
Contributor

sttts commented Nov 6, 2018

"exactly match the upstream behavior." means that we see 1.11? Or that we see 3.11?

@deads2k
Copy link
Contributor Author

deads2k commented Nov 6, 2018

"exactly match the upstream behavior." means that we see 1.11? Or that we see 3.11?

exactly except I allow for injecting a client version.

@sttts
Copy link
Contributor

sttts commented Nov 6, 2018

Sgtm.

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2018
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2018
@deads2k deads2k force-pushed the version-01 branch 2 times, most recently from 3841346 to 3a483f9 Compare November 6, 2018 21:31
@deads2k
Copy link
Contributor Author

deads2k commented Nov 8, 2018

/retest

1 similar comment
@deads2k
Copy link
Contributor Author

deads2k commented Nov 14, 2018

/retest

@soltysh
Copy link
Contributor

soltysh commented Nov 15, 2018

/hold
for the rebase to land

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 15, 2018
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 25, 2019
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 12, 2019
@deads2k deads2k removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 12, 2019
Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2019
@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Feb 18, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, juanvallejo, soltysh

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

@deads2k
Copy link
Contributor Author

deads2k commented Feb 18, 2019

/retest

1 similar comment
@deads2k
Copy link
Contributor Author

deads2k commented Feb 19, 2019

/retest

os::cmd::expect_success_and_text 'oc version' "kubernetes ${kube_git_regex}"
os::cmd::expect_success_and_text 'oc version' "features: Basic-Auth"
os::cmd::expect_success_and_text 'openshift version' "openshift ${os_git_regex}"
os::cmd::expect_success_and_text 'oc version' "Client Version: .*GitVersion${os_git_regex}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be:

os::cmd::expect_success_and_text 'oc version' "Client Version: .*GitVersion:\"${os_git_regex}"

notice the :\" between GitVersion and ${os_git_regex}.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2019
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2019
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2019
@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2019
@deads2k
Copy link
Contributor Author

deads2k commented Feb 20, 2019

/retest

1 similar comment
@soltysh
Copy link
Contributor

soltysh commented Feb 21, 2019

/retest

@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 21, 2019

@deads2k: The following tests failed for commit 8d0ae2a, say /retest to rerun them:

Test name Details Rerun command
ci/openshift-jenkins/cmd 3a483f9 link
ci/prow/e2e-aws-serial link /test e2e-aws-serial

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@deads2k
Copy link
Contributor Author

deads2k commented Feb 22, 2019

network

/retest

@soltysh
Copy link
Contributor

soltysh commented Feb 22, 2019

/retest

2 similar comments
@deads2k
Copy link
Contributor Author

deads2k commented Feb 22, 2019

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Feb 22, 2019

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Feb 23, 2019

serial is a known flake.

@deads2k deads2k merged commit adedf59 into openshift:master Feb 23, 2019
cben added a commit to cben/kubernetes-discovery-samples that referenced this pull request May 19, 2019
(Used "Red Hat-Managed" option, which is presently hidden for most
external users - it's partially, but not yet fully, what one will get
in OpenShift Dedicated 4.1.
May differ slightly from self-installed OCP?)

env DIR=openshift-4.1.0-rc.3 URL="https://api.cben-oapi.bexf.p1.openshiftapps.com:6443" WAIT_OKS="healthz readyz" tools/scrape.sh --insecure

- Notably /oapi is completely gone now!
  (openshift/origin#21782)

- TODO: /version/openshift no longer available
  (openshift/origin#21434)
  Probably need to scrape `oc get clusterversion` operator CR?
@cben cben mentioned this pull request May 24, 2019
9 tasks
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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants