Bug 2275880 - test_server_connectivity_live_migration fails with TypeError due to str and float comparison
Summary: test_server_connectivity_live_migration fails with TypeError due to str and f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z3
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks: 2267558
TreeView+ depends on / blocked
 
Reported: 2024-04-18 08:00 UTC by Martin Kopec
Modified: 2024-05-22 20:41 UTC (History)
7 users (show)

Fixed In Version: openstack-tempest-33.0.0-17.1.20230621070738.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-22 20:41:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 916278 0 None MERGED Fix str to str comparison in live migration test 2024-04-19 08:12:29 UTC
Red Hat Issue Tracker OSP-31906 0 None None None 2024-04-18 08:06:04 UTC
Red Hat Product Errata RHBA-2024:2741 0 None None None 2024-05-22 20:41:19 UTC

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


Note You need to log in before you can comment on or make changes to this bug.