← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1278939] Re: Insufficient upper bounds checking performed on flavor-create API

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => icehouse-3

-- 
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/1278939

Title:
  Insufficient upper bounds checking performed on flavor-create API

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The fix for bug #1243195 added upper-bound checking for flavor fields
  based on sys.maxint.  The problem is that the value of maxint varies
  by platform (either 32- or 64-bit signed integers), while the INTEGER
  type in databases is limited to 32-bit signed integers.  This means
  that the upper-bound checking does not work on platforms where
  sys.maxint returns the maximum value of a 64-bit signed integer.  The
  original reported problems (as shown in
  http://paste.openstack.org/show/48988/) persist on 64-bit platforms.

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


References