Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Management server owns the lifecycle of volume/template (initially gets created with upload state as "NOT_UPLOADED"). It polls the SSVM agent (using an already existing agent command) to get the status and triggers appropriate state transition. Failure at any point during the form upload to ssvm apache would return error to the user and UPLOAD_ERROR when the management server pings for download status. Polling  Polling starts after the successful return completion of the getUploadParams API. The polling 'interval' and 'duration' are determined by global configuration parameters (add configuration details).

Failure at any point during the upload process to SSVM would result in upload state getting transitioned to "UPLOAD_ERROR" (refer to the state machine below). 

starts after an initial delay of 100ms and in intervals of n ms. The management server polls x times before it changes the state to ERROR. (add configurations to handle this polling) 

If the management server itself goes down during the upload, if the timeout hasnt crossed, it will poll for the status once its up. Otherwise the state of the template will be transitioned to ERROR. In a load balanced situation where the management server handling the ssvm upload goes down, the status wont be updated unless the SSVM is connected to a new management server.

...