cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Stevens <>
Subject Re: [REVIEW] OpenStack Swift as Object Storage Service
Date Fri, 14 Mar 2014 02:15:40 GMT
Lets say that we have the following setup to help clarify how this all

CloudStack Management server is on:
Swift Proxy servers are on:,,
We have a load balancer setup on:
The load balancer is networked to both the Swift cluster and CloudStack.

When you want to connect to CloudStack, you connect to:
You can basically think of that as your CloudStack IP since the load
balancer passes all CloudStack traffic that hits directly to
CloudStack (

To everyone concerned, the IP is the CS server because it
behaves like it.

The only URLs that do not go directly to the CloudStack box are URLs that
start with 'v1.0' (swift auth urls) and 'v1' (all other swift calls).

In this case we have 3 proxy servers on Swift, so the load balancer will
load balance across the different Swift proxy servers when the URL starts
with 'v1.0' or 'v1'.

If we did not do it this way and we setup and endpoint for Swift in
CloudStack, then we would bottleneck all of the traffic to Swift at the
CloudStack management server.  The fact that we have 3 proxy servers would
be made irrelevant because all the traffic would be going through the
CloudStack management server first.  This would dramatically reduce the
performance of Swift and would have a dramatic impact on the resources
required by the CloudStack management server.

By splitting the traffic before it gets to either of the services, we can
increase the performance of both of them.

Is that clearer?


On Thu, Mar 13, 2014 at 9:06 PM, Edison Su <> wrote:

>  The way to talk to swift endpoint, by using haproxy to redirect url
> request contains "/v1.0" to swift endpoint, so it assumes, the endpoint of
> swift is the same as cloudstack mgt server. Correct me, if I am wrong, I
> just try to figure how it works.
> But what if the swift endpoint is different from CloudStack mgt server?
> Take Aws console as an example, the aws console is,
> but the S3 endpoint is
> *From:* [] *On
> Behalf Of *Will Stevens
> *Sent:* Thursday, March 13, 2014 5:52 PM
> *To:* Edison Su
> *Cc:*; David Nalley <> (
> *Subject:* Re: [REVIEW] OpenStack Swift as Object Storage Service
> What are you referring to as the 'v1.0 url hack'?  Bypassing the
> cloudstack management server is an intentional design decision to improve
> performance.  The introduction of a load balancer in front of the two
> distinct services to maintain separation of their traffic is a good thing.
> I will review the UI tutorial you sent...
> I will check how much work it is to replace PLupload with the jQuery File
> Upload plugin.
> Cheers,
> Will
> On Thu, Mar 13, 2014 at 8:24 PM, Edison Su <> wrote:
> One comment on the "/v1.0" url hack, seems changing mgt server is
> unavoidable, would it be easier to  add a new api in cloudstack, which can
> get the endpoint of swift server and the auth?
> And the UI change should be put under ui plugin:
> and also, as David mentioned, plupload is not compatible with Apache
> license, maybe something like:
>, is  better to be used.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message