[Openstack] problem in creating container

Shrinand Javadekar shrinand at maginatics.com
Thu Dec 5 19:00:28 UTC 2013


Why don't you use the swift command line client. That's easier to work
with than using curl.

http://swiftstack.com/docs/integration/python-swiftclient.html

On Thu, Dec 5, 2013 at 3:58 AM, pragya jain <prag_2648 at yahoo.co.in> wrote:
> hello all,
>
> I had installed swift using link
> http://docs.openstack.org/developer/swift/development_saio.html
> I get an error in creating the container
> --------------
> root at pragya-VirtualBox:~# sudo swift-init account start
> Starting account-server...(/etc/swift/account-server/1.conf)
> Starting account-server...(/etc/swift/account-server/2.conf)
> Starting account-server...(/etc/swift/account-server/3.conf)
> Starting account-server...(/etc/swift/account-server/4.conf)
> root at pragya-VirtualBox:~# sudo swift-init proxy restart
> No proxy-server running
> Starting proxy-server...(/etc/swift/proxy-server.conf)
> root at pragya-VirtualBox:~# curl -v -H 'X-Storage-User: prag2648:prag' -H
> 'X-Storage-Pass: pj2648' http://127.0.0.1:8080/auth/v1.0
> http://paste.openstack.org/show/54498/
> root at pragya-VirtualBox:~# curl -v -H 'X-Auth-Token:
> AUTH_tk850294e7f80b4ca09d9acda278466391'
> http://127.0.0.1:8080/v1/AUTH_prag2648
> http://paste.openstack.org/show/54497/
> root at pragya-VirtualBox:~# curl -v -H 'X-Auth-Token:
> AUTH_tk850294e7f80b4ca09d9acda278466391' -X PUT
> http://127.0.0.1:8080/v1/AUTH_prag2648/photos
> http://paste.openstack.org/show/54496/
> root at pragya-VirtualBox:~# sudo swift-init container start
> Starting container-server...(/etc/swift/container-server/1.conf)
> Starting container-server...(/etc/swift/container-server/2.conf)
> Starting container-server...(/etc/swift/container-server/3.conf)
> Starting container-server...(/etc/swift/container-server/4.conf)
> root at pragya-VirtualBox:~# curl -v -H 'X-Auth-Token:
> AUTH_tk850294e7f80b4ca09d9acda278466391' -X PUT
> http://127.0.0.1:8080/v1/AUTH_prag2648/photos
> http://paste.openstack.org/show/54495/
> ----------------
>
> Please help me in this regard
>
> Pragya jain
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>




More information about the Openstack mailing list