- Deploy 2 VMs with RHEL7.
- Install docker v1.8.2-10.el7 on both.
- Choose a machine hosting upstream docker registry. Let's call it RegistryNode.
- Let's call the other Client.
- Remember the IP or hostname of the RegistryNode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mock Version: 1.2.13 | |
Mock Version: 1.2.13 | |
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/wt.spec'], timeout=172800uid=1000gid=425logger=<mockbuild.trace_decorator.getLog object at 0xb5e36d90>user='mockbuild'printOutput=Falseenv={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'}shell=FalsechrootPath='/var/lib/mock/f24-build-4436824-548328/root') | |
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/wt.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'} and shell False | |
Building target platforms: armv7hl | |
Building for target armv7hl | |
Wrote: /builddir/build/SRPMS/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: wt-3.3.5-rc2/src/web/base64.cpp | |
=================================================================== | |
--- wt-3.3.5-rc2.orig/src/web/base64.cpp | |
+++ wt-3.3.5-rc2/src/web/base64.cpp | |
@@ -18,24 +18,26 @@ namespace base64 | |
const char* to_table_end = | |
_to_table + sizeof(_to_table); | |
+ const char _o = (char)(-1); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exceeded quota: all-quota-set, | |
requested: openshift.io/imagesize=800, openshift.io/imagestreamsize=1200, | |
used: openshift.io/imagesize=0, openshift.io/imagestreamsize=0, | |
limited: openshift.io/imagesize=500", openshift.io/imagestreamsize=1k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 ✓ [15:57:55] root@rhel7-ose: openshift-images | |
$ docker pull hello-world | |
Using default tag: latest | |
Trying to pull repository registry.access.redhat.com/hello-world ... not found | |
Trying to pull repository docker.io/library/hello-world ... latest: Pulling from library/hello-world | |
b901d36b6f2f: Pull complete | |
0a6ba66e537a: Pull complete | |
Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7 | |
Status: Downloaded newer image for docker.io/hello-world:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.534742473+01:00" level=debug msg="POST /v1.21/images/create?fromImage=172.30.104.152%3A5000%2Ftmp%2Fmybase%3Alatest" | |
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.535771271+01:00" level=info msg="{Action=create, Username=root, LoginUID=0, PID=6887}" | |
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.536050140+01:00" level=debug msg="Trying to pull 172.30.104.152:5000/tmp/mybase from https://172.30.104.152:5000 v2" | |
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.537143549+01:00" level=warning msg="Error getting v2 registry: Get https://172.30.104.152:5000/v2/: tls: oversized record received with length 20527" | |
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.537163040+01:00" level=debug msg="Trying to pull 172.30.104.152:5000/tmp/mybase from http://172.30.104.152:5000 v2" | |
Mar 03 17:04:28 rhel7-ose.vm docker[1078]: time="2016-03-03T17:04:28.541676655+01:00" level= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM miminarnb.vm:5002/openshift3/ose-docker-registry:latest | |
RUN mkdir /dockerregistry || : | |
COPY dockerregistry /dockerregistry/dockerregistry | |
VOLUME /distribution | |
CMD [ "/bin/sh", "-c", "DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_SERVICE_HOST}:${DOCKER_REGISTRY_SERVICE_PORT} /dockerregistry/dockerregistry ${REGISTRY_CONFIGURATION_PATH}" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
const ( | |
// The supported type of image signature. | |
ImageSignatureTypeAtomic string = "atomic" | |
// Signature wasn't recognized or a check couldn't be performed for some reason. | |
SignatureStateUnknown SignatureState = "unknown" | |
// Signature didn't match particular image, given type or it couldn't be parsed. | |
SignatureStateUntrusted SignatureState = "untrusted" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time="2016-06-14T15:06:14.026887046Z" level=debug msg="Origin auth: checking for access to registry:catalog:*" go.version=go1.6 http.request.host=hub.10.2.2.2 http.request.id=4a86efce-a543-478b-ae87-7639a1fa9423 http.request.method=GET http.request.remoteaddr=10.2.2.1 http.request.uri="/v2/_catalog" http.request.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0" instance.id=1b2e8f60-9412-4f1e-ae2c-63e857c1e2dc | |
time="2016-06-14T15:06:14.027401558Z" level=error msg="error checking authorization: unsupported resource" go.version=go1.6 http.request.host=hub.10.2.2.2 http.request.id=4a86efce-a543-478b-ae87-7639a1fa9423 http.request.method=GET http.request.remoteaddr=10.2.2.1 http.request.uri="/v2/_catalog" http.request.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0" instance.id=1b2e8f60-9412-4f1e-ae2c-63e857c1e2dc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thank you for cooperation. Here's what I'd like to get/see: | |
1. exact version of docker-registry image being run | |
- the output of: oc describe dc/docker-registry | grep -i image | |
2. the output of curl on blob from inside of cluster: | |
1. inside a cluster, `oc login` with a user that can have a token |
OlderNewer