← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1530091] Re: check for mandatory parameter 'size' in schema/volumes.py missing for create

 

Reviewed:  https://review.openstack.org/262449
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bc1e816695dcd7e5709577174c91a0df4420a45f
Submitter: Jenkins
Branch:    master

commit bc1e816695dcd7e5709577174c91a0df4420a45f
Author: piyush110786 <piyush.pathak@xxxxxxx>
Date:   Wed Dec 30 16:07:43 2015 +0530

    Check added for mandatory parameter size in schema
    
    There is a missing validation in schema for mandatory parameter
    'size' during volume creation in compute.
    This patch resolve the issue.
    
    Change-Id: I44695653867a088499de8582c2e1134f15fee3b4
    Closes-bug: #1530091


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1530091

Title:
  check for mandatory parameter 'size' in schema/volumes.py missing for
  create

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  1. Version of NOVA 12.0.1
  2.  NA
  3. 
     a). Try to Create volume without giving size as input parameter.
     b). Request failed.
     c). Response body have message---"message": "Invalid input received: Invalid input received: Volume size 'None' must be an integer and  greater than 0 (HTTP 400)------------------------- Unexpected.
      d). Error message is not clear.

  Expected Result:
  5. Error message should be  "'size' is a required property" it will give clear understanding that you cant skip the size parameter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1530091/+subscriptions


References