[openstack-dev] [api][nova][ironic] Microversion API HTTP header
dtantsur at redhat.com
Mon Jun 15 17:16:00 UTC 2015
On 06/15/2015 07:07 PM, Jay Pipes wrote:
> It has come to my attention in  that the microversion spec for Nova
>  and Ironic  have used the project name -- i.e. Nova and Ironic --
> instead of the name of the API -- i.e. "OpenStack Compute" and
> "OpenStack Bare Metal" -- in the HTTP header that a client passes to
> indicate a preference for or knowledge of a particular API microversion.
> The original spec said that the HTTP header should contain the name of
> the service type returned by the Keystone service catalog (which is also
> the official name of the REST API). I don't understand why the spec was
> changed retroactively and why Nova has been changed to return
> X-OpenStack-Nova-API-Version instead of X-OpenStack-Compute-API-Version
> HTTP headers .
> To be blunt, Nova is the *implementation* of the OpenStack Compute API.
> Ironic is the *implementation* of the OpenStack BareMetal API.
> The HTTP headers should never have been changed like this, IMHO, and I'm
> disappointed that they were. In fact, it looks like a very select group
> of individuals pushed through this change  with little to no input
> from the mailing list or community.
> Since no support for these headers has yet to land in the client
> packages, can we please reconsider this?
ironicclient has support for the header for a while, and anyway we
released it with Ironic Kilo, so I guess it's a breaking change.
also while the only implementation and source of authority for the
"baremetal" API is Ironic, I'm not sure there's point of calling it
"baremetal API", but I'm neutral to this suggestion modulo compatibility
>  https://review.openstack.org/#/c/187112/
>  https://review.openstack.org/#/c/155611/
>  https://review.openstack.org/#/c/153183/
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev