marvel-nccr / ansible-role-aiida

An ansible role that installs and configures AiiDA on Ubuntu.
Other
2 stars 5 forks source link

bump aiida-core to 1.6.5 #73

Closed ltalirz closed 1 year ago

ltalirz commented 2 years ago

and python to 3.8

ltalirz commented 2 years ago

@chrisjsewell rabbitmq doesn't want to start on centos. weird...

chrisjsewell commented 2 years ago

CENTOS is dead anyway: https://thenewstack.io/red-hat-deprecates-linux-centos-in-favor-of-a-streaming-edition/, so I wouldn't be against entirely removing that test

ltalirz commented 2 years ago

Yeah... @espenfl open to switching to rocky linux? ;-)

In the other OSs it's down to idempotence issues

2021-09-24T08:42:38.7184206Z ERROR: Idempotence test failed because of the following tasks:
2021-09-24T08:42:38.7186701Z * [instance] => marvel-nccr.python : create virtual environment: ${HOME}/.virtualenvs/aiida
2021-09-24T08:42:38.7188561Z * [instance] => marvel-nccr.aiida : Install aiida-core + plugins into venv
2021-09-24T08:42:38.7190286Z * [instance] => marvel-nccr.aiida : Install aiida-core from GitHub (editable)
2021-09-24T08:42:38.7192012Z * [instance] => marvel-nccr.aiida : Install aiida-core from GitHub (editable)
chrisjsewell commented 2 years ago

Yeah... @espenfl open to switching to rocky linux? ;-)

Stupid Linux and their multiple distros (Linus hates it: https://youtu.be/Pzl1B7nB9Kc) Yeh thats by the original centos creator isn't it. Well there is a docker image for it: https://github.com/geerlingguy/docker-rockylinux8-ansible, so shouldn't be too hard to add

ltalirz commented 2 years ago

@chrisjsewell the idempotency issue remains. do you have an idea what might be causing it?

Somehow, already when running the create virtual environment: ${HOME}/.virtualenvs/aiida task the second time this must result in changes. It don't think it's the aiida_install_packages but I also don't quite know what else it could be...

chrisjsewell commented 2 years ago

Yeh maybe a change in ipykernel version? Can you get debug info of e.g. pip freeze before/after installing aiida-core ?

ltalirz commented 2 years ago

the version of the ipykernel dependency in the aiida_install_packages is not locked down, so I wonder a bit how this could be an issue...

I think this would be best debugged by trying it locally; I'll see whether I get round to it

ltalirz commented 2 years ago

I'm not able to get the vbox image to start on my MacOs; the error is the one here: https://stackoverflow.com/questions/64852413/big-sur-macos-vagrant-issue

Already tried updating to latest vagrant + vbox version + playing around with privacy settings. Will need to stop here for the moment

ltalirz commented 2 years ago

@chrisjsewell would you be able at having a quick shot to run this locally (i.e. building QM barebones + run the AiiDA role twice?)?

ltalirz commented 1 year ago

Closing this outdated PR