Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit bc3175fa authored by MOMMESSIN Clement's avatar MOMMESSIN Clement
Browse files

Dynamic job registration required for Storage Controller

parent 022c7789
......@@ -221,6 +221,7 @@ class StorageController:
self.nb_transfers_zero = 0 # The number of times a dataset was already present on storage when asked to transfer it
self.nb_transfers_real = 0 # The number of "real" transfers (i.e., when the dataset was not already present on storage)
assert self.bs.dynamic_job_registration_enabled, "Dynamic job registration must be enabled to use the Storage Controller"
for res in storage_resources:
new_storage = Storage(res["id"], res["name"], float(res["properties"]["size"]))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment