[OpenStack-Infra] Zuul: Question about Github webhook
Tobias.Henkel at bmw.de
Tobias.Henkel at bmw.de
Wed Mar 21 08:26:16 UTC 2018
Hi Bernd,
On 21.03.18, 08:54, "Bernd Bausch" <berndbausch at gmail.com> wrote:
Sorry for this newbie intrusion on the distribution list. I am trying to
follow the Zuul from Scratch instructions[1] to set up Zuul at home. The
purpose is twofold: Learn about Zuul, and check whether Zuul from Scratch
instructions are accurate and make sense.
Currently I am at a roadblock.
The problem is the Github webhook, through which Github sends data to Zuul.
It should be
http://<zuul-hostname>/connection/github/payload [2], but on the Zuul server
that
I have deployed so far, nothing listens at port 80. Thus, Github gets
a "connection refused" when trying to contact my server. I used tcpdump to
confirm that my server does indeed receive an http POST from Github.
Either something is wrong with my setup, which prevents Zuul from listening
at
80. Or the webhook isn't documented correctly.
How can I confirm what could be the problem?
Bernd
[1] https://docs.openstack.org/infra/zuul/admin/zuul-from-scratch.html
[2] https://docs.openstack.org/infra/zuul/admin/drivers/github.html,
https://docs.openstack.org/infra/zuul/admin/zuul-from-scratch.html#configure
-github
It looks like you discovered a bug in the zuul-from-scratch docs. Zuul-web by default
listens on port 9000. While the documented webhook config in github assumes port 80.
So you need to either change the webhook to use 9000 or change the zuul config to use
port 80 [1].
Further I pushed up a change to fix the doc [2].
Sidenote: we now have zuul specific mailing lists [3] so you might want to also subscribe
to them.
[1] https://docs.openstack.org/infra/zuul/admin/components.html#attr-web.port
[2] https://review.openstack.org/554829
[3] http://lists.zuul-ci.org
Kind regards
Tobias
More information about the OpenStack-Infra
mailing list