usegalaxy-eu / infrastructure-playbook

Ansible playbook for managing UseGalaxy.eu infrastructure.
MIT License
17 stars 95 forks source link

roles.yml missing #442

Closed bgruening closed 2 years ago

bgruening commented 2 years ago
roles:
  dataplant*:
    params:
      object_store_id: 'dataplant01'
  storage-test*:
    params:
      object_store_id: 's3_netapp01'
bgruening commented 2 years ago

This is fixed and the issue could be closed. But it would be good if the role-dependent storage backend could be tested.

It's a good exercise to explore roles, gxadmin, and Galaxy's storage backend. Can you please both test this @sanjaysrikakulam and @mira-miracoli.

mira-miracoli commented 2 years ago

Storage backend is used with the role, closing the Issue: image

With my other account it saves to files12

bgruening commented 2 years ago

Mh this is not sufficient I think. https://github.com/usegalaxy-eu/infrastructure-playbook/blob/master/templates/galaxy/config/object_store_conf.xml.j2#L126

You would need to have dataplant as ID? Files12 and files13 both have a weight of 1 so you get them both randomly but with the same chance.

mira-miracoli commented 2 years ago

Sorry, I messed it up. Checked for s3-netapp, and it works for saving results for tools we use with TPV, but not for file upload (I guess because the upload tool is not managed by TPV): image

bgruening commented 2 years ago

That looks better!