책질문 2-iaas구축 운영가이드] kolla-ansible -i /etc/kolla/multinode prechecks fa…
페이지 정보
작성자 woongbig 작성일 22-02-24 14:02 조회 6,807 댓글 2본문
위 체크시 아래 내용의 에러가 발생되는데 해당 내용 해결 방법좀 알수있을까요?
(kolla) [dwkim@controller kolla]$ kolla-ansible -i /etc/kolla/multinode prechecks
TASK [prechecks : Checking if CentOS is Stream] ********************************************************************************
fatal: [storage]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.029005", "end": "2022-02-24 13:55:22.044493", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.015488", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
fatal: [network]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.007456", "end": "2022-02-24 13:55:22.043064", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.035608", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
fatal: [compute2]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.031684", "end": "2022-02-24 13:55:22.081991", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.050307", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
fatal: [compute1]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.003390", "end": "2022-02-24 13:55:22.081076", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.077686", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
fatal: [controller]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.006130", "end": "2022-02-24 13:55:22.105603", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.099473", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["grep", "-q", "Stream", "/etc/os-release"], "delta": "0:00:00.003672", "end": "2022-02-24 13:55:22.137797", "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 13:55:22.134125", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************************************************************
compute1 : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
compute2 : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
controller : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
localhost : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
network : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
storage : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
Command failed ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=precheck /home/dwkim/kolla/share/kolla-ansible/ansible/site.yml --inventory /etc/kolla/multinode
* 아래는 무시하고 deploy했을때 오류입니다.
(kolla) [dwkim@controller kolla]$ kolla-ansible -i /etc/kolla/multinode deploy
TASK [openvswitch : Ensuring OVS bridge is properly setup] *********************************************************************
skipping: [compute1] => (item=['br-ex', 'eth1'])
skipping: [compute2] => (item=['br-ex', 'eth1'])
failed: [network] (item=['br-ex', 'eth1']) => {"ansible_loop_var": "item", "changed": false, "cmd": ["docker", "exec", "openvswitch_db", "/usr/local/bin/kolla_ensure_openvswitch_configured", "br-ex", "eth1"], "delta": "0:00:00.225639", "end": "2022-02-24 15:22:41.472376", "item": ["br-ex", "eth1"], "msg": "non-zero return code", "rc": 1, "start": "2022-02-24 15:22:41.246737", "stderr": "Device \"eth1\" does not exist.", "stderr_lines": ["Device \"eth1\" does not exist."], "stdout": "", "stdout_lines": []}
[WARNING]: Could not match supplied host pattern, ignoring: enable_openvswitch_True_enable_ovs_dpdk_True
PLAY RECAP *********************************************************************************************************************
compute1 : ok=58 changed=2 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0
compute2 : ok=52 changed=2 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0
controller : ok=216 changed=15 unreachable=0 failed=0 skipped=146 rescued=0 ignored=0
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
network : ok=54 changed=1 unreachable=0 failed=1 skipped=41 rescued=0 ignored=0
storage : ok=30 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
Command failed ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=deploy /home/dwkim/kolla/share/kolla-ansible/ansible/site.yml --inventory /etc/kolla/multinode
(kolla) [dwkim@controller kolla]$
웹접속하면 503 server unavailable 오류가 납니다 ㅠ
- 이전글 책질문 3-iaas구축 운영가이드] kolla-ansible -i /etc/kolla/multinode prechecks 시 오류
- 다음글 책질문] iaas구축가이드 책 따라 하다가 오류가 있어서요.
댓글목록 2
woongbig님의 댓글
woongbig 작성일답변 감사합니다. stream 버전으로 업데이트 후에 해당 에러는 발생하지 않습니다.
kwlee2님의 댓글
kwlee2 작성일/etc/os-release
해당 파일의 내용이 어떻게 되어있나요? CentOS Stream 버전이 아니어서 발생하는 문제 같습니다.