12 Apr 2024 |
adamcstephens | yeah i realized recently they have multiple supported versions. wouldn't be hard to package more, but no real reason right now | 17:16:55 |
hexa | no, we should probably stick with a single version if that supports our release model | 17:21:00 |
adamcstephens | i'm trying to switch to lts as default for stuff i support, since i think it's a better story for the stable releases | 17:21:57 |
hexa | I don't think you gain much, if mainline is also supported for 6 months | 17:23:00 |
hexa |
OVN makes releases at the following six-month cadence.
| 17:23:42 |
hexa | and releases happen in march and september | 17:24:26 |
hexa |
Standard term support versions will have releases made regularly for one year.
| 17:24:39 |
hexa | 🤷 | 17:24:49 |
hexa | https://docs.ovn.org/en/latest/internals/release-process.html#standard-term-support-versions | 17:24:54 |
adamcstephens | yeah that's not too bad. things like incus only support the faster release train until the next release comes out | 17:25:18 |
hexa | yeah, but both versions are kinda fixed on nixos stable | 17:25:51 |
adamcstephens | i'm excited that you're learning about ovn so you can help write our module for it 😉 | 17:26:10 |
hexa | # This is a POSIX shell fragment -*- sh -*-
# OVN_CTL_OPTS: Extra options to pass to ovs-ctl. This is, for example,
# a suitable place to specify --ovn-northd-wrapper=valgrind.
OVN_CTL_OPTS=\
--db-nb-create-insecure-remote=yes \
--db-sb-create-insecure-remote=yes \
--db-nb-addr={{ ovn_local_ip }} \
--db-sb-addr={{ ovn_local_ip }} \
{% if ovn_local_ip != ovn_cluster_remote_ip %}
--db-nb-cluster-remote-addr={{ ovn_cluster_remote_ip }} \
--db-sb-cluster-remote-addr={{ ovn_cluster_remote_ip }} \
{% endif %}
--db-nb-cluster-local-addr={{ ovn_local_ip }} \
--db-sb-cluster-local-addr={{ ovn_local_ip }} \
--ovn-northd-nd-db={% for host in groups['incus'] %}tcp:{{ hostvars[host]['ovn_local_ip'] }}:6641{% if not loop.last %},{% endif %}{% endfor %} \
--ovn-northd-sb-db={% for host in groups['incus'] %}tcp:{{ hostvars[host]['ovn_local_ip'] }}:6642{% if not loop.last %},{% endif %}{% endfor %}
| 17:26:56 |
hexa | # {{ ansible_managed }}
domain (ip ip6) {
table filter {
chain INPUT {
# https://access.redhat.com/documentation/de-de/red_hat_openstack_platform/13/html/networking_with_open_virtual_network/open_virtual_network_ovn
proto udp dport 6081 saddr {{ ovn_cluster_network }} ACCEPT;
proto tcp mod multiport destination-ports 6641:6644 saddr {{ ovn_cluster_network }} ACCEPT;
}
}
}
| 17:27:13 |
hexa | ubuntu 22.04 didn't know the geneve service, but 6081/udp is that | 17:27:36 |
adamcstephens | config files, what are those? | 17:28:03 |
hexa | bingo | 17:28:39 |
hexa | ❯ ./result/bin/wyoming-satellite --help
usage: wyoming-satellite [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND] [--mic-command-rate MIC_COMMAND_RATE] [--mic-command-width MIC_COMMAND_WIDTH]
[--mic-command-channels MIC_COMMAND_CHANNELS] [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK] [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
[--mic-noise-suppression {0,1,2,3,4}] [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
[--mic-seconds-to-mute-after-awake-wav MIC_SECONDS_TO_MUTE_AFTER_AWAKE_WAV] [--mic-no-mute-during-awake-wav] [--mic-channel-index MIC_CHANNEL_INDEX]
[--snd-uri SND_URI] [--snd-command SND_COMMAND] [--snd-command-rate SND_COMMAND_RATE] [--snd-command-width SND_COMMAND_WIDTH]
[--snd-command-channels SND_COMMAND_CHANNELS] [--snd-volume-multiplier SND_VOLUME_MULTIPLIER] [--wake-uri WAKE_URI] [--wake-word-name name [pipeline ...]]
[--wake-command WAKE_COMMAND] [--wake-command-rate WAKE_COMMAND_RATE] [--wake-command-width WAKE_COMMAND_WIDTH] [--wake-command-channels WAKE_COMMAND_CHANNELS]
[--wake-refractory-seconds WAKE_REFRACTORY_SECONDS] [--vad] [--vad-threshold VAD_THRESHOLD] [--vad-trigger-level VAD_TRIGGER_LEVEL]
[--vad-buffer-seconds VAD_BUFFER_SECONDS] [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT] [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
[--detect-command DETECT_COMMAND] [--detection-command DETECTION_COMMAND] [--transcript-command TRANSCRIPT_COMMAND] [--stt-start-command STT_START_COMMAND]
[--stt-stop-command STT_STOP_COMMAND] [--synthesize-command SYNTHESIZE_COMMAND] [--tts-start-command TTS_START_COMMAND] [--tts-stop-command TTS_STOP_COMMAND]
[--tts-played-command TTS_PLAYED_COMMAND] [--streaming-start-command STREAMING_START_COMMAND] [--streaming-stop-command STREAMING_STOP_COMMAND]
[--error-command ERROR_COMMAND] [--connected-command CONNECTED_COMMAND] [--disconnected-command DISCONNECTED_COMMAND] [--awake-wav AWAKE_WAV]
[--done-wav DONE_WAV] --uri URI [--name NAME] [--area AREA] [--no-zeroconf] [--zeroconf-name ZEROCONF_NAME] [--zeroconf-host ZEROCONF_HOST]
[--debug-recording-dir DEBUG_RECORDING_DIR] [--debug] [--log-format LOG_FORMAT] [--version]
| 17:29:10 |
adamcstephens | I guess in ubuntu/redhat land they consider defaults/sysconfig as config files | 17:29:10 |
hexa | not the only criminal in town | 17:29:14 |
hexa | it is included as an EnvironmentFile= in the systemd unit and passed to the ovn startup command | 17:29:44 |
hexa | and it's quite a number of services running | 17:31:16 |
hexa | ovn-central.service loaded active exited Open Virtual Network central components
ovn-controller-vtep.service loaded active running Open Virtual Network VTEP gateway controller daemon
ovn-controller.service loaded active running Open Virtual Network host control daemon
ovn-host.service loaded active exited Open Virtual Network host components
ovn-northd.service loaded active running Open Virtual Network central control daemon
ovn-ovsdb-server-nb.service loaded active running Open vSwitch database server for OVN Northbound database
ovn-ovsdb-server-sb.service loaded active running Open vSwitch database server for OVN Southbound database
ovs-record-hostname.service loaded active exited Open vSwitch Record Hostname
ovs-vswitchd.service loaded active running Open vSwitch Forwarding Unit
ovsdb-server.service loaded active running Open vSwitch Database Unit
| 17:31:26 |
adamcstephens | I assume the last two are already handled by our OVS config | 17:32:20 |
hexa | probably | 17:33:06 |
15 Apr 2024 |
hexa | still no luck with ceph 😕 | 16:15:21 |
hexa | # incus launch images:nixos/unstable test
Launching test
Error: Failed instance creation: Failed creating instance from image: Failed to run: rbd --id admin --cluster ceph --pool incus_rbd map image_2eadc6e7ec07d26a23a72fe092f79369317fce83f04b2179e00e6c5216cb2e0a_ext4: exit status 110 (rbd: sysfs write failed
rbd: map failed: (110) Connection timed out)
| 16:15:45 |
hexa | incus created that pool | 16:16:00 |
hexa | but mounting a block device from it fails | 16:16:11 |
hexa | [265181.093176] libceph: mon2 (1)[2001:41b8:41:41:9618:82ff:fe08:ea7c]:6789 session established
[265181.093815] libceph: another match of type 1 in addrvec
[265181.094280] libceph: corrupt full osdmap (-22) epoch 256 off 1066 (00000000f270e95d of 0000000079bf1b0b-000000003a874c07)
[...]
| 16:16:32 |