Create Reservation with multiple hypervisor properties using Rest API is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
New
|
Undecided
|
Unassigned |
Bug Description
The lease-create request when given using API call, does not accept multiple properties
(Properties here means hypervisor_
Below is the POST request given to create lease reservation
{
"name": "test_lease_1",
"reservations": [
{
"
"and",
"[\">=\", \"$memory_mb\", \"1024\"]",
"[\">=\", \"$vcpus\", \"2\"]",
"[\"=\", \"$hypervisor_
"[\"=\", \"$hypervisor_
"[\"=\", \"$hypervisor_
]",
"max": 1,
"min": 1,
"
"
}
],
"start_date": "now",
"end_date": "2023-05-21 08:00"
}
ERROR: blazar.
summary: |
- Create Reservation with multiple hypervisor properties using API is + Create Reservation with multiple hypervisor properties using Rest API is failing |
description: | updated |