← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1680667] Re: TypeError: unorderable types: int() > str() in get_system_metadata_from_image

 

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

commit 6ac1d039da07498afbf01c8ff4a8a96f408db275
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Thu Apr 6 23:12:46 2017 -0400

    Image meta min_disk should be int in fake_request_spec
    
    This might be blowing up some concurrently running tests
    by raising a TypeError comparing an int to a str in py35
    jobs. It's hard to reproduce, but we know min_disk should
    be an int so let's just change it.
    
    Change-Id: I153544d2aeefbd2d12543481e3bda75ed0316798
    Closes-Bug: #1680667


** 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/1680667

Title:
  TypeError: unorderable types: int() > str() in
  get_system_metadata_from_image

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Seen in a functional test here:

  http://logs.openstack.org/68/454368/1/check/gate-nova-tox-functional-
  py35-ubuntu-xenial/b715738/console.html#_2017-04-06_22_16_13_208386

  2017-04-06 22:16:13.208386 |     b'  File "/home/jenkins/workspace/gate-nova-tox-functional-py35-ubuntu-xenial/nova/utils.py", line 1174, in get_system_metadata_from_image'
  2017-04-06 22:16:13.208413 |     b"    value = max(value or 0, flavor['root_gb'])"
  2017-04-06 22:16:13.226674 |     b'TypeError: unorderable types: int() > str()'

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22value%20%3D%20max(value%20or%200%2C%20flavor%5B'root_gb'%5D)%5C%22&from=7d

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


References