<div dir="ltr"><div><div><div><div>Radoslaw,<br><br></div>Unfortunately the documentation for OpenStack has some holes. What you are calling a private API may be something missed in the documentation. Is there a documentation bug on the issue? If not one should be created.<br><br></div>In practice OpenStack isn't a specification and implementation. The documentation has enough missing information you can't treat it this way. If you want to contribute to improving the documentation I'm sure the documentation team would appreciate it. The last time I looked there were a number of undocumented public swift API details.<br><br></div>Best of luck,<br></div>Matt Farina<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 9:59 AM, Radoslaw Zarzynski <span dir="ltr"><<a href="mailto:rzarzynski@mirantis.com" target="_blank">rzarzynski@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Guys,<br>
<br>
I would like discuss a problem which can be seen in Horizon: breaking<br>
the boundaries of public, well-specified Object Storage API in favour<br>
of utilizing a Swift-specific extensions. Ticket #1297173 [1] may serve<br>
as a good example of such violation. It is about relying on<br>
non-standard (in the terms of OpenStack Object Storage API v1) and<br>
undocumented HTTP header provided by Swift. In order to make<br>
Ceph RADOS Gateway work correctly with Horizon, developers had to<br>
inspect sources of Swift and implement the same behaviour.<br>
<br>
>From my perspective, that practise breaks the the mission of OpenStack<br>
which is much more than delivering yet another IaaS/PaaS implementation.<br>
I think its main goal is to provide a universal set of APIs covering all<br>
functional areas relevant for cloud computing, and to place that set<br>
of APIs in front as many implementations as possible. Having an open<br>
source reference implementation of a particular API is required to prove<br>
its viability, but is secondary to having an open and documented API.<br>
<br>
I have full understanding that situations where the public OpenStack<br>
interfaces are insufficient to get the work done might exist.<br>
However, introduction of dependency on implementation-specific feature<br>
(especially without giving the users a choice via e.g. some<br>
configuration option) is not the proper way to deal with the problem.<br>
>From my point of view, such cases should be handled with adoption of<br>
new, carefully designed and documented version of the given API.<br>
<br>
In any case I think that Horizon, at least basic functionality, should<br>
work with any storage which provides Object Storage API.<br>
That being said, I'm willing to contribute such patches, if we decide<br>
to go that way.<br>
<br>
Best regards,<br>
Radoslaw Zarzynski<br>
<br>
[1] <a href="https://bugs.launchpad.net/horizon/+bug/1297173" target="_blank">https://bugs.launchpad.net/horizon/+bug/1297173</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>