Hello after preparing all VMs for a sandbox v2 install, I get error with python version 2.7 linux centos 7.8, what can I do tp solve this issue?
Hi @raycam
Let me ask someone from the DevOps team to look into this and guide you.
@syed.salman Please guide him on this issue.
Best Regards,
Team MOSIP
can you please provide the complete error and which version of mosip you are trying to deploy
Mosip-29263 sandbox v2
Hi @raycam
As I can see you have provided the version of MOSIP that you are trying to deploy but can you also share the complete log file for @syed.salman to look into it an understand the issue?
Best Regards,
Team MOSIP
2023-12-04 17:03:23,932 p=13484 u=mosipuser n=ansible | PLAY [all] ************************************************************************$
2023-12-04 17:03:23,971 p=13484 u=mosipuser n=ansible | TASK [Attempt to reach all configured hosts, failures means the host is not reachab$
2023-12-04 17:03:25,199 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:25,238 p=13484 u=mosipuser n=ansible | ok: [dmzworker.sb]
2023-12-04 17:03:25,302 p=13484 u=mosipuser n=ansible | ok: [mzworker1.sb]
2023-12-04 17:03:25,314 p=13484 u=mosipuser n=ansible | ok: [dmzmaster.sb]
2023-12-04 17:03:25,478 p=13484 u=mosipuser n=ansible | ok: [mzworker2.sb]
2023-12-04 17:03:26,311 p=13484 u=mosipuser n=ansible | ok: [mzworker3.sb]
2023-12-04 17:03:26,375 p=13484 u=mosipuser n=ansible | ok: [mzmaster.sb]
2023-12-04 17:03:26,381 p=13484 u=mosipuser n=ansible | PLAY [console] ********************************************************************$
2023-12-04 17:03:26,388 p=13484 u=mosipuser n=ansible | TASK [Gathering Facts] ************************************************************$
2023-12-04 17:03:28,203 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:28,225 p=13484 u=mosipuser n=ansible | TASK [Create tmp folder /home/mosipuser/mosip-infra/deployment/sandbox-v2/tmp] ****$
2023-12-04 17:03:28,781 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:28,805 p=13484 u=mosipuser n=ansible | TASK [Create logs folder /home/mosipuser/mosip-infra/deployment/sandbox-v2/tmp/logs$
2023-12-04 17:03:29,249 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:29,272 p=13484 u=mosipuser n=ansible | TASK [Create tmp yaml folder /home/mosipuser/mosip-infra/deployment/sandbox-v2/tmp/$
2023-12-04 17:03:29,717 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:29,724 p=13484 u=mosipuser n=ansible | PLAY [console] ********************************************************************$
2023-12-04 17:03:29,771 p=13484 u=mosipuser n=ansible | TASK [Gathering Facts] ************************************************************$
2023-12-04 17:03:30,609 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:30,627 p=13484 u=mosipuser n=ansible | TASK [packages/vim : Install vim] *************************************************$
2023-12-04 17:03:34,003 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:34,025 p=13484 u=mosipuser n=ansible | TASK [packages/pip : Install pip2] ************************************************$
2023-12-04 17:03:40,246 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:40,264 p=13484 u=mosipuser n=ansible | TASK [packages/python3 : Install python3] *****************************************$
2023-12-04 17:03:40,992 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:41,010 p=13484 u=mosipuser n=ansible | TASK [packages/pip3 : Install pip3] ***********************************************$
2023-12-04 17:03:47,680 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:47,697 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Add Docker yum repository] ********************************$
2023-12-04 17:03:48,451 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:48,469 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Install docker engine (RHEL/CentOS)] **********************$
2023-12-04 17:03:55,215 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:55,235 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Autostart service docker after reboot] ********************$
2023-12-04 17:03:56,211 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:56,229 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Run docker] ***********************************************$
2023-12-04 17:03:58,228 p=13484 u=mosipuser n=ansible | changed: [console.sb]
2023-12-04 17:03:58,248 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Copy daemon.json to /etc/docker] **************************$
2023-12-04 17:03:59,396 p=13484 u=mosipuser n=ansible | ok: [console.sb]
2023-12-04 17:03:59,417 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Run docker for daemon.json] *******************************$
2023-12-04 17:04:00,881 p=13484 u=mosipuser n=ansible | changed: [console.sb]
2023-12-04 17:04:00,901 p=13484 u=mosipuser n=ansible | TASK [packages/docker : Install docker py] ****************************************$
2023-12-04 17:04:02,452 p=13484 u=mosipuser n=ansible | fatal: [console.sb]: FAILED! => {“changed”: false, “cmd”: [“/bin/pip2”, “install”, $
2023-12-04 17:04:02,454 p=13484 u=mosipuser n=ansible | PLAY RECAP ************************************************************************$
Thanks @syed.salman will look into this
@raycam please point the Python interpreter to python3 and try again.
ansible_python_interpreter: /usr/bin/python3