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

Bug 2259167

Summary: Some compute commands don't work anymore due to OS_COMPUTE_API_VERSION change in overcloudrc
Product: Red Hat OpenStack Reporter: Eric Nothen <enothen>
Component: openstack-tripleo-commonAssignee: Bogdan Dobrelya <bdobreli>
Status: CLOSED DUPLICATE QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: alifshit, astupnik, bdobreli, dhill, mburns, ramishra, riramos, slinaber, smooney
Target Milestone: z4Keywords: Triaged
Target Release: 17.1Flags: bdobreli: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-19 17:46:33 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:

Description Eric Nothen 2024-01-19 09:35:15 UTC
Description of problem:

overcloudrc generated after an update or new install of 17.1.2 breaks some compute commands

Version-Release number of selected component (if applicable):
17.1.2

How reproducible:
Always reproducible

Steps to Reproduce:
1. Install or update to 17.1.2
2.
3.

Actual results:

overcloudrc in 17.1.2 includes this:

(overcloud) [stack.lab ~]$ grep COMPUTE overcloudrc
export OS_COMPUTE_API_VERSION=2.1

Which causes this:

(overcloud) [stack.lab ~]$ openstack server migrate --host overcloud-novacompute-1.localdomain d6d55dfb-dfe1-4867-a5ee-c34004f8a056
--os-compute-api-version 2.56 or greater is required to use --host without --live-migration.
(overcloud) [stack.lab ~]$ 


Expected results:

Previously, overcloudrc in 17.1.1 included this:

(overcloud) [stack.lab ~]$ grep COMPUTE overcloudrc.17.1.1 
export OS_COMPUTE_API_VERSION=2.latest
(overcloud) [stack.lab ~]$ 

which worked fine:

(overcloud) [stack.lab ~]$ source overcloudrc.17.1.1
(overcloud) [stack.lab ~]$ openstack server migrate --host overcloud-novacompute-1.localdomain d6d55dfb-dfe1-4867-a5ee-c34004f8a056
(overcloud) [stack.lab ~]$ 

Additional info:

Discussed in #rhos-compute and related to this:
https://opendev.org/openstack/tripleo-common/commit/df8edc662feebd6700618a5d68d7c966ecae9256
https://review.opendev.org/c/openstack/tripleo-common/+/892548

Comment 9 Bogdan Dobrelya 2024-01-31 16:14:46 UTC
On the team bug triage call we've decided to revert the regressed change and to create a documentation related issue with the subject regard

Comment 12 Artom Lifshitz 2024-08-19 17:46:33 UTC

*** This bug has been marked as a duplicate of bug 2272202 ***

Comment 13 David Hill 2024-09-06 11:58:31 UTC
*** Bug 2309703 has been marked as a duplicate of this bug. ***