← Back to team overview

openstack team mailing list archive

Re: Need help and guidance of Openstack Swift

 

Some links to show you:

https://github.com/openstack/horizon/blob/7b565fc9839833b4b99b1fc3b02269b79071af3e/horizon/api/swift.py

https://github.com/openstack/horizon/blob/f6f2a91e14f6bdd4e1a87e31a1d6923127afee1b/horizon/dashboards/nova/containers/views.py

Best,
-jay

On 06/19/2012 02:04 PM, Yogesh Bansal wrote:
Hello Friends,

I have just started using Openstack.I am trying to make a web based
application for Openstack swift. I am using the Django and python for my
application. Could you please provide me few examples how to send the
command to swift server using python. I am able to get the auth token
from keystone and the public url for the swift storage. But when I tried
to use that swift publicURL, in response it say “*'403
Forbidden\n\nAccess was denied to this resource.\n\n*” and Django stops
by giving this error message

“raise ValueError(errmsg("Extra data", s, end, len(s)))

ValueError: Extra data: line 1 column 4 - line 5 column 4 (char 4 - 55)

”

I am able to run the curl commands with are provided in the Openstack
documentation and its running fine.I just need help using python.

I am learning python and Django also. I have little understanding on this.

Could you please help and guide me on this.

Thanks

Yogesh



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


Follow ups

References