-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rebased docker/distribution #5404
Conversation
this is post 1.1, right? |
Can you summarize the additional benefit we'd get by bumping levels? |
Hm, still a big change for the registry... |
What about removing |
We have a couple of places in Origin where we use the code.google package, we could replace those for start.
|
@smarterclayton This looks like a really big change to bring in now. Is the swift support worth it? |
Additionally, is it possible to upgrade the docker/distribution without the biggest issue (#3333) addressed? |
I'd be worried about pulling it in at this stage in the release unless it is 100% required. I'd prefer we hang on to it for a 3.1.1 or 3.1.2 but I'll defer to @smarterclayton |
Will do.
Current pruning code will only be using a bit different api calls exported with still unmerged PR#1050. |
I don't think this should be merged until post 3.1. I also don't think this should be merged until upstream 1050 is merged. We don't want to risk deviating from what ultimately goes in upstream. Also, I'm seeing a proposed restructuring of some of the top level interfaces (distribution/distribution#1105). It might be worth getting an ETA on when those will land so we don't have to change things twice (once now, once after that lands). |
Yeah, that upstream restructuring PR would really breaks our API pruning PR into pieces. It'd be worth to get it upstream first. |
@miminar can you find out the status of 1105? Do they have an ETA? |
If we don't do this for 3.1 it is must have (as in, top priority) for On Tue, Oct 27, 2015 at 10:34 AM, Andy Goldstein [email protected]
|
dc0cce0
to
a25d738
Compare
Their ETA is 1.10, which is not yet in their roadmap but based on their 2 months release cycle it could be the end of December. And luckily, according to today's irc discussion, they I'd like to get 1050 in before 1105. |
a25d738
to
8f9f41c
Compare
Rebased to Reenabled liveness probe (issue #5900). I'd like to add registry's readiness probe once this is in. |
8f9f41c
to
0446f62
Compare
I'd appreciate if the two commits regarding uuid package changes has those package names in it. |
That last commit (regarding changes in OpenShift) is a bit lengthy, just by looking into the description. Could you split it into logical parts from the description? |
[test] |
0446f62
to
e3a4cfa
Compare
The error from tests proves my argument about not updated
|
Rebased to
fixed.
yes, updated. Thanks for pointing that out. |
e3a4cfa
to
075416c
Compare
Sorry, this slipped by me yesterday. It's been a bit of a crazy morning at home so far, so once I've finished eating, I'll take a look. |
Obsoleted by: github.com/pborman/uuid Signed-off-by: Michal Minar <[email protected]>
Use this environment variable as a fallback for missing config argument. Unset it to avoid a warning during config file parsing. Signed-off-by: Michal Minar <[email protected]>
Repository middleware now implements ManifestService. Enable delete in registry's configuration file. Signed-off-by: Michal Minar <[email protected]>
There are two endpoints for health checks implemented by upstream code: - / - no auth required - /v2/ - requires authentication Also based on upstream change, add a panic handler. Signed-off-by: Michal Minar <[email protected]>
Configure logging the way, upstream does it. Propagate context where the logging is needed. Signed-off-by: Michal Minar <[email protected]>
`REGISTRY_URL` is used by our middleware code to prefix image names in the registry. It's unknown to registry's configuration parser which tries to match it against a config option. Its failed attempt results in a warning: level=warning msg="Ignoring unrecognized environment variable REGISTRY_URL" This patch renames it to `DOCKER_REGISTRY_URL` and thus prevents the warning. Signed-off-by: Michal Minar <[email protected]>
Repository components 1 character long allowed. Use new docker/distribution/registry/api/errcode package. Signed-off-by: Michal Minar <[email protected]>
Reverts 12f4a35 Signed-off-by: Michal Minar <[email protected]>
Upstream registry allows for soft deletion of layers and manifests with routes: - `/v2/<name>/blobs/<digest>` - `/v2/<name>/manifests/<digest` which make 2 out of our 3 admin routes obsolete. This patch removes following routes: - `/admin/<name>/layers/<digest>` - `/admin/<name>/manifests/<digest>` Signed-off-by: Michal Minar <[email protected]>
During a run of prune images, history of a tag may get emptied. When an image with the same tag is re-pushed, the operation will fail because the history list is not expected to be empty. This patch checks the history list for non-emptiness before returning a valid tag event and ensures that tag is deleted from ImageStream's status.tags when the last item has been removed from its history during a prune. Signed-off-by: Michal Minar <[email protected]>
3a6035d
to
0a574c7
Compare
Flake #6339. re-[test] |
Evaluated for origin test up to 0a574c7 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/7878/) |
I believe all the issues raised have been addressed. Is there anything else? |
I got pulled away and didn't thoroughly review all the commits. If you On Thursday, December 17, 2015, Michal Minar [email protected]
|
[merge] |
I'm gonna regret it, but yay! ;) |
flake #6065 [merge] |
I think it's a flake from #6259. [merge] |
Evaluated for origin merge up to 0a574c7 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/7878/) (Image: devenv-rhel7_2988) |
|
Merged by openshift-bot
Resolves #4339
Resolves #4672
Partially addresses #5900 (this PR just reenables liveness probe).
Benefits:
Notable features by Docker: