access-ci-org / Jetstream_Cluster

Scripts and Ansible Playbooks for building an HPC-style resource in Jetstream
MIT License
19 stars 16 forks source link

Problem: Creating compute node image fails #16

Closed julianpistorius closed 7 months ago

julianpistorius commented 8 months ago

When I run the test job I see this in the Slurm log:

==> /var/log/slurm/slurm_elastic.log <==                                                                                                          
Node resume invoked: /usr/local/sbin/slurm_resume.sh safely-caring-boar-compute-0                                                                 
creating safely-caring-boar-compute-0
No Image found for safely-caring-boar-compute-image-latest

I see the following in the cloud-init output:

Creating compute image! based on
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
Using /home/rocky/CRI_Jetstream_Cluster/ansible.cfg as config file

PLAY [localhost] ***************************************************************

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

TASK [build compute base instance] *********************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Incompatible openstacksdk library found: Version MUST be >=1.0 and <=None, but 0.61.0 is
 smaller than minimum version 1.0."}

PLAY RECAP *********************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
julianpistorius commented 7 months ago

Fixed by #17