Test (and enforcement?) for os_hidden mutability on queued images is wrong
Bug #1933360 reported by
Dan Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The test glance.
If we want to assert that os_hidden cannot be modified for queued images, we need to do that (as it does not appear to actually be enforced anywhere). In that case, the test needs to be modified to check for the proper return code as well.
Changed in glance: | |
status: | New → Confirmed |
To post a comment you must log in.
Referring back to spec it is clear that we are not restricting this operation at all. /review. opendev. org/c/openstack /glance- specs/+ /545397
https:/
It is certain this test doesn't make sense anymore.
I think it should be asserted for os_hidden = True after update call.