problem in creating container [closed]

asked 2013-12-05 06:02:05 -0500

pragya jain gravatar image

updated 2013-12-05 08:23:47 -0500

rahmu gravatar image

I had installed swift using this document.

I get an error in creating the container:

root@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@pragya-VirtualBox:~# sudo swift-init proxy restart
No proxy-server running
Starting proxy-server...(/etc/swift/proxy-server.conf)

Then I do the following:

root@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@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@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@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@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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-01-02 01:07:09.702601

Comments

Pragya do you that directory in place?

koolhead17 gravatar imagekoolhead17 ( 2013-12-09 22:02:12 -0500 )edit

hello Koolhead17, Sorry, I can't understand meaning of your comment. Please explain

pragya jain gravatar imagepragya jain ( 2013-12-09 23:39:16 -0500 )edit

Can i close this? It seems its fixed for you now.

koolhead17 gravatar imagekoolhead17 ( 2014-01-02 00:05:20 -0500 )edit

yes, my problem is resolved. i reinstall swift by using the user name of the ubuntu installed on my system. it was creating an error due to using user name as swift

pragya jain gravatar imagepragya jain ( 2014-01-02 00:16:24 -0500 )edit

cool closing it.

koolhead17 gravatar imagekoolhead17 ( 2014-01-02 01:06:59 -0500 )edit