rgeyer/rs_selfservice

Make sure ServerTemplate is done importing before starting servers

Opened this issue · 0 comments

When importing a template, it is not "done" until the repos are refetched, but the vending machine does not wait and can attempt to launch a server with a ServerTemplate which is not yet fully imported.

Unfortunately, right now (06-21-2013) there is no way to see the progress of repo refreshes.

One possible solution is to import all templates when a product is added to the service catalog. This will see to it that the ServerTemplate is already available and (hopefully) the repo is already refetched.