Skip to content

Retry ISM save upon conflicting IS error - #5301

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
soltysh:ism_retries
Oct 24, 2015
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
soltysh:ism_retries

Conversation

@soltysh

@soltysh soltysh commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

@ncdc this addressed the problem I'm having in #4853 regarding creating IS and immediately posting ISM right after that, which might conflict with import logic. ptal.

@soltysh

soltysh commented Oct 21, 2015

Copy link
Copy Markdown
Contributor Author

@miminar this is solution to the problem we've talked earlier today.

@ncdc

ncdc commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

Also cc @smarterclayton

@smarterclayton

Copy link
Copy Markdown
Contributor

I'm going to put a real retry function in upstream for use later.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

s/reched/reached/

@soltysh

soltysh commented Oct 22, 2015

Copy link
Copy Markdown
Contributor Author

@miminar addressed one of your comment, the other was replaced with @smarterclayton upstream PR. ptal once again

@miminar

miminar commented Oct 22, 2015

Copy link
Copy Markdown

LGTM

@openshift-bot openshift-bot removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Oct 22, 2015
@soltysh

soltysh commented Oct 23, 2015

Copy link
Copy Markdown
Contributor Author

Rebased. @smarterclayton I don't see any movement in the upstream PR, is it going to be as is, or are there some changes expected there? Iow. is it ok to merge this?

@smarterclayton

Copy link
Copy Markdown
Contributor

Actually, use DefaultRetry, not DefaultBackoff

@soltysh

soltysh commented Oct 23, 2015

Copy link
Copy Markdown
Contributor Author

@smarterclayton done

@smarterclayton

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3756/) (Image: devenv-rhel7_2543)

@openshift-bot

Copy link
Copy Markdown
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot

Copy link
Copy Markdown
Contributor

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to fae75fd

@soltysh

soltysh commented Oct 23, 2015

Copy link
Copy Markdown
Contributor Author

Either I'm very lucky with this error in tests or else...

Error pushing to registry: Put http://172.30.63.40:5000/v2/cache/ruby-20-centos7/blobs/uploads/362468b4-4b8c-4c9a-ae14-5c1560aade6a?_state=QDenasV8m_qM3UZ9NFKczjCWdHZ0hlEYeXoA-aU31Jp7Ik5hbWUiOiJjYWNoZS9ydWJ5LTIwLWNlbnRvczciLCJVVUlEIjoiMzYyNDY4YjQtNGI4Yy00YzlhLWFlMTQtNWMxNTYwYWFkZTZhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE1LTEwLTIzVDE3OjU4OjM2LjcxMzA3NDA1NFoifQ%3D%3D&digest=sha256%3Afda2ed1242ded4612516a67d6405b847e84cb9eeb98a2623d24f7bcd8d66c171: dial tcp 172.30.63.40:5000: network is unreachable

Let me retry, if that fails again, I'll propose returning to DefaultBackof.
[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to fae75fd

openshift-bot pushed a commit that referenced this pull request Oct 24, 2015
@openshift-bot
openshift-bot merged commit ef91fc8 into openshift:master Oct 24, 2015
@soltysh
soltysh deleted the ism_retries branch October 27, 2015 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants