os-aggregates sample files miss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Haiwei Xu |
Bug Description
os-aggregates' sample files are different in V2 and V3.
~$ vi /opt/stack/
1 {
2 "aggregates": [
3 {
4 "availability_
5 "created_at": "2012-11-
6 "deleted": false,★
7 "deleted_at": null,
8 "hosts": [],
9 "id": 1,
10 "metadata": {
11 "availability_
12 },
13 "name": "name",
14 "updated_at": null
15 }
16 ]
17 }
~$ vi /opt/stack/
1 {
2 "aggregates": [
3 {
4 "availability_
5 "created_at": "2013-08-
6 "deleted": 0,★
7 "deleted_at": null,
8 "hosts": [],
9 "id": 1,
10 "metadata": {
11 "availability_
12 },
13 "name": "name",
14 "updated_at": null
15 }
16 ]
17 }
The 'deleted' element is 'false' in V2 but '0' in V3, and it's the same with aggregates-
I also found in the response from the API, 'deleted' is 'false'
curl -i 'http://
RESP BODY: {"aggregates": [{"name": "agg1", "availability_
So i think this is a bug of V3 sample file.
Changed in nova: | |
assignee: | nobody → Haiwei Xu (xu-haiwei) |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/81487
Review: https:/