Skip to content

Conversation

@smarterclayton
Copy link
Contributor

The OpenShift apiserver is being programmed by the image-registry operator
to have a new config value, but the apiserver being restarted is unnecessarily
disruptive during rolling restart today. Until graceful shutdown is added we
need to wait to start e2e until it's ready.

The OpenShift apiserver is being programmed by the image-registry operator
to have a new config value, but the apiserver being restarted is unnecessarily
disruptive during rolling restart today. Until graceful shutdown is added we
need to wait to start e2e until it's ready.
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 30, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

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

@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 30, 2018
@smarterclayton smarterclayton added the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2018
@openshift-merge-robot openshift-merge-robot merged commit 3b8e3ca into openshift:master Nov 30, 2018
@openshift-ci-robot
Copy link
Contributor

@smarterclayton: Updated the following 2 configmaps:

  • prow-job-cluster-launch-installer-e2e configmap using the following files:
    • key cluster-launch-installer-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
  • prow-job-cluster-launch-installer-src configmap using the following files:
    • key cluster-launch-installer-src.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-src.yaml
Details

In response to this:

The OpenShift apiserver is being programmed by the image-registry operator
to have a new config value, but the apiserver being restarted is unnecessarily
disruptive during rolling restart today. Until graceful shutdown is added we
need to wait to start e2e until it's ready.

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.

until oc get is -n openshift php 2>/dev/null; do
sleep 10
done
until [[ -n "$( oc get is -n openshift php --template '{{ .status.dockerImageRepository }}' 2>/dev/null )" ]]; do
Copy link
Member

Choose a reason for hiding this comment

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

Can you drop the earlier until oc get ... and just use this loop? If you need to eat an exit code, maybe:

until [[ -n "$( oc get is -n openshift php --template '{{ .status.dockerImageRepository }}' 2>/dev/null || true)" ]]; do

On the other hand, this code will hopefully not live long, so no need to spend lots of time polishing ;).

@smarterclayton
Copy link
Contributor Author

@sttts @deads2k when we figure out the non-graceful this can come out

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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants