Public bug reported: When image import fails during image is in uploaded from staging area image remains in uploading state and data remains in staging area. In this scenario if file store is not enabled then while deleting the image glance-api returns 500 status code with error 'file' scheme is Unknwon.
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 409, in delete_from_backend loc = location.get_location_from_uri(uri, conf=CONF) File "/usr/lib/python2.7/site-packages/glance_store/location.py", line 75, in get_location_from_uri raise exceptions.UnknownScheme(scheme=pieces.scheme) UnknownScheme: Unknown scheme 'file' found in URI Note: Solution is similar as proposed in this patch: https://review.opendev.org/#/c/618468/7 ** Affects: glance Importance: High Assignee: Abhishek Kekane (abhishek-kekane) Status: New ** Changed in: glance Importance: Undecided => High ** Changed in: glance Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1836140 Title: 500 response while try to delete image is in uploading state Status in Glance: New Bug description: When image import fails during image is in uploaded from staging area image remains in uploading state and data remains in staging area. In this scenario if file store is not enabled then while deleting the image glance-api returns 500 status code with error 'file' scheme is Unknwon. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 409, in delete_from_backend loc = location.get_location_from_uri(uri, conf=CONF) File "/usr/lib/python2.7/site-packages/glance_store/location.py", line 75, in get_location_from_uri raise exceptions.UnknownScheme(scheme=pieces.scheme) UnknownScheme: Unknown scheme 'file' found in URI Note: Solution is similar as proposed in this patch: https://review.opendev.org/#/c/618468/7 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1836140/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp