Friday, 2024-03-15

-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 913314: Limit bytes when reading Ansible output https://review.opendev.org/c/zuul/zuul/+/91331410:27
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 913390: Fix web dequeue of post items https://review.opendev.org/c/zuul/zuul/+/91339014:40
@picog:matrix.orgHas anyone seen something like this:14:49
```
TASK [fetch-subunit-output : Find stestr or testr executable]
ks-linters-node | ERROR
ks-linters-node | {
ks-linters-node | "msg": "Failed to connect to the host via ssh: Shared connection to node closed.",
ks-linters-node | "unreachable": true
ks-linters-node | }
```
I'm not sure if it's related but on my target node, I see the following in ssh
```
Unable to negotiate with 10.89.0.138 port 57514: no matching host key type found. Their offer: ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com [preauth]
Unable to negotiate with 10.89.0.138 port 57522: no matching host key type found. Their offer: ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com [preauth]
```
seems to be nodepool-launcher. 00:02
@clarkb:matrix.orgThat may just be ssh host key scanning. Nodepool won't try to ssh all the way in but it does do host key scanning and I think that works by asking for all the potential keys some of which will fail if not present14:56
@picog:matrix.orgAh okay, thanks. 14:56
@clarkb:matrix.orgConnection closed error implies some sort of network problem I think.14:58
@picog:matrix.orgIs this the right script that is failing?14:58
https://opendev.org/zuul/zuul-jobs/src/commit/984147663cd7251a837aeb53888fde2505d4f297/roles/fetch-subunit-output/files/find-testr.sh
@clarkb:matrix.orgAnsible keeps a connection open long term and when it goes to run the next task finds that it is closed unexpectedly 14:59
@clarkb:matrix.orgI don't think it gets far enough to even start running that script14:59
@picog:matrix.orgThe linting job itself seems to work just fine though 15:00
@picog:matrix.orgThis is in post 15:00
@picog:matrix.org * This is in post that it fails 15:00
@clarkb:matrix.orgIs there a firewall that might be closing idle connections in your environment? You may work around that by setting keepalives which I think are supported15:00
@clarkb:matrix.orgYa I suspect it has to do with a period of idle time on the connection. You job may not have those circumstances but the post playbook does15:01
@picog:matrix.orgOkay, let me check for anything like that 15:01
@picog:matrix.orgI'm not too familiar with selinux, but what are these strange flags that ansible is adding to my authorized_keys:15:38
I have a feeling that is the problem:
```
ls -Zl /var/lib/containers/storage/volumes/zuul_nodessh/_data
-rw-------. 1 root root system_u:object_r:container_file_t:s0:c70,c1017 2276 Mar 15 17:24 authorized_keys
```
With those flags set, I can't cat my own authorized_keys from the container.
@picog:matrix.orgI think it's the add-build-sshkey task that is doing that. 15:42
@clarkb:matrix.orgselinux flags files and processes and you have to match up in order to access the files15:46
@picog:matrix.orgI've set it to permissive on the host to try simplify things for now. 15:51
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 913421: Replace status_url with item_url in pipeline reporter templates https://review.opendev.org/c/zuul/zuul/+/91342116:12
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 913434: Use NodesetNotFoundError class https://review.opendev.org/c/zuul/zuul/+/91343417:10
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 913435: Use ProjectNotFoundError https://review.opendev.org/c/zuul/zuul/+/91343517:25
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 913435: Use ProjectNotFoundError https://review.opendev.org/c/zuul/zuul/+/91343517:48
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:18:27
- [zuul/zuul] 913434: Use NodesetNotFoundError class https://review.opendev.org/c/zuul/zuul/+/913434
- [zuul/zuul] 913435: Use ProjectNotFoundError https://review.opendev.org/c/zuul/zuul/+/913435
@clarkb:matrix.orgcorvus: there are some small testing issues in ^ still (I think two tests need fixing in the parent and two in the child)21:52
@clarkb:matrix.orgbasically checking raises vaules and string error contents that no longer line up21:52

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