clustervision / trinityX

TrinityX is the new generation of ClusterVision's open-source HPC, A/I and cloudbursting platform. It is designed from the ground up to provide all services required in a modern HPC and A/I system, and to allow full customization of the installation.
GNU General Public License v3.0
55 stars 36 forks source link

Creating new RHEL 8 Image breaks on repo task #431

Open xdkreij opened 6 days ago

xdkreij commented 6 days ago

Executed LC_ALL=C.UTF-8 ansible-playbook compute-redhat.yml -e "image_name: testimage" -v

Issue

image

Cause roles/trinity/repos/vars/RedHat8.yaml

external_repository_rpms:
  - name: https://www.elrepo.org/elrepo-release-{{ hostvars[inventory_hostname].ansible_distribution_major_version }}.el{{ hostvars[inventory_hostname].ansible_distribution_major_version }}.elrepo.noarch.rpm
    file: elrepo-release.rpm
    no_gpgcheck: True
  **- name: https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/e/epel-release-8-19.el8.noarch.rpm**
    file: epel-release.rpm
    no_gpgcheck: True

epel-release-8-19.el8.noarch.rpm is hardcoded and does not exist anymore

image

Expected results

xdkreij commented 6 days ago

Seems it got 'fixed' 2 day's ago

image

is there a way to make this less 'static'? Otherwise one would require to pull the latest changes each time to make sure image creation might work.... which may cause former dependency & manual change issues... then I'll have to fork the repo...#morework

di3go-sona commented 5 days ago

Dear @xdkreij thanks for bringing the issue to our attention.

You are indeed right about it being too 'static', this is a fix we are currently working on and it will probably be there in the next release

-D

xdkreij commented 5 days ago

It gets even stranger

Once the playbook is running... the first repo task finishes no problemo

image

But getting further down the line it tries to do the same... again...(yes i know, this time for the image... but the task is 100% the same..nonetheless; The fact that it breaks makes it everything but idempotent)

trix-tree trinity/init-nodes trinity/repos...

image

xdkreij commented 5 days ago

Seems like a repo issue - related to: https://github.com/clustervision/trinityX/issues/401#issuecomment-2192543389