[Openstack] swift storage, getting it working

2013-07-12 Thread Axel Christiansen
Hello List,


i got stock getting a swift store running. the base components, a proxy
some storage nodes are prepared. The keystone service is up and seems
working ok. Authentication works.


wehn trying to create a container this happens:

swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U demo:admin -K
XZ5OOQSKWSNJ post tesadfdsafds
Container PUT failed:
https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
404 Not Found  [first 60 chars of response] htmlh1Not
Found/h1pThe resource could not be found.


On the storage nodes:
Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
[12/Jul/2013:08:33:55 +] HEAD
/sdz1/80228/AUTH_adb1bcba4b2548589b67c8aee6be09fb 400 63 -
tx169c1f37bcee47e083eff0f6916f9392 - 0.0002

a log snippet.
http://paste.openstack.org/show/40211/


It would be really nice if one could point me in the rigth direction.
Where should i dig.

Thx, Axel


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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Jonathan Lu

Hi,
I once met such problem because I forget to change the own of the 
directory of the mounted device to swift:swift.


On 2013/7/12 16:44, Axel Christiansen wrote:

Hello List,


i got stock getting a swift store running. the base components, a proxy
some storage nodes are prepared. The keystone service is up and seems
working ok. Authentication works.


wehn trying to create a container this happens:

swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U demo:admin -K
XZ5OOQSKWSNJ post tesadfdsafds
Container PUT failed:
https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
404 Not Found  [first 60 chars of response] htmlh1Not
Found/h1pThe resource could not be found.


On the storage nodes:
Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
[12/Jul/2013:08:33:55 +] HEAD
/sdz1/80228/AUTH_adb1bcba4b2548589b67c8aee6be09fb 400 63 -
tx169c1f37bcee47e083eff0f6916f9392 - 0.0002

a log snippet.
http://paste.openstack.org/show/40211/


It would be really nice if one could point me in the rigth direction.
Where should i dig.

Thx, Axel


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



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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Kuo Hugo
Agree with Jonathan +1

