[Openstack] HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail

Ali, Haneef haneef.ali at hp.com
Fri Jun 28 21:10:31 UTC 2013


As far as I know,  Apache will make it lower-case.  I use keystone with Apache frontend (mo-wsgi) and all the headers are in lowercase. I was wondering how David is getting correct case.  BTW my environment is Ubuntu Precise  running apache2.2

Thanks
Haneef

From: Openstack [mailto:openstack-bounces+haneef.ali=hp.com at lists.launchpad.net] On Behalf Of Ali, Saqib
Sent: Friday, June 28, 2013 1:53 PM
To: David Hadas
Cc: Chmouel Boudjnah; Openstack; openstack at lists.launchpad.net
Subject: Re: [Openstack] HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail

Hello David,

Thanks for the response.

I believe we are using the apache web frontend for the enabling SSL on the end-points. I have asked our OpenStack folks to share the setup and reasoning behind use of the Apache web frontend. They will respond here shortly.

I am not sure why our instance of Apache web frontend is returning lower case X-Storage-Url. When we connect directly to the proxy, the X-Storage-Url are correct case. But the Apache frontend somehow makes it all lower case.

Would it possible for you to share the relevant Apache config and other setup details for the setup that you have?

Thanks.



On Fri, Jun 28, 2013 at 9:38 AM, David Hadas <DAVIDH at il.ibm.com<mailto:DAVIDH at il.ibm.com>> wrote:
Ali hi,

On my system I get the headers as  X-Storage-Url when running under Apache2
front end (not lowercase).

Btw, I am always interested to learn how people are using Swift with the
Apache front end as this is a fairly recent addition (we are working not to
get it into devstack), can you describe shortly your setup and the reason
behind choosing Apache front end?

DH


Regards,
David Hadas,
Openstack Swift ATC, Architect, Master Inventor
IBM Research Labs, Haifa
Tel:    Int+972-4-829-6104<tel:%2B972-4-829-6104>
Fax:   Int+972-4-829-6112<tel:%2B972-4-829-6112>




From:   "Ali, Saqib" <docbook.xml at gmail.com<mailto:docbook.xml at gmail.com>>
To:     Chmouel Boudjnah <chmouel at enovance.com<mailto:chmouel at enovance.com>>,
Cc:     openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Date:   28/06/2013 04:30 PM
Subject:        Re: [Openstack] HTTP headers are incorrectly treated case
            sensitive by jClouds causing OpenStack x-storage-url to fail
Sent by:        "Openstack" <openstack-bounces
            +davidh=il.ibm.com at lists.launchpad.net<mailto:il.ibm.com at lists.launchpad.net>>



Chmouel,

Not really a hack on the swift, just the apache web frontend[1]

1. http://docs.openstack.org/developer/swift/apache_deployment_guide.html


On Fri, Jun 28, 2013 at 6:26 AM, Chmouel Boudjnah <chmouel at enovance.com<mailto:chmouel at enovance.com>>
wrote:
  On Fri, Jun 28, 2013 at 2:00 AM, Ali, Saqib <docbook.xml at gmail.com<mailto:docbook.xml at gmail.com>>
  wrote:
  > Is there anything we can do to work around this, while someone from the
  > jClouds community fixes this issue?


  I would be believe a jclouds fix would be faster to get in than to try
  agree on a hack to do on swift.

  Chmouel.
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130628/a42535db/attachment.html>


More information about the Openstack mailing list