[fuel-octane] get_patch_port_action works incorrectly for version 2014.2-6.0
Bug #1536182 reported by
Roman Sokolkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Oleg S. Gelbukh | ||
8.0.x |
Fix Committed
|
Medium
|
Oleg S. Gelbukh |
Bug Description
"get_patch_
but in case Fuel "2014.2-6.0" it works improperly
From LooseVersion standpoint:
2014.2-6.0 is greater(newer) than 2014.2.2-6.1
But in reality:
2014.2-6.0 is smaller(older) than 2014.2.2-6.1
How to reproduce:
On fuel master open python interpreter
>>> from distutils.version import LooseVersion
>>> version = "2014.2-6.0"
>>> if version < LooseVersion(
... print "Works correct for %s" % version
... else:
... print "Works incorrect for %s" % version
...
Works incorrect for 2014.2-6.0
Changed in fuel: | |
assignee: | nobody → Fuel Octane Dev Team (fuel-octane) |
milestone: | none → 6.1-updates |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Octane Dev Team (fuel-octane) → Roman Sokolkov (rsokolkov) |
description: | updated |
tags: | added: dev-to-verify |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/270202
Review: https:/