Duplicate image upload to swift shouldn't happen
Bug #1787494 reported by
Sahana Sekhar Palagrahara Chandrashekar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Won't Fix
|
High
|
Radosław Romaszewski | |||
Trunk |
New
|
High
|
Radosław Romaszewski |
Bug Description
If the image is already present in the container, the same image shouldn't be uploaded again.
The UI needs to always query the database first before uploading the image.
Changed in opencontrail: | |
importance: | Undecided → High |
assignee: | nobody → Sarin Kizhakkepurayil (sarink) |
description: | updated |
no longer affects: | opencontrail |
tags: | added: contrail-command fabric |
To post a comment you must log in.
challenge is we upload to swift first and then we try to create the device-image and in this case backend API will fail when fq_name matches with existing.
UI can not be doing "check" first, then upload then create as its sub-optimal. we could see option to delete uploaded if device-image creation fails
ideally there should be a single API than baking into UI all this business logic.