Bug 1744216
| Summary: | "openstack baremetal node trait list <<node_name>>" returns "Requested API version 1.34 is not supported by the server, client, or the requested operation is not supported by the requested version.Supported version range is 1.1 to 1.37" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Thom Carlin <tcarlin> |
| Component: | instack-undercloud | Assignee: | Dmitry Tantsur <dtantsur> |
| Status: | CLOSED ERRATA | QA Contact: | mlammon |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 13.0 (Queens) | CC: | apevec, bfournie, jpichon, lhh, mburns |
| Target Milestone: | z9 | Keywords: | Triaged, ZStream |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | instack-undercloud-8.4.7-14.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-07 14:01:46 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: | |||
| Bug Blocks: | 1715822 | ||
|
Description
Thom Carlin
2019-08-21 14:46:05 UTC
$ openstack help baremetal node trait list
[...]
This command is provided by the python-ironicclient plugin.
The "baremetal node trait list" command is provided by the ironic client plugin, adjusting the component accordingly. However, I also noticed the following in the generic help for "openstack":
--os-baremetal-api-version <baremetal-api-version>
Bare metal API version, default="latest" (the maximum
version supported by both the client and the server).
(Env: OS_BAREMETAL_API_VERSION)
You may want to try again setting up an environment variable with that name, or using the -os-baremetal-api-version flag. I hope that helps.
Same result: OS_BAREMETAL_API_VERSION="1.34" openstack baremetal node trait list <<node_name>> Requested API version 1.34 is not supported by the server, client, or the requested operation is not supported by the requested version.Supported version range is 1.1 to 1.37 Hi, the error message can be confusing, the actually relevant bit is "the requested operation is not supported by the requested version". Traits were introduced in version 1.37, not 1.34. Ideas for a better wording are welcome. if the API logic was included as previously discussed, the error message could be "Requested operation is not supported by RHOSP 13. It was introduced in RHOSP 14" We cannot provide OSP versions in upstream products (nor do we maintain a mapping between products and API versions). At some point we stopped hardcoding API versions in the rc files, so that they're detected automatically. I'm not sure if it happened in 13 or later though. I'm removing OS_BAREMETAL_API_VERSION from stackrc to allow ironicclient to do the magic itself. Verified that we are no longer getting the "Requested API version..." error message when running the trait command. $ openstack baremetal node trait list controller-0 $ 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, 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-2019:3794 |