Skip to content

UPSTREAM: docker/distribution: <carry>: fixed a push to scaled registry on NFS - #5749

Closed
miminar wants to merge 1 commit into
openshift:masterfrom
miminar:fixed-push-to-scaled-registry-with-nfs
Closed

miminar wants to merge 1 commit into
openshift:masterfrom
miminar:fixed-push-to-scaled-registry-with-nfs

Conversation

@miminar

@miminar miminar commented Nov 6, 2015

Copy link
Copy Markdown

On NFS it takes some time for filesystem changes to propagate to other
instances. Several operations need to be retried until successful.

Resolves rhbz#1277356

…ry on NFS

On NFS it takes some time for filesystem changes to propagate to other
instances. Several operations need to be retried until successful.

Signed-off-by: Michal Minar <[email protected]>
@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

This also includes a backport of distribution/distribution#1149

/cc @pweil- @ncdc

@ncdc

ncdc commented Nov 6, 2015

Copy link
Copy Markdown
Contributor

I can't review until later, but I would like to avoid carry commits as much
as possible. Is this truly a carry, or can we submit things upstream?

On Friday, November 6, 2015, Stephen Milner [email protected]
wrote:

This also includes a backport of distribution/distribution#1149
distribution/distribution#1149

/cc @pweil- https://github.com/pweil- @ncdc https://github.com/ncdc

—
Reply to this email directly or view it on GitHub
#5749 (comment).

@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

@ncdc no issue. Part of this is a backport from a later version of the registry and part of it could be pushed upstream assuming the issue is there in later versions of the registry as well.

@ncdc

ncdc commented Nov 6, 2015

Copy link
Copy Markdown
Contributor

Cool. Also, the backport should be a separate commit whose comment includes
the upstream pull number.

On Friday, November 6, 2015, Stephen Milner [email protected]
wrote:

@ncdc https://github.com/ncdc no issue. Part of this is a backport from
a later version of the registry and part of it could be pushed upstream
assuming the issue is there in later versions of the registry as well.

—
Reply to this email directly or view it on GitHub
#5749 (comment).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Part of the backport of distribution/distribution#1149

@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

Travis golang 1.5 error looks like a timeout during testing. Both 1.4 builds ran fine. I think the timeout is a flake.

@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

cc @soltysh

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd move the retries check to the for loop, and leave here just the sleep. This should make the code easier to read.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nvmd, I see they are using this pattern everywhere.

@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

@soltysh / @Kargakis I'll have a superseding PR in shortly.

@ashcrow

ashcrow commented Nov 6, 2015

Copy link
Copy Markdown
Member

@soltysh / @Kargakis Updates at #5761

@0xmichalis

Copy link
Copy Markdown
Contributor

We definitely need to move the discussion upstream and get more feedback on this...

@miminar

miminar commented Nov 9, 2015

Copy link
Copy Markdown
Author

Superseded by #5761.

@miminar miminar closed this Nov 9, 2015
@miminar
miminar deleted the fixed-push-to-scaled-registry-with-nfs branch June 20, 2016 06:19
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