v2 API isn't updating image updated_at attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Iccha Sethi |
Bug Description
Notice in the following example that updated_at is the same as created_at, yet the Date header indicates what updated_at should actually be:
curl -i -X PUT -H "X-Auth-Token: $OS_AUTH_TOKEN" -H "Content-Type: application/json" \
-d '{"login_user": "root"}' \
HTTP/1.1 200 OK
Content-Length: 456
Content-Type: application/json; charset=UTF-8
X-Openstack-
Date: Tue, 14 Aug 2012 06:13:47 GMT
{"status": "queued", "name": "Ubuntu 12.10", "tags": ["ubuntu", "quantal", "12.10"], "login_user": "root", "created_at": "2012-08-
Changed in glance: | |
milestone: | none → folsom-rc1 |
Changed in glance: | |
assignee: | nobody → Iccha Sethi (iccha-sethi) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-rc1 → 2012.2 |
This appears to only be a problem when a user sets a non-core property (a property that isn't in the Image table). It also affects the v1 API.