Friday, 2019-04-19

*** mattw4 has quit IRC00:02
*** jangutter has joined #zuul00:06
*** jangutter has quit IRC00:11
SpamapSmordred: Is it just because it taints all the existing pep8-shrunk code?00:15
SpamapSbecause I kind of see their point in choosing 8800:15
mordredSpamapS: no - it's because it's hard to deal with in standard sized windows00:16
mordredor for peopel with smaller monitors00:16
mordred80 column terminal windows are a thing00:16
mordredtheir point is "88 made files shorter" - which has no value00:17
SpamapSshorter file means shorter diff00:17
SpamapSthat's something00:17
mordredshrug00:17
mordredxterm and/or gnome-terminal, with no additional config, launch 80 columns00:18
SpamapSAnd even on my 14" X1 I'm typicaly at more like 160 chars wide than 80.00:18
SpamapSAnd I like BIG fonts.00:18
mordredthat means that ona  standard machine with a standard config, I can open a standard terminal window and edit a file in a standard editor and not have weird line wrapping issues00:18
SpamapSYeah that seems... as weak as the shorter file thing. ;)00:18
SpamapSIt's logical, but I don't think it outweighs the benefits of having black run w/ defaults.00:19
SpamapSThat said..00:19
SpamapSit's a big rock decision00:19
SpamapSand that's never easy00:19
mordredmy choice would be to not use black if that was the only choice00:19
mordredit is not valuable enough to me to make me change literally everything about how I work with editors and terminal windows00:19
SpamapSRPG never had these problems. ;)00:19
mordredhahaha00:19
* SpamapS learned RPG for a minute00:20
SpamapS"column 4 is for conditions"00:20
mordredluckily - it's not required to submit to their arbitrary decision to change the arbitrary width to a senselessly different slightly larger arbitrary width00:20
mordredand the benefits can be gained without the significant usability downside00:21
mordredSpamapS: did you see the zork source code?00:21
mordredSpamapS: it's written in a old lisp dialect that uses < instead of ( !00:22
mordredhttps://github.com/historicalsource/zork/blob/master/dung.mud00:22
SpamapSwe set our internal width to 100 chars... It feels kind of freeing. ;)00:22
mordredI would not be able to work there00:22
mordredbut I'm happy you're happy00:23
SpamapSPretty sure a quick patch to .xresources and you're good ;)00:23
mordredshrug. I think long lines are incredibly rude00:23
mordredbut - really, it's not worth arguing about00:23
SpamapSI do think lower line length limits results in better code modularity.00:24
mordredI've given up on thinking that computers will ever remain enjoyable or that usability concerns from anyone will ever be given attention00:24
SpamapSYou don't get the nested conditional hell00:24
mordredor fun java names :)00:24
SpamapSso, I just wasted like, all day, because I had `region: us-east-1` in my nodepool.yaml and the AWS driver uses `region-name:` ...00:25
SpamapSDo the other providers validate the keys in the provider entries?00:25
mordredSpamapS: DOH00:25
mordredSpamapS: I feel likey they do?00:25
SpamapSwould have been nice to get an eh-splosion at parse time rather than node launch.00:25
mordredyeah. especially since they're known values00:25
SpamapSya...00:26
SpamapSbut the good news is.. multi-region works. :)00:26
mordredSpamapS: although - I've been considering a patch to openstacksdk to accept both region and region-name - because Shrews and I had the inverse of those problem the other day00:26
mordred\o/00:26
SpamapShaha yeah00:26
SpamapSboto3 wants region_name00:27
SpamapSso it makes sense for the AWS driver00:27
mordredtotes00:27
mordredI think it's the right choice for nodepool - and that nodepool should throw a nice validation error00:28
pabelangerso, looking at http://git.zuul-ci.org/cgit/zuul-jobs/tree/roles/htmlify-logs/library/htmlify.py would people object to adding multi-line select support? eg: http://foo#L12-15 ?00:38
pabelangerjust had a request for that from ansible molecule team00:39
pabelangerFollow question, any ideas where I can go learn how to do that in javascript :)00:39
tristanCpabelanger: fwiw i already proposed multi-line selection here: https://review.openstack.org/#/c/580891/00:41
pabelangertristanC: looking00:41
mordredpabelanger: I find the best way to learn javascript is to say "hey tristanC"00:41
mordredpabelanger: oh - that's for os_loganalyze. we'll need to to port that in to htmlify00:43
pabelangertristanC: cool thanks! so it looks like we could update htmlify-logs to do some of that too. Since that role is based on os_loganalyize00:43
pabelangermordred: yah!00:43
pabelangerthanks! I'll maybe try working on that tomorrow00:44
corvusfriendly reminder about the future-of-logs spec: https://review.openstack.org/64871400:45
pabelangerthanks, I haven't had a chance to read. Will do so tomorrow too00:46
tristanCwould it possible to get a review of https://review.openstack.org/637670 please?00:47
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add triggers information to pipeline list  https://review.openstack.org/63767000:55
tristanCcorvus: thanks!00:55
*** swest has quit IRC01:26
*** swest has joined #zuul01:40
*** bhavikdbavishi1 has joined #zuul01:59
*** bhavikdbavishi has quit IRC01:59
*** bhavikdbavishi1 is now known as bhavikdbavishi01:59
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: honor allowed-labels setting in the REST API  https://review.openstack.org/65389502:01
*** jangutter has joined #zuul02:07
*** jangutter has quit IRC02:12
*** jamesmcarthur has joined #zuul02:48
*** jamesmcarthur has quit IRC02:53
*** jamesmcarthur has joined #zuul02:58
*** irclogbot_0 has quit IRC03:05
*** edmondsw has quit IRC03:08
*** irclogbot_2 has joined #zuul03:10
*** jamesmcarthur has quit IRC03:32
*** bhavikdbavishi has quit IRC03:58
*** bhavikdbavishi has joined #zuul04:00
*** jamesmcarthur has joined #zuul04:01
*** jangutter has joined #zuul04:08
*** jamesmcarthur has quit IRC04:08
*** jangutter has quit IRC04:12
*** bhavikdbavishi1 has joined #zuul04:36
*** bhavikdbavishi has quit IRC04:37
*** bhavikdbavishi1 is now known as bhavikdbavishi04:37
*** jamesmcarthur has joined #zuul04:44
*** jamesmcarthur has quit IRC04:48
*** jamesmcarthur has joined #zuul05:21
*** jamesmcarthur has quit IRC05:27
*** jangutter has joined #zuul06:09
*** jangutter has quit IRC06:13
*** jamesmcarthur has joined #zuul06:23
*** jamesmcarthur has quit IRC06:28
*** chandankumar is now known as raukadah06:40
*** jamesmcarthur has joined #zuul06:45
*** jamesmcarthur has quit IRC06:51
*** pcaruana has joined #zuul07:12
*** yolanda_ has joined #zuul07:24
*** bhavikdbavishi has quit IRC07:25
*** bhavikdbavishi has joined #zuul07:25
*** jamesmcarthur has joined #zuul07:27
*** jamesmcarthur has quit IRC07:32
*** hashar has joined #zuul07:44
*** bhavikdbavishi has quit IRC07:54
*** bhavikdbavishi has joined #zuul08:00
*** jangutter has joined #zuul08:10
*** jamesmcarthur has joined #zuul08:12
*** jangutter has quit IRC08:14
*** jamesmcarthur has quit IRC08:17
*** bhavikdbavishi has quit IRC08:18
*** electrofelix has joined #zuul08:32
*** raukadah has quit IRC09:15
*** chandankumar has joined #zuul09:16
*** jamesmcarthur has joined #zuul10:11
*** pcaruana has quit IRC10:17
*** jamesmcarthur has quit IRC10:18
*** jamesmcarthur has joined #zuul10:23
*** jamesmcarthur has quit IRC10:27
*** bhavikdbavishi has joined #zuul10:30
*** hashar is now known as hasharLunch10:37
*** jamesmcarthur has joined #zuul10:54
*** jamesmcarthur has quit IRC10:59
*** hasharLunch is now known as hashar11:15
*** hashar has quit IRC11:30
*** hashar has joined #zuul11:31
*** hashar has quit IRC11:35
*** hashar has joined #zuul11:39
*** edmondsw has joined #zuul11:51
*** jangutter has joined #zuul12:08
*** jangutter has quit IRC12:12
*** sajauddin has joined #zuul12:24
sajauddinI work for Openstack CI on Power (Power KVM CI). I am trying to setup up ZuulV3, so that we can upgrade from Zuul V2 to V3. Already installed Zuul, looking for documentation which can help me in configuring dependent modules like ansible playbooks, nodepool, pipeline/jobs etc   Currently following Zuul official documentation... it is a bit confusing. If anyone has any documentation related to Zuul V3, please share.12:24
*** bhavikdbavishi has quit IRC12:40
*** sajauddin has quit IRC12:40
*** bhavikdbavishi has joined #zuul12:41
*** jamesmcarthur has joined #zuul12:55
*** jamesmcarthur has quit IRC13:00
*** jamesmcarthur has joined #zuul13:01
*** jamesmcarthur has quit IRC13:11
*** jamesmcarthur has joined #zuul13:24
*** jamesmcarthur has quit IRC13:35
SpamapSTurns out the schemas in nodepool are only used in the config-validate subcommand...13:40
*** jamesmcarthur has joined #zuul13:47
mordredSpamapS: ah, yes13:50
*** jamesmcarthur has quit IRC13:52
*** jamesmcarthur has joined #zuul13:55
*** jamesmcarthur has quit IRC13:59
*** jangutter has joined #zuul14:09
*** jamesmcarthur has joined #zuul14:13
*** jangutter has quit IRC14:14
*** jamesmcarthur has quit IRC14:18
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/nodepool master: Ensure config is always validated  https://review.openstack.org/65395314:35
SpamapSmordred:^ This fixes that14:35
mordredSpamapS: I believe we actually didn't do that on purpose - becuase if we bomb-out on bad config, then rolling out config file changes can cause the whole service to go down - I believe we run config-validate on config files in the gate14:37
SpamapSmordred: That's not realy how anybody expects daemons to behave though.. right?14:38
SpamapSAnd the config-validate check you're talking about will still guard against it.14:38
mordredSpamapS: I may not be following your pronouns14:39
SpamapSThe situation you don't want is that you HUP nodepool-launcher and everything goes down.14:39
SpamapSYou can still config-validate before you do that.14:39
mordredah - yes.14:39
mordredthanks - those words are easier to follow :)14:39
SpamapSBut most folks would expect that when they try to start a daemon that has an invalid configuration, it would not start up.14:40
SpamapSIt's certainly an assumption I made.14:40
SpamapSand wasted a crapton of time for me because I didn't even know config-validate existed.. :-P14:40
SpamapSand #MAGIC made things work for a while.14:41
SpamapSAnd in a container world.. you don't throw away your old containers until the new ones work anyway.14:42
SpamapSSo a crashing nodepool-launcher with a bad config in kubernetes will just result in the old one staying around forever.14:42
*** jamesmcarthur has joined #zuul14:55
electrofelixtesting out the zuul docker compose env from behind a proxy, how does one set a proxy for a particular type of node that is inherited by the job running in that environment? Or is this a modify the ansible definition of a job?14:56
mordredelectrofelix: I believe tobiash does things with proxies, so might have some good insights14:59
*** jamesmcarthur has quit IRC15:05
*** jamesmcarthur has joined #zuul15:06
electrofelixmordred: hopefully, I'd thought that ansible tasks would pick up the env on the remote host, guessing probably had to workaround that in the past15:06
-openstackstatus- NOTICE: Gerrit is offline for several hours starting at 15:00 UTC to perform the opendev migration; see http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html15:07
*** ChanServ changes topic to "Gerrit is offline for several hours starting at 15:00 UTC to perform the opendev migration; see http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html"15:07
tobiashelectrofelix: can you be more precise? Connecting from the executor via proxy to a node or downloading stuff via proxy on the node?15:24
electrofelixtobiash: latter, I'm currently looking at fudging it a bit by injecting the proxy env variables into ~/.ssh/environment and configuring the ssh in the node container to enable PermitUserEnvironment to see if ansible can pick it up, believe it's the problem of non-interactive shel15:25
*** hashar has quit IRC15:25
*** jamesmcarthur has quit IRC15:30
*** jamesmcarthur has joined #zuul15:31
electrofelixtobiash mordred: rebuilding with a node-Dockerfile that enables PermitUserEnvironment for sshd works for the compose env15:33
electrofelixI suspect the same issue tripped me up when trying out software-factory, the runc based node possibly doesn't have the proxies set in the environment in a way that is picked up by a non-interactive ssh connection which is the default for ansible15:36
*** tjgresha has joined #zuul15:40
*** jangutter has joined #zuul16:10
*** jangutter has quit IRC16:14
*** mgoddard has quit IRC16:34
*** mgoddard has joined #zuul16:35
*** electrofelix has quit IRC16:36
*** mgoddard has quit IRC16:44
*** mgoddard has joined #zuul16:45
*** mattw4 has joined #zuul16:48
*** jamesmcarthur has quit IRC17:40
mattw4Hi there #zuul, does anyone have a minute to talk about secrets?  Seriously though, I am trying to setup Zuul and stumped on how to store secrets, apparently all in public repos17:48
clarkbmattw4: many of us are busy in the middle of a great big git repo reorganization. But have you seen the docs? and have you seen the zuul/tools/encrypt-secret tool?17:50
clarkb(that script name might not be right)17:50
clarkbbasically zuul creates private keys for every repo. It then publishes the public key for the repos. You fetch the public key and encrypt locally and push the result into the repo17:51
clarkbthat tool/ dir script will do that for you17:51
mattw4clarkb, yep, I think I've read everything on Secrets, Encryption, and have successfully used the encrypt_secrets.py17:51
mattw4clarkb, so you just publish that secret config in your repo's Zuul config?17:52
clarkbyup the resulting cipher text goes into your .zuul.yaml as a secret17:52
clarkbthen playbooks in that repo will have access to the secret decrypted data when zuul executes them (as ansible variables)17:53
mattw4That's what I figured from the docs, but publishing ssh_username along with an (encrypted0 private key is making me nervous.  I figured I must be missing something17:53
clarkbusernames are not typically private data17:54
clarkb(though you can encrypt that too if you like)17:54
mattw4that's a good point17:54
mattw4thank you for your time clarkb17:55
*** jamesmcarthur has joined #zuul17:55
*** jamesmcarthur has quit IRC17:55
mattw4clarkb: one more question if you have a second: can you point out any "live" examples of this configuration?17:56
clarkbI can point you to our configs, but due to the mentioned git repo migration the urls may not always be accessible17:57
clarkbhttps://git.openstack.org/cgit/opendev/17:57
clarkber17:57
clarkbthat is incomplete17:57
clarkbhttps://git.openstack.org/cgit/opendev/base-jobs/tree/zuul.yaml#n2517:57
mattw4clarkb, understood and appreciated!!17:57
tjgreshagood stuff17:58
*** jangutter has joined #zuul18:11
*** jangutter has quit IRC18:15
*** edmondsw has quit IRC18:33
*** edmondsw_ has joined #zuul18:35
*** rf0lc0 has joined #zuul18:43
*** rfolco has quit IRC18:46
*** jamesmcarthur has joined #zuul19:45
*** jangutter has joined #zuul20:12
*** jamesmcarthur has quit IRC20:14
*** jangutter has quit IRC20:16
*** ianw_pto is now known as ianw21:37
*** jamesmcarthur has joined #zuul21:53
*** jamesmcarthur has quit IRC21:58
*** jamesmcarthur has joined #zuul22:00
*** jangutter has joined #zuul22:12
*** jangutter has quit IRC22:17
*** jamesmcarthur has quit IRC22:49
*** jamesmcarthur has joined #zuul22:56
*** jamesmcarthur has quit IRC23:11
*** mattw4 has quit IRC23:12
*** jamesmcarthur has joined #zuul23:18
*** jamesmcarthur has quit IRC23:28
*** jamesmcarthur has joined #zuul23:59

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