diff options
author | David Ripton <dripton@redhat.com> | 2013-05-08 14:20:29 -0400 |
---|---|---|
committer | David Ripton <dripton@redhat.com> | 2013-05-08 22:18:39 -0400 |
commit | 188a94c898bcf07f9fe42ef2f3b5ee4aa8859b49 (patch) | |
tree | 9bc5c7cb5621017d2f87fc37757f14bc4167307b /nova/utils.py | |
parent | baa4109ed6b846661f4d6c0bab39754b7e574a8e (diff) | |
download | nova-188a94c898bcf07f9fe42ef2f3b5ee4aa8859b49.tar.gz nova-188a94c898bcf07f9fe42ef2f3b5ee4aa8859b49.tar.xz nova-188a94c898bcf07f9fe42ef2f3b5ee4aa8859b49.zip |
Remove invalid block_device_mapping volume_size of ''
Fixes bug #1171190
Parsing block_device_mapping from strings sometimes results in
volume_size being set to '' or u''. This causes a problem when
inserting into PostgreSQL, which insists that integer columns
actually contain integers. Remove invalid device_size before
inserting or updating block_device_mapping database records.
Change-Id: If9132a96604b5b0e3a6df96624e565e016d5c9a3
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions