plasmabio / plasma

Plasma is an e-learning Jupyter-based platform for data analysis
https://docs.plasmabio.org
BSD 3-Clause "New" or "Revised" License
42 stars 12 forks source link

Ansible hangs at TASK [Run the TLJH installer] #215

Open drejom opened 1 year ago

drejom commented 1 year ago

Trying a fresh install, the ansible script hangs when installing TLJH:

ansible-playbook site.yml -i hosts

PLAY [all] ************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************************************************
ok: [192.168.1.92]

TASK [Install required system packages] *******************************************************************************************************************************************************************
changed: [192.168.1.92] => (item=apt-transport-https)
ok: [192.168.1.92] => (item=ca-certificates)
ok: [192.168.1.92] => (item=curl)
ok: [192.168.1.92] => (item=software-properties-common)
changed: [192.168.1.92] => (item=python3-pip)
changed: [192.168.1.92] => (item=virtualenv)
ok: [192.168.1.92] => (item=python3-setuptools)

TASK [Add Docker GPG apt Key] *****************************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Add Docker Repository] ******************************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Update apt and install docker-ce] *******************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Install Docker Module for Python] *******************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Enable the journald logging driver] *****************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Reload Docker] **************************************************************************************************************************************************************************************
changed: [192.168.1.92]

PLAY [all] ************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************************************************
ok: [192.168.1.92]

TASK [Install extra system packages] **********************************************************************************************************************************************************************
changed: [192.168.1.92] => (item=jq)
changed: [192.168.1.92] => (item=tree)

TASK [Install ctop] ***************************************************************************************************************************************************************************************
changed: [192.168.1.92]

PLAY [all] ************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************************************************
ok: [192.168.1.92]

TASK [Install required system packages] *******************************************************************************************************************************************************************
ok: [192.168.1.92] => (item=curl)
ok: [192.168.1.92] => (item=python3)
ok: [192.168.1.92] => (item=python3-dev)
ok: [192.168.1.92] => (item=python3-pip)

TASK [Download the TLJH installer] ************************************************************************************************************************************************************************
changed: [192.168.1.92]

TASK [Check if the tljh-plasma is already installed] ******************************************************************************************************************************************************
ok: [192.168.1.92]

TASK [Upgrade the tljh-plasma plugin first if it is already installed] ************************************************************************************************************************************
skipping: [192.168.1.92]

TASK [Run the TLJH installer] *****************************************************************************************************************************************************************************
^C [ERROR]: User interrupted execution
2023-08-24 01:37:21,439 Checking if TLJH is already installed...
2023-08-24 01:37:21,439 Setting up hub environment
installer.log (END)

I'm guessing this is an issue since the release of jupyterhub 4.0?

drejom commented 1 year ago

Initially I suspected a conflicting Docker installation, already present in the VM. Running

sudo apt remove containerd.io containerd

Fixed one error, but the script still hangs. Tried again on a vanilla Ubuntu 22.04 minimal server VM with the same outcome.

gs-scooter commented 5 months ago

@drejom - Were you ever able to get anywhere with this? I'm able to successfully install TLJH via Ansible onto a Packer / AWS AMI but having trouble with lab extensions.

drejom commented 5 months ago

no joy im afraid, I gave up on plasma :(