Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2275880

Summary: test_server_connectivity_live_migration fails with TypeError due to str and float comparison
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.1 (Wallaby)CC: apevec, dhughes, lhh, mariel, prgutier, slinaber, udesale
Target Milestone: z3Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-33.0.0-17.1.20230621070738.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 20:41:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2267558    

Description Martin Kopec 2024-04-18 08:00:53 UTC
Description of problem:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/common/utils/__init__.py", line 70, in wrapper
    return f(*func_args, **func_kwargs)
  File "/usr/lib/python3.9/site-packages/tempest/scenario/test_network_advanced_server_ops.py", line 270, in test_server_connectivity_live_migration
    CONF.compute.min_microversion < 2.25):
TypeError: '<' not supported between instances of 'str' and 'float'

Version-Release number of selected component (if applicable):
openstack-tempest-33.0.0-17.1.20230621070736.el9ost

How reproducible:
Run tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_live_migration_compute test


Actual results:
The above traceback

Expected results:
No traceback

Additional info:

Comment 6 Martin Kopec 2024-04-23 08:09:01 UTC
The Fixed in version doesn't contain the required patch

Comment 11 Martin Kopec 2024-05-06 07:48:39 UTC
The Fixed in version package contains the fix for this issue. It was verified by an automated job that discovered the issue in the first place.

Comment 18 errata-xmlrpc 2024-05-22 20:41:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 17.1.3 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:2741