This moves the completed queens specs to the implemented directory, adds the redirects and also removes the queens-template symlink from the approved directory and docs. This was done using: $ tox -e move-implemented-specs -- queens Change-Id: I9e4d9aec4a1ced181ef7850627b9c67de376beae
159 lines
3.3 KiB
ReStructuredText
159 lines
3.3 KiB
ReStructuredText
..
|
|
This work is licensed under a Creative Commons Attribution 3.0 Unported
|
|
License.
|
|
|
|
http://creativecommons.org/licenses/by/3.0/legalcode
|
|
|
|
===================================================
|
|
Remove the configurable Hide Server Address Feature
|
|
===================================================
|
|
|
|
https://blueprints.launchpad.net/nova/+spec/remove-configurable-hide-server-address-feature
|
|
|
|
There is config option ``hide_server_address_states`` which accept the list of
|
|
server states for which server address needs to be hidden. Server Show and List
|
|
Detail API return the empty dict for server address field if server is in those
|
|
states.
|
|
|
|
Problem description
|
|
===================
|
|
Server address field in GET server API is controlled by config options.
|
|
User would not be able to discover the API behavior on different clouds which
|
|
leads to the interop issues.
|
|
|
|
Use Cases
|
|
---------
|
|
|
|
As an API user, he/she will be able to use API consistently and discoverable
|
|
across the clouds.
|
|
|
|
Proposed change
|
|
===============
|
|
|
|
Config options to hide the server address was introduced mainly for the reason
|
|
of not showing the network information when it can be changed: `patch`_.
|
|
For example while server is in building state etc.
|
|
|
|
This spec propose to:
|
|
|
|
* Remove the capability of configuring the server states to hide the address.
|
|
* Remove the hide server address policy.
|
|
|
|
Server states for which address is not ready and needs to be hidden can be
|
|
hard coded. Below is the list of Server states where server address needs to
|
|
be hide:
|
|
|
|
* building
|
|
|
|
As this is about removal of config options, we need to deprecate it first
|
|
and in next cycle we can remove it completely.
|
|
|
|
This proposal does not need microversion as this is to remove the config
|
|
options controlling the API.
|
|
|
|
Alternatives
|
|
------------
|
|
|
|
Leave it as it which make API controlled by config option.
|
|
|
|
Data model impact
|
|
-----------------
|
|
|
|
None
|
|
|
|
REST API impact
|
|
---------------
|
|
|
|
Server address field in Server's Show and List detail API
|
|
might not be empty for server states configured in
|
|
``hide_server_address_states`` config options.
|
|
It will be empty only for hard coded server states mentioned above.
|
|
|
|
No Control of server address by config options.
|
|
|
|
Server API::
|
|
|
|
GET /servers/detail
|
|
GET /servers/{server_id}
|
|
|
|
Security impact
|
|
---------------
|
|
|
|
None
|
|
|
|
Notifications impact
|
|
--------------------
|
|
|
|
None
|
|
|
|
Other end user impact
|
|
---------------------
|
|
|
|
None
|
|
|
|
Performance Impact
|
|
------------------
|
|
|
|
None
|
|
|
|
Other deployer impact
|
|
---------------------
|
|
|
|
They need to remove the config options ``hide_server_address_states``
|
|
if setting in their cloud.
|
|
|
|
Developer impact
|
|
----------------
|
|
|
|
None
|
|
|
|
Implementation
|
|
==============
|
|
|
|
Assignee(s)
|
|
-----------
|
|
|
|
Primary assignee:
|
|
Ghanshyam Mann <ghanshyammann@gmail.com>
|
|
|
|
Work Items
|
|
----------
|
|
|
|
* Deprecate the ``hide_server_address_states`` config options.
|
|
* Remove the deprecated config option in R cycle.
|
|
* Remove the hide server address policy.
|
|
|
|
|
|
Dependencies
|
|
============
|
|
|
|
None
|
|
|
|
Testing
|
|
=======
|
|
|
|
The corresponding unittest and functional test will be added.
|
|
|
|
Documentation Impact
|
|
====================
|
|
|
|
Update the `api-ref`_ accordingly.
|
|
|
|
References
|
|
==========
|
|
|
|
.. _patch: https://review.openstack.org/#/c/18414/5
|
|
|
|
.. _api-ref: http://developer.openstack.org/api-ref/compute/
|
|
|
|
History
|
|
=======
|
|
|
|
.. list-table:: Revisions
|
|
:header-rows: 1
|
|
|
|
* - Release Name
|
|
- Description
|
|
* - Queens
|
|
- Introduced
|