책질문] iaas구축가이드 책 따라 하다가 오류가 있어서요. > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

책질문] iaas구축가이드 책 따라 하다가 오류가 있어서요.

페이지 정보

profile_image
작성자 woongbig
댓글 3건 조회 7,173회 작성일 22-02-24 10:25

본문

안녕하세요.

책보고 따라하는데, 잘안되서 문의드립니다.

혹시 메시지 뭐가 문제일까요?

 

(kolla) [dwkim@controller kolla]$ kolla-ansible -i /etc/kolla/multinode bootstrap-servers

Bootstrapping servers : ansible-playbook -e @/etc/kolla/globals.yml  -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla  -e kolla_action=bootstrap-servers /home/dwkim/kolla/share/kolla-ansible/ansible/kolla-host.yml  --inventory /etc/kolla/multinode

 

~생략

 

TASK [baremetal : Install deltarpm packages] ***********************************************************************************

fatal: [network]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

fatal: [compute2]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

fatal: [storage]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

fatal: [compute1]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

fatal: [controller]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}


PLAY RECAP *********************************************************************************************************************

compute1                   : ok=17   changed=2    unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

compute2                   : ok=17   changed=2    unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

controller                 : ok=17   changed=3    unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

network                    : ok=17   changed=2    unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

storage                    : ok=17   changed=2    unreachable=0    failed=1    skipped=10   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=bootstrap-servers /home/dwkim/kolla/share/kolla-ansible/ansible/kolla-host.yml  --inventory /etc/kolla/multinode

(kolla) [dwkim@controller kolla]$ 


 

 

 

* 아래는 deply시 에러 내용입니다.

 

TASK [mariadb : Check MariaDB service port liveness] **************************************************************************************************************************

fatal: [controller]: FAILED! => {"changed": false, "elapsed": 10, "msg": "Timeout when waiting for search string MariaDB in 192.168.55.250:3306"}

...ignoring



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.225668", "end": "2022-02-23 20:37:15.409394", "item": ["br-ex", "eth1"], "msg": "non-zero return code", "rc": 1, "start": "2022-02-23 20:37:15.183726", "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


 

 

댓글목록

profile_image

kwlee2님의 댓글

kwlee2 작성일

repository 설정이 안되어 있어 발생하는 오류 같습니다.

profile_image

woongbig님의 댓글

woongbig 작성일

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
위 내용 추가후 됐습니다.

profile_image

woongbig님의 댓글

woongbig 작성일

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
(kolla) [dwkim@controller kolla]$


혹시 위 내용의 오류좀 알수 있을까요?

회원로그인

회원가입

사이트 정보

회사명 : (주)리눅스데이타시스템
대표이사 : 정정모
본사 : 강남구 봉은사로 114길 40 홍선빌딩 2층
- tel : 02-6207-1160
대전지사 : 유성구 노은로174 도원프라자 5층
- tel : 042-331-1161

접속자집계

오늘
1,703
어제
2,256
최대
3,935
전체
1,130,206
Copyright © www.linuxdata.org All rights reserved.