Lease creation should fail if ‘amount’ and/or ‘min’ parameters are passed with value as 0
Bug #1807101 reported by
Niraj Singh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
Undecided
|
Asmita Singh |
Bug Description
Description
===========
Lease for resource_type virtual:instance should not be created with amount=0.
Steps to reproduce
==================
Create lease for instance reservation with amount=0.
Command:
blazar lease-create --reservation resource_
Expected result
===============
Lease create for instance reservation should fail with 400 BadRequest.
Actual Result
=============
Lease create for instance reservation with amount=0 created successfully.
description: | updated |
Changed in blazar: | |
assignee: | nobody → Asmita Singh (asmita2018) |
Changed in blazar: | |
status: | New → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/630026
Review: https:/