We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c54428c + 32034a9 commit 12f8c77Copy full SHA for 12f8c77
nova/tests/functional/api/openstack/placement/gabbits/with-allocations.yaml
@@ -68,6 +68,22 @@ tests:
68
response_json_paths:
69
$.errors[0].code: placement.inventory.inuse
70
71
+# We can change inventory in a way that makes existing allocations exceed the
72
+# new capacity. This is allowed.
73
+- name: change inventory despite capacity exceeded
74
+ PUT: /resource_providers/$ENVIRON['RP_UUID']/inventories
75
+ request_headers:
76
+ accept: application/json
77
+ content-type: application/json
78
+ data:
79
+ resource_provider_generation: 5
80
+ inventories:
81
+ DISK_GB:
82
+ total: 1019
83
+ VCPU:
84
+ total: 97
85
+ status: 200
86
+
87
- name: get total usages by project
88
GET: /usages?project_id=$ENVIRON['PROJECT_ID']
89
request_headers:
0 commit comments