Saturday, 2024-05-11

@f2ked:matrix.orgdoes the setup created by `./tools/test-setup-docker.sh` still work?12:47
when try running
```
nodepool-launcher -d -p ../nodepool.pid --no-webapp -c /tmp/fake.yaml
```
where `fake.yaml` is `tools/fake.yaml` with
```
zookeeper-servers:
- host: 127.0.0.1
port: 2281
# yes use relative paths
zookeeper-tls:
cert: tools/ca/certs/client.pem
ca: tools/ca/certs/cacert.pem
key: tools/ca/keys/clientkey.pem
```
added I just get
```
2024-05-11 07:41:39,344 INFO nodepool.NodePool: Nodepool launcher 10.0.1.dev35 f5da1cca starting
2024-05-11 07:41:39,946 DEBUG nodepool.NodePool: Connecting to ZooKeeper servers
2024-05-11 07:41:42,008 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:42,011 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
2024-05-11 07:41:42,011 WARNING nodepool.zk.ZooKeeperClient: Retrying zookeeper connection
2024-05-11 07:41:44,075 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:44,078 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
2024-05-11 07:41:46,153 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:46,154 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
...
```
@f2ked:matrix.orgzoo console says:12:49
```
2024-05-11 12:18:37,013 [myid:] - INFO [nioEventLoopGroup-4-1:o.a.z.s.a.X509AuthenticationProvider@271] - Authenticated Id 'CN=client,OU=Org,O=Company Name,L=Oakland,ST=California,C=US' for scheme 'x509'
2024-05-11 12:18:39,086 [myid:] - INFO [nioEventLoopGroup-4-2:o.a.z.s.a.X509AuthenticationProvider@271] - Authenticated Id 'CN=client,OU=Org,O=Company Name,L=Oakland,ST=California,C=US' for scheme 'x509'
2024-05-11 12:18:41,150 [myid:] - INFO [nioEventLoopGroup-4-3:o.a.z.s.a.X509AuthenticationProvider@271] - Authenticated Id 'CN=client,OU=Org,O=Company Name,L=Oakland,ST=California,C=US' for scheme 'x509'
```
and I am unable to coax it to give `DEBUG` logs
@f2ked:matrix.orgadded the following to `tools/docker-compose.yaml`12:51
```
environment:
ZOO_LOG_STDOUT_THRESHOLD: ALL
ZOOKEEPER_LOG_STDOUT_THRESHOLD: ALL
```
@f2ked:matrix.org * for nodepool: does the setup created by `./tools/test-setup-docker.sh` still work?12:51
when try running
```
nodepool-launcher -d -p ../nodepool.pid --no-webapp -c /tmp/fake.yaml
```
where `fake.yaml` is `tools/fake.yaml` with
```
zookeeper-servers:
- host: 127.0.0.1
port: 2281
# yes use relative paths
zookeeper-tls:
cert: tools/ca/certs/client.pem
ca: tools/ca/certs/cacert.pem
key: tools/ca/keys/clientkey.pem
```
added I just get
```
2024-05-11 07:41:39,344 INFO nodepool.NodePool: Nodepool launcher 10.0.1.dev35 f5da1cca starting
2024-05-11 07:41:39,946 DEBUG nodepool.NodePool: Connecting to ZooKeeper servers
2024-05-11 07:41:42,008 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:42,011 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
2024-05-11 07:41:42,011 WARNING nodepool.zk.ZooKeeperClient: Retrying zookeeper connection
2024-05-11 07:41:44,075 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:44,078 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
2024-05-11 07:41:46,153 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: CONNECTED
2024-05-11 07:41:46,154 DEBUG nodepool.zk.ZooKeeperClient: ZooKeeper connection: LOST
...
```
@f2ked:matrix.orghmm.. this seemed to have "fixed" it ❓️14:38
```
--- a/tools/docker-compose.yaml
+++ b/tools/docker-compose.yaml
@@ -1,4 +1,4 @@
-version: "3"
+version: "3.8"
```
@f2ked:matrix.orgno I take that back.. it worked for a bit then stopped working19:14
@sylvass:albinvass.seDoes zuul not publish arm images?19:48
@sylvass:albinvass.seoh only nodepool has published arm images in quay?19:49
@sylvass:albinvass.seI'm trying to deploy zuul on a raspberyy pi, guess I will have to build my own images :) 19:50
@sylvass:albinvass.se * I'm trying to deploy zuul on a raspberry pi, guess I will have to build my own images :) 19:50
@f2ked:matrix.orgnodepool: Is it intended that this only run in linux environments?20:01
because the following would create that limitation:
```
nodepool/driver/statemachine.py:1147: self.poll = select.epoll()
```
@f2ked:matrix.orgmy experience so far is that nodepool is all python and no binary bits.. I don't know if that is true for zuul.20:02
@f2ked:matrix.orgIf nodepool is expected to run on BSD/MacOS then I might consider removing this limitation, but if not, then I won't bother.20:10
@f2ked:matrix.org@corvus? ☝️20:11
@sylvass:albinvass.seafaik it's been discussed before and only linux is supported. Could be wrong though20:37
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 919413: Add python-is-python3 https://review.opendev.org/c/zuul/zuul/+/91941321:05
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 919413: Add python-is-python3 https://review.opendev.org/c/zuul/zuul/+/91941321:22
@sylvass:albinvass.setristanC: do you know if re-ansi could be upgraded to bs-platform v9? according to:21:28
https://github.com/rescript-lang/rescript-compiler/issues/5179#issuecomment-1565656999
it bundles ninja for arm64 in newer versions so it should fix the above issue
@sylvass:albinvass.setristanC: oh, maybe it needs to be updated to use rescript. apparently it changed name from bs-platform a couple of years ago21:43
@sylvass:albinvass.sefor now zuul-web builds on arm without issues after I've added `python-is-python3`21:44

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