*** mwheckmann has quit IRC | 01:17 | |
*** nanzha has joined #openstack-swift | 01:17 | |
*** spsurya has joined #openstack-swift | 01:18 | |
*** nanzha has quit IRC | 03:21 | |
*** nanzha has joined #openstack-swift | 03:21 | |
*** mwheckmann has joined #openstack-swift | 03:24 | |
*** psachin has joined #openstack-swift | 03:28 | |
*** mwheckmann has quit IRC | 03:47 | |
*** nanzha has quit IRC | 04:04 | |
*** nanzha has joined #openstack-swift | 04:04 | |
*** psachin has quit IRC | 05:10 | |
*** nanzha has quit IRC | 05:23 | |
*** nanzha has joined #openstack-swift | 05:27 | |
*** rcernin has quit IRC | 07:08 | |
*** nanzha has quit IRC | 07:10 | |
*** nanzha has joined #openstack-swift | 07:17 | |
*** ccamacho has joined #openstack-swift | 07:27 | |
*** nanzha has quit IRC | 07:32 | |
*** ccamacho has quit IRC | 07:39 | |
*** tkajinam has quit IRC | 08:19 | |
viks___ | hi, just wanted to know the default `max_clients = 1024` in proxy-server.conf is based on what? on what basis i should be setting this? any suggestions? | 08:25 |
---|---|---|
*** ccamacho has joined #openstack-swift | 08:33 | |
*** nanzha has joined #openstack-swift | 09:01 | |
*** rcernin has joined #openstack-swift | 09:03 | |
*** rcernin has quit IRC | 09:56 | |
*** rcernin has joined #openstack-swift | 10:12 | |
*** rcernin has quit IRC | 10:49 | |
*** FlorianFa has quit IRC | 11:26 | |
*** pcaruana has joined #openstack-swift | 11:47 | |
*** pcaruana has quit IRC | 12:09 | |
*** rcernin has joined #openstack-swift | 12:17 | |
*** rcernin has quit IRC | 12:44 | |
rledisez | hi viks___, if you want to increase it, don't forget to increase the system limit of file descriptor (ulimit -n) | 13:13 |
viks___ | rledisez: Ok... but what can be the max value for it ? is there any limit ? or based on system load i should be increasing it? Any suggestions? | 13:15 |
viks___ | like workers, we set based on the cores, similarly is there any dependent thing for max_clients? | 13:17 |
rledisez | viks___: I can't tell if there is a limit, but there is certainly one. you should check for stats like load, ttfb and logs like timeout before increasing it blindly | 14:14 |
viks___ | rledisez: ok.. thanks | 14:35 |
*** mwheckmann has joined #openstack-swift | 15:04 | |
*** renich has joined #openstack-swift | 15:24 | |
renich | Good day | 15:25 |
renich | I am having these recurring messages: https://paste.centos.org/view/56ab8b41. The odd thing is that this is a newly installed cluster and the referenced containers are from an account that doesn't list when I: openstack user list. | 15:27 |
DHE | accounts in swift are actually from projects, not individual users | 15:28 |
renich | DHE: Oh, OK. | 15:29 |
DHE | that way multiple users can share a resource while each having their own login credentials, or a single user can be granted multiple resources that don't entirely overlap with other users, etc. | 15:29 |
DHE | this is basically how openstack as a whole works, the project owns the resources rather than the user | 15:30 |
renich | DHE: so, it is there. It's admin. | 15:30 |
renich | DHE: in any case, how do I prevent those errors? | 15:30 |
DHE | sounds like you need accounts to be auto-created. that's an option in the proxy server | 15:30 |
renich | OK. Let me check. | 15:31 |
renich | account_autocreate = true | 15:31 |
renich | it is set | 15:31 |
renich | Any other idea of how to fix that? | 15:40 |
tdasilva | what about the option `allow_account_management` ? | 15:43 |
renich | tdasilva: chekcing | 15:46 |
renich | tdasilva: that wasn't there. Setting it to true. | 15:47 |
renich | tdasilva: after setting that up and restarting swift-account-server, the error keeps appearing | 15:51 |
tdasilva | renich: do you see any log message with the strings: "autocreate account" ? | 15:57 |
renich | tdasilva: chekcing | 16:00 |
renich | journalctl | grep autocreate turned out nothing tdasilva | 16:00 |
renich | I keep misspelling checking, hehe. | 16:04 |
tdasilva | renich: mm...not sure actually, are you able to HEAD this account? or what about `swift-account-info` ? | 16:16 |
*** nanzha has quit IRC | 16:16 | |
renich | tdasilva: let me check | 16:17 |
renich | tdasilva: what do you mean HEAD the account? curl -X HEAD? In any case, swift stat works. | 16:18 |
renich | swift-account-info asks for a path to a DB. Let me read the man, tdasilva | 16:19 |
tdasilva | ah, `swift stat` is the same as HEAD request | 16:19 |
tdasilva | swift-account-info needs the path to the account ring and then just the account name | 16:20 |
tdasilva | renich: sorry, got cmds confused...i meant to say swift-get-nodes | 16:20 |
renich | tdasilva: OK | 16:20 |
renich | tdasilva: https://paste.centos.org/view/a010bede | 16:22 |
tdasilva | renich: your account ring has only 1 replica? also the other log seemed to be trying to PUT a container in account `AUTH_c6b9b19aa06d4b41ad2a78f376a1fe88`, no? | 16:24 |
renich | tdasilva: yep. | 16:32 |
renich | tdasilva: what do you mean about trying to PUT in that account? | 16:35 |
tdasilva | renich: the error you posted earlier, show's a PUT error for 3 different containers, for example: ERROR __call__ error with PUT /swift-devices/807/AUTH_c6b9b19aa06d4b41ad2a78f376a1fe88/container1 | 16:36 |
renich | tdasilva: right. | 16:37 |
tdasilva | and the account server responds with the error: "I can't put this container in this account, I don't have a db for it" | 16:37 |
renich | tdasilva: exactly | 16:37 |
tdasilva | no i'm not sure why this account wasn't auto created or why the db can't be found | 16:38 |
tdasilva | s/no/now | 16:38 |
renich | ... OK. | 16:38 |
renich | I am worse off. I don't know :D | 16:38 |
tdasilva | renich: which account are you using? AUTH_c6b9b19aa06d4b41ad2a78f376a1fe88 or admin? what does `swift stat --debug` show for the curl commands? what command did you run to get those PUT failures? `swift post container1`? | 16:43 |
renich | admin | 16:44 |
renich | tdasilva: https://paste.centos.org/view/ab021dae | 16:44 |
renich | btw, I tested the demo account and, that one, works fine (I can create and delete containers) but not in admin... pretty odd. | 16:44 |
*** pcaruana has joined #openstack-swift | 16:45 | |
tdasilva | yeah | 16:45 |
renich | tdasilva: openstack container create test | 16:45 |
tdasilva | and what did you get from `swift-get-nodes -a <account_ring_path> AUTH_c6b9b19aa06d4b41ad2a78f376a1fe88` the first node it returns with, can you check if the db is there? | 16:47 |
renich | https://paste.centos.org/view/a148a0a6 | 16:48 |
renich | it seems /srv/node/swift-devices/accounts is empty in 10.0.176.122 | 16:50 |
tdasilva | renich: can you see if you find the db in the other handoff nodes? also is 10.0.176.122 the same node where you saw these errors: https://paste.centos.org/view/56ab8b41#L3 ? | 16:56 |
renich | tdasilva: man, I am sorry but I gotta leave for now. I'll leave my IRC client open. Thanks a lot for the help, btw! | 16:57 |
tdasilva | renich: ok, sorry i couldn't help much | 16:57 |
tdasilva | or at all | 16:57 |
renich | tdasilva: no, it's not the same one. And, yes, I will see if I can find the DB in other nodes. | 16:57 |
renich | tdasilva: on the contrary, thanks a lot! | 16:57 |
tdasilva | check you have the same rings everyhere | 16:58 |
tdasilva | swift-recon --md5 | 16:58 |
tdasilva | see ya | 16:58 |
renich | tdasilva: now, I know there are nodes that work and nodes that don't. demo is on 123 and it works. | 16:58 |
renich | tdasilva: I will. Thanks a ton! | 16:58 |
tdasilva | yeah,you probably have different rings | 16:58 |
renich | tdasilva: I think you nailed it! | 16:58 |
renich | https://paste.centos.org/view/ef45c101 | 16:59 |
renich | tdasilva: thank you very much! You rock! | 16:59 |
tdasilva | renich: yw :) | 17:00 |
*** pcaruana has quit IRC | 18:57 | |
*** pcaruana has joined #openstack-swift | 18:58 | |
*** henriqueof has joined #openstack-swift | 19:35 | |
*** spsurya has quit IRC | 21:07 | |
*** renich has quit IRC | 21:36 | |
*** ormandj has quit IRC | 21:38 | |
*** pcaruana has quit IRC | 21:42 | |
mattoliverau | morning, and yes tdasilva definitely rocks! :) | 22:15 |
*** mwheckmann has quit IRC | 22:28 | |
*** rcernin has joined #openstack-swift | 22:58 | |
*** tkajinam has joined #openstack-swift | 23:01 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!