Aggregates Extension XML and JSON return different format timestamp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
The response to aggregate create returns different format timestamps for XML and JSON requests.
For XML a sample response is:
<?xml version='1.0' encoding='UTF-8'?>
<aggregate>
<name>name</name>
<availability
<deleted>
<created_
<updated_
<deleted_
<id>1</id>
</aggregate>
and for JSON:
{
"aggregate": {
"deleted": false,
"id": 1,
"name": "name",
}
}
The 'created_at' field is using 2 different formats:
2012-09-
vs
2012-09-21 16:49:02.265059
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
importance: | Low → Medium |
tags: | added: v2-api-inconsitency |
tags: |
added: v2-api-inconsistency removed: v2-api-inconsitency |
Changed in nova: | |
assignee: | Davanum Srinivas (dims-v) → nobody |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Giampaolo Lauria (lauria) |
Changed in nova: | |
assignee: | Giampaolo Lauria (lauria) → nobody |
status: | In Progress → New |
Changed in nova: | |
assignee: | nobody → jagan kumar kotipatruni (jagankumar-k) |
tags: | added: v3-api |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
assignee: | jagan kumar kotipatruni (jagankumar-k) → nobody |
importance: | Medium → Wishlist |
This timestamp format should probably be made consistent with the rest of the API.
So instead of:
2012-09- 21T15:49: 27.263099
or
2012-09-21 16:49:02.265059
it should be: 20T21:11: 09Z
2012-08-