Change the owner of disk mount point to the relevant user which you set in
/etc/swift/*.

+Hugo Kuo+
h...@swiftstack.com
tonyt...@gmail.com
+886 935004793


2013/7/12 Jonathan Lu jojokur...@gmail.com

 Hi,
 I once met such problem because I forget to change the own of the
 directory of the mounted device to swift:swift.


 On 2013/7/12 16:44, Axel Christiansen wrote:

 Hello List,


 i got stock getting a swift store running. the base components, a proxy
 some storage nodes are prepared. The keystone service is up and seems
 working ok. Authentication works.


 wehn trying to create a container this happens:

 swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U demo:admin -K
 XZ5OOQSKWSNJ post tesadfdsafds
 Container PUT failed:
 https://cs1.internet4you.com:**443/v1/AUTH_**
 adb1bcba4b2548589b67c8aee6be09**fb/tesadfdsafdshttps://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
 404 Not Found  [first 60 chars of response] htmlh1Not
 Found/h1pThe resource could not be found.


 On the storage nodes:
 Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
 [12/Jul/2013:08:33:55 +] HEAD
 /sdz1/80228/AUTH_**adb1bcba4b2548589b67c8aee6be09**fb 400 63 -
 **tx169c1f37bcee47e083eff0f6916f**9392 - 0.0002

 a log snippet.
 http://paste.openstack.org/**show/40211/http://paste.openstack.org/show/40211/


 It would be really nice if one could point me in the rigth direction.
 Where should i dig.

 Thx, Axel


 __**_
 Mailing list: 
 https://launchpad.net/~**openstackhttps://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~**openstackhttps://launchpad.net/~openstack
 More help   : 
 https://help.launchpad.net/**ListHelphttps://help.launchpad.net/ListHelp



 __**_
 Mailing list: 
 https://launchpad.net/~**openstackhttps://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~**openstackhttps://launchpad.net/~openstack
 More help   : 
 https://help.launchpad.net/**ListHelphttps://help.launchpad.net/ListHelp

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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Axel Christiansen


Thank you. That looks all right. Switching to user swift on a storage
node, cd-ing to a mountpoint (/srv/node/sdb1/) and creating a file
works. I checked the mount points and rights twice.


Here is a little larger snippet from the log server:
http://paste.openstack.org/show/40222/


someone with another hint? What should i check next?


Thx List. Axel




Am 12.07.13 10:58, schrieb Kuo Hugo:
 Agree with Jonathan +1
 
 Change the owner of disk mount point to the relevant user which you set
 in /etc/swift/*. 
 
 +Hugo Kuo+
 h...@swiftstack.com mailto:h...@swiftstack.com
 tonyt...@gmail.com
 mailto:tonyt...@gmail.com
 +886 935004793
 
 
 2013/7/12 Jonathan Lu jojokur...@gmail.com mailto:jojokur...@gmail.com
 
 Hi,
 I once met such problem because I forget to change the own of
 the directory of the mounted device to swift:swift.
 
 
 On 2013/7/12 16:44, Axel Christiansen wrote:
 
 Hello List,
 
 
 i got stock getting a swift store running. the base components,
 a proxy
 some storage nodes are prepared. The keystone service is up and
 seems
 working ok. Authentication works.
 
 
 wehn trying to create a container this happens:
 
 swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U demo:admin -K
 XZ5OOQSKWSNJ post tesadfdsafds
 Container PUT failed:
 
 https://cs1.internet4you.com:__443/v1/AUTH___adb1bcba4b2548589b67c8aee6be09__fb/tesadfdsafds
 
 https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
 404 Not Found  [first 60 chars of response] htmlh1Not
 Found/h1pThe resource could not be found.
 
 
 On the storage nodes:
 Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
 [12/Jul/2013:08:33:55 +] HEAD
 /sdz1/80228/AUTH___adb1bcba4b2548589b67c8aee6be09__fb 400 63 -
 __tx169c1f37bcee47e083eff0f6916f__9392 - 0.0002
 
 a log snippet.
 http://paste.openstack.org/__show/40211/
 http://paste.openstack.org/show/40211/
 
 
 It would be really nice if one could point me in the rigth
 direction.
 Where should i dig.
 
 Thx, Axel
 
 
 _
 Mailing list: https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/__ListHelp
 https://help.launchpad.net/ListHelp
 
 
 
 _
 Mailing list: https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/__ListHelp
 https://help.launchpad.net/ListHelp
 
 


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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Axel Christiansen
Hello.


my issue is solved. What did i do wrong, got wrong from google ;)

I mixed up the default ports for the ring building.
The proxy-server option allow_account_management = true and
account_autocreate = true where set to false.


All the best.
Axel




Am 12.07.13 12:50, schrieb Axel Christiansen:
 
 
 Thank you. That looks all right. Switching to user swift on a storage
 node, cd-ing to a mountpoint (/srv/node/sdb1/) and creating a file
 works. I checked the mount points and rights twice.
 
 
 Here is a little larger snippet from the log server:
 http://paste.openstack.org/show/40222/
 
 
 someone with another hint? What should i check next?
 
 
 Thx List. Axel
 
 
 
 
 Am 12.07.13 10:58, schrieb Kuo Hugo:
 Agree with Jonathan +1

 Change the owner of disk mount point to the relevant user which you set
 in /etc/swift/*. 

 +Hugo Kuo+
 h...@swiftstack.com mailto:h...@swiftstack.com
 tonyt...@gmail.com
 mailto:tonyt...@gmail.com
 +886 935004793


 2013/7/12 Jonathan Lu jojokur...@gmail.com mailto:jojokur...@gmail.com

 Hi,
 I once met such problem because I forget to change the own of
 the directory of the mounted device to swift:swift.


 On 2013/7/12 16:44, Axel Christiansen wrote:

 Hello List,


 i got stock getting a swift store running. the base components,
 a proxy
 some storage nodes are prepared. The keystone service is up and
 seems
 working ok. Authentication works.


 wehn trying to create a container this happens:

 swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U demo:admin -K
 XZ5OOQSKWSNJ post tesadfdsafds
 Container PUT failed:
 
 https://cs1.internet4you.com:__443/v1/AUTH___adb1bcba4b2548589b67c8aee6be09__fb/tesadfdsafds
 
 https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
 404 Not Found  [first 60 chars of response] htmlh1Not
 Found/h1pThe resource could not be found.


 On the storage nodes:
 Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
 [12/Jul/2013:08:33:55 +] HEAD
 /sdz1/80228/AUTH___adb1bcba4b2548589b67c8aee6be09__fb 400 63 -
 __tx169c1f37bcee47e083eff0f6916f__9392 - 0.0002

 a log snippet.
 http://paste.openstack.org/__show/40211/
 http://paste.openstack.org/show/40211/


 It would be really nice if one could point me in the rigth
 direction.
 Where should i dig.

 Thx, Axel


 _
 Mailing list: https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/__ListHelp
 https://help.launchpad.net/ListHelp



 _
 Mailing list: https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~__openstack
 https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/__ListHelp
 https://help.launchpad.net/ListHelp


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


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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Kuo Hugo
Hi Alex ,

Did you re-check the drives information in the ring?
Would you like to show it?

+Hugo Kuo+
h...@swiftstack.com
tonyt...@gmail.com
+886 935004793


2013/7/12 Axel Christiansen axel.christian...@softreset.de

 Hello.


 my issue is solved. What did i do wrong, got wrong from google ;)

 I mixed up the default ports for the ring building.
 The proxy-server option allow_account_management = true and
 account_autocreate = true where set to false.


 All the best.
 Axel




 Am 12.07.13 12:50, schrieb Axel Christiansen:
 
 
  Thank you. That looks all right. Switching to user swift on a storage
  node, cd-ing to a mountpoint (/srv/node/sdb1/) and creating a file
  works. I checked the mount points and rights twice.
 
 
  Here is a little larger snippet from the log server:
  http://paste.openstack.org/show/40222/
 
 
  someone with another hint? What should i check next?
 
 
  Thx List. Axel
 
 
 
 
  Am 12.07.13 10:58, schrieb Kuo Hugo:
  Agree with Jonathan +1
 
  Change the owner of disk mount point to the relevant user which you set
  in /etc/swift/*.
 
  +Hugo Kuo+
  h...@swiftstack.com mailto:h...@swiftstack.com
  tonyt...@gmail.com
  mailto:tonyt...@gmail.com
  +886 935004793
 
 
  2013/7/12 Jonathan Lu jojokur...@gmail.com mailto:
 jojokur...@gmail.com
 
  Hi,
  I once met such problem because I forget to change the own of
  the directory of the mounted device to swift:swift.
 
 
  On 2013/7/12 16:44, Axel Christiansen wrote:
 
  Hello List,
 
 
  i got stock getting a swift store running. the base components,
  a proxy
  some storage nodes are prepared. The keystone service is up and
  seems
  working ok. Authentication works.
 
 
  wehn trying to create a container this happens:
 
  swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U
 demo:admin -K
  XZ5OOQSKWSNJ post tesadfdsafds
  Container PUT failed:
  https://cs1.internet4you.com:__443
 /v1/AUTH___adb1bcba4b2548589b67c8aee6be09__fb/tesadfdsafds
  
 https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
 
  404 Not Found  [first 60 chars of response] htmlh1Not
  Found/h1pThe resource could not be found.
 
 
  On the storage nodes:
  Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
  [12/Jul/2013:08:33:55 +] HEAD
  /sdz1/80228/AUTH___adb1bcba4b2548589b67c8aee6be09__fb 400 63
 -
  __tx169c1f37bcee47e083eff0f6916f__9392 - 0.0002
 
  a log snippet.
  http://paste.openstack.org/__show/40211/
  http://paste.openstack.org/show/40211/
 
 
  It would be really nice if one could point me in the rigth
  direction.
  Where should i dig.
 
  Thx, Axel
 
 
  _
  Mailing list: https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/__ListHelp
  https://help.launchpad.net/ListHelp
 
 
 
  _
  Mailing list: https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/__ListHelp
  https://help.launchpad.net/ListHelp
 
 
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 


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

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


Re: [Openstack] swift storage, getting it working

2013-07-12 Thread Axel Christiansen
Hi Hugo,


as i mentioned, my ring was wrong. At least i beleve using the wrong
ports for the ring services(account, container, object) breaks the ring,
right?

Thats what broke my setup, i beleve.

Axel



Am 12.07.13 14:09, schrieb Kuo Hugo:
 Hi Alex , 
 
 Did you re-check the drives information in the ring?
 Would you like to show it?
 
 +Hugo Kuo+
 h...@swiftstack.com mailto:h...@swiftstack.com
 tonyt...@gmail.com
 mailto:tonyt...@gmail.com
 +886 935004793
 
 
 2013/7/12 Axel Christiansen axel.christian...@softreset.de
 mailto:axel.christian...@softreset.de
 
 Hello.
 
 
 my issue is solved. What did i do wrong, got wrong from google ;)
 
 I mixed up the default ports for the ring building.
 The proxy-server option allow_account_management = true and
 account_autocreate = true where set to false.
 
 
 All the best.
 Axel
 
 
 
 
 Am 12.07.13 12:50, schrieb Axel Christiansen:
 
 
  Thank you. That looks all right. Switching to user swift on a storage
  node, cd-ing to a mountpoint (/srv/node/sdb1/) and creating a file
  works. I checked the mount points and rights twice.
 
 
  Here is a little larger snippet from the log server:
  http://paste.openstack.org/show/40222/
 
 
  someone with another hint? What should i check next?
 
 
  Thx List. Axel
 
 
 
 
  Am 12.07.13 10:58, schrieb Kuo Hugo:
  Agree with Jonathan +1
 
  Change the owner of disk mount point to the relevant user which
 you set
  in /etc/swift/*.
 
  +Hugo Kuo+
  h...@swiftstack.com mailto:h...@swiftstack.com
 mailto:h...@swiftstack.com mailto:h...@swiftstack.com
  tonyt...@gmail.com mailto:tonyt...@gmail.com
  mailto:tonyt...@gmail.com mailto:tonyt...@gmail.com
  +886 935004793 tel:%2B886%20935004793
 
 
  2013/7/12 Jonathan Lu jojokur...@gmail.com
 mailto:jojokur...@gmail.com mailto:jojokur...@gmail.com
 mailto:jojokur...@gmail.com
 
  Hi,
  I once met such problem because I forget to change the own of
  the directory of the mounted device to swift:swift.
 
 
  On 2013/7/12 16:44, Axel Christiansen wrote:
 
  Hello List,
 
 
  i got stock getting a swift store running. the base
 components,
  a proxy
  some storage nodes are prepared. The keystone service is
 up and
  seems
  working ok. Authentication works.
 
 
  wehn trying to create a container this happens:
 
  swift -v -s -V 2.0 -A http://10.42.44.206:5000/v2.0 -U
 demo:admin -K
  XZ5OOQSKWSNJ post tesadfdsafds
  Container PUT failed:
 
 
 https://cs1.internet4you.com:__443/v1/AUTH___adb1bcba4b2548589b67c8aee6be09__fb/tesadfdsafds
 
 
 https://cs1.internet4you.com:443/v1/AUTH_adb1bcba4b2548589b67c8aee6be09fb/tesadfdsafds
  404 Not Found  [first 60 chars of response] htmlh1Not
  Found/h1pThe resource could not be found.
 
 
  On the storage nodes:
  Jul 12 10:33:55 sn04 object-server 10.42.45.203 - -
  [12/Jul/2013:08:33:55 +] HEAD
  /sdz1/80228/AUTH___adb1bcba4b2548589b67c8aee6be09__fb
 400 63 -
  __tx169c1f37bcee47e083eff0f6916f__9392 - 0.0002
 
  a log snippet.
  http://paste.openstack.org/__show/40211/
  http://paste.openstack.org/show/40211/
 
 
  It would be really nice if one could point me in the rigth
  direction.
  Where should i dig.
 
  Thx, Axel
 
 
  _
  Mailing list: https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/__ListHelp
  https://help.launchpad.net/ListHelp
 
 
 
  _
  Mailing list: https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  mailto:openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~__openstack
  https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/__ListHelp
  https://help.launchpad.net/ListHelp