Wednesday, 2018-07-04

*** rlandy has quit IRC00:04
openstackgerritMerged openstack-infra/nodepool master: Add test for referencing cloud image by ID  https://review.openstack.org/57970200:11
openstackgerritMerged openstack-infra/nodepool master: Fix for referencing cloud image by ID  https://review.openstack.org/57966400:11
*** harlowja has joined #zuul00:26
*** harlowja has quit IRC00:27
*** yolanda_ has joined #zuul00:29
*** yolanda__ has quit IRC00:31
clarkbwe seem to sometimes lose github recheck comments00:40
clarkbreading logs we seem to just not process it implying something like pr_body = self.connection.getPull(project_name, number) may have failed?00:43
clarkbwe should probably log that case?00:43
gundalowclarkb: GitHub webhook not firing?00:44
clarkbgundalow: no it fired, and we processed the event with a 20000:44
gundalowah, only ask as occasionally we see signs that indicate webooks didn't fire (in shippable)00:45
clarkbI think zuul is semi quietly failing after that00:46
openstackgerritClark Boylan proposed openstack-infra/zuul master: Delete redundant code.  https://review.openstack.org/58000800:51
clarkbnoticed ^ when debugging00:51
*** yolanda__ has joined #zuul00:55
clarkbtobiash: corvus ^ after 2018-07-04 00:47:22,793 DEBUG zuul.GithubGearmanWorker: Github Webhook Received: cff82850-7f23-11e8-9844-2123c3e92a75 and 2018-07-04 00:47:22,793 DEBUG zuul.GithubGearmanWorker: X-Github-Event: issue_comment I don't see any logging related to that event00:57
clarkbI wonder if the double accounting above that I'm cleaning up is possibly related?00:57
*** yolanda_ has quit IRC00:58
clarkbI'm not really sure how to debug further00:58
clarkbhrm pushing an update to the pullrequest seems to have similar behavior01:02
*** yolanda_ has joined #zuul01:06
*** yolanda__ has quit IRC01:08
clarkbcorvus: seems like the last thing logged for kata-containers/proxy was prior to restarting stuff 2018-07-03 20:13:19,073 DEBUG zuul.GithubConnection: Got project branches for kata-containers/proxy: ['master', 'sboeuf/enable_kata_containers', 'version-0.2.0-update'] I'm guessing we have a regression in github connection handling?01:10
clarkbwe are processing events for kata-containers/runtime and kata-containers/tests though01:12
*** yolanda__ has joined #zuul01:23
*** yolanda_ has quit IRC01:26
clarkbok I'm stumped and it is dinner time. I think at the very least we need more logging around githubconnection handleEvent. The event seems to just disappear02:01
clarkbhrm looks like it eventually ran jobs a few minutes ago03:03
openstackgerritMerged openstack-infra/zuul master: Delete redundant code.  https://review.openstack.org/58000803:58
openstackgerritVu Cong Tuan proposed openstack-infra/zuul-jobs master: Switch to stestr  https://review.openstack.org/58002804:23
*** yolanda_ has joined #zuul04:55
*** yolanda__ has quit IRC04:58
*** yolanda__ has joined #zuul05:05
*** yolanda_ has quit IRC05:09
*** yolanda__ has quit IRC05:09
openstackgerritLogan V proposed openstack-infra/zuul master: Fix incorrect API URL for project key  https://review.openstack.org/58003405:13
openstackgerritLogan V proposed openstack-infra/zuul master: Fix secret example yaml  https://review.openstack.org/58003905:32
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: scheduler: fix enqueue event to use canonical project name  https://review.openstack.org/58004005:35
*** Rohaan has joined #zuul05:47
*** nchakrab has joined #zuul06:13
*** yolanda__ has joined #zuul06:28
tobiashuhm, my executor log indicates that when a job starts it updates the local cache and after that it does a clean clone from the upstream url06:37
tobiashneed to check that06:37
*** AJaeger has left #zuul06:50
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix logging of clone origin  https://review.openstack.org/58005306:58
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix logging of clone url  https://review.openstack.org/58005306:59
tobiashphew, was just a logging issue06:59
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix logging of clone url  https://review.openstack.org/58005307:09
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Improve test_static_basic  https://review.openstack.org/58006307:19
*** ianychoi has quit IRC07:20
*** yolanda__ is now known as yolanda07:21
*** hasharAway is now known as hashar07:25
*** Rohaan has quit IRC07:28
jiapeiHello Zuulers, I'm a fresh guy on zuul. Yesterday I installed Zuul v3, and configured it following the official docs, but it complains error on "fatal: Could not read from remote repository."  But I can use "git clone " manually without error. Anyone can help me on this issue? http://paste.openstack.org/show/724846/07:54
jiapeiThis issue has block me for 2 days, somebody says that it may be related to key permissions, but I can confirm that zuul is the user for "zuul-executor".07:57
*** jpena|off is now known as jpena08:04
openstackgerritMerged openstack-infra/zuul master: Split test_dynamic_conf_on_broken_config  https://review.openstack.org/57999608:29
*** Rohaan has joined #zuul08:39
tobiashjiapei: what are the permissions of the keyfile and the directory containing the key?08:39
tobiashjiapei: and you are sure that you want to use the same key for accessing nodepool and gerrit?08:40
*** electrofelix has joined #zuul08:40
jiapeitobiash: the directory is ~zuul/.ssh/id_rsa, with permissions "-rw-------. 1 zuul zuul 1675 Jul  4 03:45 id_rsa"08:41
jiapeiI use ssh-keygen to create a new key for zuul08:42
tobiashjiapei: your config wants to use /var/lib/zuul/.ssh/nodepool_rsa08:42
tobiashfor gerrit08:42
tobiashjiapei: that doesn't match ~zuul/.ssh/id_rsa08:42
jiapeitobiash: I generated a new key id_rsa just now since the "nodepool_rsa" still don't work...08:45
jiapeitobiash: can I use just zuul without nodepool installed/configured?08:47
tobiashjiapei: your problem is not yet nodepool but accessing gerrit and in your pasted zuul.conf you list nodepool_rsa as private key to use to access gerrit and that doesn't match ~zuul/.ssh/id_rsa08:51
jiapeitobiash: I copied id_rsa to nodepool_rsa, but it still can't connect to gerrit.  http://paste.openstack.org/show/724961/09:04
*** Rohaan has quit IRC09:18
*** pawelzny has joined #zuul09:19
*** hashar is now known as hasharAway09:41
*** pawelzny has quit IRC10:07
*** pawelzny has joined #zuul10:08
*** gtema has joined #zuul10:37
*** jpena is now known as jpena|lunch10:59
*** Rohaan has joined #zuul11:12
*** jpena|lunch is now known as jpena12:16
goernhey all, is there somewhere a job that sends out notifications to irc?12:46
*** gtema has quit IRC12:46
*** gtema has joined #zuul12:48
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Update bindep file with build profiles  https://review.openstack.org/58015912:57
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add job to build container images using pbrx  https://review.openstack.org/58016012:57
*** nchakrab_ has joined #zuul12:57
*** nchakrab has quit IRC13:00
tristanCgoern: there is a mqtt publisher, so you could use something like https://github.com/jpmens/mqttwarn to forward message to irc13:10
tristanCgoern: on software-factory, just enable the firehose component to setup the service and the pipeline reporters13:10
*** hasharAway has quit IRC13:11
rcarrillocruzmordred: out of curiosity, did you check buildah? My understanding is that is python based, and does not require docker to build images13:12
* rcarrillocruz goes check on phone, afk now13:12
goerntristanC, thats many moving parts.. irccat, warn, mosquito...13:13
rcarrillocruzhttps://www.projectatomic.io/blog/2017/06/introducing-buildah/13:13
goerntristanC, cant I use the ansible irc module? :)13:13
tristanCgoern: that should work too, though the advantage of pipeline reporter is to get a single event for the whole buildset13:14
goernrcarrillocruz, and it seems to be the better choice for new projects. beside what you said it is way more scriptable than a Dockerfile13:14
goerntristanC, hmm ja agree13:14
goerntristanC, nice thing about warn is that it can push to mattermost too13:15
tristanCgoern: adding a native irc driver in zuul shouldn't be too hard, but re-using the mqtt bus sounds better13:15
goernja13:15
tristanCwe should look into integrating mqttwarn in software-factory :-)13:16
goerntristanC, first I need to do the openshift integration ;)13:17
goerntristanC, so I updated to the latest release, but still see only runc nodes13:17
goernnodepool seems to be ok, but no notion of any openshift, even though the provider is configured13:18
tristanCgoern: you need to configure the openshift context, e.g. adds this to /etc/nodepool/nodepool.yaml https://github.com/thoth-station/zuul-test-config/blob/master/nodepool/openshift.yaml13:19
tristanCgoern: edit the file directly and save, no need to reload nodepool-launcher. But please tail /var/log/nodepool/launcher.log, it may loop if something is wrong13:20
goerntristanC, uh, that is not added by some software-factory?13:20
tristanCgoern: e.g. i don't think the driver will stop if it can't create a project, so it will keep on hamering the api13:20
tristanCgoern: no, only the managed "oc cluster up" is auto-configured, external openshift cluster needs to be manually configured13:21
tristanCgoern: that's because i couldn't figure out how to discover the context to use after oc loginc succeed13:21
goerntristanC, oc whoami --show-context13:21
tristanCoh... then that could have been automated13:22
tristanCbut then again, the driver is a bit experimental, so it's better if the nodepool provider creation is manual, so that you can monitor it closely13:23
tristanCit has only been validated with a local oc cluster up endpoint13:23
*** swest has quit IRC14:10
*** sshnaidm|rover is now known as sshnaidm|afk14:11
*** elyezer has joined #zuul14:14
*** nchakrab_ has quit IRC14:17
*** elyezer has quit IRC14:17
gundalowgoern: tristanC FYI Ansible has a number of modules for "most" messaging  platforms https://docs.ansible.com/ansible/latest/modules/list_of_notification_modules.html14:20
*** nchakrab has joined #zuul14:21
*** elyezer has joined #zuul14:25
*** nchakrab has quit IRC14:40
corvusclarkb: it hashes the line number (mark.line is the line number).  but i think the case you describe is why we still report errors if the error is in the same project/branch of the change.14:54
corvusjiapei: did you try running this as the zuul user?  what was the output?  GIT_SSH_COMMAND="ssh -i /var/lib/zuul/.ssh/id_rsa" git clone ssh://lenovo_lxca_ci@review.openstack.org:29418/openstack/ironic /var/lib/zuul/executor-git/review.openstack.org/openstack/ironic15:00
corvustobiash: one quick thought about the large repo (i'm not really here, it's a holiday) -- you can manually clone it into place on the mergers/executors.  if it's already there, and cached on the image, then you won't have to suffer the long clone time.  that might get things moving while we think about alternatives.15:01
corvusjiapei: also, check the permissions of the /var/lib/zuul.ssh directory itself.  sometimes ssh requires that it not be world readable.15:02
corvusjiapei: the id_rsa that you tell zuul to use needs to match the id_rsa.pub you uploaded to gerrit for the lenovo_lxca_ci account15:03
corvusgoern: notwithstanding the other options tristanC mentioned, an irc driver would be welcome15:05
corvustobiash: the author attached a license to https://gist.github.com/tim-patterson/4471877  so i should be able to update the patch to match, and clean it up a bit, and we can merge it.15:07
corvus(the repl)15:07
tobiashcorvus: cool15:07
*** electrofelix has quit IRC15:07
tobiashcorvus: yeah but that doesn't really fit into our operations so I'll refuse to add that repo until we have a solution15:08
*** electrofelix has joined #zuul15:18
*** Rohaan has quit IRC15:33
*** sshnaidm|afk is now known as sshnaidm|rover15:38
*** hashar has joined #zuul15:52
*** yolanda has quit IRC15:54
*** gtema has quit IRC16:26
*** gtema has joined #zuul16:27
*** electrofelix has quit IRC16:45
*** Rohaan has joined #zuul16:54
*** Rohaan has quit IRC16:59
*** jpena is now known as jpena|off17:03
*** fbo is now known as fbo|off17:14
*** gtema has quit IRC17:39
*** gtema has joined #zuul17:39
*** gtema has quit IRC17:41
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Reduce requests to github when listing project branches  https://review.openstack.org/58021817:48
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Fix relaunch attempts when hitting quota errors  https://review.openstack.org/53693018:20
*** elyezer has quit IRC18:26
*** elyezer has joined #zuul18:38
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Fix relaunch attempts when hitting quota errors  https://review.openstack.org/53693019:00
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Fix relaunch attempts when hitting quota errors  https://review.openstack.org/53693019:08
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Fix relaunch attempts when hitting quota errors  https://review.openstack.org/53693019:20
*** elyezer has quit IRC20:29
*** elyezer has joined #zuul20:31
*** threestrands has joined #zuul22:05
*** threestrands has quit IRC22:05
*** threestrands has joined #zuul22:05
*** threestrands has quit IRC22:06

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