| @mnasiadka:matrix.org | I personally think snmp_exporter and maintaining MIB mappings (numeric OID to text fields) might be a PITA, and we would only get a subset of node exporter metrics (and scrape times are tenfolds of what we get with node exporter). Maybe the simplest way is to install Ubuntu prometheus-node-exporter package and just run it? | 06:05 |
|---|---|---|
| -@gerrit:opendev.org- Michal Nasiadka proposed: [openstack/project-config] 1011228: kolla: Check for existing reno in check-sources https://review.opendev.org/c/openstack/project-config/+/1011228 | 08:16 | |
| -@gerrit:opendev.org- Harry Kominos proposed: [openstack/diskimage-builder] 1011446: Remove DSA from SSH host key generation https://review.opendev.org/c/openstack/diskimage-builder/+/1011446 | 08:53 | |
| -@gerrit:opendev.org- Harry Kominos proposed: [openstack/diskimage-builder] 1011446: Remove DSA from SSH host key generation https://review.opendev.org/c/openstack/diskimage-builder/+/1011446 | 10:00 | |
| @fungicide:matrix.org | https://discourse.ubuntu.com/t/protect-your-launchpad-api-tokens-with-a-security-key/89920 | 12:35 |
| @fungicide:matrix.org | which refers to https://ubuntu.com/docs/launchpad/user/how-to/launchpadlib/use-hardware-bound-api-tokens/ | 12:35 |
| @jim:acmegating.com | mnasiadka: Clark huh, i just checked our spec and we appear to have deviated from it... the spec says to run node exporter from upstream binaries because (1) containers are awkward for node exporter, and (2) distro packages are too old (because exporter changed schema versions). | 14:18 |
| it seems like we have affirmed (1), and (2) may not be relevant any more. if distro packages are sufficient now, then i agree, we should use them. https://packages.ubuntu.com/search?keywords=prometheus-node-exporter&searchon=names&suite=all§ion=all says that all releases are >1.0 now. | ||
| if we do end up using snmp though -- i don't expect ongoing maintenance. snmp mib's generally don't change over time, and snmp exporter has the standard host mibs already builtin, so i don't think we'd need to deal with many (if any) OIDs ourselves. These are all the built-in modules: https://github.com/prometheus/snmp_exporter/blob/main/generator/generator.yml | ||
| @fungicide:matrix.org | also i thought the suggestion was to only use the snmp exporter for data that's hard to get with containerized node exporter | 14:19 |
| @fungicide:matrix.org | in particular, filesystem stats | 14:19 |
| @jim:acmegating.com | oh no my suggestion was to use it instead of node exporter. i don't think we should deal with both. two reasons: 1) too much work/complexity. 2) it might be slightly annoying/difficult to match up the data from both data sources (not impossible, but it would be a perpetual annoyance). | 14:23 |
| @fungicide:matrix.org | ah okay | 14:24 |
| @mnasiadka:matrix.org | I’d say the spec was not started by me most likely | 14:27 |
| @mnasiadka:matrix.org | But I wanted to run that in a uniform way (so docker compose felt like the simplest approach) | 14:28 |
| @mnasiadka:matrix.org | But now with those podman rshared stuff it doesn’t seem like it | 14:28 |
| @mnasiadka:matrix.org | I’m happy to rewrite it to use the Ubuntu package for now, because that feels like the simplest approach | 14:29 |
| @fungicide:matrix.org | yeah, the only downside i can see to using ubuntu's packaged versions is that we'll have a different exporter version per ubuntu lts release series, but presumably they don't need to be consistent | 14:31 |
| @jim:acmegating.com | yeah, i think that's the main question. if things have settled down enough after 1.0 that the differences don't matter to us, then i think that's a great option. | 14:38 |
| maybe it could be easy to test with a DNM change that runs prometheus-node-exporter from packages on our oldest and newest hosts, and makes a grafana dashboard from each. then we can hold it and verify both work as expected. | ||
| @clarkb:matrix.org | We can probably just curl the metric endpoint and diff the results first to get a sense of where they differ if at all | 14:58 |
| @clarkb:matrix.org | and if that looks like a large delta then figure out what if any impact it has on the dashboard info we are interested in | 14:58 |
| @fungicide:matrix.org | "Error: Ansible setup timeout" isn't a failure i recall seeing before: https://zuul.opendev.org/t/openstack/build/64348ca68b6c494191834b185e462eb4 | 15:08 |
| @jim:acmegating.com | that's like one of the first things the executor does on the remote host | 15:14 |
| @fungicide:matrix.org | i guess it could be something like the ansible stub script copying socket went dead and never responses? | 15:16 |
| @fungicide:matrix.org | mainly mentioning in case people spot an uptick in retries that could indicate some systemic issue or a problem with one provider/region | 15:16 |
| @clarkb:matrix.org | does that imply network conenctivity "worked" but then the next step of doing ansible setup stuff failed? | 15:17 |
| @clarkb:matrix.org | I wonder if it could be an image specific problem in that case. WOrking enough to have a tcp stack but maybe python doesn't run for some reason | 15:18 |
| @clarkb:matrix.org | hrm except we rely on glean to set up networking | 15:18 |
| @clarkb:matrix.org | that theory may still be valid if the broken thing is not python | 15:19 |
| @jim:acmegating.com | Clark: i think the previous network activity would have been the launcher-side keyscan, which could have been a while before (we'd have to correlate through the scheduler logs to know) | 16:18 |
| @clarkb:matrix.org | ack so next step if it persists is digging in zuul logs (scheduler and maybe executor?) cc fungi | 16:20 |
| @fungicide:matrix.org | that's what i figured. i only stumbled across one case of it, so no idea if i was lucky or it's more widespread | 16:21 |
| @mnasiadka:matrix.org | I’ve seen one or two cases like that in Kolla jobs last week, if it would be more often I would investigate | 16:24 |
| -@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 1011554: Mirror only the docker v2 api at quay.io https://review.opendev.org/c/opendev/system-config/+/1011554 | 20:05 | |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!