Sky Archive

트러블슈팅 & 디버깅

[Open Edx] Ubuntu ansible, open-edx installation error

Anchovy ʕ-᷅ᴥ-᷄ʔ 2022. 7. 28. 10:36

증상: linux에서 wget 명령어로 Open edX 설치 시 실패

...

TASK [mysql : Set default character sets and collations] ***********************
skipping: [localhost]

TASK [mysql : add the mysql signing key] ***************************************
fatal: [localhost]: FAILED! => {"changed": false, "id": "8C718D3B5072E1F5", "msg": "key does not seem to have been added"}

PLAY RECAP *********************************************************************
localhost                  : ok=57   changed=26   unreachable=0    failed=1    skipped=187  rescued=0    ignored=1


============================================================
Ansible failed!
------------------------------------------------------------

Decoded error:
== Unknown keys ======================
id: '8C718D3B5072E1F5'
== msg ===========================
key does not seem to have been added

============================================================
Installation failed!
------------------------------------------------------------
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
    Your log file is at /home/ubuntu/logs/install-20220727-042732.log
    Your environment:
        OPENEDX_RELEASE=open-release/koa.master
============================================================

 

해결 방법:

mysql GPG Key 만료, MYSQL_APT_KEY: "8C718D3B5072E1F5"를 "467B942D3A79BD29"로 변경

 

/var/tmp/configuration/playbooks/roles/mysql/defaults/main.yml

 

 

 

 

 

 

 

 

 

 

 

ref.

https://discuss.openedx.org/t/lilac-2-installation-failed-at-task-mysql-add-the-mysql-signing-key/6712

https://discuss.openedx.org/t/koa-2a-ansible-failed-task-mysql-add-the-mysql-signing-key/6977