Tuesday, 2024-10-29

@karlatec:matrix.orgBack again with a question that might be pretty basic for everyone, but... :)10:59
Can anyone advise how to configure Zuul when it's deployed in k8s cluster and using ingress controller for UI access?
I have ClusterIP services for exposing both Gerrit and Zuul Web ports. That works fine.
I have an ingress controller with `/` path for Gerrit - works fine. I want to access Zuul UI using `/zuul` path but when accessing `host.name.com/zuul` in the browser I get a blank screen. Browser's `network` tab in developer tools section shows me 404 when trying to GET .js scripts, so I assume it has something to do with static_path.
I've tried setting zuul.conf (and restarting the pod) like this:
```
[web]
listen_address=0.0.0.0
port=9000
root=http://host.name/com/zuul
static_path=/usr/local/lib/python3.11/site-packages/zuul/web/static/ (this is where I found static elements using `find` in the zuul-web container itself)
```
@karlatec:matrix.org * Back again with a question that might be pretty basic for everyone, but... :)11:03
Can anyone advise how to configure Zuul when it's deployed in k8s cluster and using ingress controller for UI access?
I have ClusterIP services for exposing both Gerrit and Zuul Web ports. That works fine.
I have an ingress controller with `/` path for Gerrit - works fine. I want to access Zuul UI using `/zuul` path but when accessing `host.name.com/zuul` in the browser I get a blank screen. Browser's `network` tab in developer tools section shows me 404 when trying to GET .js scripts, so I assume it has something to do with static\_path.
I've tried setting zuul.conf (and restarting the pod) like this:
```
[web]
listen_address=0.0.0.0
port=9000
root=http://host.name.com/zuul
static_path=/usr/local/lib/python3.11/site-packages/zuul/web/static/ (this is where I found static elements using `find` in the zuul-web container itself)
```
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 931070: Add "expand all" to the status pipeline overview page https://review.opendev.org/c/zuul/zuul/+/93107011:56
@clarkb:matrix.org> <@karlatec:matrix.org> Back again with a question that might be pretty basic for everyone, but... :)15:44
> Can anyone advise how to configure Zuul when it's deployed in k8s cluster and using ingress controller for UI access?
>
> I have ClusterIP services for exposing both Gerrit and Zuul Web ports. That works fine.
> I have an ingress controller with `/` path for Gerrit - works fine. I want to access Zuul UI using `/zuul` path but when accessing `host.name.com/zuul` in the browser I get a blank screen. Browser's `network` tab in developer tools section shows me 404 when trying to GET .js scripts, so I assume it has something to do with static\_path.
> I've tried setting zuul.conf (and restarting the pod) like this:
>
> ```
> [web]
> listen_address=0.0.0.0
> port=9000
> root=http://host.name.com/zuul
> static_path=/usr/local/lib/python3.11/site-packages/zuul/web/static/ (this is where I found static elements using `find` in the zuul-web container itself)
> ```
I'm not 100% certain of this but I thought the static path stuff was just an optimization. Otherwise cherrypy will serve the content directly
@clarkb:matrix.orgyou might try without setting it? but generally to debug things like this you should be looking at logs for those requests, trace them through to where they eventually fail and see what caused that failure15:45
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:22:11
- [zuul/nodepool] 933687: Revert "Use seprate log package for NodescanRequest messages" https://review.opendev.org/c/zuul/nodepool/+/933687
- [zuul/nodepool] 933688: Summarize nodescan state machine log messages https://review.opendev.org/c/zuul/nodepool/+/933688
- [zuul/nodepool] 933689: Retry nodescan connections during the key phase https://review.opendev.org/c/zuul/nodepool/+/933689

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!