Open chrisjsewell opened 2 years ago
cc @csadorf
perhaps this will be partly fixed with #57 (for rabbitmq), but no idea about the postgresql bug
As an extra question, should we not be upgrading from postgresql v10 at some point, given they will be dropping support in a few months: https://www.postgresql.org/support/versioning/? Is there anything specifically stopping this?
@chrisjsewell Thanks for reporting. I have not really maintained or used this particular image lately, @yakutovicha can you comment on this? Are you aware of any issues regarding the arm64 build?
Re upgrading to a higher postgresql version, this will be necessary and also done as part of the revised stack, however it does require a migration for existing environments. I have recommended to keep the old version for now to avoid making this a blocker for the support of AiiDA 2.x (see #44).
@chrisjsewell, thanks for reporting.
- The RabbitMQ version is too high
Does RabbitMQ not work? We had a discussion with @unkcpz and agreed to put the default available version on ubuntu and apply the necessary patch as described in aiida wiki. Until #57 is fixed, of course.
As an extra question, should we not be upgrading from postgresql v10 at some point, given they will be dropping support in a few months: https://www.postgresql.org/support/versioning/? Is there anything specifically stopping this?
Yes, I will prepare the migration scripts (see https://github.com/aiidateam/aiida-prerequisites/issues/41)
@yakutovicha can you comment on this? Are you aware of any issues regarding the arm64 build?
I am not aware of this particular issue. Does it manifest itself also for the 1.6.9 release of AiiDA-core (which is based on the same prerequisites container)? @chrisjsewell should I have a look or do you already work on this?
echo "consumer_timeout = 3600000" >> /etc/rabbitmq/rabbitmq.conf
. As mentioned by @chrisjsewell in aiida meeting, this warning can be suppressed by aiida config. @chrisjsewell Can you tell me how to do that explicitly? I'll open a PR to do that.
- Can you tell me how to do that explicitly?
from the CLI you do verdi config set warnings.rabbitmq_version False
. It can also be done from the Python API if that is more convenient.
@sphuber thanks! I open PR https://github.com/aiidateam/aiida-core/pull/5634 to suppress the warning.
I just test again with the image from dockerhub directly, both 1.6.8 1.6.9 tag and 2.0.3 are not working. We really need to have a CI test for running on arm64, which is not ready since GitHub has not provided it yet. There is a solution that can deploy a self-hosted runner for different architecture https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners, which require an arm64 resource to deploy and run (very easy to build and run with instructions but need an extra machine with a specific ARCH, arm64 in our case).
I just test again with the image from dockerhub directly, both 1.6.8 tag and 2.0.3 are not working.
I think you should have tested 1.6.9. That is the only 1.x version of aiida docker image compatible with the arm64 architecture.
@yakutovicha thanks! you are right, I tested 1.6.9
tag, it was a typo in my comment.
I made a test on the self-hosted-runner on my laptop, and it works well (https://github.com/unkcpz/aiida-prerequisites/runs/8236740972?check_suite_focus=true). This means if we have an arm64 server the CI action can be configured and tested (for aiida-prerequisets
, aiida-core
, and aiidalab-docker-stack
).
Pinning @giovannipizzi here for comment on if possible to have an AWS arm64 cloud server for this.
According to a discussion I have just had on Slack, it looks like the
arm64
distribution does not really work at all at present:verdi computer configure
(so maybe also other things?)The RabbitMQ version installed is
v3.9.13
, and the error from postgresql is:The postgresql conda environment on
arm64
is:as opposed to on
amd64
: