Bug 2309703
| Summary: | [OSP17.1] Invalid state of instance files on shared storage when nova host (or single) evacuate | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ricardo Ramos Thomas <riramos> |
| Component: | openstack-nova | Assignee: | OSP DFG:Compute <osp-dfg-compute> |
| Status: | CLOSED DUPLICATE | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17.1 (Wallaby) | CC: | dasmith, dhill, eglynn, enothen, jhakimra, kchamart, sbauza, sgordon, vromanso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-06 11:58:31 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
Ricardo Ramos Thomas
2024-09-04 12:32:16 UTC
The issue is that overcloudrc is requestion nova microversion 2.10 (or is it 2.1?) and the auto calculated in 2.14 and later . I'm pretty sure if you set 2.14 or 2.15 in the overcloud rc OS_COMPUTE_API_VERSION , it will work automatically. [dhill@knox tripleo_common]$ git show df8edc662
commit df8edc662feebd6700618a5d68d7c966ecae9256
Author: Alexon Oliveira <alolivei>
Date: Wed Aug 23 12:11:57 2023 -0300
Changed the DEFAULT_COMPUTE_API_VERSION value in the constants.py
The default value defined for the variable DEFAULT_COMPUTE_API_VERSION
in the ~/.overcloudrc file generated by overcloudrc.py, which pulls
this variable value from constants.py, is '2.latest', but this
generates a warning message everytime a user uses this standard config
file, like this one below:
/usr/lib/python3.9/site-packages/openstack/config/cloud_region.py:452:
UserWarning: You have a configured API_VERSION with 'latest' in it.
In the context of openstacksdk this doesn't make any sense.
warnings.warn(
To avoid that, I changed the value '2.latest' to simply '2.1',
which is the current API version in use after a fresh install.
Change-Id: Idbcfbf29626d9a66427b78067813915caf0e9cd5
Signed-off-by: Alexon Oliveira <alolivei>
diff --git a/tripleo_common/constants.py b/tripleo_common/constants.py
index 9406dae8..ffc7b306 100644
--- a/tripleo_common/constants.py
+++ b/tripleo_common/constants.py
@@ -120,7 +120,7 @@ DO_NOT_ROTATE_LIST = (
DEFAULT_IDENTITY_API_VERSION = '3'
# The default version of the Compute API to set in overcloudrc.
-DEFAULT_COMPUTE_API_VERSION = '2.latest'
+DEFAULT_COMPUTE_API_VERSION = '2.1'
# The default version of the Image API to set in overcloudrc.
DEFAULT_IMAGE_API_VERSION = '2'
*** This bug has been marked as a duplicate of bug 2259167 *** |