tempest performs incorrect microversion comparisons
Bug #1525968 reported by
Valeriy Ponomaryov
This bug report is a duplicate of:
Bug #1518996: Version Matching and comparison must be done consistently in manila tempest tests.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
High
|
Valeriy Ponomaryov | ||
python-manilaclient |
In Progress
|
High
|
Valeriy Ponomaryov |
Bug Description
Manila microversions have following template:
x.y
where 'x' and 'y' both digits.
And now tempest transforms string 'x.y' to float but it is incorrect thing to do because float assumes that each left value is bigger than right one, but it is not suitable for microversion comparisons. Examples:
Microversions true conditions:
2.9 < 2.10
2.9 < 2.81
Float true conditions:
2.9 > 2.10
2.9 > 2.81
Changed in manila: | |
importance: | Undecided → High |
assignee: | nobody → Valeriy Ponomaryov (vponomaryov) |
milestone: | none → mitaka-2 |
status: | New → In Progress |
tags: | added: tempest |
Changed in python-manilaclient: | |
importance: | Undecided → High |
assignee: | nobody → Valeriy Ponomaryov (vponomaryov) |
milestone: | none → mitaka-2 |
status: | New → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/257459
Review: https:/