| @joao15130:matrix.org | Hello. Having some issues with our Zuul env. Can someone explain why do I get nothing when clicking on tasks, logs and console for a particular job? I can see the logs directly on the log server but I got **This build does not provide any logs** when trying to access it from the console | 09:27 |
|---|---|---|
| @mhuin:matrix.org | Hi, the first thing I would check is the zuul db, do you have access to it? | 09:28 |
| @joao15130:matrix.org | zuul env is under my control, how can I access it? | 09:28 |
| @mhuin:matrix.org | check how the db is configured in zuul.conf, and use the credentials to connect to the db | 09:29 |
| @mhuin:matrix.org | I would also check the db logs if there are any, see if there are issues with inserting data in the db | 09:30 |
| @mhuin:matrix.org | set the zuul scheduler logs in DEBUG level and see if you catch any error, traceback from the sql reporter module | 09:31 |
| @joao15130:matrix.org | ok will try | 09:31 |
| @joao15130:matrix.org | for mysql not sure how to get in: | 09:31 |
| `dburi=mysql+pymysql://zuul:%(ZUUL_MYSQL_PASSWORD)s@mysql/zuul` | ||
| @mhuin:matrix.org | does this happen with every job result or just on specific jobs? | 09:32 |
| @joao15130:matrix.org | every job | 09:32 |
| @mhuin:matrix.org | how is your db running? is this a container, a pod.. ? | 09:32 |
| @joao15130:matrix.org | it's a container, not seeing any errors or warnings in the scheduler logs | 09:33 |
| @mhuin:matrix.org | see if there are any obvious errors in the db container logs | 09:34 |
| @joao15130:matrix.org | nothing | 09:34 |
| @joao15130:matrix.org | is there anything else I can check? | 09:36 |
| @joao15130:matrix.org | from the console logs, I can see that the logs have been uploaded to the logserver correctly | 09:36 |
| @joao15130:matrix.org | but got nothing when clicking on the links | 09:36 |
| @mhuin:matrix.org | yeah, that's not the issue. I bet it's a problem with the sql reporter that doesn't insert the job entries in the db | 09:37 |
| @joao15130:matrix.org | In fact I think I understand | 09:37 |
| @mhuin:matrix.org | do an exec on the db container to open a shell, and try to connect to the db from within the container with the credentials | 09:38 |
| @joao15130:matrix.org | we have an external log server which redirects every request like a reverse proxy | 09:38 |
| @joao15130:matrix.org | to that zuul logserver | 09:38 |
| @joao15130:matrix.org | and I can see from the zuul buils page that the link provided to zuul is the path of that external log server | 09:38 |
| @joao15130:matrix.org | not sure if I'm clear | 09:39 |
| @mhuin:matrix.org | A quick look at the code base shows when that error message is displayed: | 09:39 |
| @mhuin:matrix.org | "Do not render the Manifest component if we don't have a log_url " (web/src/pages/Build.jsx) | 09:40 |
| @mhuin:matrix.org | So again, my next move would be to connect to the sql db, check the last entries, and see if log_url is set for them | 09:40 |
| @joao15130:matrix.org | but I don't know how to access this DB | 09:42 |
| @mhuin:matrix.org | note that the db's log_url column is defined as a String of max length of 255 chars. If it ends up being longer than that the entry will be dropped (other fields are impacted too) | 09:43 |
| @joao15130:matrix.org | zuul_log_url is set to that external log server | 09:43 |
| @mhuin:matrix.org | do you know how to connect to a terminal within a container | 09:43 |
| @joao15130:matrix.org | yes I do | 09:44 |
| @mhuin:matrix.org | so do it for your mysql container | 09:44 |
| @mhuin:matrix.org | when you have the shell, do | 09:45 |
| @mhuin:matrix.org | mysql --host=localhost --user=zuul --password=your_zuul_password" zuul | 09:46 |
| @joao15130:matrix.org | problem is I need to find the password | 09:46 |
| @mhuin:matrix.org | yeah well I can't help you with that | 09:46 |
| @mhuin:matrix.org | let's try the logs approach instead then | 09:47 |
| @mhuin:matrix.org | can you grep for sqlalchemy in your zuul logs are the time of the end of one of the faulty jobs? | 09:47 |
| @joao15130:matrix.org | will trigger a new job and get back to you | 09:47 |
| @joao15130:matrix.org | thank you | 09:47 |
| @mhuin:matrix.org | good luck! But again, if the jobs complete and the logs are uploaded but the web UI doesn't report a log url, it's very likely a DB-related issue | 09:49 |
| @joao15130:matrix.org | yeah but as I said, I think the zuul_log_url is set to an unappropriate value | 09:50 |
| @joao15130:matrix.org | anyway, thanks for all | 09:50 |
| @sozhan308:matrix.org | Is there a plan to introduce zuul mcp server? | 10:17 |
| @sozhan308:matrix.org | * Hello Everyone, | 10:17 |
| Is there a plan to introduce zuul mcp server? | ||
| -@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966155: Retain slot attribute when updating subnodes https://review.opendev.org/c/zuul/zuul/+/966155 | 10:34 | |
| -@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966161: Allow disabling ZKObject loading error logs https://review.opendev.org/c/zuul/zuul/+/966161 | 12:07 | |
| -@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/zuul] 965367: Force provider subnode class registration https://review.opendev.org/c/zuul/zuul/+/965367 | 12:32 | |
| @joao15130:matrix.org | problem solved thanks mhu | 12:58 |
| @mhuin:matrix.org | so what was it? | 12:58 |
| -@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966173: Wake up launcher main event loop every 60s https://review.opendev.org/c/zuul/zuul/+/966173 | 13:16 | |
| -@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/966187 | 14:55 | |
| -@gerrit:opendev.org- Zuul merged on behalf of Benjamin Schanzel: [zuul/zuul] 966033: Don't log request token in log streamer https://review.opendev.org/c/zuul/zuul/+/966033 | 14:59 | |
| -@gerrit:opendev.org- Zuul merged on behalf of Dong Zhang: [zuul/zuul-client] 959185: encrypt command does not work when warning messages in openssl output https://review.opendev.org/c/zuul/zuul-client/+/959185 | 14:59 | |
| @fungicide:matrix.org | Sozhan natarajan: what would a "zuul mcp server" do that some existing mcp server can't? zuul is a project gating and ci/cd service, not an llm service | 15:05 |
| @fajfer:reszka.org | it's just very trendy to write MCP servers but not to use them | 15:36 |
| @fungicide:matrix.org | yeah, i'm a proponent of the unix philosophy of "do one thing well" and ai/ml/llm is neither zuul's intended scope nor a core competency of most of our maintainers | 15:42 |
| @fajfer:reszka.org | We've been joking around with friends about the trend to apply MCP servers to Zuul but we discussed it seriously, in our opinion this would be very hard to justify using/having MCP server that would beat raw token usage via, idk commands or pulling something from logs | 15:43 |
| @fajfer:reszka.org | I've been trying to use GitHub MCP server and most of the time simple git commands were using less tokens than MCP server | 15:44 |
| @fajfer:reszka.org | I can think of hundreds of other things that would be better to fix/implement rather than tweaking this. Especially since if done badly this will be worse than not doing anything | 15:45 |
| -@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/966187 | 15:46 | |
| -@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/966187 | 15:55 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!