Duplicate entry for image_location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
Latest devstack:
1) create an image
$ glance image-create --name s2
+------
| Property | Value |
+------
| checksum | None |
| container_format | None |
| created_at | 2013-07-25T16:55:46 |
| deleted | False |
| deleted_at | None |
| disk_format | None |
| id | 2e1883ee-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | s2 |
| owner | ecc4670241e842c
| protected | False |
| size | 0 |
| status | queued |
| updated_at | 2013-07-25T16:55:46 |
+------
2) set the location parameter
$ glance image-update 2e1883ee-
+------
| Property | Value |
+------
| checksum | None |
| container_format | bare |
| created_at | 2013-07-25T16:55:46 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 2e1883ee-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | s2 |
| owner | ecc4670241e842c
| protected | False |
| size | 0 |
| status | active |
| updated_at | 2013-07-25T16:56:19 |
+------
there are two entries with the specified location in the database (once of which is deleted)
ubuntu@
+----+-
| id | image_id | value | created_at | updated_at | deleted_at | deleted | meta_data |
+----+-
| 10 | 2e1883ee-
| 11 | 2e1883ee-
+----+-
description: | updated |
Changed in glance: | |
assignee: | nobody → Tushar Bankar (tushar-bankar) |
Changed in glance: | |
importance: | Undecided → Wishlist |
Changed in glance: | |
assignee: | Tushar Bankar (tushar-bankar) → nobody |
I can recreate this issue.