Zun

Comment 7 for bug 1811791

Revision history for this message
PrinzElvis (eno237) wrote :

I found this too in # tail -f /var/log/kolla/horizon/horizon.log

[Thu Jan 17 02:20:57.705242 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] error invoking apiclient
[Thu Jan 17 02:20:57.705264 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] Traceback (most recent call last):
[Thu Jan 17 02:20:57.705270 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
[Thu Jan 17 02:20:57.705275 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] data = function(self, request, *args, **kw)
[Thu Jan 17 02:20:57.705280 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun_ui/api/rest_api.py", line 39, in get
[Thu Jan 17 02:20:57.705285 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] return change_to_id(client.container_show(request, id).to_dict())
[Thu Jan 17 02:20:57.705290 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun_ui/api/client.py", line 195, in container_show
[Thu Jan 17 02:20:57.705294 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] return zunclient(request).containers.get(id)
[Thu Jan 17 02:20:57.705299 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/v1/containers.py", line 93, in get
[Thu Jan 17 02:20:57.705329 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] qparams=kwargs)[0]
[Thu Jan 17 02:20:57.705334 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/base.py", line 128, in _list
[Thu Jan 17 02:20:57.705339 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] resp, body = self.api.json_request('GET', url)
[Thu Jan 17 02:20:57.705345 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/httpclient.py", line 367, in json_request
[Thu Jan 17 02:20:57.705361 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] resp = self._http_request(url, method, **kwargs)
[Thu Jan 17 02:20:57.705366 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/httpclient.py", line 350, in _http_request
[Thu Jan 17 02:20:57.705370 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] error_json.get('debuginfo'), method, url)
[Thu Jan 17 02:20:57.705374 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:54784] NotFound: Container cloud-shell-admin-admin-Default-RegionOne could not be found. (HTTP 404) (Request-ID: req-336ee267-971d-4618-b716-4806dbe11bf6)
[Thu Jan 17 02:20:58.852169 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] error invoking apiclient
[Thu Jan 17 02:20:58.852192 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] Traceback (most recent call last):
[Thu Jan 17 02:20:58.852196 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
[Thu Jan 17 02:20:58.852200 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] data = function(self, request, *args, **kw)
[Thu Jan 17 02:20:58.852203 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun_ui/api/rest_api.py", line 144, in post
[Thu Jan 17 02:20:58.852206 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] new_container = client.container_create(request, **request.DATA)
[Thu Jan 17 02:20:58.852209 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun_ui/api/client.py", line 152, in container_create
[Thu Jan 17 02:20:58.852212 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] response = zunclient(request).containers.run(**args)
[Thu Jan 17 02:20:58.852215 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/v1/containers.py", line 178, in run
[Thu Jan 17 02:20:58.852218 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] return self._create(self._path() + '?run=true', kwargs)
[Thu Jan 17 02:20:58.852221 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/base.py", line 52, in _create
[Thu Jan 17 02:20:58.852224 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] resp, body = self.api.json_request('POST', url, body=body)
[Thu Jan 17 02:20:58.852227 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/httpclient.py", line 367, in json_request
[Thu Jan 17 02:20:58.852230 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] resp = self._http_request(url, method, **kwargs)
[Thu Jan 17 02:20:58.852233 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] File "/var/lib/kolla/venv/lib/python2.7/site-packages/zunclient/common/httpclient.py", line 350, in _http_request
[Thu Jan 17 02:20:58.852235 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] error_json.get('debuginfo'), method, url)
[Thu Jan 17 02:20:58.852239 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] BadRequest: Invalid input for field 'command'.Value: '/bin/bash'. u'/bin/bash' is not of type 'array', 'null'
[Thu Jan 17 02:20:58.852242 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890]
[Thu Jan 17 02:20:58.852245 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] Failed validating 'type' in schema['properties']['command']:
[Thu Jan 17 02:20:58.852254 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] {'type': ['array', 'null']}
[Thu Jan 17 02:20:58.852259 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890]
[Thu Jan 17 02:20:58.852263 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] On instance:
[Thu Jan 17 02:20:58.852267 2019] [wsgi:error] [pid 23:tid 140667541022464] [remote 10.37.4.1:54890] u'/bin/bash' (HTTP 400) (Request-ID: req-1b1afa10-6ffb-49a7-8f75-4db550563df9)
[Thu Jan 17 02:27:15.946150 2019] [wsgi:error] [pid 20:tid 140667541022464] [remote 10.37.4.1:44784] error invoking apiclient
[Thu Jan