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

Verify CRD's condition to ensure it's registered with k8s API #553

Closed

Conversation

dinhxuanvu
Copy link
Member

OLM needs to verify CRD's condition to make sure it is registered
with k8s API during CSV control loop before installing operator.
This verification will help to avoid errors related to the
unavailability of an API when installing an operator via OLM.

Jira: https://jira.coreos.com/browse/ALM-775

Signed-off-by: Vu Dinh vdinh@redhat.com

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 7, 2018
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 7, 2018
@ecordell
Copy link
Member

ecordell commented Nov 7, 2018

/approve

looks good! just need some tests for this.

@ecordell ecordell closed this Nov 7, 2018
@ecordell ecordell reopened this Nov 7, 2018
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ecordell

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 7, 2018
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 12, 2018
test/e2e/csv_e2e_test.go Outdated Show resolved Hide resolved
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 12, 2018
@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 5 times, most recently from 2147ca1 to aa11b8d Compare November 13, 2018 21:22
@dinhxuanvu dinhxuanvu changed the title [WIP] Verify CRD's condition to ensure it's registered with k8s API Verify CRD's condition to ensure it's registered with k8s API Nov 13, 2018
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 13, 2018
@dinhxuanvu dinhxuanvu closed this Nov 13, 2018
@dinhxuanvu dinhxuanvu reopened this Nov 13, 2018
@dinhxuanvu dinhxuanvu closed this Nov 14, 2018
@dinhxuanvu dinhxuanvu reopened this Nov 14, 2018
@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 3 times, most recently from 6e6c421 to 6036829 Compare November 14, 2018 06:27
@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 3 times, most recently from fc4ff15 to 27384a6 Compare November 20, 2018 18:20
@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 2 times, most recently from 51174ae to 48c15c1 Compare November 26, 2018 16:48
@dinhxuanvu
Copy link
Member Author

/test e2e-aws

@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 3 times, most recently from f0d4823 to 12476aa Compare November 27, 2018 17:13
@dinhxuanvu
Copy link
Member Author

/test unit

@dinhxuanvu dinhxuanvu closed this Nov 28, 2018
@dinhxuanvu dinhxuanvu reopened this Nov 28, 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 Dec 3, 2018
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 3, 2018
@dinhxuanvu dinhxuanvu force-pushed the crd-ready-check branch 3 times, most recently from 458bc85 to 917c872 Compare December 3, 2018 16:39
@ecordell
Copy link
Member

ecordell commented Dec 5, 2018

/retest

@ecordell
Copy link
Member

ecordell commented Dec 5, 2018

@dinhxuanvu I think you need to rebase, but then this PR should be good to go

@jpeeler
Copy link

jpeeler commented Dec 10, 2018

/retest

OLM needs to verify CRD's condition to make sure it is registered
with k8s API during CSV control loop before installing operator.
This verification will help to avoid errors related to the
unavailability of an API when installing an operator via OLM.

Jira: https://jira.coreos.com/browse/ALM-775

Signed-off-by: Vu Dinh <vdinh@redhat.com>
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Dec 10, 2018

@dinhxuanvu: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/unit a75c00f link /test unit

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.

@jpeeler
Copy link

jpeeler commented Dec 10, 2018

Since the PR from my branch is all green, I'm closing this one.

@jpeeler jpeeler closed this Dec 10, 2018
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. 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