Glance doesn't check location's data
Bug #1551498 reported by
Feilong Wang
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Feilong Wang |
Bug Description
Currently, when adding new location for an image, Glance doesn't check the checksum, so we can't grantee every location for an image is bit-for-bit identical, which is incompatible with the idea of image immutability.
Changed in glance: | |
assignee: | nobody → Fei Long Wang (flwang) |
summary: |
- Glance won't check location's data + Glance doesn't check location's data |
To post a comment you must log in.
I don't know that Glance needs to check this. The data at the location is out of Glance's control, so even if glance checked at the time the image was added, the bits at the location could be changed. The immutability guarantee is that once an image goes active, the image's UUID is associated with a particular set of bits that can be confirmed by the checksum. But the prudent image consumer will verify the image bits using the checksum, because they may have become corrupted in transit.
Or am I misunderstanding the bug?