Bug 2267558 - Fix wrong parsing of flavour name and disk_over_commit parameter
Summary: Fix wrong parsing of flavour name and disk_over_commit parameter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 17.1
Assignee: Jakub Skunda
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On: 2275880
Blocks: 2267550
TreeView+ depends on / blocked
 
Reported: 2024-03-03 17:00 UTC by Martin Kopec
Modified: 2024-05-22 20:41 UTC (History)
6 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:40:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 901039 0 None MERGED Fix of wrong parsing of flavour name and disk_over_commit parameter 2024-03-03 17:06:19 UTC
Red Hat Issue Tracker OSP-31543 0 None None None 2024-03-03 17:04:04 UTC
Red Hat Product Errata RHBA-2024:2741 0 None None None 2024-05-22 20:41:02 UTC

Description Martin Kopec 2024-03-03 17:00:24 UTC
The test in question: tempest/scenario/test_network_advanced_server_ops.py

In assertion of names of flavors there was wrongly used parameter
of name. Instead of server['original_name'] we should use
server['flavor']['original_name'].

Also parameter disk_over_commit in function live_migrate_server
is available until version 2.25[1], so we should check microversion
before using this parameter.

[1] https://docs.openstack.org/api-ref/compute/#live-migrate-server-os-migratelive-action

Comment 5 Martin Kopec 2024-04-16 09:50:45 UTC
The Fixed in version package openstack-tempest-33.0.0-17.1.20230621070736.el9ost got superseded by openstack-tempest-33.0.0-17.1.20230621070737.el9ost that contains the required change and is available in the latest puddle and passed phase2.

Comment 11 Martin Kopec 2024-05-06 07:52:57 UTC
The 'Fixed in version' package contains required changes that got verified by an automated job.

Comment 18 errata-xmlrpc 2024-05-22 20:40:58 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.