No validation for --physical-reservation arguments of lease-create command

Bug #1404190 reported by chintha govardhan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Blazar
Fix Released
High
Hiroaki Kobayashi

Bug Description

There is no validation for the min and max attributes of --physical-reservation argument.
The following commands are sending request to climate api instead of throwing validation errors.

climate lease-create --physical-reservation min=2,max=1,hypervisor_properties="" lease
climate lease-create --physical-reservation min=0,max=0,hypervisor_properties="" lease
climate lease-create --physical-reservation min=2,max=asdfadf,hypervisor_properties="" lease

Pierre Riteau (priteau)
Changed in blazar:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Pierre Riteau (priteau)
milestone: none → 0.2.0
Changed in blazar:
milestone: 0.2.0 → 0.3.0
tags: added: backport-candidates-to-0.2.0
Revision history for this message
Hiroaki Kobayashi (hiro-kobayashi) wrote :
Changed in blazar:
assignee: Pierre Riteau (priteau) → Hiroaki Kobayashi (hiro-kobayashi)
Revision history for this message
Hiroaki Kobayashi (hiro-kobayashi) wrote :
Changed in blazar:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.