<p dir="ltr">7i</p>
<div class="gmail_quote">On Mar 3, 2015 8:30 PM, "Radoslaw Zarzynski" <<a href="mailto:rzarzynski@mirantis.com">rzarzynski@mirantis.com</a>> wrote:<br type="attribution"><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>