-
Notifications
You must be signed in to change notification settings - Fork 21
Description
This might be a difficult change to implement, but I think it could be very beneficial to store infrastructure metadata in the same way (or in the same location), regardless of the interface used (Dashboard, CLI, etc). As it is currently implemented, it seems that the Dashboard has an additional database for metadata, which is not used by the IM CLI.
For example, in the Dashboard it is very clear which infrastructures were created via the Dashboard and which ones via the CLI:
-
The Dashboard shows information about the site and VO of the infrastructures created from the Dashboard, but they are not shown in infrastructures created from the CLI (despite of site and VO being known).
-
From the Dashboard, the name can be manually changed for infrastructures created by IM CLI, but this is apparently not shown in the CLI, so it makes difficult to know from a first sight, which infrastructure is which:
$ im_client.py list
Infrastructure IDs:
d9f1cb12-71a2-11ed-99c3
9b4ef014-6369-11ed-83f3
86f8dd91-6469-11ed-bf85
9f13a190-6167-11ed-a6e3
75f15cb4-55d9-11ed-9a15
6fa127de-546d-11ed-a27f
...
In the end, I always need to use both: I use the CLI to operate but use the Dashboard as assistant to match the ID with a name and know which infrastructure I am using (61a271de-72a2-0aed-11c3-1253dc2e5e77 is not friendly enough to identify an infrastructure from the CLI). A way to specify such metadata from the CLI would be useful.
-
There also appear to be some interoperability barriers. My im_client is using
type = OpenStackbut, nevertheless, infrastructures created from the CLI cannot be deleted from the Dashboard. This is probably why the status is "unknown" for the infrastructures created by the CLI.
Maybe it is helpful to be able to operate on the infrastructures independently of the access credential configuration (as long as the permissions are OK, maybe it should not be relevant if the infrastructure was created withtype = EGIortype = OpenStack, for example). -
Outputs seem to be affected too.
