Monday, 2014-03-24

*** saschpe- has quit IRC00:00
*** saschpe has joined #openstack-swift00:07
*** sungju has joined #openstack-swift00:24
*** matsuhashi has joined #openstack-swift00:25
*** sungju has quit IRC00:34
*** d89 has joined #openstack-swift00:38
*** nosnos has joined #openstack-swift01:36
*** d89 has quit IRC02:00
*** redbo_ is now known as redbo02:01
*** ChanServ sets mode: +v redbo02:02
*** d89 has joined #openstack-swift02:18
*** matsuhashi has quit IRC02:55
*** matsuhashi has joined #openstack-swift03:21
*** ekarlso has quit IRC03:48
*** ekarlso has joined #openstack-swift03:48
*** Trixboxer has joined #openstack-swift04:40
*** ppai has joined #openstack-swift04:49
*** chandankumar has quit IRC05:14
*** Dieterbe has quit IRC05:15
*** nosnos_ has joined #openstack-swift05:16
*** nosnos has quit IRC05:19
*** chandan_kumar has joined #openstack-swift05:25
*** nshaikh has joined #openstack-swift05:58
*** matsuhas_ has joined #openstack-swift06:00
*** matsuhashi has quit IRC06:01
*** nosnos has joined #openstack-swift06:19
*** nosnos_ has quit IRC06:22
*** dvas has joined #openstack-swift06:25
*** psharma has joined #openstack-swift06:28
*** Longgeek_ has joined #openstack-swift06:29
*** matsuhas_ has quit IRC06:31
*** matsuhashi has joined #openstack-swift06:31
*** saju_m has joined #openstack-swift06:35
*** saju_m has quit IRC06:59
*** tom_ has joined #openstack-swift07:03
*** tom_ is now known as Guest9313007:04
*** saju_m has joined #openstack-swift07:12
*** saju_m has quit IRC07:17
*** saju_m has joined #openstack-swift07:17
*** redbo has quit IRC07:19
*** redbo has joined #openstack-swift07:20
*** ChanServ sets mode: +v redbo07:20
*** saju_m has quit IRC07:22
*** saju_m has joined #openstack-swift07:23
*** dvas has quit IRC07:29
*** saju_m has quit IRC07:30
*** saju_m has joined #openstack-swift07:31
*** mlipchuk has joined #openstack-swift07:35
*** dvas has joined #openstack-swift07:40
*** mlipchuk has left #openstack-swift07:43
*** yuanz has quit IRC08:06
*** yuan has joined #openstack-swift08:07
*** jamie_h has joined #openstack-swift08:34
*** dvas has quit IRC08:37
*** mmcardle has joined #openstack-swift08:46
*** Guest93130 has quit IRC08:55
*** jamie_h has quit IRC08:58
*** jamie_h_ has joined #openstack-swift08:59
*** jamie_h_ has quit IRC09:00
*** nacim has joined #openstack-swift09:04
*** mkollaro has joined #openstack-swift09:11
*** ppai has quit IRC09:14
*** tanee-away is now known as tanee09:14
*** tanee is now known as tanee-away09:14
*** tanee-away is now known as tanee09:15
*** nprivalova has joined #openstack-swift09:23
nprivalovahi guys! I have a question about rsyslog config in devstack. Could you please take a look here https://review.openstack.org/#/c/82131/1 ?09:27
*** nacim has quit IRC09:28
*** Midnightmyth has joined #openstack-swift09:32
*** ppai has joined #openstack-swift09:33
*** nacim has joined #openstack-swift09:36
*** d89 has quit IRC09:39
*** matsuhashi has quit IRC10:33
*** matsuhas_ has joined #openstack-swift10:35
openstackgerritGhe Rivero proposed a change to openstack/python-swiftclient: Add pbr to requirements.txt  https://review.openstack.org/8246510:37
*** Longgeek_ has quit IRC10:44
*** dvas has joined #openstack-swift10:53
*** mkollaro has quit IRC10:56
*** matsuhas_ has quit IRC11:07
*** dvas_ has joined #openstack-swift11:17
*** mkollaro has joined #openstack-swift11:19
*** jasondotstar has quit IRC11:20
*** dvas has quit IRC11:20
*** nosnos has quit IRC11:23
*** chandankumar_ has joined #openstack-swift11:29
*** dvas_ has quit IRC11:33
*** dvas_ has joined #openstack-swift11:33
*** ppai has quit IRC11:40
*** ppai has joined #openstack-swift11:52
*** matsuhashi has joined #openstack-swift11:53
*** nosnos has joined #openstack-swift11:54
*** chandankumar_ has quit IRC12:13
*** IvanBerezovskiy1 has joined #openstack-swift12:13
*** IvanBerezovskiy1 has left #openstack-swift12:13
*** matsuhashi has quit IRC12:14
*** matsuhas_ has joined #openstack-swift12:17
*** jasondotstar has joined #openstack-swift12:32
*** grapsus__ has quit IRC12:36
*** tdasilva has joined #openstack-swift12:36
*** nshaikh has quit IRC12:36
*** grapsus_ has joined #openstack-swift12:42
*** mmcardle has quit IRC12:45
*** nshaikh has joined #openstack-swift12:47
*** seandrummond has joined #openstack-swift12:49
*** mmcardle has joined #openstack-swift13:08
*** matsuhas_ has quit IRC13:12
*** matsuhashi has joined #openstack-swift13:13
*** matsuhashi has quit IRC13:17
*** psharma has quit IRC13:20
*** rustlebee is now known as russellb13:23
*** nosnos has quit IRC13:24
*** pberis has joined #openstack-swift13:25
*** nosnos has joined #openstack-swift13:25
*** ppai has quit IRC13:25
*** nosnos has quit IRC13:29
*** pberis has quit IRC13:38
*** jasondotstar has quit IRC13:43
*** cutforth has joined #openstack-swift13:51
*** cutforth has quit IRC13:52
*** nosnos has joined #openstack-swift13:58
*** dmsimard has joined #openstack-swift13:59
*** matsuhashi has joined #openstack-swift13:59
*** nosnos has quit IRC14:00
*** nosnos has joined #openstack-swift14:01
*** nosnos has quit IRC14:05
*** jasondotstar has joined #openstack-swift14:10
*** nosnos has joined #openstack-swift14:11
*** nosnos has quit IRC14:14
*** krtaylor has quit IRC14:15
*** matsuhashi has quit IRC14:16
*** ChanServ sets mode: +v dfg14:20
*** piyush1 has joined #openstack-swift14:28
*** lpabon has joined #openstack-swift14:29
*** matsuhashi has joined #openstack-swift14:32
*** tanee is now known as tanee-away14:35
*** dvas_ has quit IRC14:36
*** saju_m has quit IRC14:39
openstackgerritYuan Zhou proposed a change to openstack/swift: Fixes versioning function tests with non-zero default policy  https://review.openstack.org/8251514:40
openstackgerritYuan Zhou proposed a change to openstack/swift: Fixes versioning function tests with non-zero default policy  https://review.openstack.org/8251514:42
nprivalovahi guys! ping somebody from core-team...need to discuss https://bugs.launchpad.net/ceilometer/+bug/129478914:43
*** krtaylor has joined #openstack-swift14:44
*** ChanServ sets mode: +v notmyname14:45
*** dvas_ has joined #openstack-swift14:52
notmynamegood morning. /me is reading buffer playback while finishing coffee14:58
*** Dieterbe has joined #openstack-swift15:01
*** Dieterbe has joined #openstack-swift15:01
dmsimardnotmyname: I knew that name rang a bell, re: https://github.com/victorlin/swiftsense/issues/9 :P15:02
notmynamedmsimard: likewise :-)15:02
*** seandrummond has left #openstack-swift15:07
luisbgnotmyname, morning :)15:08
luisbgnotmyname, have an internal training this week plus the usual client work, so very busy and will be a MIA this week :(15:11
notmynameluisbg: any chance you'll be going to the atlanta summit?15:11
luisbgnotmyname, discussed it with my company and can't take the time off, unfortunately :(15:12
luisbgI really wanted to go15:12
luisbgnotmyname, coming to Montreal for PyCon?15:12
notmynameluisbg: no, I'll be at the Red Hat summit in San Francisco that week15:12
luisbgif anybody is coming to Montreal let me know, I will show you some good places/restaurants :)15:13
creihtaww man... it's the first pycon that I will be missing in a while15:13
creihtI will likely go next year though15:13
Alex_Gaynorluisbg: Sorry, my entire week is already scheduled going to Schwartz's and eating Montreal bagels :P15:15
*** dvas_ has quit IRC15:16
luisbgAlex_Gaynor, I live around the block of St Viateur bagels, I hope you mean *those* iconic bagels15:17
luisbgAlex_Gaynor, you miss La Banquise in that list, and Dieu Du Ciel15:18
*** dvas_ has joined #openstack-swift15:19
*** dvas_ has quit IRC15:19
*** byeager has joined #openstack-swift15:20
*** tanee-away is now known as tanee15:20
notmynameportante: creiht: clayg: please pay attention to https://bugs.launchpad.net/ceilometer/+bug/1294789. It turns out that something like 60-80% of _all_ of the jenkins log lines are coming from ceilometer's swift middleware, and as a consequence there are proposals to significantly change swift's logging functionality/framework15:21
creihtlol15:21
portanteoy15:22
* portante looks15:22
Alex_GaynorJust a dude with zero context here, but if it's ceilometer's swift middleware, isn't that what should be changed?15:22
creihtAlex_Gaynor: yeah my thoughts as well, and the reason for the lol :)15:22
notmynameAlex_Gaynor: the current reasoning is that it's swift's fault because we don't use oslo logging15:23
*** dvas_ has joined #openstack-swift15:23
portanteAlex_Gaynor, notmyname, creiht: and because of they way they configure logging, it always goes to syslog and the proxy-s log file, so a double whammy15:23
* creiht sighs15:24
portanteI believe our logging can be fixed up for other reasons, like not logging to two places, but still not convinced yet about moving to oslo.logging15:25
notmynameso I'd appreciate feedback there so that the issues can be resolved calmly15:25
portante;)15:25
*** matsuhashi has quit IRC15:25
*** nshaikh has quit IRC15:27
*** dvas_ has quit IRC15:27
dmsimardnotmyname: Have you had any luck visualizing a large ring with *anything* ?15:28
*** Midnightmyth has quit IRC15:28
*** matsuhas_ has joined #openstack-swift15:28
dmsimardswift-ring-builder and swift-recon are not very… visual15:28
notmynamedmsimard: no. while I'd love to see swiftsense fleshed out a bit to be a little better, I currently use swiftsense for presentations and meetups. for that, it's great (and I normally use a ring power of 8 or something similarly low)15:29
notmynameok, coffee cup is empty. time to get ready and go to the office15:30
notmynameI'll be back online later15:30
portantecreiht: is anybody from rackspace looking into that logging problem above?15:30
creihtportante: I'm looking at it15:30
portantek15:30
*** matsuhas_ has quit IRC15:33
*** dvas_ has joined #openstack-swift15:34
creihtportante: it is a bit confusing though15:35
creihthard to tell what the exact issue is15:35
portanteyes, agreed15:35
creihtit seems like a combo of things15:35
portantefrom what I can tell, the ceilometer code is configured to log a lot of debug stuff, and that ends up duplicated15:36
portanteI am guessing it is also using oslo.logging, but not sure15:36
portantecreiht:15:36
portanteI am hoping it is just using the provided logger from the middleware invocation15:37
creihtholy cow ceilometer logs a lot15:38
portantedebug, too, right?15:39
*** gyee has joined #openstack-swift15:39
creihtyeah15:39
creihtwell most of the openstack services log a lot actually15:39
creihtFrom the other hand, we use pipeline.setup_pipeline inside Swift. And all swift-logging configs15:41
creihtbecome applied to Ceilometer's pipeline. As a result (in case of DEBUG is on) we see too many15:41
creihtCeilometr-related messages in syslog.15:41
creihthttps://review.openstack.org/#/c/82526/15:41
* portante looks15:41
creihtI'm not entirely sure what that means but sounds broken15:42
portantehardcoding the log level just seems to reduce the volume, but not the double logging15:43
creihtsince they are using get_logger, they shouldn't have to hard code it15:44
portanteyes15:44
creihtwhy does the ceilometer middleware call setup_pipeline?15:45
creihtthat seems like a really bad idea15:45
portantenot sure, that seems odd15:45
creihtthat's something core to ceilometer15:46
* portante goes and checks out ceilometer15:47
creihtoh maybe that's something different than a pipeline for wsgi15:50
portanteokay, reached me limit without food, will back15:58
*** cyril_ has joined #openstack-swift16:02
*** judd7_ has joined #openstack-swift16:16
*** j_king_ is now known as j_king16:16
*** madhuri has joined #openstack-swift16:18
creihtyeah I need some food as well16:21
creihthard to get thinking quickly on a Monday morning :)16:21
*** piyush1 has quit IRC16:22
*** piyush has joined #openstack-swift16:22
*** piyush1 has joined #openstack-swift16:26
*** haypo has joined #openstack-swift16:27
haypohi. i'm working on porting OpenStack to Python3. i would like to know if swiftclient is now accepted patches to port it to Python316:27
creihthaypo: yes, several python3 related patches have already landed in swiftclient16:28
notmynameyay python 316:29
notmyname...or something.... ;-)16:29
creihthehe16:29
cyril_Isn't there some sort of featrure freeze currently ?16:29
* notmyname is back online now16:29
*** piyush has quit IRC16:29
notmynamecyril_: "freeze" is such a strong word16:29
haypocreiht: a colleague told me that python3 patches must enhance the test coverage16:29
haypocreiht: does it mean that a python3 patch will not get accepted if it doesn't add new tests?16:30
notmynamehaypo: yes, that is something that's been a key factor in merging some of the other py3 patches16:30
notmynamehaypo: basically the concern is ensuring that (1) there are no regressions and (2) we don't inadvertently have a py3 regression16:30
creihtnotmyname: it still isn't clear to me what is going on with the ceilometer stuff, and I'm headed to lunch16:31
creihtI'll poke at it some more later16:31
notmynamecreiht: thanks for looking :-)16:31
notmynamehaypo: basic good hygiene stuff, and sincy py3 will cause more code churn than "normal" patches, better testing is going to be a key part of reviews16:31
*** madhuri has quit IRC16:33
*** jasondotstar has quit IRC16:39
*** shri has joined #openstack-swift17:01
portantecreiht: it looks like there are two loggers being used for the ceilometer stuff17:04
portantemost of the code seems to use openstack.common.log, and I believe that is logging to a file, then our stdout adapter picks that up and logs it as well17:05
*** tanee is now known as tanee-away17:06
portanteif the logger was provided to the publisher object, I am guessing we could avoid all that17:06
portantebut still looking ...17:06
*** tanee-away is now known as tanee17:12
*** zaitcev has joined #openstack-swift17:12
*** ChanServ sets mode: +v zaitcev17:12
*** piousbox has joined #openstack-swift17:14
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: Get compatible types from six  https://review.openstack.org/8255217:17
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: cast map() result to list  https://review.openstack.org/8255317:18
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: Fix tests using temporary text files  https://review.openstack.org/8255417:19
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: Replace iter.next() with six.next(iter)  https://review.openstack.org/8255517:19
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: Fix module names in import  https://review.openstack.org/8255617:20
notmynameoh my17:21
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: use six.iteritems()  https://review.openstack.org/8255717:21
haypoi don't see how to improve the test coverage since it is even not possible to import swiftclient in python3 right now :-(17:22
haypodon't hesitate if you have suggestions to improve my patches17:23
hayponotmyname: you prefer one patch instead of 6?17:23
*** nacim has quit IRC17:26
notmynamehaypo: I haven't looked, so I don't have a good answer to that right now :-)17:26
hayponotmyname: ok. i have to leave. see you tomorrow17:28
*** mlipchuk has joined #openstack-swift17:29
*** bada has joined #openstack-swift17:29
*** Midnightmyth has joined #openstack-swift17:32
*** flashgordon is now known as jogo17:34
*** piyush1 has quit IRC17:37
*** erlon has joined #openstack-swift17:39
*** cyril_ has quit IRC17:41
portantecreiht: I tried to run the unit tests for ceilometer on my box, a F19 setup, but ran into a number of package dependency issues17:43
*** mmcardle has quit IRC17:43
*** dvas_ has quit IRC17:47
*** dvas_ has joined #openstack-swift17:48
*** dvas_ has quit IRC17:52
notmynameI'm looking at what's in master since 1.13.0 (seeing what's going to be in Icehouse)18:04
notmynameFYI https://gist.github.com/notmyname/560733484877ffd8a09118:05
claygdencaval: the object datafile changes are rolled up by hash suffix - there's a little pickle sittin' in each part that keep track of which hash suffixes have changes - if you delete a .data file and don't invalidate that .pkl (like the auditor does) replication will by-pass it until another write comes into that hash suffix18:05
notmynameso it seems that 1.13.1 is probably more likely than 1.14.0 as of right now18:05
notmynameclayg: ah, thanks. I remember seeing that question, but I forgot to respond18:05
claygit's a pretty good gotcha as far as gotcha's go18:06
pandemicsynclayg: my scrollback rolled off right before your message ....what did you want the auditor to throw in recon ?18:06
pandemicsyna swift-recon -d will show ya drive fullness18:07
claygpandemicsyn: i can't recall - number of ojbects in a part maybe?18:08
claygper drive?18:08
*** piyush has joined #openstack-swift18:08
claygpandemicsyn: someone was worried about a hash attack or something maybe... - that was like last week bro!18:09
clayg:P18:09
*** dvas_ has joined #openstack-swift18:09
pandemicsynlol sorry, allergies been kicking my ass the last week (yay Oak!)18:09
*** piyush1 has joined #openstack-swift18:10
claygtorgomatic: peluse: re account-head policy index vs. name - I don't see the value in the http response referring to policy by name, but I like it very much that internall the account-backend knows of and speaks only index18:10
notmynamepandemicsyn: looks like it's been light and moderate for a week. ;-) http://saallergy.info18:11
claygif you pass the response back to the proxy via index then it has to do a bunch of string munging to get the headers in shape for the client - seems easier just to translate to name in the account server and let the proxy stay out of the way?18:11
torgomaticclayg: if it makes life easier to have the account server refer to things both by index and name, then that'd be okay by me too18:11
torgomatic(although then you run into trouble with a policy whose *name* is "1")18:11
notmynamepandemicsyn: you gotta get scotticus to add a multiplier for everyone on his team who isn't at work for a day18:11
pandemicsynlol18:11
torgomatic...so forget everything I just said. It's crap. :)18:11
claygtorgomatic: if an http request comes to the account server refering to a storage policy (i.e. container update) - it's by index18:12
pandemicsynclayg: i think the auditor already tracks bytes processes on the last pass or something, might be easy to hack in a file count18:12
claygit's only in the GETorHEAD response where it translates policy index (integers) to name (for headers)18:12
claygpandemicsyn: right on18:12
*** zul has quit IRC18:13
*** piyush has quit IRC18:13
notmynamepandemicsyn: and since objects are directories, then you can pull your neat XFS trick like with async-pendings (# of links - 2). that's still a cool trick, IMO18:13
*** zul has joined #openstack-swift18:16
*** mmcardle has joined #openstack-swift18:21
*** piousbox has quit IRC18:25
claygtorgomatic: peluse: so the 409 if you put to a non-default-sp container w/o storage policy header is sorta annoying18:25
claygtorgomatic: peluse: it was introduced with the merge for the _update_or_create change and I fixed in the account-head thing - but I'm thinking of unrolling it since that is two changes deep in the patch queue?18:26
claygyeah i'ma do that18:26
*** haomaiwang has quit IRC18:27
*** dvas__ has joined #openstack-swift18:29
claygtorgomatic: I just pulled down the x-storage-policy-index-override thingy - but didn't see any gatekeeper changes?  like it goes all they way out to the client on PUT - I think that's sorta not-so-super?18:29
torgomaticclayg: yeah, I need to rename it now that the gatekeeper change landed18:29
claygoh wah?18:30
*** dvas___ has joined #openstack-swift18:32
*** mmcardle has quit IRC18:32
*** dvas_ has quit IRC18:32
torgomaticclayg: change to master where X-Backend* is blocked by gatekeeper, so if we call our override thingy X-Backend-Whatevermabobber, we get the blocking for free18:32
claygyay free!18:32
torgomatic:)18:32
portantecreiht: just to get my feet wet with ceilometer: https://review.openstack.org/8257218:33
creihtportante: cool18:33
creihtso talking to the ceilometer guys, they just want to lower the log level18:34
creihtthey don't see any other changes needed18:34
*** dvas__ has quit IRC18:36
*** mkollaro has quit IRC18:36
portantereally, wow, cause wouldn't we want middleware to log under the context of the proxy server rather than using some other loggin?18:36
portantethis smacks of global variable problem18:37
portantecreiht: do they realize this won't reduce the double logging?18:44
creihtwell that is a separate issue18:45
*** pberis has joined #openstack-swift18:46
portantehmm18:46
zaitcevcreiht: What does it mean, "lower the log level"?18:46
creihtzaitcev: from DEBUG to WARNING or ERROR for example18:47
zaitcevcreiht: where do we load as debug today? It's all info.18:47
portantedevstack makes it debug18:47
portanteso they are hard-coding in their middleware to change log level to WARN18:47
portantebut only for the swift logger18:48
portantewhich does not affect much, so not sure how this actually helps18:48
creihtportante: I'm helping them to change the logging just for their middleware18:49
portanteokay, I'll wait to see what comes out of that18:49
*** tanee is now known as tanee-away18:52
creihtnotmyname: ok, so who is the right person to talk to about devstack?18:53
creihtabout what/where they want logs, so I can make sure devstack is set up correctly18:53
notmynamecreiht: either sdague or maybe jeblair (because CI)18:54
notmynameat least that's where I'd start. I'm not actually sure18:54
creihtk18:55
creihtI think the ceilometer team is good now18:55
notmynamecreiht: thanks for looking and working with them18:55
creihtnp18:55
notmynameportante: that looks like a reasonable patch to ceilometer. thanks18:55
portantewelcome18:56
creihtjeblair: ping18:56
creihtportante: yes, thanks :)18:56
notmynamecreiht: I don't really understand the "hard-code to a different log level", but I'm sure I'm missing some context on why setting log_level=WARN in a config is hard18:56
creihtnotmyname: yeah I walked them through how to set it up for the config so no code changes will be required18:57
notmynamenice18:57
openstackgerritSamuel Merritt proposed a change to openstack/swift: Allow overriding of storage policy index.  https://review.openstack.org/8221118:57
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make the container replicator notice misplaced objects  https://review.openstack.org/8073118:57
openstackgerritSamuel Merritt proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8073018:57
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make object updater reconcile on 409s  https://review.openstack.org/8073218:57
creihtjust most likely an update to the devstack setup18:58
zaitcevportante: BTW, here's the double-logging bug and a suggestion to use local0.debug: https://bugzilla.redhat.com/show_bug.cgi?id=99798318:58
zaitcevportante: not necessarily a good idea at all, but eh... it's either that or modify /etc/rsyslog.conf with a trick sed(1) invocation.18:59
*** byeager has quit IRC18:59
*** byeager has joined #openstack-swift18:59
portantezaitcev: doesn't the SAIO documentation also describes how to log to separate files?19:01
*** mlipchuk has quit IRC19:01
zaitcevportante: it does, but does not explain how to cork the default with local0.none in /etc/rsyslog.conf.19:03
*** byeager has quit IRC19:04
creihtportante: sorry :)19:04
portantezaitcev: we should update and cork that. :)19:04
creihtyeah it isn't clear to me if they don't want it to log at all or to log to a separate location for syslog19:05
*** gvernik has joined #openstack-swift19:05
creihtnotmyname: do you know what joe gordon's nick is?19:07
creihtahh19:08
creihtjogo: ping :)19:08
*** dvas____ has joined #openstack-swift19:25
*** dvas___ has quit IRC19:29
*** dvas_____ has joined #openstack-swift19:30
*** dvas____ has quit IRC19:30
*** byeager has joined #openstack-swift19:30
*** dvas_____ has quit IRC19:31
*** pberis has quit IRC19:32
*** pberis has joined #openstack-swift19:33
creihtnotmyname: btw, do you have an svg of the swift logo?19:46
creihtI would like to try 3d printing something with it19:46
notmynamecreiht: cool19:46
notmynameI have a tiff I think19:46
creihtthat would work19:46
notmynamelooking...19:46
creihtthanks19:46
notmynameah. I've got small medium and large jpegs and I've got it in eps in black and 4 colors (pantone and cmyk)19:47
notmynameI'm assuming you want the black eps19:48
creihtblack eps would be great19:48
notmynameuploading it to cloud files now...19:48
creihtcool19:49
notmynamehttp://d.not.mn/Swift_logo_stroke_black.eps19:49
creihttracking your upload...19:49
creiht:)19:49
notmynameheh. clearly it would move the graphs19:49
creihthehe19:49
creihtcool19:50
creihtI think I can make that work19:50
creihtthanks19:50
notmynameso as a formal disclaimer, that's not official, trademarked, etc. it's simply a cool thing to tie together visual elements and provide a visual identity.19:50
creihtlol19:50
notmynamealso, for the record, it in now way is in competition with http://www.swift.com/index.page?lang=en19:51
notmynames/now/nbo/19:51
notmynameerr19:51
notmynameno way19:51
creihtheh... that's still a thing? :)19:51
notmynametheir lawyers say it is :-)19:52
*** Trixboxer has quit IRC19:53
*** gvernik has quit IRC19:59
*** shri has quit IRC20:02
jeblaircreiht: pong20:06
creihtjeblair: howdy20:07
creihtnotmyname: uh oh20:07
creihtjeblair: so not sure if you are the right person to ask20:08
creihthttps://bugs.launchpad.net/ceilometer/+bug/1294789?comments=all20:08
creihtmentions that swift in devstack logging to both console and syslog is an issue20:08
creihtdo you know what the desired behavior would be for devstack?20:08
creihtjogo: the same question to you if you get a moment :)20:10
jeblaircreiht: that seems reasonable to me, but my experience in this area is limited; you might want to ask sdague, dtroyer and (as you have been) jogo to weigh in.20:14
jeblaircreiht: (sorry to be specific, the thing that seems reasonable is configuring the ceilometer logs in swift to be at WARN level in devestack, as suggested in the review)20:14
*** shri has joined #openstack-swift20:15
openstackgerritClay Gerrard proposed a change to openstack/swift: Fix PUT to existing container w/o specific storage policy  https://review.openstack.org/8259020:15
jeblairbasically, my thinking is that the current level is too verbose to be useful to anyone, so it's reasonable to reduce the verbosity20:15
portantejeblair: so the double logging is not a concern?20:16
jeblairportante: double logging?  that sounds concerning :)20:16
portantesame entry lands in syslog.txt and proxy-s-*.txt20:16
jogocreiht: so the way I see it there are a few factors in this bug20:17
portantenotmyname: can that openstackgerrit bot include the branch in the message?20:17
notmynameportante: that would be nice (/cc jeblair)20:17
jogo1) swift supports logging to syslog, and presumably that is a common use case so we want to run that in devstack20:18
jogo2) ceilometer logs useless junk when its running as a middleware for swift20:18
portantenotmyname, jeblair: if it is not master, that is?20:18
jogoso dropping ceilometers log level sounds reasonable20:18
creihtjeblair: yeah I have already worked with them on how to set the config right so that they will only log WARN20:18
jogoFWIW we dropped the cheilometer plugin for swift in gate until this is resolved20:19
jeblairportante: unfortunately, since swift proxy logs don't have timestamps, we can't put them in logstash, so until that changes, we need swift logs going to syslog to get the timestamps20:19
jeblairportante: our preference would be to not log swift to syslog in the gate20:19
jogocreiht: another factor here is we don't parse swift logs and store them in elasticsearch20:19
portantejeblair: but the proxy file does not have any timestamps, so is it worth even using that for now?20:20
notmynamejogo: cheilometer? is that ceilometer written by sean connery?20:20
jogoso we reley on syslog logs for that, and we when syslog blew up our ES clusterw as too small20:20
jogonotmyname: haha yup20:20
jeblairnotmyname, portante: i don't think including the branch name is currently a feature, but the data are definitely there for an enhancement20:20
portantejeblair: thanks20:20
jogohow is swift usually deployed log wise?20:22
creihtjogo: always syslog20:22
*** piyush1 has left #openstack-swift20:22
jogocreiht: any  syslog side config to split out the swift logs so they don't overwhelm the other syslog entries?20:23
portanteyes20:23
portantewe document that in our SAIO20:23
creihtjogo: yeah, the rsyslog config should do that20:23
*** piyush has joined #openstack-swift20:23
*** piyush has left #openstack-swift20:23
jogoalso any way to to identify log level ?20:23
notmynamejeblair: we did add high-resolution timestamps to the proxy logs (partially in response to the request from -infra) six months ago. is it not sufficient?20:23
jogoportante: link?20:24
portantesec20:24
*** piyush has joined #openstack-swift20:24
portantejogo: http://docs.openstack.org/developer/swift/development_saio.html20:24
jogoclarkb: ^20:24
portantehttp://docs.openstack.org/developer/swift/development_saio.html#optional-setting-up-rsyslog-for-individual-logging20:24
creihtjogo: I'm not running devstack right now, but there is a files/swift/rsyslog.conf20:25
portantethat is a better link20:25
creihtin devstack20:25
creihtthat looks like gets used by lib/swift20:25
portanteone ammendment needs to be made to that20:25
notmynameportante: best link: https://github.com/openstack/swift/blob/master/doc/saio/rsyslog.d/10-swift.conf20:26
notmyname;-)20:26
portante;)20:26
portantegood one!20:26
jeblairnotmyname: well that sounds swell.  looking at http://logs.openstack.org/92/82392/3/check/check-tempest-dsvm-full/4567a13/logs/screen-s-proxy.txt.gz it looks like that isn't used yet...20:26
jeblairnotmyname: maybe devstack needs updating to turn that on?20:27
jeblairclarkb: ^20:27
notmynamejeblair: it's the last 2 fields of the log line20:27
portantejeblair, and one can change the rsyslog format to match what you need for timestamp patterns for logstash20:27
creihtjogo: but more specifically, why would you set up any production system *not* using syslog? ;)20:28
jogojeblair: we aren't collecting /var/log/swift either20:28
jogocreiht: to make your life harder of course20:29
jeblairso i originally set up devstack-gate to _only_ log to syslog and collect syslog20:29
creihtwe actually use syslog-ng instead of rsyslog20:29
jeblaircreiht: because of exactly that feeling20:29
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: use six.iteritems()  https://review.openstack.org/8255720:30
jeblairhowever, a long time ago it was pretty clear that openstack did not agree with that, as it was impossible to debug anything (other than perhaps swift) using only syslogs20:30
jogojeblair: well it sounds like we have a road forward on this20:30
jeblairso that decision was reversed, and instead everything (except swift) is configured _not_ to log to syslog in order that we are certain we get the logs we need20:30
creihtswift can be configured to log just about however you want20:31
jogojeblair: sounds like a good topic for the a cross project summit session or something20:31
creihtso if you let us know how you want us to log, we can help you make that happen ;)20:31
notmynamecreiht: as long as it's a SysLogHanlder ;-)20:32
claygyeah don't get it; syslog is great for redirecting log messages to different files based on "things"20:32
creihtwell true20:32
*** lpabon has quit IRC20:32
creihtbut syslog is *very* configurable :)20:32
jogocreiht: timestamped logs that we can filter out debug or higher logs20:32
jeblaircreiht: groovy;  clarkb is the expert on "what we want", so we should ask him.20:32
notmynameI'm with clayg on this one. it seems that the issue is one of syslog configs20:32
creihtjogo: right, does the patch that notmyname mentioned above fix that for yall?20:33
jogonotmyname: well that and ceilometer logging useless  stuff20:33
creihtjogo: and I think we have ceilometer on the right track now20:33
openstackgerritVictor Stinner proposed a change to openstack/python-swiftclient: Python 3: Get compatible types from six  https://review.openstack.org/8255220:34
jogocreiht: link?20:34
jogoand yup20:34
notmynamejogo: git show d4e02a2e8b50ae9272efc07cd44217333b4aacd620:34
notmynamehowever that's linkified20:34
notmynamejogo: the (current) last 2 log fields are high-res timestamps for the request20:35
creihtjogo: http://paste.openstack.org/show/74186/20:35
notmynameactually, isn't it nice that someone documented the swift log formats? http://docs.openstack.org/developer/swift/logs.html20:35
creihtthere's an example log line from my saio, where you can see the timestamps at the end20:35
portantenotmyname, also from within the server itself, not when the logger gets the message20:36
portantejeblair, jogo: on my F19 laptop, I comment out the rsyslog.conf line: $ActionFileDefaultTemplate RSYSLOG_...20:37
openstackgerritClay Gerrard proposed a change to openstack/swift: Container Confict on obj update with wrong Storage-Policy-Index  https://review.openstack.org/7973120:37
haypooh, i should not send patches in a hurry. i introduced bugs when i splitted my changes in 6 small patches20:37
jogohttp://logs.openstack.org/55/82255/1/check/check-tempest-dsvm-full/88d1e36/logs/screen-s-proxy.txt.gz20:37
portanteand I get log lines like: "2014-03-23T04:29:51.463145-04:00 frodo NetworkManager[724]: <warn> ..."20:37
*** iccha has left #openstack-swift20:37
notmynameportante: does that server get weak and tired when carrying the swift rings?20:38
jogois what we  have been trying to use. but the syslog output is better20:38
portantenotmyname: cute20:38
portante;)20:39
jogoso we don't add every debug level log into elasticSearch, but it looks like your rsyslog config can help with that20:39
notmynameand for today's humorous LinkedIn email: "I had reached out to see if SwiftStack may have an interest in Paragon Software Group’s image based backup and disaster recovery technology for a SwiftStack backup offering to complement your Private Cloud Storage offerings." <-- have you heard of Swift?20:39
portante;)20:39
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make the container replicator notice misplaced objects  https://review.openstack.org/8073120:40
openstackgerritSamuel Merritt proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8073020:40
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make object updater reconcile on 409s  https://review.openstack.org/8073220:40
jogoportante notmyname creiht: anyway  clarkb is the resident devstack-gate log wizard20:40
notmynameportante: that's feature/ec  #notmynamebot20:40
creihtjogo: what you could probably do to simplify everything, is just do the /var/log/swift/all.log rule20:40
creihtignore the others20:41
creihtand index that20:41
creihtyou could even make all the swift services log to the same syslog target20:41
jogocreiht: that would be too big of a file, I think we want a all.error log as well20:42
claygtorgomatic: have you talked to peluse today?20:42
notmynamecreiht: actually, since devstack is just running one of each process with one replica, that would make sense (and no need to index stuff)20:42
torgomaticclayg: no20:42
* clayg thinks torgomatic has his autoresponder on20:42
clayg... that was too quick20:42
creihtjogo: oh sure20:42
torgomaticclayg: no ;)20:42
claygtorgomatic: do you automatically respond "no" to anything I ask you?20:42
jogocreiht: anyway we should wait for clarkb to chime in20:42
creihtjogo: sure20:42
claygwhoa!20:42
torgomaticclayg: mu?20:43
clayglol20:43
notmynamejogo: for the record, you're comment about doing syslog in devstack because that's what's in production is funny since devstack has just one replica and one set of services20:43
jogothanks for being so proactive on this btw20:43
jogonotmyname: heh babysteps20:43
creihtheh20:43
notmynamejogo: also that the devstack single drive is 1GB20:45
notmynameah, under tempest it's 6GB20:45
notmynamejogo: creiht: thanks for helping to make devstack better :-)20:46
openstackgerritClay Gerrard proposed a change to openstack/swift: Add Storage Policy Support to Account HEAD  https://review.openstack.org/7374720:46
clarkbjogo: what do you need me to chime in on?20:56
portanteclarkb: we were discussing swift and logging, use of rsyslog config to separate out swift logs from /var/log/messages, and how to remove duplication in proxy-s*.txt file20:57
jogoclarkb: see backlog on sorting out swift logs and sociology20:57
clarkbindividual files for each service with timestamps is the sanest thing20:59
clarkbfwiw syslog doesn't hold up to the amount of data thrown at it during gating in addition to the other things jeblair mentioned20:59
clarkbthere is a lot of tuning that must be done and no one has done it20:59
portanteclarkb: so ... this is a no go?21:04
clarkbportante: no I think for swift it is probably ok21:05
clarkbportante: the problem is when we start throwing all of the other services at it too21:05
portantepoor little VMs ...21:06
notmynametorgomatic: 5368709122000000000000000000000000000000 bytes21:25
torgomaticyeah, that should be enough :)21:26
notmynamehttps://twitter.com/notmyname/status/44820905790865408021:26
notmynameand that's just with defaults21:26
torgomaticyeah, let your SLOs have 10000 segments instead of 1000, and now you're talking real storage21:27
*** fifieldt has quit IRC21:30
*** tdasilva has left #openstack-swift21:32
*** piyush has quit IRC21:43
*** fifieldt has joined #openstack-swift21:46
*** dmsimard has quit IRC21:59
*** byeager has quit IRC22:02
*** byeager has joined #openstack-swift22:03
*** byeager has quit IRC22:07
*** Midnightmyth has quit IRC22:07
*** byeager has joined #openstack-swift22:24
*** gyee has quit IRC22:40
openstackgerritA change was merged to openstack/swift: Allow overriding of storage policy index.  https://review.openstack.org/8221123:05
*** tdasilva has joined #openstack-swift23:10
*** byeager has quit IRC23:10
openstackgerritClay Gerrard proposed a change to openstack/swift: Bump up sleep when expecting a timeout  https://review.openstack.org/8266423:18
notmynameso to test this I've gotta write an objest-server middleware that passes headers through fine but mutates the response body?23:21
torgomaticnotmyname: ?23:21
notmynametorgomatic: it's your fault :-)23:21
torgomaticnotmyname: oh, that one... yeah, just mangle the etag on the way back out, it'll be easeier23:21
torgomatic*easier23:21
claygnotmyname: +123:21
notmynametorgomatic: no, that won't work. that will be caught in the conditional at line 30923:22
torgomaticnotmyname: oh, okay then... yeah, it's bit-flipping time :)23:23
notmynameI need the same header etag as in the manifest, but a different computed etag in the proxy23:23
torgomaticthe etag mangling will work with DLOs, though, and that's the same code path23:23
claygi want a object-server file trans corrupting middleware neway - for science23:24
claygnotmyname: i'm telling you man "if random() > 0.7: chunk[-1] = 'X' # trolololo"23:42

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