Tuesday, 2018-08-28

*** gyee has quit IRC00:02
*** itlinux has joined #openstack-swift00:59
*** psachin has joined #openstack-swift02:55
*** gkadam has joined #openstack-swift03:36
*** tdasilva has quit IRC04:27
openstackgerritMerged openstack/swift master: switch documentation job to new PTI  https://review.openstack.org/59621105:24
*** dr_feelgood has joined #openstack-swift05:39
*** dr_feelgood has quit IRC05:48
*** links has joined #openstack-swift06:16
*** pcaruana has joined #openstack-swift06:39
*** geaaru has quit IRC06:43
*** hseipp has joined #openstack-swift06:46
*** rcernin has quit IRC07:02
*** andymccr has joined #openstack-swift07:35
*** cbartz has joined #openstack-swift07:42
*** mikecmpbll has joined #openstack-swift07:48
*** rcernin has joined #openstack-swift08:59
*** takamatsu has joined #openstack-swift09:15
*** hoonetorg has quit IRC09:20
*** nguyenhai_ has joined #openstack-swift09:45
*** rcernin has quit IRC09:47
*** nguyenhai has quit IRC09:49
*** ccamacho|brb has quit IRC10:29
*** ccamacho has joined #openstack-swift10:50
*** szaher has joined #openstack-swift11:46
*** gkadam has quit IRC13:05
*** tdasilva has joined #openstack-swift13:13
*** ChanServ sets mode: +v tdasilva13:13
tdasilvagood morning13:15
*** psachin has quit IRC13:39
*** psachin has joined #openstack-swift13:49
*** psachin has quit IRC13:58
*** itlinux has quit IRC14:12
*** links has quit IRC14:27
*** pcaruana has quit IRC14:29
*** pcaruana has joined #openstack-swift14:30
*** zaitcev_ has joined #openstack-swift14:37
*** ChanServ sets mode: +v zaitcev_14:37
*** zaitcev has quit IRC14:38
*** zaitcev_ is now known as zaitcev14:38
*** pcaruana has quit IRC15:00
*** itlinux has joined #openstack-swift15:07
*** gkadam has joined #openstack-swift15:10
*** cbartz has quit IRC15:21
timburkegood morning15:21
*** gyee has joined #openstack-swift15:27
*** jistr is now known as jistr|call15:42
*** jistr|call is now known as jistr15:43
notmynamegood morning15:46
*** gkadam has quit IRC16:21
*** hseipp has quit IRC16:25
openstackgerritTim Burke proposed openstack/swift master: Add IPv6 DSVM tests  https://review.openstack.org/59149716:34
*** mikecmpbll has quit IRC16:36
openstackgerritTim Burke proposed openstack/swift master: Display crypto data/metadata details in swift-object-info  https://review.openstack.org/58690316:37
openstackgerritTim Burke proposed openstack/swift master: Allow multiple keymasters  https://review.openstack.org/58690216:38
*** jemc has joined #openstack-swift16:42
jemcIs this an acceptable place for questions? I'm working on setting up a single-docker-container image for swift to use for testing, and as part of that, I'd like to configure all of the swift applications running inside the container (under supervisord) to log to stdout of their process, instead of or in addition to rsyslog.16:44
notmynamejemc: this is a good place to ask questions16:45
jemcIs that possible, and if so, what is the configuration option to do it? I'm currently setting `log_to_console = true` in the various `conf` files, but I'm not sure its working because I'm getting 500 errors from some swift API calls, but not seeing any output in my combined stdout view16:46
notmynamejemc: when I last working on it (in https://review.openstack.org/#/c/577467/), I had a syslog container taking the UDP stream and then interacting with that to grab logs16:48
patchbotpatch 577467 - swift - added docker test target tools - 9h 34m 23s spent in CI16:48
notmynamehttps://github.com/bouncestorage/docker-swift looks like it sets up syslog, so that's not exactly what you want...16:49
jemcI'm basing my work off of https://github.com/ccollicutt/docker-swift-onlyone16:49
jemcwhich sets up syslog to run under supervisord, but it doesn't really work with some of my security modifications16:50
jemcso I'm trying to eliminate the syslog dependency16:50
jemcI noticed that python-language-level errors already go to stdout (stderr?), and they are working fine for me - I'm just missing out on the application-level logging16:51
jemcI didn't see any documentation for it, but I found the `log_to_console` option here: https://github.com/openstack/swift/blob/1fa4b9e3feba75e56293aaf57352ec5add3551a4/bin/swift-drive-audit#L15716:52
notmynameI think there's a way, maybe16:54
notmynamenormally one would use `swift-init` to start swift processes. eg `swift-init proxy start`. sometimes you may call it directly like `swift-proxy-server /path/to/conf`, but `swift-init` has some extra niceness16:55
jemclooks like maybe this is tied to a `verbose` setting somewhere? https://github.com/openstack/swift/blob/1fa4b9e3feba75e56293aaf57352ec5add3551a4/swift/common/daemon.py#L29116:55
openstackgerritTim Burke proposed openstack/swift master: Factor out a proper BaseKeyMaster class  https://review.openstack.org/59002416:55
notmynameso insted of using `swift-init thing start`, use `swift-init thing no-daemon`. that will prevent it from forking to the background and I think will log to stdout16:55
jemcnot using `swift-init` currently - the invocations look like this: https://github.com/ccollicutt/docker-swift-onlyone/blob/master/files/supervisord.conf#L1516:56
jemcbut it looks like maybe I can just add `-v` to that? https://github.com/openstack/swift/blob/1fa4b9e3feba75e56293aaf57352ec5add3551a4/doc/manpages/swift-object-auditor.1#L38-L4416:57
jemcwill try16:57
jemcalright, awesome - it works! now I just have to work on troubleshooting the remaining errors, now that I can see the error logs...17:00
notmynamecool17:00
notmynamewas about to say...17:00
notmynamejemc: if that doesn't work for you (although it seems to be working in my dev environment for me), then the best you may be able to do is set up udp logging and run a syslog reader to bridge/parse that udp stream to stdout17:01
jemcglad it didn't come to that :)17:01
notmynameI've got something similar at home. my swift cluster is running on tiny embedded devices with microsd cards as OS drives. microsd cards have *terrible* write endurance, so logging just destroys them. so I've got them streaming logs to UDP, and I can spin something up and attach to the stream when I need logs17:02
openstackgerritTim Burke proposed openstack/swift master: bulk: Use make_subrequest to make subrequests  https://review.openstack.org/50250517:04
openstackgerritTim Burke proposed openstack/swift master: Tighten up pep8 irrelevant-files  https://review.openstack.org/59718417:11
openstackgerritTim Burke proposed openstack/swift master: Allow multiple keymasters  https://review.openstack.org/58690217:18
openstackgerritAndreas Jaeger proposed openstack/python-swiftclient master: import zuul job settings from project-config  https://review.openstack.org/59620617:40
*** mikecmpbll has joined #openstack-swift18:39
timburkeoh hey, thanks zaitcev! i'd been thinking about doing something like https://github.com/openstack/keystonemiddleware/commit/00e94b7 and here i see you've already done it!18:45
*** hoonetorg has joined #openstack-swift19:22
*** hoonetorg has quit IRC19:24
*** ccamacho has quit IRC19:54
timburkenotmyname: i kinda remember you looking at zuul/gate stuff recently -- if you've got bandwidth, it might be good to figure out what's going on with etcd on https://review.openstack.org/#/c/591497/20:19
patchbotpatch 591497 - swift - Add IPv6 DSVM tests - 7h 10m 39s spent in CI20:19
*** itlinux has quit IRC20:31
notmynametimburke: yeah, I think turning off etcd3 is the right answer: http://logs.openstack.org/97/591497/7/check/swift-dsvm-functional-ipv6/484544c/controller/logs/screen-etcd.txt.gz#_Aug_28_17_44_17_70105120:45
timburkei don't get why we don't get a similar error on ipv4... oh well20:45
*** hoonetorg has joined #openstack-swift21:36
*** rcernin has joined #openstack-swift21:46
*** mikecmpbll has quit IRC21:58
timburkenotmyname: huh. well this time it passed... though it must've been on a retry, 'cause i know i watched a job fail for that patchset. maybe something to do with different node providers? i saw it fail on ovh but pass on rax...22:12
mattoliveraumorning23:06
*** joeljwright has quit IRC23:10
*** joeljwright has joined #openstack-swift23:11
*** ChanServ sets mode: +v joeljwright23:11
notmynamemattoliverau: hello23:26
notmynametimburke: oh interesting23:26
*** itlinux has joined #openstack-swift23:53
*** threestrands has joined #openstack-swift23:54

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