Cloned from launchpad bug 1658571.
Device tagging support was added in microversion 2.32, as for
but in latter microversion 2.37 accidentally removed it:
And for bdms:
the schema is added by
and it will only work for microversion 2.32
So this function is only usable from microversion 2.32 to 2.37 for
ports and only for 2.32 for bdms.
we should fix it and backport to Newton.
Specification URL (additional information):
Under Bug # 1188175 (among others) we added a feature called device role tagging in Red Hat OpenStack Platform 10. This is mentioned in the release notes here:
It was also covered in the networking guide here:
This feature was added in microversion 2.32 of the Nova API (awesome!) for both block devices and network ports (awesome!) *but*
- for block devices it turns out it *only* works in 2.32
- for ports due to a later change in microversion 2.37 it *only* works in microversions 2.32 to 2.37
As part of the gift that keeps on giving, the fix for this is - you guessed it - a new microversion! So we can't actually backport it, instead we need to confirm given an OOTB RHOSP 10 install what microversion are the client and server negotiating to and based on the results of this we need to document:
- What if any action is required to work around this issue and still use the feature (e.g. pin the client to 2.32).
- Symptoms to look out for to determine if such mitigation is needed now or in the future (e.g. if we later upgrade the client it may become necessary for a user to pin the microversion when they did not in the past).
Setting needinfo on Artom as the relevant SME to review the above and provide any further context.
Good summary of the issue by Steve.
A few things to add:
This will go away in RHOS11, since the new microversion 2.42 that fixes all this mess merged just in time for Ocata upstream.
There's a downstream-only hack in progress  to python-novaclient (and *not* openstackclient) to make it work around this issue as much as it can. Once that's merged, the result should be that the issue will become invisible when using the RHOS novaclient, except when the user requests block device tagging *and* the automatic network feature introduced in 2.37. Those are mutually exclusive, and nothing can be done until version 2.42 arrives in RHOS11.
With the fix upstream merged to stable/newton , this will be fixed next time the RHOS10 python-openstackclient is rebased from upstream.
Ignore comment #3, it was meant for a different bug.
Assigning to Martin for review.
Working on draft. Note that the dev bug is still in a QA state: BZ#1436266
For docs QE, see the large note here:
Sorry for the delay on peer reviewing this item. LGTM!