Activity log for bug #1267300

Date Who What changed Old value New value Message
2014-01-09 02:11:32 lizheming bug added bug
2014-01-09 02:11:44 lizheming nova: assignee lizheming (lizheming-li)
2014-01-10 03:49:44 lizheming description In nova/utils.py, a func use the "type" method to determine the type. It's bertter to use the "isinstance" method instead. The code is: def convert_version_to_int(version): try: if type(version) == str: version = convert_version_to_tuple(version) if type(version) == tuple: return reduce(lambda x, y: (x * 1000) + y, version) except Exception: raise exception.NovaException(message="Hypervisor version invalid.") . In nova/utils.py, a func use the "type" method to determine the type. It's bertter to use the "isinstance" method instead. The code is: def convert_version_to_int(version):     try:         if type(version) == str:             version = convert_version_to_tuple(version)        if type(version) == tuple:            return reduce(lambda x, y: (x * 1000) + y, version)     except Exception:            raise exception.NovaException(message="Hypervisor version invalid.") this bug is fixed in glance: https://review.openstack.org/#/c/65611/4
2014-01-10 03:50:54 OpenStack Infra nova: status New In Progress
2014-02-10 02:25:37 OpenStack Infra nova: status In Progress Fix Committed
2014-02-21 14:46:12 Russell Bryant nova: milestone icehouse-3
2014-03-05 13:20:39 Thierry Carrez nova: status Fix Committed Fix Released
2014-04-17 09:12:01 Thierry Carrez nova: milestone icehouse-3 2014.1