Allow ip6 server search for non-admin¶
ip6 to the list of options that are allowed for non-admins when
Filtering by IPv6 address is currently only allowed for admins, but there
is no reason to treat this differently than IPv4. It is also quite surprising
for a user to find that
nova list --ip6 xxx will list all servers.
A user will want to list servers based on their IPv6 address, just like they can already do based on IPv4.
Add a new API microversion for which the
ip6 option will no longer be
filtered out from the server search for non-admins.
Treat the bug fix as a minor patch that will not require a new API microversion. However in the conversation about the fix (see References) there seemed to be consensus that a microversion is needed in order for a client to be able to tell whether filtering by IPv6 is available or not.
Data model impact¶
REST API impact¶
The new API is added as a microversion.
The request and response headers, body and possible codes are unchanged from
current behaviour. The
ip6 option will no longer be silently discarded
Other end user impact¶
python-novaclient will have to be updated so that it can request the new
microversion when the
--ip6 option is used.
Other deployer impact¶
- Primary assignee:
Jens Rosenboom <email@example.com>
Add a new microversion and change
ip6to the list of allowed server search options.
Unit tests and API samples functional tests in the nova tree will be added.
The nova/api/openstack/rest_api_version_history.rst document will be updated.
 Originally reported as a bug: https://bugs.launchpad.net/nova/+bug/1450859
-  ML thread discussing whether a microversion is needed:
 Proof of concept code change: https://review.openstack.org/179569