Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8651

[Browser Based Upload Template] Partially uploaded templates doesn't get cleaned up after the SSVM handling it is destroyed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.6.0
    • 4.6.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Repro steps:
      1. Make a call to getuploadparamsfortemplate, don't start actual upload to SSVM or make sure that the upload is in partially completed state.
      2. Destroy SSVM (when template state is NotUploaded or UploadInProgress).
      3. After a new SSVM comes up, these templates continue to remain in the same state and cannot be removed/cleaned-up.

      The issue is happening as the original SSVM is destroyed and no longer able to monitor the template. The fix is to clean-up the partially uploaded templates as part of template sync-up when the new SSVM comes up.

      Attachments

        Activity

          People

            koushikd Koushik Das
            koushikd Koushik Das
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: