|
|
TASK [common : Ensure fluentd image is present for label check] **************************************************
: r& ^8 d5 v* ?fatal: [localhost]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/local/lib/python3.6/site-packages/requests/models.py\", line 960, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.42/images/create?tag=xena&fromImage=quay.io%2Fkolla%2Fcentos-source-fluentd\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_xn66sz9v/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 1271, in main\\n File \"/tmp/ansible_kolla_docker_payload_xn66sz9v/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 1121, in ensure_image\\n File \"/tmp/ansible_kolla_docker_payload_xn66sz9v/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 697, in pull_image\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/image.py\", line 430, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/local/lib/python3.6/site-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\ndocker.errors.APIError: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=xena&fromImage=quay.io%2Fkolla%2Fcentos-source-fluentd: Internal Server Error (\"unauthorized: access to the requested resource is not authorized\")\\n'"}
+ d0 f7 h c/ M' y3 H$ _- M: g; ~! N' z _! D3 l/ a" A! j3 ]
PLAY RECAP ******************************************************************************************************** ~9 F' z0 v: D3 M, ?7 H; d c; Y
localhost : ok=6 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
0 _4 X! j! R0 b% c) W/ r2 Q/ k
5 F% p$ a0 w* G; u5 j/ ~* j, N
) F5 s5 b: y0 U X% y4 _! A2 s* S2 h+ G( k5 V- u4 U
修改vim /etc/kolla/globals.yml
6 Q# `! ]" h. i5 X1 @7 g& c* E' V" G% d
# Valid options are [ binary, source ]
! s9 K& F$ n) R( W4 o9 y. l" ], i$ `+ s' z% b3 b3 a& L @0 e
把kolla_install_type: "source"改成; r# o6 v- J% e0 i- R2 ~
kolla_install_type: "binary"! J3 d# w3 t' [4 l5 y
" D' u8 B M& p# ~
2 ^7 l% |. @- q3 M9 ~2 y% R重新启动服务
' T. Z# _8 A' C8 j1 ^6 d: t2 A* M9 H* b
& i3 k3 g3 N% h8 }5 A' f/ P
' B/ i. D u$ i |
|