Ah. I see. I wrote the opposite.
When I do a GET on /image/1 I get this:
{"image": {"status": "ACTIVE", "updated": "2011-09-26T14:12:01Z", "name": "squeeze", "links": [{"href": "http://172.19.0.3:8774/v1.1/admin/images/1", "rel": "self"}, {"href": "http://172.19.0.3:8774/admin/images/1", "rel": "bookmark"}, {"href": "http://172.19.0.3:9292/admin/images/1", "type": "application/vnd.openstack.image", "rel": "alternate"}], "created": "2011-09-26T14:11:04Z", "minDisk": "0", "progress": 100, "minRam": "0", "id": "1", "metadata": {}}}
So what we actually need to do is make them all Integers then.
Ah. I see. I wrote the opposite.
When I do a GET on /image/1 I get this:
{"image": {"status": "ACTIVE", "updated": "2011-09- 26T14:12: 01Z", "name": "squeeze", "links": [{"href": "http:// 172.19. 0.3:8774/ v1.1/admin/ images/ 1", "rel": "self"}, {"href": "http:// 172.19. 0.3:8774/ admin/images/ 1", "rel": "bookmark"}, {"href": "http:// 172.19. 0.3:9292/ admin/images/ 1", "type": "application/ vnd.openstack. image", "rel": "alternate"}], "created": "2011-09- 26T14:11: 04Z", "minDisk": "0", "progress": 100, "minRam": "0", "id": "1", "metadata": {}}}
So what we actually need to do is make them all Integers then.