ENG000656:example-go aaronschlesinger$ git push deis master
The authenticity of host '[deis.micro-kube.local]:2222 ([172.17.8.100]:2222)' can't be established.
ECDSA key fingerprint is SHA256:0ZiwB2heubH7jTpArCHN6Mf009u6TtgDDS99ZwUg/KM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[deis.micro-kube.local]:2222,[172.17.8.100]:2222' (ECDSA) to the list of known hosts.
Counting objects: 75, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (40/40), done.
Writing objects: 100% (75/75), 18.20 KiB | 0 bytes/s, done.
Total 75 (delta 30), reused 75 (delta 30)
Added host ‘http://10.3.0.36:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://10.3.0.36:9000/git’. The requested bucket name is not available.
‘wicker-radiator.tar.gz’ -> ‘http://10.3.0.36:9000/git/home/wicker-radiator:git-5450cbcd/tar’
Total: 2.76 KB, Transferred: 2.76 KB, Speed: 820.28 KB/s
-----> stored tarfile in http://10.3.0.36:9000/git/home/wicker-radiator:git-5450cbcd/tar
-----> creating builder pod in namespace deis
pod "wicker-radiator-git-5450cbcd" created
Waiting for build to complete...
............................................................
Build complete.
-----> Launching...
2015/12/16 19:29:58 failed retrieving config from controller: <h1>Server Error (500)</h1>
To ssh://[email protected]:2222/wicker-radiator.git
* [new branch] master -> master
10.2.76.1 "POST /v2/hooks/build HTTP/1.1" 500 27 "deis-builder"
10.2.76.1 "GET /v2/ HTTP/1.1" 401 58 "Deis Client v2.0.0-dev"
10.2.76.1 "POST /v2/auth/register/ HTTP/1.1" 400 43 "Deis Client v2.0.0-dev"
10.2.76.1 "GET /v2/ HTTP/1.1" 401 58 "Deis Client v2.0.0-dev"
10.2.76.1 "POST /v2/auth/login/ HTTP/1.1" 200 52 "Deis Client v2.0.0-dev"
10.2.76.1 "POST /v2/keys/ HTTP/1.1" 201 983 "Deis Client v2.0.0-dev"
10.2.76.1 "POST /v2/keys/ HTTP/1.1" 400 41 "Deis Client v2.0.0-dev"
INFO wicker-radiator: config wicker-radiator-fe4aa59 updated
INFO wicker-radiator: release wicker-radiator-v1 created
INFO [wicker-radiator]: arschles created initial release
10.2.76.1 "POST /v2/apps/ HTTP/1.1" 201 208 "Deis Client v2.0.0-dev"
10.2.76.1 "POST /v2/hooks/push HTTP/1.1" 201 448 "curl/7.39.0"
10.2.76.1 "POST /v2/hooks/config HTTP/1.1" 200 203 "deis-builder"
INFO wicker-radiator: build wicker-radiator-630cd8a created
INFO wicker-radiator: release wicker-radiator-v2 created
INFO [wicker-radiator]: arschles deployed 5450cbc
INFO Pulling Docker image 10.3.0.185:5000/wicker-radiator:git-5450cbcd
INFO wicker-radiator: 500 Server Error: Internal Server Error ("invalid registry endpoint https://10.3.0.185:5000/v0/: unable to ping registry endpoint https://10.3.0.185:5000/v0/
v2 ping attempt failed with error: Get https://10.3.0.185:5000/v2/: tls: oversized record received with length 20527
v1 ping attempt failed with error: Get https://10.3.0.185:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 10.3.0.185:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/10.3.0.185:5000/ca.crt")
INFO [wicker-radiator]: 500 Server Error: Internal Server Error ("invalid registry endpoint https://10.3.0.185:5000/v0/: unable to ping registry endpoint https://10.3.0.185:5000/v0/
v2 ping attempt failed with error: Get https://10.3.0.185:5000/v2/: tls: oversized record received with length 20527
v1 ping attempt failed with error: Get https://10.3.0.185:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 10.3.0.185:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/10.3.0.185:5000/ca.crt")
INFO wicker-radiator: arschles scaled containers web=1
INFO [wicker-radiator]: arschles scaled containers web=1
DEBUG scale wicker-radiator_v2.web, img wicker-radiator:v2, params {u'num': 1, u'tags': {}, u'aname': u'wicker-radiator', u'version': u'v2', u'memory': {}, u'cpu': {}}, cmd "start web"
DEBUG create wicker-radiator_v2.web, img wicker-radiator:v2, params {u'version': u'v2', u'tags': {}, u'aname': u'wicker-radiator', u'num': 1, u'memory': {}, u'cpu': {}}, cmd "start web"
ERROR wicker-radiator: wicker-radiator_v2.web (scale): u'containerID'
ERROR [wicker-radiator]: wicker-radiator_v2.web (scale): u'containerID'
ERROR Internal Server Error: /v2/hooks/build
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/rest_framework/viewsets.py", line 85, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/rest_framework/views.py", line 407, in dispatch
response = self.handle_exception(exc)
File "/usr/lib/python2.7/site-packages/rest_framework/views.py", line 404, in dispatch
response = handler(request, *args, **kwargs)
File "/app/api/views.py", line 403, in create
super(BuildHookViewSet, self).create(request, *args, **kwargs)
File "/app/api/views.py", line 129, in create
return super(BaseDeisViewSet, self).create(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/rest_framework/mixins.py", line 21, in create
self.perform_create(serializer)
File "/app/api/viewsets.py", line 21, in perform_create
self.post_save(obj)
File "/app/api/views.py", line 410, in post_save
build.create(self.user)
File "/app/api/models.py", line 738, in create
self.app.deploy(user, new_release)
File "/app/api/models.py", line 466, in deploy
self._default_scale(user, release)
File "/app/api/models.py", line 510, in _default_scale
self.scale(user, structure)
File "/app/api/models.py", line 296, in scale
self._scale_containers(scale_types, to_remove)
File "/app/api/models.py", line 329, in _scale_containers
**kwargs
File "/app/scheduler/k8s.py", line 295, in scale
self.create(name, image, command, **kwargs)
File "/app/scheduler/k8s.py", line 406, in create
self._create_service(name, app_name, app_type, data)
File "/app/scheduler/k8s.py", line 436, in _create_service
container_id = actual_pod['status']['containerStatuses'][0]['containerID'].split("//")[1]
KeyError: u'containerID'
10.2.76.1 "POST /v2/hooks/build HTTP/1.1" 500 27 "deis-builder"
10.2.76.1 "POST /v2/hooks/push HTTP/1.1" 201 448 "curl/7.39.0"
10.2.76.1 "POST /v2/hooks/config HTTP/1.1" 200 203 "deis-builder"
INFO wicker-radiator: build wicker-radiator-52947c0 created
INFO wicker-radiator: release wicker-radiator-v3 created
INFO [wicker-radiator]: arschles deployed 6b2d12b
INFO Pulling Docker image 10.3.0.185:5000/wicker-radiator:git-6b2d12b8
INFO wicker-radiator: 500 Server Error: Internal Server Error ("invalid registry endpoint https://10.3.0.185:5000/v0/: unable to ping registry endpoint https://10.3.0.185:5000/v0/
v2 ping attempt failed with error: Get https://10.3.0.185:5000/v2/: tls: oversized record received with length 20527
v1 ping attempt failed with error: Get https://10.3.0.185:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 10.3.0.185:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/10.3.0.185:5000/ca.crt")
INFO [wicker-radiator]: 500 Server Error: Internal Server Error ("invalid registry endpoint https://10.3.0.185:5000/v0/: unable to ping registry endpoint https://10.3.0.185:5000/v0/
v2 ping attempt failed with error: Get https://10.3.0.185:5000/v2/: tls: oversized record received with length 20527
v1 ping attempt failed with error: Get https://10.3.0.185:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 10.3.0.185:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/10.3.0.185:5000/ca.crt")
DEBUG deploy wicker-radiator_v3.web, img wicker-radiator:v3, params {u'version': u'v3', u'tags': {}, u'aname': u'wicker-radiator', u'num': 0, u'memory': {}, u'cpu': {}}, cmd "start web"
INFO wicker-radiator: arschles scaled containers web=1
INFO [wicker-radiator]: arschles scaled containers web=1
10.2.76.1 "POST /v2/hooks/build HTTP/1.1" 200 65 "deis-builder"