← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1855417] [NEW] Image data stays in staging store if image is deleted while its in importing state

 

Public bug reported:

Image data stays in staging area (filesystem backend) if image is
deleted while it is in 'importing' state.

Steps to reproduce:
1. Create image using new import workflow:
    glance image-create-via-import --disk-format qcow2 --container-format bare --name testing-import-delete --file <file-name.
2. Verify image is in 'importing' state and issue the delete call
    glance image-delete <image-id-from-step-1>

Expected result:
1. Image should be deleted
2. Image data from staging area should be deleted

Actual result:
1. Image is deleted but;
2. Image data from staging area is not deleted

** Affects: glance
     Importance: Critical
     Assignee: Abhishek Kekane (abhishek-kekane)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)

** Changed in: glance
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1855417

Title:
  Image data stays in staging store if image is deleted while its in
  importing state

Status in Glance:
  New

Bug description:
  Image data stays in staging area (filesystem backend) if image is
  deleted while it is in 'importing' state.

  Steps to reproduce:
  1. Create image using new import workflow:
      glance image-create-via-import --disk-format qcow2 --container-format bare --name testing-import-delete --file <file-name.
  2. Verify image is in 'importing' state and issue the delete call
      glance image-delete <image-id-from-step-1>

  Expected result:
  1. Image should be deleted
  2. Image data from staging area should be deleted

  Actual result:
  1. Image is deleted but;
  2. Image data from staging area is not deleted

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1855417/+subscriptions


Follow ups