Monday, 2016-10-17

kota_good morning01:23
mattoliveraukota_: morning01:25
mattoliverauclayg: playing with your vsaio (cause i'm working remotely and want to have something to play with locally on my laptop, especially as I fly to barca on the weekend) and thankyou so much for having both the proxy and the noauth proxy.. makes my life so much easier.. and it means I don't have to set up a noauth one.. you rock!01:26
kota_mattoliverau: morning01:28
*** zhengyin has joined #openstack-swift01:32
kota_clayg: will look at your bug report02:40
kota_ah, proposed patch for stable branch doesn't appear here?02:41
kota_https://review.openstack.org/#/c/387123/02:41
patchbotpatch 387123 - swift (stable/newton) - Prevent ssync writing bad fragment data to diskfile02:41
kota_that's a back port for newton02:41
kota_will try for mitaka acoles said, it doesn't conflict but an unit test failed.02:42
charzkota_: mattoliverau morning02:49
mattoliveraucharz: o/02:50
*** sgundur has joined #openstack-swift03:09
*** sgundur has quit IRC03:15
*** chlong has joined #openstack-swift03:30
*** psachin has joined #openstack-swift03:49
*** winggundamth has joined #openstack-swift03:55
*** cshastri has joined #openstack-swift04:12
mahaticgood morning04:18
mahatictarantool: hello, around?04:18
*** cshastri_ has joined #openstack-swift04:20
*** psachin has quit IRC04:20
*** cshastri has quit IRC04:23
*** cshastri_ has quit IRC04:25
*** cshastri_ has joined #openstack-swift04:25
mahaticnotmyname: I did happen to chat with tarantool earlier on opw channel. So although the deadline to put in the application is today, she can still continue to make first contribution (and later edit the application), for the next couple of weeks. Then the decision will be based on her contribution and mentor's willingness to accept.04:26
winggundamthhi everybody. anyone know how to delete account under keystoneauth? I have 150 million objects under the project and I want to remove it all but I don't want to remove instances under that project.04:28
*** sures has joined #openstack-swift04:30
sureshii all, I deployed openstack swift with one proxy and one storage node. I able to upload and download objects. But while uploading 20 objects of size 5.1GB parallely i am getting an error 503 service unavialable.04:32
suresplease someone help?04:32
*** StraubTW has quit IRC04:32
*** StraubTW has joined #openstack-swift04:33
*** psachin_ has joined #openstack-swift04:37
*** sheel has joined #openstack-swift05:00
*** cshastri_ is now known as cshastri05:08
*** SkyRocknRoll has joined #openstack-swift05:24
*** linoespinoza has joined #openstack-swift05:27
*** qwertyco has joined #openstack-swift05:29
*** ChubYann has quit IRC05:38
*** ppai has joined #openstack-swift05:47
*** linoespinoza has quit IRC05:48
*** dmorita has joined #openstack-swift05:49
kota_sures: sounds like they are over the object size limit (5GB in default) but it's little odd because that should be not 503 but sort of 4xx.05:55
*** klrmn has quit IRC05:56
kota_acoles: i finally reach out the reason why we hit the assertion failure in the backporting for stable/mitaka05:56
kota_acoles: the first good (?) commit we can cherry-pick without change is https://github.com/openstack/swift/commit/4c11833a9cbff499725365e535e217f3eae3c44205:56
*** psachin_ has quit IRC05:57
kota_I'm telling as mitaka(bad) -> https://github.com/openstack/swift/commit/4c11833a9cbff499725365e535e217f3eae3c442 (good) -> master (good)05:57
kota_that patch is removing the evnetlet coros for writing down the entire chunk. i.e. before the commit 4c11833a9cbff499725365e535e217f3eae3c442, we need one more extra tranpoline to ensure both writing chunk and writing a log05:58
sureskota i am giving command like this "swift upload c1 file_5.1 --segment-size 536870912"06:00
suresand i am running 20 uploading processes with the same size objects06:00
kota_sures: ok, you're using static large objects06:00
sureskota: yes06:01
sureskota: Is swift proxyserver is unable to handle those many requests?06:01
kota_sures: would you be able to see swift logs (proxy or objects)? it might be helpful to know what happened in your swift.06:02
kota_sures: might be but i cannot judge that yet.06:02
sureskota: here is my object log http://paste.openstack.org/show/585891/06:05
kota_acoles: https://gist.github.com/bloodeagle40234/2098382d7157cf92cbca9a39907566fb for mitaka/stable -> cherry-pick 3218f8b064e462d901466b04a4813e15ec96da85 worked in my environment06:05
*** rcernin has joined #openstack-swift06:06
kota_sures: looking06:07
kota_sures: it looks like swift client log? not a severside ones?06:08
*** dmorita_ has joined #openstack-swift06:09
*** dmorita has quit IRC06:09
sureskota: ok i will post server side log also06:11
* kota_ wants gerrit bot works on stable branch too06:15
kota_acoles, clayg: https://review.openstack.org/#/c/387172/ , here is for stable/mitaka06:16
patchbotpatch 387172 - swift (stable/mitaka) - Prevent ssync writing bad fragment data to diskfile06:16
sureskota: here is my server side log http://paste.openstack.org/show/585894/06:17
kota_sures: k, it looks like some of the PUTs got a network timeout which could happen while transferring the data from proxy to object server06:20
sureskota: for single request it is working properly06:22
kota_sures: i'm wondering if you could make sure your network (or disk) speed have been enought to write.06:22
kota_(or, if something buggy things happens, it might appear in the objct-sever logs)06:23
sureskota: i have two servers with high configurations06:25
sureseach has 96 GB RAM, 2 octacore processors and 10 Gige back to back connectivity06:27
kota_sures: sounds great environment06:31
notmynamewinggundamth: (drive by comment, since I'm getting offline now) use a reseller admin auth token to DELETE the account in swift. that will mark it as deleted, and swift will reap (ie delete/clean uo) all the data in the background. this is how you delete all the data in swift for an account without affecting the rest of the openstack services06:32
kota_sures: hmm, how your object-sever log said?06:32
kota_notmyname:!!!06:32
notmynamewinggundamth: but be careful if you have eg glance or cinder images stored in that user's account in swift. if you delete everything in swift for that user, you'll lose those too06:32
notmynamekota_: hello :-)06:32
notmynamekota_: just reading a little scrollback and email before going to bed :-)06:32
notmynamekota_: thanks for doing the backport06:33
notmynamekota_: I'll get to that late tomorrow or on tuesday06:33
*** dmorita_ has quit IRC06:33
kota_notmyname: no problem, acoles and clayg are great.06:33
*** dmorita has joined #openstack-swift06:33
kota_k06:33
notmynameFTI for the summit, https://www.openstack.org/summit/barcelona-2016/summit-schedule/events/17353/ops-swift-feedback is in the ops track, not the swift track06:33
notmynameand add any questions or thoughts on the linked etherpad06:34
notmynameI'll be setting the swift schedule tomorrow, I hope06:34
kota_notmyname: sounds good, thanks for giving the info06:35
notmynameyeah, I'll keep bugging people about it too :-)06:35
notmynameok, good night06:35
kota_notmyname: good night06:36
sureskota: one minute06:37
suresplease06:37
sureshi all, while doing swift stat i am getting error like this in logs06:38
sureshttp://paste.openstack.org/show/585895/06:38
suresplease someone help on this06:38
* kota_ added the ops-swifft-feedback session to my schedule06:39
*** Jeffrey4l has quit IRC06:45
winggundamthnotmyname: thank you so much for the answer. I think the same but found this error when I'm using curl to delete account via ResellerAdmin account. http://paste.openstack.org/show/585897/06:48
winggundamthnotmyname: btw good night!06:48
winggundamthnotmyname: if you wake up and have a time. please advice why it show 405 Method Not Allowed when I'm trying to DELETE account06:50
*** dmorita has quit IRC06:53
*** dmorita has joined #openstack-swift06:53
*** StevenK has quit IRC06:55
winggundamthnotmyname: I found that I need to put allow_account_management = true to proxy-server. I'm going to try it right now and let you know the result06:58
*** Jeffrey4l has joined #openstack-swift07:00
*** tesseract has joined #openstack-swift07:03
*** tesseract is now known as Guest2107707:04
*** hseipp has joined #openstack-swift07:05
*** dmorita has quit IRC07:14
*** dmorita has joined #openstack-swift07:15
*** amoralej|off is now known as amoralej07:16
openstackgerritTin Lam proposed openstack/swift: Added conditional headers to HEAD request documentation  https://review.openstack.org/38720407:17
*** geaaru has joined #openstack-swift07:24
*** dmorita has quit IRC07:24
*** dmorita has joined #openstack-swift07:24
*** openstackgerrit has quit IRC07:34
*** openstackgerrit has joined #openstack-swift07:34
*** rledisez has joined #openstack-swift07:40
*** dmorita_ has joined #openstack-swift07:47
*** dmorita has quit IRC07:48
*** StevenK has joined #openstack-swift07:52
*** jordanP has joined #openstack-swift08:03
*** dmorita_ has quit IRC08:03
*** qwertyco has quit IRC08:10
winggundamthnotmyname: I successful delete the account. but account reaper seems like not delete the objects. how could I check on this?08:13
*** sures has quit IRC08:24
*** acoles_ is now known as acoles08:32
acoleskota_:  thanks for doing those backports08:33
*** geaaru has quit IRC08:34
*** dmorita has joined #openstack-swift08:40
acoleskota_: you are a genius for finding the extra coro in mitaka!08:44
acolesnotmyname: re bug 1633647 clayg basically wrote exactly what I was going to first thing today, and I would ideally have that fixed and in next release, as well as backported.08:46
openstackbug 1633647 in OpenStack Object Storage (swift) "bad fragment data not detected in audit" [High,Confirmed] https://launchpad.net/bugs/163364708:46
*** geaaru has joined #openstack-swift08:47
winggundamthnotmyname: So I changed delay_reaping from 7 days to 60 seconds. still waiting for the result08:50
*** janonymous has quit IRC08:53
openstackgerritAlistair Coles proposed openstack/python-swiftclient: Use ConfigParser instead of SafeConfigParser  https://review.openstack.org/36981908:57
*** pcaruana has joined #openstack-swift09:08
acoleskota_: looks like here https://review.openstack.org/#/c/311219/1/swift/obj/diskfile.py@1412 we lost a sleep() to trampoline after writing the chunk??09:14
patchbotpatch 311219 - swift - Remove ThreadPool class (MERGED)09:14
acoleskota_: (that makes no difference to your backport, I just happened to notice it)09:14
*** chlong has quit IRC09:26
*** ppai has quit IRC09:41
*** dmorita has quit IRC09:42
*** dmorita has joined #openstack-swift09:42
kota_acoles: might be? not sure if we need to tranpoline for each chunk writing or not09:51
charzGuys, just a simeple question, can I issue a bulk-delete with a single container name to delete a container that have amount of objects?09:52
charzOr I need to list all objects from the container and add them to list and put the container name in the end of line.09:52
*** ppai has joined #openstack-swift09:56
acolescharz: swiftclient CLI will do that for you - 'swift delete <container name>' will delete all objects in the container10:03
acolescharz: if you are making your own bulk-delete request to the swift API then you do need to list all the objects in the request body https://github.com/openstack/swift/blob/e09c4ee7800e82aa09ca2f6ae375420b766182a4/swift/common/middleware/bulk.py#L148-L19010:07
charzacoles: thx, yeah! I did some tests on it and I got 409 conflict when I only put a container name on the list. When I tried all objects and put the container name in last part. And I'll able to remove all objects and the container in single curl request.10:10
acolescharz: right. note that there is limit of 10k objects per bulk delete, if your container has more you'll need a series of bulk deletes with the container name at the end of the final one.10:12
charzacoles: thx, just make sure the behavior is matched to our expected.10:12
charzacoles: one more question, do we able to see the report I mean https://github.com/openstack/swift/blob/e09c4ee7800e82aa09ca2f6ae375420b766182a4/swift/common/middleware/bulk.py#L170-L174 in swift logs?10:15
charzacoles: or that's only send to client even I enabled the debug mode in proxy-server.conf.10:18
acolescharz: I can't see any logging for the individual delete's in the proxy bulk middleware code so I think you only have the content of the response body that is returned to the client10:24
*** janonymous has joined #openstack-swift10:44
*** ppai has quit IRC10:46
openstackgerritMerged openstack/python-swiftclient: Use ConfigParser instead of SafeConfigParser  https://review.openstack.org/36981910:48
*** cdelatte has joined #openstack-swift10:50
*** delattec has joined #openstack-swift10:52
*** cdelatte has quit IRC10:54
*** ppai has joined #openstack-swift10:58
*** hseipp has quit IRC11:01
openstackgerritKaren Chan proposed openstack/swift: Mirror X-Trans-Id to X-OpenStack-Request-Id  https://review.openstack.org/38735411:02
*** hseipp has joined #openstack-swift11:10
*** derekjhyang has quit IRC11:10
*** dmorita has quit IRC11:53
*** dmorita has joined #openstack-swift11:54
*** hseipp has quit IRC11:54
*** hseipp has joined #openstack-swift11:54
*** amoralej is now known as amoralej|lunch12:11
*** cshastri has quit IRC12:17
*** dmorita has quit IRC12:19
*** sai has quit IRC12:19
*** Guest23990 is now known as zigo12:21
*** sai has joined #openstack-swift12:27
*** x1fhh9zh has joined #openstack-swift12:41
*** x1fhh9zh has quit IRC12:42
*** sileht has quit IRC12:42
*** sileht has joined #openstack-swift12:49
*** psachin` has joined #openstack-swift12:50
tarantoolmahatic: hello mahatic, I'm in UTC +2 time zone, just seen your message :-)12:51
tarantoolmahatic: I'll see what I can do12:52
tarantoolmahatic: and thank you!12:52
*** ppai has quit IRC12:53
mahatictarantool: sure, good luck! If you pick something from here https://bugs.launchpad.net/swift/+bugs?field.tag=low-hanging-fruit and there's already an assignee but no activity in a while, you can check with the assignee if they're working on it or if you could pick it up12:54
*** StraubTW has quit IRC12:57
*** x1fhh9zh has joined #openstack-swift12:59
*** klamath has joined #openstack-swift13:00
tarantoolmahatic: great idea! Hopefully the assignees will be ok with that :-)13:01
*** kei_yama has quit IRC13:05
*** pcaruana has quit IRC13:18
*** dmorita has joined #openstack-swift13:18
*** SkyRocknRoll has quit IRC13:26
*** StraubTW has joined #openstack-swift13:30
*** x1fhh9zh has quit IRC13:44
*** x1fhh9zh has joined #openstack-swift13:45
*** admin6 has joined #openstack-swift13:52
*** admin6 has quit IRC13:56
*** sgundur has joined #openstack-swift14:02
*** amoralej|lunch is now known as amoralej14:03
*** hogepodge has quit IRC14:04
*** dmorita has quit IRC14:09
*** sheel has quit IRC14:10
*** admin6 has joined #openstack-swift14:11
*** x1fhh9zh has quit IRC14:21
*** x1fhh9zh has joined #openstack-swift14:23
*** dmorita has joined #openstack-swift14:25
*** x1fhh9zh has quit IRC14:28
*** klrmn has joined #openstack-swift14:28
*** dmorita has quit IRC14:30
*** silor has joined #openstack-swift14:35
*** silor has quit IRC14:40
*** silor has joined #openstack-swift14:41
*** silor has quit IRC14:45
*** silor has joined #openstack-swift14:45
*** dmorita has joined #openstack-swift14:56
*** sgundur has quit IRC14:57
*** dmorita has quit IRC15:01
*** pcaruana has joined #openstack-swift15:03
*** jlwhite has quit IRC15:03
*** mvk has quit IRC15:09
*** jlwhite has joined #openstack-swift15:12
*** Trixboxer has joined #openstack-swift15:18
openstackgerritAlistair Coles proposed openstack/swift: EC: reconstruct using non-durable fragments  https://review.openstack.org/37663015:21
openstackgerritAlistair Coles proposed openstack/swift: EC: reconstruct using non-durable fragments  https://review.openstack.org/37663015:24
jrichliHas anyone configured swift to work as a request processor of the Apache2 server as described in http://docs.openstack.org/developer/swift/apache_deployment_guide.html ?15:24
*** Trixboxer has quit IRC15:26
acolestdasilva: I refactored the probe tests in patch 376630. Needed to rebase due to .durables going away.15:26
patchbothttps://review.openstack.org/#/c/376630/ - swift - EC: reconstruct using non-durable fragments15:26
*** rcernin has quit IRC15:26
tdasilvaacoles: cool, i will check it out! thanks!15:27
tdasilvanotmyname: I saw a comment over the weekend about cutting a new release, I think patch 376630 should be part of it...15:27
patchbothttps://review.openstack.org/#/c/376630/ - swift - EC: reconstruct using non-durable fragments15:27
*** klrmn has quit IRC15:31
*** sgundur has joined #openstack-swift15:37
*** dmorita has joined #openstack-swift15:43
*** jistr is now known as jistr|biab15:46
*** dmorita has quit IRC15:47
*** david-lyle_ has joined #openstack-swift15:52
*** bill_az has joined #openstack-swift15:53
*** david-lyle has quit IRC15:53
*** hogepodge has joined #openstack-swift15:53
*** gaurangt has joined #openstack-swift15:54
*** gaurangt has left #openstack-swift15:54
*** rcernin has joined #openstack-swift16:10
*** ChubYann has joined #openstack-swift16:11
*** Vinsh_ has joined #openstack-swift16:12
*** Vinsh has quit IRC16:12
*** hseipp has quit IRC16:17
*** Vinsh has joined #openstack-swift16:21
*** Vinsh_ has quit IRC16:21
*** jistr|biab is now known as jistr16:22
*** Vinsh_ has joined #openstack-swift16:23
*** Vinsh has quit IRC16:23
*** Vinsh_ has quit IRC16:23
*** david-lyle_ is now known as david-lyle16:24
*** Vinsh has joined #openstack-swift16:24
*** Vinsh has quit IRC16:26
*** Vinsh has joined #openstack-swift16:26
*** diogogmt has joined #openstack-swift16:28
*** Vinsh has quit IRC16:29
*** dmorita has joined #openstack-swift16:30
*** dmorita has quit IRC16:34
*** diogogmt has quit IRC16:37
*** diogogmt has joined #openstack-swift16:38
*** sgundur has quit IRC16:39
*** sgundur has joined #openstack-swift16:46
*** rledisez has quit IRC16:49
*** sgundur has quit IRC16:51
*** amoralej is now known as amoralej|off16:57
claygmattoliverau: i'm open to any sweet configuration ninja dev tricks like that - having a noauth proxy was something I always did - and since I coudln't think of it getting in anyones way I made it the default?16:59
claygkota_: acoles: any thing you need to handoff with the EC reconstructor?  I saw we have the ssync fix up against backports?17:00
claygdose that include the just released newton?17:00
acolesclayg: there are backports proposed for newton and mitaka17:01
claygnotmyname: procedure wise is there anything we can do if we want to cut a single backport release with the ssync & auditor fixes in the same tag?17:01
claygis liberty dead?17:01
acolespatch 38712317:01
patchbothttps://review.openstack.org/#/c/387123/ - swift (stable/newton) - Prevent ssync writing bad fragment data to diskfile17:01
acolesand patch 38717217:02
patchbothttps://review.openstack.org/#/c/387172/ - swift (stable/mitaka) - Prevent ssync writing bad fragment data to diskfile17:02
acolesclayg: did you statr work on an auditor fix? I just started working on it...17:02
*** sgundur has joined #openstack-swift17:03
*** jordanP has quit IRC17:06
claygacoles: i haven't started - and I need to bounce off this am for another thing - be happy to take over what you have?17:07
clayg... this afternoon/evening17:07
acolesclayg: ok I'll plough on, so far I just wrote a test. my thinking is that the diskfile should do the check rather than in auditor, seems to sit with the other etag checking that DiskFileReader does17:08
*** klrmn has joined #openstack-swift17:11
*** zaitcev has joined #openstack-swift17:13
*** ChanServ sets mode: +v zaitcev17:13
*** dmorita has joined #openstack-swift17:16
*** stradling has joined #openstack-swift17:18
claygacoles: I was also leaning that way - let us catch it on proxy read as well17:18
acolesclayg: good point17:19
clayggood thing we have the ECDiskFile for ec specific behaiors at the object layer!  You remember that one time we thoguth "wouldn't it be neat if the object server didn't know/care it was storying EC data!?"17:19
claygpast me was so naive17:19
claygacoles: cool yeah push up a WIP i'll look for it in a bit17:20
*** tqtran has joined #openstack-swift17:21
*** dmorita has quit IRC17:21
acolesclayg: k17:22
openstackgerritHanxi Liu proposed openstack/swift: Add links to more detailed overview in overview_architecture  https://review.openstack.org/38144617:23
*** psachin` has quit IRC17:24
*** vinsh has joined #openstack-swift17:29
*** sheel has joined #openstack-swift17:36
*** stradling has quit IRC17:46
*** dmorita has joined #openstack-swift17:48
*** dmorita has quit IRC17:52
*** geaaru has quit IRC17:54
openstackgerritOndřej Nový proposed openstack/swift: Use less restrictive permission for recon cache  https://review.openstack.org/38759117:57
onovy^^ anyone have working drive-audit in production with recon middleware? because i don't know how it could work without this change :)17:58
*** sgundur has quit IRC17:59
*** stradling has joined #openstack-swift18:03
*** sgundur has joined #openstack-swift18:06
*** cschwede|mtg is now known as cschwede18:23
*** vint_bra has joined #openstack-swift18:23
*** Guest21077 has quit IRC18:29
*** dmorita has joined #openstack-swift18:34
*** dmorita has quit IRC18:39
*** stradling has quit IRC18:43
openstackgerritOndřej Nový proposed openstack/swift: Use less restrictive permission for recon cache  https://review.openstack.org/38759118:43
*** sgundur has quit IRC18:56
*** admin6 has quit IRC19:01
*** sgundur has joined #openstack-swift19:09
*** StraubTW has quit IRC19:10
*** StraubTW has joined #openstack-swift19:10
claygonovy: I don't really love that solution - but I also don't use swift-drive-audit - perhaps we could track down donough acoles or locan brown and get some context on how the thing worked originally19:14
onovyclayg: hi. my pov is: we have world readable swift configs, rings and pid files. anyone can set permissions to /var/cache/swift directory to correctly handle data security19:15
onovyi know there is better solution, for example oslo.rootwrap for swift-drive-audit19:16
onovybut to be honest, it think this is simple working no-one-harms solution19:16
onovyonly reason why it's not 0x644 by default is using temp file (ugly) hack19:17
*** dmorita has joined #openstack-swift19:21
*** dmorita has quit IRC19:26
jrichlinotmyname, timburke, onovy, anyone else: I'd like you vote on how to proceed with patch 21849019:27
patchbothttps://review.openstack.org/#/c/218490/ - swift - Automatic refresh of memcache config settings19:27
jrichliThere are differing opinions on whether or not to default to current behavior or the added behavior of automatically refreshing memcache config settings.19:27
onovyah, memcache :)19:27
jrichlimattoliverau voted to default to auto-refresh19:27
* onovy votes to disable auto-refresh, which is current behaviour19:28
*** silor has quit IRC19:28
jrichligreat, thank you.  so we have 1 to 1 now.  need more votes!19:28
onovydo i have more than one vote? :)19:28
* onovy votes again to not enable auto-refresh by default19:29
jrichlinice :-)19:29
onovyah, you are not vote bot! damn.19:29
jrichlinoted as a strong vote for current behavior default!19:29
onovy:))19:29
onovythanks19:29
claygjrichli: I'm not sure I'm against the feature - but i like the consistency we have currently - somewhat shy on why memcache should have a special-case beahvior?19:34
claygif you're dropping a node out of the memache ring - what's wrong with sending HUP?19:34
claygis this part of a larger effort to try and apply non-deterministic config reloading to all of swift?19:35
onovyclayg: see my comment in review. i had almost same argument19:35
onovyuse unix-standardized-way (tm) for config reloading => SIGHUP19:35
claygsorry, long review history and it's currently clear19:35
clayg... er there's no -1 up at the top (fresh patch?)19:36
onovyfresh patch and i give up :)19:36
onovybut it's my first comment19:37
jrichliclayg: it was something people asked for in the Vancouver summit ops session.19:37
jrichliclayg: from notmyname on the history: "No, reloading on a SIGHUP isn't needed (at least at this point). This feature is mirroring the way that rings are reloaded automatically: periodically based on mtime instead of through explicit operator action. And, in fact, SIGHUB is already handled by swift's processes to mean "graceful shutdown"."19:38
clayghrmm... interesting19:38
onovybtw: ring file is "config" file too and i'm completly fine to reload it only on SIGHUP19:38
claygjrichli: that's from an epad somewhere?19:38
claygonovy: same here!19:39
onovyso i don't like any config-auto-reloading at all, that's it :)19:39
onovybut i'm fine if it's optional feature, disabled by default19:39
claygjrichli: ^ my vote is like that too19:39
onovyclayg: ok, can we go back to chmod discussion pls? :)19:40
claygsorry - i'm stilling bring up some stuff to look at that more closely19:40
claygonovy: ^ RE: permissions of recon drops & other config artifacts19:41
onovyok, np19:41
jrichliclayg: search for 'memcache' in https://etherpad.openstack.org/p/liberty-swift-ops-feedback19:42
jrichliand sorry to interrupt the conversation19:43
claygjrichli: onovy: maybe we need to double check that HUP does reload the memcache config?  I almost don't see how it could *not* - maybe something about the way paste is dealing with configs or specifically the external memcache config?19:44
onovySIGHUP ends swift process now19:44
onovyso yes, it "reload" memcache.conf :)19:44
claygonovy: yeah, certainly the wsgi parent is died and new one is spawned - so it *must* - I don't think any daemons respond to HUP19:45
onovyin unix world, SIGTERM = stop daemons cleanly, SIGHUP = reloads config. in swift, SIGTERM = stop daemons, kill connections, SIGHUP = stop daemon cleanly19:45
claygthe comment in the etherpad is strange "yeah that a bug" what's a bug?  missing autoreload is obvioulsy a feature.  someone must have suggested that reload doesn't work... but I don't see how that can be true19:46
claygonovy: yeah that sounds about right!  :)19:46
onovyclayg: this is bug ^ i think :)19:47
onovynot missing memcache autoreloader19:47
*** sheel has quit IRC19:50
jrichliif you want consistency, then you'd have to stick with re-start to re-load.19:50
jrichliotherwise, if you want this to be an optional feature but invoked by a signal, is there a different signal you'd want to use?19:50
onovyi should be optional feature invoked automagically19:51
openstackgerritAlistair Coles proposed openstack/swift: WIP: Make ECDiskFileReader check fragment metadata  https://review.openstack.org/38765519:51
onovynot by a signal19:51
jrichliok19:51
acolesclayg: it passes pep8 checks :) ^^19:51
acolesclayg: patch 38765519:51
patchbothttps://review.openstack.org/#/c/387655/ - swift - WIP: Make ECDiskFileReader check fragment metadata19:51
claygacoles: go to bed!19:52
claygacoles: thanks19:52
acolesclayg: there's a bunch of unit tests failing I guess because they don't have valid EC frags in their diskfiles, ho hum! and yeah I wanna go to bed/beer19:52
acolesclayg: TODO notes in commit message, your already co-authored so i expect to see it merged by tomorrow am ;)19:53
claygacoles: ah of course - ho hum indeed19:53
claygacoles: har har19:53
acolesclayg: we could make the audit change configurable and default to off so the current tests all pass19:53
acolesclayg: JK19:53
acoleskota_: FYI patch 387655 ^^19:54
patchbothttps://review.openstack.org/#/c/387655/ - swift - WIP: Make ECDiskFileReader check fragment metadata19:54
acolesgood night19:54
claygonovy: RE permissions I'm ok with 644 - but i'm less good with enforcing it in code and leaving the recon dumps owned by root (as I said in all of my setups' they are owned by swift user)19:55
onovybut it will be still owned by swift user in your setup19:55
claygonovy: you said use of some such temp file forces them to 0600?  I'm concerned that perhaps umask on system is 0600 and set to 0644 in code with no way to change - I would perfer to respect configuration of the system if possible - and not do anything that makes it exceedingly hard for operator to get default system behavior19:56
onovyso maybe we should read umask value and set permission to it?19:57
claygonovy: I think swift-drive-audit requireing elevated permissions for mucking with fstab and unmount disks is reasonable - but otherwise would expect it to create files in /var/cache/swift as configured user - I think that is the bug that has existed since the feature was introduced19:57
onovyso 1. we should run swift-drive-audit by root19:58
onovy2. change owner of /var/cache/swift to user from config?19:58
onovyand keep 0600?19:58
patchbothttps://review.openstack.org/#/c/600/ - nova - live migration/boot-from-volume test completed (ABANDONED)19:58
onovylol.19:58
claygonovy: that is perhaps a solution - but i'm not sure that fixes the issue when root creates the file - or allows non root to overwrite?19:58
onovyif drive-audit will run by root, it can overwrite anything19:59
claygonovy: but don't all things update same recon file with their stats?19:59
onovyyep and all files will be owned by swift19:59
onovyso it's fine19:59
onovy1. create temp file, write content, owner will be process owner (root in drive-audit)20:00
onovy2. chown it to swift20:00
onovy3. rename20:00
*** acoles is now known as acoles_20:01
claygonovy: yeah that plus maybe use a .recon-file.update.tmp or something instead of /tmp20:01
onovybut that's another story/patch20:01
onovy(imho)20:02
claygonovy: yeah so I think if root creates a file as root even with 644 - the swift user can still overwrite it I guess because he has permissions in the directory20:02
*** tqtran has quit IRC20:02
onovyyep, but that's not case. this will never happen20:02
claygthe swift-drive-audit never wins the race to create the dump cache file?20:03
onovyit will create file in /tmp20:03
onovythan change owner to swift20:03
onovyand than rename20:03
onovyso it will never exists as root in cache dir20:03
claygoh - but I thought you were suggesting that should be a follow up?20:03
claygin your existing change - it still works because swift user can read (644) and overwrite/rename (owns the dir)20:04
onovyah, no. i can change corrent os.chmod to chown20:04
claygonovy: ah, yeah I like that quite a bit then20:04
onovyi want another patch for 'maybe use a .recon-file.update.tmp or something instead of /tmp'20:04
onovythat's all20:04
claygso you were saying the use a not /tmp file being an follow up20:04
clayg#weareinagreemnt20:04
onovyyep20:05
onovycool, so i will write code now :)20:05
claygcool - good chat - always a pleasure20:05
claygthanks for making swift better!20:05
onovythanks too20:05
*** dmorita has joined #openstack-swift20:08
openstackgerritShashirekha Gundur proposed openstack/swift: Invalidate cached tokens api  https://review.openstack.org/37031920:08
*** bill_az has quit IRC20:09
*** bill_az has joined #openstack-swift20:11
*** dmorita has quit IRC20:12
*** sgundur has quit IRC20:16
*** sgundur has joined #openstack-swift20:17
*** pcaruana has quit IRC20:25
*** tqtran has joined #openstack-swift20:33
*** admin6 has joined #openstack-swift20:45
mattoliverauMorning20:51
*** dmorita has joined #openstack-swift20:55
*** dmorita has quit IRC21:00
*** sgundur has quit IRC21:02
*** mvk has joined #openstack-swift21:05
*** sgundur has joined #openstack-swift21:09
*** dmorita has joined #openstack-swift21:26
*** slunkad has joined #openstack-swift21:30
*** slunkad has quit IRC21:30
*** dmorita has quit IRC21:31
*** sgundur has quit IRC21:43
*** vint_bra has quit IRC21:45
openstackgerritOndřej Nový proposed openstack/swift: Set owner of drive-audit recon cache to swift user  https://review.openstack.org/38759121:49
onovyclayg: ^ better? :)21:49
onovygn21:54
*** bill_az has quit IRC22:03
*** bill_az has joined #openstack-swift22:05
*** rcernin has quit IRC22:06
claygonovy: it's not bad22:08
*** bill_az has quit IRC22:12
*** dmorita has joined #openstack-swift22:13
zaitcevclayg: ewww, this is exactly what I was afraid of22:15
*** dmorita has quit IRC22:18
claygzaitcev: what what'd i do?22:19
claygzaitcev: you and onovy do whatever you think is best for that script - i shouldn't have stepped in it22:20
clayg;P22:20
zaitcevI'm unsure too. It just looks like an overcomplication now.22:20
claygzaitcev: you liked patch #2 better with the 0644 thing - I don't really like forcing that umask on those files - I think the whole thing is janked' up22:20
zaitcevYou think this is bad, but we have a similar issue with ceilometer, only worse.22:21
zaitcevWorse, because Swift does not know what files the ceilometer middleware is creating behind our backs.22:22
claygzaitcev: maybe the rootwrap shenanigans is worth it?  you want over complicated - I sorta like an early fork with drop priv then use a multiprocessing queue to send over the recon updates22:22
zaitcevouch22:22
zaitcevBut yes, I thought about an IPC. Just didn't want to actually develop a patch.22:23
clayg... same22:23
clayg:)22:23
*** StraubTW has quit IRC22:47
*** bill_az has joined #openstack-swift22:52
*** admin6 has quit IRC22:53
*** dmorita has joined #openstack-swift22:53
*** admin6 has joined #openstack-swift22:54
zaitcevA good thing though - nobody suggested stat.S_IREAD|stat.S_IWRITE|stat.S_IRGRP|stat.S_IROTH instead of 0o64423:06
claygrofl23:06
claygzaitcev: now you have to look up the thread where linus rails on those?23:07
zaitcevclayg: I didn't know, I'll look23:07
*** klamath has quit IRC23:29
*** kei_yama has joined #openstack-swift23:35
*** chlong has joined #openstack-swift23:40
*** _JZ_ has joined #openstack-swift23:42
*** vint_bra has joined #openstack-swift23:44
*** admin6 has quit IRC23:51
*** dmorita has quit IRC23:52
*** vint_bra has quit IRC23:53
jamielennoxhey all, https://review.openstack.org/#/c/298968/ is the patch that adds basic keystoneauth support to swiftclient - any chance we can progress this?23:56
patchbotpatch 298968 - python-swiftclient - Adding keystoneauth sessions support23:56
*** vint_bra has joined #openstack-swift23:56
jamielennoxit would really simplify the glance_store swift backend23:56

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!