← Back to team overview

openstack team mailing list archive

Re: HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail

 

The fix for this issue [1] is actively being worked on in jclouds. The fix is ready but the contributor is waiting for his CLA to be signed.

Saqib, I see you already kicked off a conversation over on the jclouds mailing list [2]. I'll update the thread over there when the fix is in and how to get it as soon as possible.

Sorry for the late reply. I was on vacation last week. :)

Regards,
Everett

[1] https://issues.apache.org/jira/browse/JCLOUDS-155
[2] http://www.mail-archive.com/user@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/msg00145.html

On Jun 28, 2013, at 4:10 PM, Ali, Haneef wrote:

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@xxxxxxxxxxxxxxxxxxx<mailto:hp.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Ali, Saqib
Sent: Friday, June 28, 2013 1:53 PM
To: David Hadas
Cc: Chmouel Boudjnah; Openstack; openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx<mailto:DAVIDH@xxxxxxxxxx>> 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@xxxxxxxxx<mailto:docbook.xml@xxxxxxxxx>>
To:     Chmouel Boudjnah <chmouel@xxxxxxxxxxxx<mailto:chmouel@xxxxxxxxxxxx>>,
Cc:     openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx<mailto:il.ibm.com@xxxxxxxxxxxxxxxxxxx>>



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@xxxxxxxxxxxx<mailto:chmouel@xxxxxxxxxxxx>>
wrote:
  On Fri, Jun 28, 2013 at 2:00 AM, Ali, Saqib <docbook.xml@xxxxxxxxx<mailto:docbook.xml@xxxxxxxxx>>
  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@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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


References