Bug 2267558

Summary: Fix wrong parsing of flavour name and disk_over_commit parameter
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Jakub Skunda <jskunda>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: apevec, dhughes, lhh, mariel, 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:40:58 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: 2275880    
Bug Blocks: 2267550    

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