← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372634] Re: DBAPIError exception wrapped from (DataError) value XYZ is out of range for type integer

 

This is the reason for bringing in surface validation in the API, we've
specifically decided not to do validation in python on the db layer.

** Changed in: nova
       Status: New => Opinion

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

Title:
  DBAPIError exception wrapped from (DataError) value XYZ is out of
  range for type integer

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  It appears like DBAPI is sending in some invalid types to postgresql.

  http://logs.openstack.org/87/122887/14/check/check-tempest-dsvm-
  postgres-
  full/782c972/logs/screen-n-api.txt.gz?level=ERROR#_2014-09-22_19_30_51_970

  ERROR oslo.db.sqlalchemy.exc_filters [req-00477f7e-725e-42ed-9a59-b0faeb484df8 ServersNegativeTestXML-814615051 ServersNegativeTestXML-182582183] DBAPIError exception wrapped from (DataError) value "9223372036854775808" is out of range for type integer
  LINE 4: ...d5f14f2db4d4d819962511d1f0857' AND instances.id = '922337203...

  Possibly to big of a type of an integer field....

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


References