← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1054225] Re: Aggregates Extension XML and JSON return different format timestamp

 

we are dropping support for XML in Juno

** Changed in: nova
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1054225

Title:
  Aggregates Extension XML and JSON return different format timestamp

Status in OpenStack Compute (Nova):
  Won't Fix

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_zone>nova</availability_zone>
    <deleted>False</deleted>
    <created_at>2012-09-21 16:49:02.265059</created_at>
    <updated_at>None</updated_at>
    <deleted_at>None</deleted_at>
    <id>1</id>
  </aggregate>

  and for JSON:
  {
      "aggregate": {
          "availability_zone": "nova",
          "created_at": "2012-09-21T15:49:27.263099",
          "deleted": false,
          "deleted_at": null,
          "id": 1,
          "name": "name",
          "updated_at": null
      }
  }

  The 'created_at' field is using 2 different formats:

  2012-09-21T15:49:27.263099
  vs
  2012-09-21 16:49:02.265059

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1054225/+subscriptions