Skip to content

How to be safe with multiple registry replicas on NFS - #1174

Merged
bfallonf merged 3 commits into
openshift:masterfrom
miminar:nfs-registry-storage
Nov 17, 2015
Merged

bfallonf merged 3 commits into
openshift:masterfrom
miminar:nfs-registry-storage

Conversation

@miminar

@miminar miminar commented Nov 10, 2015

Copy link
Copy Markdown

Documents a work-around for #5761.
Based on this comment.

Needs to be removed once issue #5795
has been resolved.

@miminar

miminar commented Nov 10, 2015

Copy link
Copy Markdown
Author

@pweil-, @ncdc is this sufficient?

@pweil-

pweil- commented Nov 10, 2015

Copy link
Copy Markdown

@miminar I think it might help to call this out in it's own Known Issues section so that we get a TOC link.

@smarterclayton FYI, adding known issues here in addition to the release notes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'd replace from "Due to..." to the end of the paragraph with something like "Factors such as NFS client side caching, network latency, and layer size can all contribute to potential errors that might occur when pushing an image using the default round-robin load balancing configuration. One possible workaround is to set the docker-registry service's sessionAffinity to ClientIP:"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Much better :). I'll do so.

Moved NFS issue description there.

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

miminar commented Nov 10, 2015

Copy link
Copy Markdown
Author

Any better now?

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/to change/changing/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

add "the" in front of docker-registry

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks, addressed.

Signed-off-by: Michal Minar <[email protected]>
@miminar miminar mentioned this pull request Nov 11, 2015
@adellape

Copy link
Copy Markdown
Contributor

@miminar Is this OK to merge now, to be included in the OSE 3.1 docs?

@adellape adellape added this to the OSE 3.1 milestone Nov 13, 2015
@pweil-

pweil- commented Nov 13, 2015

Copy link
Copy Markdown

@miminar do we want to include info about your actimeout testing, possibly?

@bfallonf

Copy link
Copy Markdown

@miminar The workaround stuff mentioned in this PR is mentioned in the rel notes ( #1186 ) , but as it's not merged here yet, I'm wondering if it might be a better idea to get the workaround in the rel notes, then we can get this PR merged? Depends on if this PR is ready to merge, though.

I'll have to make a decision by tomorrow, so please let me know ASAP.

@miminar

miminar commented Nov 16, 2015

Copy link
Copy Markdown
Author

@pweil- Unfortunately, kubernetes doesn't allow us to specify NFS client mount options. Thus to use this option, admin would have to specify the mount in /etc/fstab on all the nodes and use host mounts in containers, which is discouraged. I'll ask storage guys for configuration possibilities. Using just this work-around, we get close to 100% success rate.

@bfallonf, @adellape I consider this ready.

@bfallonf

Copy link
Copy Markdown

@miminar Groovy. Thanks for that. I'll merge this then get the Release Notes completed. Thanks!

bfallonf pushed a commit that referenced this pull request Nov 17, 2015
How to be safe with multiple registry replicas on NFS
@bfallonf
bfallonf merged commit 930daf5 into openshift:master Nov 17, 2015
@miminar
miminar deleted the nfs-registry-storage branch August 5, 2016 14:46
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