Thursday, 2019-01-31

*** sdake has joined #zuul00:06
*** sdake has quit IRC00:29
tristanCtobiash: go ahead, fine for me00:48
*** sdake has joined #zuul00:49
*** sdake has quit IRC01:09
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add roles usage information to the build page  https://review.openstack.org/63369702:37
*** bhavikdbavishi has joined #zuul02:50
*** sdake has joined #zuul03:00
*** saneax has joined #zuul03:19
tristanCjhesketh: welcome back, re: freeze_job, since the patch stack is usable for the zuul-runner execute command, should we remove the WIP for the refact patches (607079 and 607078) ?03:41
jheskethtristanC: Yep, I think it's probably ready to get some more eyes on it; however I'm still catching up on the changes myself :-)03:42
tristanCjhesketh: actually, I wanted to discuss with you about 79, i reworked the AnsibleJob base class to not diverge from the current implementation, 79 just move the re-usable procedure without modification03:42
jheskethtristanC: I tried to move it as much as possible without modifications, but I can't remember what I had to do now. If you found a way to refactor it cleaner then that's great03:44
tristanCjhesketh: it's actually a verbatim copy so that rebasing is simple03:45
jheskethawesome :-)03:46
tristanCjhesketh: the only difference between zuul-executor and zuul-runner is that the executor service has a self.job gearman object, and further patches just add if self.job to send gearman result when needed03:47
*** rlandy|bbl is now known as rlandy03:49
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: config: add playbooks to job.toDict()  https://review.openstack.org/62134304:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Add API endpoint to get frozen jobs  https://review.openstack.org/60707704:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Get executor job params  https://review.openstack.org/60707804:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Separate out executor server from runner  https://review.openstack.org/60707904:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: implement prep-workspace  https://review.openstack.org/60708204:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: web: add /connections route  https://review.openstack.org/63170304:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: use connections endpoint for prepare-workspace  https://review.openstack.org/63170404:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: add execute sub-command  https://review.openstack.org/63094404:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: add support for depends-on  https://review.openstack.org/63206404:22
jheskethtristanC: I was rebasing to solve merge conflicts, so took out the WIP's while I was there ^04:22
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: config: add playbooks to job.toDict()  https://review.openstack.org/62134306:08
*** chandankumar is now known as chkumar|ruck06:14
*** quiquell|off is now known as quiquell_rover06:20
*** swest has quit IRC07:06
*** quiquell_rover is now known as quiquell|rover07:07
*** quiquell|rover has quit IRC07:07
*** quiquell has joined #zuul07:07
*** quiquell is now known as quiquell|rover07:09
*** swest has joined #zuul07:09
*** quiquell|rover is now known as quique|rover|brb07:47
* quique|rover|brb is away: brb07:55
*** quique|rover|brb is now known as quiquell|rover07:55
*** quiquell|rover is now known as quique|rover|brb07:56
*** quique|rover|brb is now known as quique|rover|bbl07:56
* quique|rover|bbl is back (gone 00:04:03)07:59
* quique|rover|bbl is away: bbl07:59
*** themroc has joined #zuul08:11
*** avasss has joined #zuul08:12
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Add API endpoint to get frozen jobs  https://review.openstack.org/60707708:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Get executor job params  https://review.openstack.org/60707808:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Separate out executor server from runner  https://review.openstack.org/60707908:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: implement prep-workspace  https://review.openstack.org/60708208:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: web: add /connections route  https://review.openstack.org/63170308:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: use connections endpoint for prepare-workspace  https://review.openstack.org/63170408:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: add execute sub-command  https://review.openstack.org/63094408:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: zuul-runner: add support for depends-on  https://review.openstack.org/63206408:14
*** quique|rover|bbl is now known as quiquell|rover08:16
* quiquell|rover is back (gone 00:16:43)08:16
*** gtema has joined #zuul08:26
*** electrofelix has joined #zuul08:42
*** jpena|off is now known as jpena08:46
tobiashadam_g: yeah, that probably needs caching of the users08:48
*** mhu has quit IRC08:51
*** mhu has joined #zuul08:51
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Tolerate missing project  https://review.openstack.org/57987208:52
*** sshnaidm|afk is now known as sshnaidm09:25
*** luizbag has joined #zuul09:42
*** badboy has joined #zuul09:44
*** panda|off is now known as panda09:46
badboyshouldn't 'bubblewrap' be required while installing Zuul via pip?09:46
badboyit doesn't work without it an you have to dig through the logs to figure it out it's missing09:47
*** bhavikdbavishi has quit IRC09:52
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Move isChangeReadyToBeEnqueued after pipeline requirements  https://review.openstack.org/63419109:59
jktbadboy: on the other hand, it's only needed for the executor which might be on a separate host than the scheduler10:09
badboyjkt: true but the docs aren't crystal clear on that, at least imo10:26
tobiashbadboy: bubblewrap is not python so you cannot pull it in during pip install10:42
tobiashbadboy: but you can use bindep to install binary deps10:43
badboytobiash: ok, I've istalled it via apt10:53
badboythe point is that I am trying to setup the whole zuul system on one vm and the docs are helpful but many things are unclear10:54
badboythe quick start guide is simple but there's no real instructions on how to set up everything manually10:55
badboyatm I am trying to configure apache for the logs and it turns out that you have to have a mysql/othe db in order for the 'Builds' tab to be present10:56
badboyby present I mean with some real data10:56
badboyI'm not complaining, just giving you some feedback ;)10:56
*** rfolco has joined #zuul11:05
tobiashbadboy: we plan to make sql mandatory in the future11:11
tobiashbadboy: and we appreciate any feedback (also fixes, improvements to the docs are welcome ;) )11:12
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Make git clone timeout configurable  https://review.openstack.org/63393611:25
*** gtema has quit IRC11:37
avasssis there a variable like zuul2 ZUUL_COMMIT in zuul3?11:38
*** gtema has joined #zuul11:40
*** sdake has quit IRC11:41
tobiashavasss: ZUUL_COMMIT was the commit to checkout after fetching the repo from the merger right?11:42
avassstobiash: I think so11:42
* tobiash didn't touch a zuulv2 since 1.5 years11:42
tobiashavasss: you don't need that in v311:43
avassstobiash: we hav esome functionality around it :)11:43
tobiashbecause zuulv3 is a push based system and the correct revision is already checked out11:43
*** avasss is now known as avass11:43
tobiashbut you could use git to get that information if you need it:11:44
tobiash'cd {{ zuul.project.src_dir }} && git rev-parse HEAD' should probably do it11:44
avasstobiash: we we're using it to cache some things in case the same job ran twice without any changes to master11:45
tobiashI thing that would be pretty much the same as ZUUL_COMMIT11:45
tobiashavass: but that revision will be different in this use case11:45
tobiashbecause of timestamps11:45
tobiashbut I guess it should be different in v2 as well11:46
avasstobiash: we might need to rework that then, I don't think it's anything critical anyway11:46
*** gtema has quit IRC11:46
*** sdake has joined #zuul11:47
*** gtema has joined #zuul11:47
*** gtema has quit IRC12:11
*** gtema has joined #zuul12:15
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /connections route  https://review.openstack.org/63170312:17
*** jpena is now known as jpena|lunch12:27
*** gtema has quit IRC12:38
*** rlandy has joined #zuul12:54
*** gtema has joined #zuul13:02
*** ssbarnea has quit IRC13:17
*** zbr has joined #zuul13:17
*** zbr is now known as zbr|ssbarnea13:18
*** zbr|ssbarnea has quit IRC13:19
*** zbr|ssbarnea has joined #zuul13:19
*** bhavikdbavishi has joined #zuul13:20
*** zbr|ssbarnea has quit IRC13:21
*** bhavikdbavishi has quit IRC13:22
*** bhavikdbavishi has joined #zuul13:22
*** zbr|ssbarnea has joined #zuul13:26
*** jpena|lunch is now known as jpena13:31
*** bhavikdbavishi has quit IRC13:39
*** ParsectiX has joined #zuul13:48
sean-k-mooneyquick question is the zuul fingergw serice needed for zuul web or can zuul web pull the log stream directly form the executor?13:49
*** pcaruana has quit IRC13:52
*** pcaruana has joined #zuul14:02
*** sdake has quit IRC14:08
*** chkumar|ruck is now known as chkumar|out14:15
*** gtema has quit IRC14:36
tobiashsean-k-mooney: it's only needed if you want to use the finger command line client14:36
sean-k-mooneytobiash: cool thanks. i have never really got that to work properly since it is not obvios witout connecting to the executor what the uuid is for the build14:38
sean-k-mooneytobiash:  i mean you can get it to work but the web ui seams simler14:38
sean-k-mooneyits on my todo list to deploy in a week or two14:38
sean-k-mooneythe web ui that is14:39
*** sdake has joined #zuul14:39
*** themroc has quit IRC15:01
*** saneax has quit IRC15:12
*** bhavikdbavishi has joined #zuul15:16
* pabelanger still wants finger urls toggle on status page15:17
pabelanger:)15:17
*** sdake has quit IRC15:24
avassis it possible to kill processes started before aborting jobs?15:27
corvusbadboy: yes, i think bubblewrap should be mentioned here, but isn't: https://zuul-ci.org/docs/zuul/admin/installation.html15:29
corvusbadboy: if you use bindep as mentioned here, it should pull in bubblewrap, i think: https://zuul-ci.org/docs/zuul/admin/zuul_install.html#installation15:30
badboycorvus: I have manually installed it but it took some time to figure it out15:31
badboycorvus: there's nothing in the docs on how to set up the log server and database15:32
pabelangeravass: you mean, kill zuul processes?15:32
badboycorvus: and it's not mentioned that nothing will appear in the 'Builds' tab unless those above are configured15:33
avasspabelanger: no processes started by ansible, when you dequeue a job it doesn't kill the processes on the node which is a bit of a problem on static nodes15:33
corvusbadboy: if you could write all of these down in a bug report (or if you feel like writing patches to the docs) that would be great :)15:34
corvusavass: what do you mean by dequeue?15:35
badboycorvus: I will try to do that over the weekend15:35
corvusavass: you mean "zuul dequeue" ?15:35
avasscoruvs: yeah15:35
avasscorvus: or when submitting a new patch change while a job is running15:36
badboypabelanger: https://github.com/openstack/ansible-role-zuul/blob/master/templates/etc/zuul/zuul.conf#L17 it should be 'user={{ zuul_user_name }}'15:36
badboypabelanger: https://github.com/openstack/ansible-role-zuul/blob/master/templates/etc/systemd/system/zuul-scheduler.service#L7 also 'Group={{ zuul_group_name }} and so on15:37
*** chkumar|out is now known as invincible15:37
avasscorvus: which aborts the job but doesn't kill any processes ansible started15:37
pabelangerbadboy: the default zuul.conf is vary basic for the role, enough to bootstrap. It is better for you to pass in your own template, with site specific settings. for example: https://github.com/ansible-network/windmill-config/blob/master/zuul/zuul.conf.j2 with https://github.com/ansible-network/windmill-config/blob/master/ansible/group_vars/zuul.yaml#L1715:38
*** gtema has joined #zuul15:38
pabelangerbadboy: the you have the ability to override all those files manually15:39
corvusavass: it looks like 'zuul dequeue' will not abort jobs, which i think is a bug.  but a new patchset should cause jobs to abort.15:39
corvusavass: oh, i just read your last message15:39
corvusavass: when you say 'processes ansible started', do you mean like daemons it launched?  or do you just mean normal ansible processes?15:40
*** quiquell|rover is now known as quique|rover|off15:40
avasscorvus: like any normal process on windows :)15:40
badboypabelanger: you're right but there's no point in having a variable with zuul username and a hardcoded value15:42
pabelangerbadboy: that is the default user15:42
pabelangerbadboy: you can use systemd overrides to manage it15:43
pabelangereg: http://git.openstack.org/cgit/openstack/windmill/tree/playbooks/templates/zuul/etc/systemd/system/zuul-scheduler.service.d/override.conf.j215:43
corvusavass: i don't know much about windows process handling.  but in general, the intention is for zuul to clean up all of the ansible that it starts (with the exception of the zuul console streamer, which is okay to keep running), but if that ansible started daemons which used (under linux, i don't know the windows equivalent) double-fork method to detach from their parents, there is no way to identify those15:43
corvusprocesses and kill them (plus, it's not clear that they should be -- consider the deployment use case where zuul manages production servers)15:43
pabelangerbadboy: then set zuul_file_zuul_scheduler_service_config_src15:43
badboypabelanger: is there a reason for doing it that way?15:43
badboyjust aking out of curiosity15:44
pabelangerbadboy: because I don't want to template every possible setting for the role, it is more a package manage to lay down the bits, and ensure the services start.  I've exposed almost every possible file for a deployer to module and change themside, with out having to patch the role for each new setting.  It also allows for a user to easily extend the role, with their own site specific role15:45
badboypabelanger: got it, thanks15:46
avasscorvus: seems strange because it keeps running15:46
pabelangerbadboy: you should look at windmill to see examples of how it all works, that is actually an all in one install for zuul. And right now, I have a POC running in vexxhost for a multi node deployment15:46
pabelangerBut I also need to write way more documentation for it15:46
tobiashavass: zuul kills the process group of ansible when aborting jobs so that kills all local ansible processes. So I guess you mean that ansible doesn't kill remote processes on the node when it's killed?15:50
avasstobiash: yes15:50
tobiashavass: I guess under linux things are automatically killed by aborting the ssh connection, with windows it's not so easy because there is no persistent connection15:55
avasstobiash: that could be it15:56
Shrewsour zuul-quick-start job seems very unhappy lately16:00
Shrewshrm, but only on the nodepool side it seems. curious16:02
*** saneax has joined #zuul16:04
corvusShrews: that's weird, i'll take a look16:04
avasstobiash: I guess dequeueing isn't an option right now then16:06
tobiashavass: well, dequeueing happends during normal operations16:07
avasstobiash: what do you mean?16:07
tobiashavass: I have no idea about that session handling with winrm, maybe you can tweak the winrm settings with some session timeout that will ensure that the processes get killed16:07
tobiashavass: every time you update a change that currently runs jobs, that change is dequeued and the updated one enqueued16:08
tobiashthat is normal operations16:08
tobiashso you need to be able to deal with this16:08
avasstobiash: ah, yeah but you can turn it off :)16:08
tobiash?16:09
avasshttps://zuul-ci.org/docs/zuul/user/config.html#attr-pipeline.dequeue-on-new-patchset16:09
tobiashah that one16:09
tobiashbut still, a failing item in a gate pipeline will dequeue/reenqueue all following items too16:10
tobiashand that's normal operations too16:10
corvusor, rather, will cancel and restart jobs.  but that's the same thing for our purposes.16:10
corvuscould you start your job with a task that cleans up any old processes?16:11
avasscorvus: I was thinking about that16:11
avasscorvus: but we're probably going to running more than one job so we'll have to set up some way of identifying zombie processes16:12
avassone job per node16:12
tobiashavass: and you need static windows nodes?16:14
tobiashor could they be dynamic too?16:14
avasstobiash: it's what we've got to work on16:14
tobiashah, ok16:14
avasstobiash: otherwise that would solve a lot more problems16:15
corvusShrews: i see the problem16:16
corvusShrews: the 'context' attributes here: http://git.zuul-ci.org/cgit/zuul/tree/.zuul.yaml#n6816:17
*** ParsectiX has quit IRC16:17
corvusShrews: i'll push up a patch16:18
Shrewscorvus: should those be ../zuul instead of . ?16:20
corvusShrews: yeah, but i'm gonna make it even fancier16:20
Shrewscorvus: i wonder how this was working before now?16:20
*** sdake has joined #zuul16:20
Shrewscorvus: also, what led you to that? i couldn't find anything very helpful in the logs16:21
avassdoes zuul close the connection to zuul_daemon when aborting jobs?16:21
corvusShrews: yeah, took me a while: http://logs.openstack.org/92/633792/6/check/zuul-quick-start/b308be2/job-output.txt.gz#_2019-01-30_20_24_54_76527116:22
corvusShrews: or, specifically: http://logs.openstack.org/92/633792/6/check/zuul-quick-start/b308be2/job-output.txt.gz#_2019-01-30_20_24_54_76608916:22
Shrewscorvus: hrm, seems like we should be catching that earlier somewhere16:23
avassah, wait i mean the zuul_console daemon16:23
Shrewsi'll see if i can figure out enough to see if that's possible16:24
*** quique|rover|off is now known as quiquell|rover16:24
corvusShrews: i think that's the first use of the file16:25
corvusif anyone wants to start planning now: https://www.openstack.org/summit/shanghai-2019/16:25
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix context directories in image builds  https://review.openstack.org/63426616:30
corvusShrews: ^ try a Depends-On: that16:30
Shrewscorvus: k. and i think i might see a solution to catching that error earlier that i'm going to experiment with16:32
Shrewscorvus: fancy16:34
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Revert "Revert "Add a timeout for the image build""  https://review.openstack.org/63379216:37
pabelangeravass: no, you need to manually clean that up too16:37
pabelangerI have a post-run playbook to do that16:37
corvusyou don't need to stop zuul_console if you don't want to; if it's already running on the next job it will still work.16:39
avasspabelanger: Was hoping that I could hack something together in python since zuul_console doesn't work for windows16:39
pabelangeravass: I know mordred has some logging changes up to remove the need for it, I haven't checked in a while the status of it.16:40
avassI have to get going, thanks for all your help16:48
Shrewscorvus: oh, duh. nevermind, i see the post playbook starts immediately after that failure, so working as expected.16:52
Shrewsi need more coffee i think16:52
*** avass has quit IRC16:53
*** spsurya has quit IRC16:54
*** gtema has quit IRC17:02
Shrewscorvus: oops... OSError: [Errno 2] No such file or directory: '/home/zuul/src/git.openstack.org/openstack-infra/zuul/src/git.openstack.org/openstack-infra/zuul'17:10
corvusdoh.17:10
corvuscan fix17:10
corvusShrews: well, we can fix 2 ways.  we can set "zuul_work_dir: /"  or we can do your idea.  which do you think is better?17:11
corvus(or, i guess, option #3 would be to update the role to ignore zuul_work_dir if context starts with '/')17:12
Shrewscorvus: meh? that's like asking if 1+1 is better than 2+0. They both equal 217:13
corvusShrews: i know, why do you think i'm asking? :)17:13
Shrewslol17:13
corvusi'll do your thing17:13
Shrewscorvus: yeah, that seems easiest/simplest to review17:13
Shrewsbtw, i did check my maths on the calculator17:14
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix context directories in image builds  https://review.openstack.org/63426617:14
corvusjust don't ask me 2+2.17:14
Shrewspffft, like anyone could answer that17:15
Shrews(even with a rat trap attached to their head)17:16
* Shrews watches classic reference float over heads17:16
corvusneo's room in the matrix was a reference to that.17:18
corvusalso, picard's "there are four lights!"17:19
Shrewscorvus: heh, b/c of the room # (101)?17:20
corvusyep :)17:20
Shrewshah, neat. didn't know that17:20
*** sdake has quit IRC17:28
pabelangerso, we have some network images for ansible-network, that by default usually only support username / password via SSH. Most of the time we can add it SSH public keys but usually required a bit of effort to do so. Given ansible support ansible_ssh_username / ansible_ssh_password, I want to get the feel about maybe adding support for this into zuul-executor, but i believe that would mean some how skipping SSH17:47
pabelangeragent support and load them directly from inventory files17:47
pabelangeransible_ssh_pass can be encrypted with vault I believe17:49
*** bhavikdbavishi has quit IRC17:58
*** bhavikdbavishi has joined #zuul17:59
*** saneax has quit IRC18:05
*** sdake has joined #zuul18:07
*** jpena is now known as jpena|off18:08
tobiashpabelanger: I don't think you need to change anything with the ssh agent18:09
corvuspabelanger: i suspect there will be some details to figure out, but i think it's worth looking into and coming up with a plan/proposal.18:10
tobiashJust set that ansible variable and it should take care of enabling pw auth18:11
tobiashI think the intetesting question is where to define the pw18:11
corvusi'd guess in nodepool, and ship it over zookeeper.  best to have zk auth enabled.18:12
corvusand, perhaps eventually, we may want to use the idea of symmetric encryption for that too (like we're talking about for secrets in zuul v4)18:13
tobiashProbably, we also could enhancr this to support image specific private keys18:13
corvus++18:13
corvusmaybe remove the key from zuul and handle everything this way18:14
tobiashYes18:14
pabelangerokay, I'll test somethings locally, then make post to ML18:19
pabelangerI think this would actually work out of box if our secrets were not dicts. As we could just encrypt ansible_ssh_pass directly, but today it would be foo.ansible_ssh_pass18:20
pabelangerbut first I am going to finish up 592160 and get it back up for review18:20
*** bhavikdbavishi has quit IRC18:30
*** quiquell|rover is now known as quique|rover|off18:41
*** panda is now known as panda|off18:41
* mordred waves to zuul people - isn't really here - but has boarded his return flight and thus has started being bored18:47
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: stage-output: Add the ability to add .txt extensions to files  https://review.openstack.org/63429318:50
corvusmordred: http://zuul.opendev.org/tenants exists18:51
corvusmordred: as does https://review.openstack.org/63360518:51
corvusguaranteed to stave off boredom18:52
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Allow run to be list of playbooks  https://review.openstack.org/59216018:53
*** luizbag has quit IRC18:54
pabelangercorvus: ^finally updated to address your comments18:56
*** pvinci has joined #zuul19:09
*** electrofelix has quit IRC19:13
pvinciwhen I have a gerrit connection defined that gives me an paramiko.ssh_exception.SSHException: Signature verification (ssh-ed25519) failed exception, it impacts/blocks other gerrit connections.19:13
pvinciWhen I comment out the bad connection, the other works without issue.19:14
pvinciIs that an expected behavior?19:15
*** bhavikdbavishi has joined #zuul19:21
*** bhavikdbavishi has quit IRC19:23
*** pcaruana has quit IRC19:30
*** sshnaidm is now known as sshnaidm|off19:33
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix context directories in image builds  https://review.openstack.org/63426619:45
corvusShrews: ^ okay that's really going to get it :)19:45
Shrewssure sure19:46
corvuspvinci: it's... disappointing behavior.  i'm not sure there's a lot of experience with or testing of that case.  i'm not sure what the implications are of not being able to contact a source; i think things would go downhill quickly.  so even fixing the first symptom there might end up exposing more complicated problems.19:47
corvuspvinci: all of that to say, it sounds like a bug, and i'm sure a fix would be an improvement, but for anyone contemplating a fix, there may be dragons there.  :)19:48
mordredcorvus: neat!19:49
pabelangerpvinci: possible you have wrong SSH key for the connection, I've see paramiko raise the exection once all keys from server side as iterated through19:50
pabelangerthere is also case where paramiko doesn't yet support RFC4716 keys19:52
mordredcorvus: the requires/provides patch looks great - but I don't understand computers enough today to actually read it properly20:05
corvuspabelanger: can you elaborate on that last bit?  i thought pvinci was running into https://bugs.chromium.org/p/gerrit/issues/detail?id=6504  i was unaware of a fault with paramiko.20:07
pvinciCorvus, yes. I believe it is that bug and am trying to get the 3rd party to upgrade.20:09
corvuspvinci: in the mean time, you should be able to work around it by manually fetching the rsa keys from that gerrit (assuming it also has rsa keys) and adding them to the known_hosts file on all the zuul systems20:09
corvuspvinci: that will cause paramiko to prefer the rsa key (which is what openssh does already)20:10
pvinciI did, and it seems paramiko still tries and fails the ed25519 key20:10
corvuspvinci: on the zuul scheduler too?20:12
pvinciThis is on the scheduler, yes.20:12
corvusbummer.  i'm sure that worked for us before when we connected to opendaylight: http://git.openstack.org/cgit/openstack-infra/system-config/tree/manifests/site.pp#n84520:13
corvuspvinci: make sure you add all the hostnames/ip addresses, and don't forget the port20:13
pvincischeduler_1     | paramiko.ssh_exception.SSHException: Signature verification (ssh-ed25519) failed.20:13
pvinciI just wanted to see it you all felt it was worthwhile to open a defect20:15
pabelangercorvus: https://github.com/paramiko/paramiko/issues/602 I ran into that issue on fedora-28, since openssh key format because the default20:16
pabelangernow you need to force -m pem for ssh-keygen20:16
pabelangers/because/became20:18
pabelangerJust checking my notes again, and cannot find the exception I was getting. But just remember 'BEGIN OPENSSH PRIVATE KEY' being the issue with the private key20:22
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Allow run to be list of playbooks  https://review.openstack.org/59216020:28
pvinci@corvus thanks!  That's the same gerrit I'm working with, but I have a different canonical name.20:31
corvuspvinci: looks like you're using containers -- maybe the known_hosts file isn't propogating into the container?20:34
pvinciI've logged in.  The keys are there.20:37
pvinci[gerrit.fd.io]:29418 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjr1oez076EFMo5n25lAJ2zhftLAHIkTmwTdjwR82xA8sqQbN0FMz4znZyO7o2jlewlw/OqnVAwEIvEto6 [gerrit.fd.io]:29418 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEZKNxaLXuYrZvR0BTjrdTP7GVkeMpoa4sKSaOsMYMeIHFrq [gerrit.fd.io]:29418 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFcFjT0+oeAkqNFIj/71n/4WoRvC+HOIVv5nFdk8xDH520:38
*** rfolco has quit IRC20:40
corvuspvinci: *only* supply the rsa key20:45
corvusif paramiko sees the other keys, it will still prefer them.  but if it only sees an rsa key, then it will use that, because that is better than trying to verify a new key.20:46
pvinciI am testing that20:46
mrhillsmanquestion, hopefully it is clear, i do not want to create two periodic pipelines, i have one that uses a trigger for say 00|04|08|16 hours and another for the 22nd hour of the day, is there a way to have jobs only fire off at specific hours without having two periodic pipelines?21:25
pvincicorvus: putting in the reverse lookup seems to have helped.  [gerrit.fd.io]:29418,[52.10.107.188]:29418 ssh-rsa21:39
corvuspvinci: yay!21:40
corvusmrhillsman: nope, you need 2 pipelines for that.21:40
mrhillsmanthx21:40
pvinciStill seeing exceptions, but now pulling down refs.21:41
pvinciI'll let you know how it progresses.  Thanks a million!21:41
corvuspvinci: you're welcome21:42
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to run a buildset registry  https://review.openstack.org/63431921:44
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to run a buildset registry  https://review.openstack.org/63431921:54
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432322:00
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432322:03
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to run a buildset registry  https://review.openstack.org/63431922:10
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432322:10
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to run a buildset registry  https://review.openstack.org/63431922:21
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432322:21
*** sdake has quit IRC22:30
*** sdake has joined #zuul22:44
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Allow run to be list of playbooks  https://review.openstack.org/59216022:54
pabelangertobiash: corvus: mordred: clarkb: ^ is green now, new feature to allow list of playbooks for job.run. If you'd like to add it into your review queue.22:55
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: Proposed spec: tenant-scoped admin web API  https://review.openstack.org/56232122:58
*** dkehn has joined #zuul23:04
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to run a buildset registry  https://review.openstack.org/63431923:14
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432323:14
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: WIP: Add a role to run a buildset registry  https://review.openstack.org/63431923:28
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: DNM: test buildset registry  https://review.openstack.org/63432323:28
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: WIP: add role to use buildset registry  https://review.openstack.org/63434623:28
*** daniel2 has joined #zuul23:44

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