← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups