Expand description
Ephemeral CFS environment provisioning — launches a temporary IMS customize container booted from an existing IMS image and returns its SSH hostname.
Unlike most service modules this one bypasses the backend
dispatcher and talks to CSM via [csm_rs::ShastaClient] directly:
the IMS jobs.customize API is CSM-specific and isn’t exposed
through manta-backend-dispatcher. The handler is wired only on
the CSM site.
Flow:
- Read the JWT’s
preferred_usernameclaim. - Look the user’s public SSH key up in IMS — registered keys are keyed by username on the IMS side.
- POST an IMS customize job referencing
image_idand the key id. - Extract the SSH hostname from the response and return it.
Functions§
- exec
- Launch an ephemeral IMS customize container against
image_idand return its SSH hostname.