← Back to team overview

openstack team mailing list archive

Re: swift storage, getting it working

 

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+
> hugo@xxxxxxxxxxxxxx <mailto:hugo@xxxxxxxxxxxxxx>
> tonytkdk@xxxxxxxxx
> <mailto:tonytkdk@xxxxxxxxx>
> +886 935004793
> 
> 
> 2013/7/12 Axel Christiansen <axel.christiansen@xxxxxxxxxxxx
> <mailto:axel.christiansen@xxxxxxxxxxxx>>
> 
>     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+
>     >> hugo@xxxxxxxxxxxxxx <mailto:hugo@xxxxxxxxxxxxxx>
>     <mailto:hugo@xxxxxxxxxxxxxx <mailto:hugo@xxxxxxxxxxxxxx>>
>     >> tonytkdk@xxxxxxxxx <mailto:tonytkdk@xxxxxxxxx>
>     >> <mailto:tonytkdk@xxxxxxxxx <mailto:tonytkdk@xxxxxxxxx>>
>     >> +886 935004793 <tel:%2B886%20935004793>
>     >>
>     >>
>     >> 2013/7/12 Jonathan Lu <jojokururu@xxxxxxxxx
>     <mailto:jojokururu@xxxxxxxxx> <mailto:jojokururu@xxxxxxxxx
>     <mailto:jojokururu@xxxxxxxxx>>>
>     >>
>     >>     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] <html><h1>Not
>     >>         Found</h1><p>The 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 +0000] "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@xxxxxxxxxxxxxxxxxxx
>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
>     >>         <mailto:openstack@xxxxxxxxxxxxxxxxxxx
>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
>     >>         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@xxxxxxxxxxxxxxxxxxx
>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
>     >>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx
>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
>     >>     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@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