Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PL-132122 upgrade hardware to 24.11 #1122

Merged
merged 1,112 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1112 commits
Select commit Hold shift + click to select a range
bfed68a
Let gocept.net mail be handled by our main mail server.
zagy Aug 7, 2024
1eefa9a
pkgs: add script for monitoring kernel routing state integrity
sysvinit Aug 12, 2024
e1e85ee
platform: add sensu checks for underlay network functions
sysvinit Aug 21, 2024
01f946d
devhost: cleanup unused VMs (PL-132737)
leona-ya Aug 21, 2024
df8beae
implement check to monitor important parameters
ctheune Aug 21, 2024
b1c77fc
fc-luks check: establish sensu-check
osnyx Aug 21, 2024
0b78072
fc-luks check: integrate smoke test into NixOS tests
osnyx Aug 21, 2024
52bb07f
fc-luks check: only enable sensu check on hosts with keystick
osnyx Aug 21, 2024
6de0aee
fc-luks check: fix sudoers rule for sensu check
osnyx Aug 21, 2024
3591d4c
Merge pull request #1086 from flyingcircusio/leona/PL-132737-devhost-…
ctheune Aug 22, 2024
647eb82
pkgs: add test script for handling ping on tap interfaces
sysvinit Aug 22, 2024
e47b34b
fc-luks: read PATH from config file to fix sensu check run
osnyx Aug 22, 2024
241ad12
make nixd happy
osnyx Aug 22, 2024
eee1ace
fc-ceph.conf: refactor to enable it on non-ceph client hosts for fc-luks
osnyx Aug 22, 2024
f5c854e
[formatting] remove unnecessary indentation
osnyx Aug 22, 2024
fb2fbb7
tests/frr: refactor into subtest with configuration modules
sysvinit Aug 22, 2024
1d6e41d
Merge pull request #1087 from flyingcircusio/PL-131325-fde-finalise
ctheune Aug 22, 2024
e431857
tests/frr: check that the fib/rib monitoring script works correctly
sysvinit Aug 26, 2024
1a163b1
tests: add frr tests to default test suite
sysvinit Aug 26, 2024
fd93945
Merge pull request #1088 from flyingcircusio/PL-132595-vxlan-monitor-…
ctheune Aug 26, 2024
2fd6063
Merge pull request #1083 from flyingcircusio/PL-132849-tmp-uuids-duri…
ctheune Aug 26, 2024
da1d3c6
Merge pull request #1080 from flyingcircusio/FC-23766-switch-mailserver
sysvinit Aug 26, 2024
ac291d5
sensu: fix rabbitmq user updates
ctheune Aug 28, 2024
2d4df6f
Merge pull request #1091 from flyingcircusio/PL-132945-fix-rabbitmq-u…
osnyx Aug 29, 2024
6e9c2f2
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Aug 29, 2024
0ad91df
ceph/radosgw: improve health monitoring
ctheune Aug 29, 2024
6c0c064
Merge pull request #1093 from flyingcircusio/PL-132070-improve-rgw-mo…
osnyx Aug 29, 2024
de8b9ab
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Aug 29, 2024
49582e4
router: use more generic netboot url and adapt menu item
ctheune Aug 30, 2024
75eb806
vendor fc.util.directory from agent to fc-ceph code
osnyx Sep 3, 2024
1b956b0
pkgs: add script for monitoring the state of the kernel neighbour cache
sysvinit Sep 2, 2024
bd9fef8
router: add neighbour cache to telegraf and sensu
sysvinit Sep 2, 2024
4cb86d4
Merge pull request #1095 from flyingcircusio/PL-132950-neighbour-cach…
ctheune Sep 6, 2024
0e6c451
devhost: improvements after deletion feature (PL-133005)
leona-ya Sep 11, 2024
b61606e
Merge pull request #1101 from flyingcircusio/PL-132254-improve-firmwa…
ctheune Sep 11, 2024
0527473
rclone: add as default platform package
osnyx Sep 18, 2024
be66ad5
fc-luks: fix external header autodetection for multiple commands
osnyx Sep 18, 2024
bc62e8b
Merge pull request #1108 from flyingcircusio/os-rclone-platform-21.05
ctheune Sep 18, 2024
9123924
frr: raise restart limit thresholds for zebra
sysvinit Sep 4, 2024
6abbe46
router: add zebra liveness check to keepalived
sysvinit Sep 4, 2024
a3ed0f4
router: remove dead configuration file
sysvinit Sep 4, 2024
93dd37f
Merge pull request #1097 from flyingcircusio/PL-132950-frr-keepalived…
ctheune Sep 19, 2024
cbc8b02
fc-ceph maintenance load-vm-images: pull from directory
osnyx Sep 3, 2024
5b8d7ba
tests for sri<->sha256 hash conversion
osnyx Sep 5, 2024
0bbcc84
Merge pull request #1110 from flyingcircusio/PL-132958-luks-headers-c…
ctheune Sep 20, 2024
e59c1e6
fc-ceph maintenance load-vm-images: tests for data processing
osnyx Sep 5, 2024
4b5d813
test that image data parsing continues at errors
osnyx Sep 10, 2024
b17b21d
fc-ceph-load-vm-images: remove unnecessery sleeps
osnyx Sep 20, 2024
5a8be9b
fc-ceph-load-vm-images: rework image cleanup
osnyx Sep 20, 2024
7c37bff
Merge pull request #1100 from flyingcircusio/PL-132516-load-images-api
ctheune Sep 25, 2024
8a04bad
fc.qemu: integrate update that removes superfluous XFS UUID regen
ctheune Sep 26, 2024
4b3a3b0
slight cleanup
ctheune Sep 26, 2024
2b3cec7
Merge pull request #1116 from flyingcircusio/PL-133015-stop-updating-…
osnyx Sep 26, 2024
b874ca3
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Sep 26, 2024
90e2443
fc.qemu: update to reduce test flakiness
ctheune Sep 26, 2024
423ccca
Merge pull request #1118 from flyingcircusio/PL-133015-improve-kvm-te…
osnyx Sep 26, 2024
7ba6c2c
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Sep 26, 2024
a6c1dec
cleanup: order lines
ctheune Sep 27, 2024
fa841ee
hardware: add nvme support
ctheune Sep 27, 2024
5955764
remove outdated swap code
ctheune Sep 27, 2024
7484e8a
simplify ext4 settings that are very likely outdated, rely on defaults
ctheune Sep 27, 2024
8ef2500
Merge pull request #1119 from flyingcircusio/PL-132817-adapt-for-nvme…
ctheune Oct 7, 2024
0241a67
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
ctheune Oct 8, 2024
03443bd
various fixes for builds and cleanups
ctheune Oct 8, 2024
d580c62
merge error
ctheune Oct 8, 2024
1999806
stop building the base qemu with the now superfluous patch.
ctheune Oct 8, 2024
b506d93
Merge pull request #1102 from flyingcircusio/PL-133005-devhost-deleti…
ctheune Oct 9, 2024
9b13c7c
upgrade fc.qemu to fix PL-132809
ctheune Oct 11, 2024
dfde4bc
Merge pull request #1123 from flyingcircusio/PL-132809-fix-freeze-thaw
osnyx Oct 11, 2024
c35477f
kvm: fix mtu detection for new network style, rely on bridge
ctheune Oct 18, 2024
f771f24
Merge pull request #1126 from flyingcircusio/PL-133040-fix-kvm-ifup-mtu
sysvinit Oct 18, 2024
ed290f3
dev: how to get an editable version of the agent
ctheune Oct 18, 2024
e0d6ba0
Merge pull request #1127 from flyingcircusio/dev-agent-editable
ctheune Oct 18, 2024
70eb779
physical: introduce EFI support for booting physical machines
ctheune Oct 21, 2024
57abe51
Merge pull request #1128 from flyingcircusio/PL-133103-support-efi-on…
osnyx Oct 23, 2024
b396fec
docs: remove intersphinx dependencies
ctheune Oct 29, 2024
c1c4dda
switch to named constituents
ctheune Oct 29, 2024
3d13c16
Merge pull request #1139 from flyingcircusio/PL-132115-PL-133119-21.0…
ctheune Oct 30, 2024
55f5d73
Add leona root key (PL-133122)
leona-ya Oct 30, 2024
89f3944
Merge pull request #1142 from flyingcircusio/PL-133122-leona-root-key…
ctheune Oct 30, 2024
6fa92ef
Use scriv for changelog management
ctheune Oct 30, 2024
3ba5027
Merge pull request #1147 from flyingcircusio/PL-133099-scriv-backport…
ctheune Oct 30, 2024
0f7aacb
VM image migration: update fc.qemu and improve test performance and o…
ctheune Oct 23, 2024
35c24d9
Merge pull request #1131 from flyingcircusio/PL-131857-rbd-hdd-ssd-mi…
osnyx Oct 30, 2024
81e4f79
fix a couple of evaluation errors
ctheune Oct 9, 2024
cf368f9
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Nov 1, 2024
72c3622
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
ctheune Nov 5, 2024
03a2b66
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
ctheune Nov 5, 2024
81195d5
backy: fix inheritance source
ctheune Nov 5, 2024
f64e812
resolver: switch quad9 servers, improve debug logging
ctheune Nov 6, 2024
c35e57b
Merge pull request #1150 from flyingcircusio/PL-133125-dns-reliability
sysvinit Nov 6, 2024
d58ceb5
release: use globs for constituents
Ma27 Nov 6, 2024
b493279
Merge pull request #1154 from flyingcircusio/PL-133119-constituent-gl…
ctheune Nov 6, 2024
8ba27a4
fc.qemu: update to pull in last minute fixes
ctheune Nov 7, 2024
74caa31
Merge pull request #1157 from flyingcircusio/PL-133145-PL-133149-upda…
osnyx Nov 7, 2024
10f3a51
update to pull in another last minute fix
ctheune Nov 7, 2024
de95afb
Merge pull request #1158 from flyingcircusio/PL-133145-PL-133149-upda…
osnyx Nov 7, 2024
8568668
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Nov 7, 2024
65089e6
Missed a broken test.
ctheune Nov 8, 2024
9634867
Merge pull request #1159 from flyingcircusio/PL-133145-PL-133149-upda…
osnyx Nov 8, 2024
cdf04a3
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Nov 8, 2024
82add9e
Collect changelog fragments
osnyx Nov 8, 2024
b6e9f7f
fc.qemu: update to avoid accidental downsizes
ctheune Nov 12, 2024
a181677
Merge pull request #1163 from flyingcircusio/PL-133166-qemu-downsize-fix
osnyx Nov 12, 2024
ea56b40
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Nov 12, 2024
8b3d6e3
Collect changelog fragments
osnyx Nov 12, 2024
15828a7
fc-luks: specify rekey parameters
osnyx Nov 13, 2024
a54c32d
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Nov 14, 2024
1ea17c4
apply nixpkgs scripted networking patch
osnyx Nov 14, 2024
37310b2
poetry2nix: pull in via flake input
osnyx Nov 14, 2024
25debf0
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Nov 14, 2024
fe15c10
pytest_patterns, overlay: add package to all python package versions
osnyx Nov 14, 2024
f3c276d
python3Packages.pytest_patterns: fix download URI computation
osnyx Nov 14, 2024
e74704a
pytest_patterns: use version from extended python3Packages sets
osnyx Nov 14, 2024
2070ceb
python3Packages: make package set generation more readable
osnyx Nov 15, 2024
a72cbec
pre-commit reformats
osnyx Nov 15, 2024
0aca9c2
physical: add dm_mirror as default kernel module
osnyx Nov 15, 2024
dc86c6d
Merge pull request #1168 from flyingcircusio/dm-mirror-physical
ctheune Nov 15, 2024
5d22bfb
fc.qemu: get update that fixes high rbd list load
ctheune Nov 19, 2024
e10a806
Merge pull request #1171 from flyingcircusio/PL-133194-fix-rbd-list-load
ctheune Nov 20, 2024
0b52963
Collect changelog fragments
Nov 20, 2024
ec1247f
tests: make sudo test evaluate
ctheune Nov 20, 2024
43aaff6
router: fix two evaluation assertions
ctheune Nov 20, 2024
528974b
tests: fix lamp evals, likely a merge mistake ...
ctheune Nov 20, 2024
80bc1de
tests: get kvm/ceph test evaluating again
ctheune Nov 20, 2024
2790548
ceph: convert deprecated logrotate config
ctheune Nov 20, 2024
6c2bfb1
tests: make servicecheck evaluate
ctheune Nov 20, 2024
d7faf92
tests: get frr tests evaluating again
ctheune Nov 20, 2024
cf599b5
tests: get login evaluating again
ctheune Nov 20, 2024
c5c06f9
ipmitool: fix override eval
ctheune Nov 20, 2024
be6f500
tests: get more tests evaluating
ctheune Nov 20, 2024
38eda6c
fix agent merge errors
ctheune Nov 20, 2024
40e8051
ceph: fix snappy build
ctheune Nov 20, 2024
83eba20
ceph/qemu: pull in builds from 21.05 to stick with existing versions
ctheune Nov 21, 2024
394f7ba
nixos: add kea service
sysvinit Nov 25, 2024
2462c84
agent: add fc-kea script to generate kea dhcp config from directory
sysvinit Nov 25, 2024
55c30bf
router: add module for kea, use instead of dhcpd
sysvinit Nov 25, 2024
4d54ba8
nixos: use ip address instead of hostname for boot server
sysvinit Nov 26, 2024
6ae0962
router: set authoritative flag for dhcpv4 server
sysvinit Nov 26, 2024
2ac2abd
tests/router: update for kea
sysvinit Nov 26, 2024
2b14524
router: correctly handle non-existent kea localconfig
sysvinit Nov 26, 2024
432f0d0
changelog: update
sysvinit Nov 26, 2024
a254930
Rotate CS' root ssh key as the old one was over 5 years old
chrschm Nov 26, 2024
77eb14e
pkgs: handle unspecified address as nexthop in check-rib-integrity
sysvinit Nov 27, 2024
1f6627a
router: fix radvd config to use correct interface name
sysvinit Nov 27, 2024
34e37f7
Merge pull request #1182 from flyingcircusio/PL-133201-radvd-fix-inte…
osnyx Nov 27, 2024
29d5e96
Merge pull request #1181 from flyingcircusio/PL-133199-rib-monitor-no…
osnyx Nov 27, 2024
56d72e9
Merge pull request #1178 from flyingcircusio/cs/FC-41948-rotate-cs-ro…
osnyx Nov 27, 2024
3a0d3c5
Merge pull request #1175 from flyingcircusio/PL-133205-dhcp-port-to-kea
osnyx Nov 27, 2024
24ce655
Merge pull request #1166 from flyingcircusio/PL-133174-rekey-pbkdf
osnyx Nov 27, 2024
bc4ff88
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Nov 27, 2024
0d33672
Collect changelog fragments
osnyx Nov 28, 2024
3be2998
use flake inputs for pinning and pulling fc-nixos-21.05 repos
osnyx Nov 29, 2024
99f3fbc
temporarily switch to nixpkgs branch with network code rebase
osnyx Nov 29, 2024
ba77f39
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Nov 29, 2024
939d536
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Nov 29, 2024
a9d0140
services.kea: unvendor module
osnyx Nov 29, 2024
5ac66d1
platform: add stop commands to network flooding and learning units
sysvinit Dec 2, 2024
cea6a57
router: add sensu check for flooding suppression configuratio
sysvinit Dec 2, 2024
8e69a7c
changelog: update
sysvinit Dec 2, 2024
dd80afe
Merge pull request #1185 from flyingcircusio/PL-133202-router-flood-s…
ctheune Dec 2, 2024
e9732b4
s3 management: add user management
osnyx Oct 14, 2024
db311fa
s3users: introduce an additional safety-belt
ctheune Nov 15, 2024
2a9f238
snapshot
ctheune Dec 2, 2024
0566f60
tests: fix eval by utilising testlib.fcConfig
osnyx Dec 2, 2024
b64ad39
cleanup dev-container -> devhost migration
osnyx Dec 2, 2024
38cace1
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Dec 2, 2024
d2b848b
fc.qemu: update to make compatible with new runner utility
ctheune Dec 3, 2024
8b686bd
nixos: unvendor frr service module
sysvinit Dec 3, 2024
3312691
nixos: adapt frr config for upstream module changes
sysvinit Dec 3, 2024
729dc73
router: disable keepalived zebra integration
sysvinit Dec 3, 2024
e44d234
tests: fix eval failure in network test
sysvinit Dec 3, 2024
8d36eab
Merge pull request #1167 from flyingcircusio/PL-133084-s3-usermgmt
ctheune Dec 3, 2024
0735118
fix mkfs.xfs compatibility with 5.15 kernels
ctheune Dec 3, 2024
4df7470
images: fix build
osnyx Dec 5, 2024
d2a5c78
tests.router: fix eval
osnyx Dec 5, 2024
df301fe
nixos: use the correct names for the frr daemon options
sysvinit Dec 5, 2024
c280ccc
tests/frr: fix tests for 24.11
sysvinit Dec 5, 2024
67650db
release getDottedPackageNames: add debug traces to observe eval locat…
osnyx Dec 6, 2024
6df57cb
python38*: work around eval failures
osnyx Dec 6, 2024
f6ee46d
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Dec 6, 2024
4715d28
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Dec 6, 2024
3220143
backy: explicitly enable and configure mdadm
ctheune Dec 6, 2024
246f902
backy: fix build
ctheune Dec 6, 2024
f3901f8
backy: fixes for 24.11
ctheune Dec 6, 2024
c65eb08
ceph and fde: refactor tests into smaller chunks
ctheune Dec 6, 2024
681c318
router: fix radvd config to use correct interface name
sysvinit Nov 27, 2024
0c762ad
pkgs: handle unspecified address as nexthop in check-rib-integrity
sysvinit Nov 27, 2024
2210bac
Rotate CS' root ssh key as the old one was over 5 years old
chrschm Nov 26, 2024
b02486d
nixos: add kea service
sysvinit Nov 25, 2024
09411f4
agent: add fc-kea script to generate kea dhcp config from directory
sysvinit Nov 25, 2024
5188acf
router: add module for kea, use instead of dhcpd
sysvinit Nov 25, 2024
f063677
nixos: use ip address instead of hostname for boot server
sysvinit Nov 26, 2024
2697c09
router: set authoritative flag for dhcpv4 server
sysvinit Nov 26, 2024
93abdd1
tests/router: update for kea
sysvinit Nov 26, 2024
480289e
router: correctly handle non-existent kea localconfig
sysvinit Nov 26, 2024
de7832e
changelog: update
sysvinit Nov 26, 2024
51c5a09
fc-luks: specify rekey parameters
osnyx Nov 13, 2024
567767b
Collect changelog fragments
osnyx Nov 28, 2024
9960fc3
platform: add stop commands to network flooding and learning units
sysvinit Dec 2, 2024
3feadcf
router: add sensu check for flooding suppression configuratio
sysvinit Dec 2, 2024
9e5e8d9
changelog: update
sysvinit Dec 2, 2024
b9631e2
fc.qemu: update to make compatible with new runner utility
ctheune Dec 2, 2024
4b05fac
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Dec 9, 2024
8859a92
tests.router: fix import of helpers
osnyx Dec 10, 2024
f968e1c
kvm_host: fix fc-qemu-scrub not working after reboots
ctheune Dec 11, 2024
73b33a5
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Dec 11, 2024
e8d93de
Update nixpkgs and other flake inputs
osnyx Dec 11, 2024
b137a73
tests.router: fix system path initialisation
osnyx Dec 11, 2024
b9caced
tests.router: fix mocked profile registration
osnyx Dec 11, 2024
135bd24
tests.router: fix kea config for compatibility with 2.6.0 and later
sysvinit Dec 11, 2024
d03e16c
agent: add explicit subnet id generation to kea config
sysvinit Dec 11, 2024
56bd403
tests.router: skip type check for all tests
osnyx Dec 12, 2024
87473e1
tests.router.interactive: fix variable renaming
osnyx Dec 12, 2024
140e36b
tests.network: make `router` utilise testlib
osnyx Dec 12, 2024
da63ef8
pkgs/overlay: nix: 2.3.16 -> 2.3.18
Ma27 Dec 12, 2024
c8cdf72
fix physical installer test
ctheune Dec 12, 2024
bebc328
tests.network.routes: restructure enc parameters
osnyx Dec 12, 2024
6fa00d9
Merge pull request #1202 from flyingcircusio/PL-133165-nix-2.3-backport
osnyx Dec 12, 2024
dc0538a
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Dec 12, 2024
6f8a014
fix webproxy test and improve interface rename error messages
ctheune Dec 12, 2024
1066610
fix servicecheck tests
ctheune Dec 12, 2024
f1f4e81
Merge pull request #1197 from flyingcircusio/PL-133211-fix-qemu-scrub…
osnyx Dec 12, 2024
275c04c
Merge branch 'fc-21.05-dev' into fc-21.05-staging
osnyx Dec 12, 2024
0b54461
Collect changelog fragments
osnyx Dec 12, 2024
ae315ca
fix routing tests - clean up address collisions with upstream harness
ctheune Dec 13, 2024
4953b21
testlib: make the net filter easier to understand
ctheune Dec 13, 2024
d1085c0
get nfs tests working
ctheune Dec 13, 2024
2304be5
nixpkgs: bump to include python wheel fix
osnyx Dec 13, 2024
8e6eb98
tests.network: correct remark on upstream behaviour
osnyx Dec 13, 2024
3750781
frr: micro upgrade and make tests less flaky
ctheune Dec 17, 2024
6d490eb
mailserver: fix tests
ctheune Dec 17, 2024
ef977a7
frr/test: remove identical mac from bridge
ctheune Dec 17, 2024
f985366
nixpkgs: update
osnyx Dec 17, 2024
5af0e60
Merge branch 'fc-24.11-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Dec 17, 2024
95b70e7
Merge branch 'fc-21.05-dev' into PL-132122-upgrade-hardware-to-24.11
osnyx Dec 17, 2024
24f1672
tests.nfs: increase shutdown timeout
osnyx Dec 18, 2024
30ba93e
allow bootstrapping a dev environment from 21.05
ctheune Dec 19, 2024
7ba3e08
physical: fix various smaller errors while testing on real hardware
ctheune Dec 19, 2024
8bb232f
ensure more packages are built on hydra
ctheune Dec 19, 2024
bb4bf55
downgrade consul
ctheune Dec 19, 2024
9c1fc1b
qemu: get test in a better shape (not quite there yet)
ctheune Dec 19, 2024
2daa4dd
add promtail to important packages
ctheune Dec 19, 2024
c4653a7
important-packages: improve percona name references
osnyx Dec 20, 2024
4cb13c4
typos: chrony and kea
ctheune Dec 19, 2024
1c2727d
static: record site number for saltlabs
ctheune Dec 20, 2024
4a6c157
hardware: fix kea config generation and various warnings
ctheune Dec 20, 2024
d25983b
hotfix: introduce new v6 networks for lab and whq
ctheune Dec 20, 2024
c420b7e
adapt keepalived config for new networks
ctheune Dec 20, 2024
54b24cc
network: bugfixes for -netdev setup script
osnyx Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ result-*
share/
target/
tmp/
# direnv
.envrc
.direnv/
.direnv
pkgs/fc/agent/.envrc
pyenv
.vscode/settings.json
4 changes: 2 additions & 2 deletions .hydra/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"inputs": {
"nixpkgs": {
"type": "git",
"value": "https://github.com/flyingcircusio/nixpkgs.git nixos-24.05",
"value": "https://github.com/flyingcircusio/nixpkgs.git nixos-24.11",
"emailresponsible": false
},
"branch": {
"type": "string",
"value": "fc-24.05-dev",
"value": "fc-24.11-dev",
"emailresponsible": false
}
}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config-local.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exclude: "pkgs/fc/sensusyntax/fixtures/(syntaxerror|empty).json|(nixos/infrastructure/container.nix|tests/testlib.nix|nixos/roles/devhost/vm.nix)"
exclude: "pkgs/fc/sensusyntax/fixtures/(syntaxerror|empty).json|(tests/testlib.nix|nixos/roles/devhost/vm.nix|tests/physical-installer.nix)"
11 changes: 4 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: ^secrets/|^appenv$|pkgs/fc/sensusyntax/fixtures/(syntaxerror|empty).json|(nixos/infrastructure/container.nix|tests/testlib.nix|nixos/roles/devhost/vm.nix)|^changelog.d/new_fragment.md.j2$
exclude: ^secrets/|^appenv$|pkgs/fc/sensusyntax/fixtures/(syntaxerror|empty).json|(tests/testlib.nix|nixos/roles/devhost/vm.nix|tests/physical-installer.nix)|^changelog.d/new_fragment.md.j2$
repos:
- hooks:
- exclude: "(?x)^(\n secrets/|environments/.*/secret.*|\n .*\\.patch\n)$\n"
Expand All @@ -14,15 +14,12 @@ repos:
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
- hooks:
- args:
- --profile
- black
- --filter-files
- args: ["--profile", "black", "--filter-files"]
id: isort
name: isort (python)
repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.1
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.4.2
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ Or build package by directly calling a Nix expression:

nix-build -E 'with import <fc> {}; callPackage path/to/file.nix {}'

Editable development versions of our core packages
--------------------------------------------------

fc.agent

$ cd fc-nixos
$ eval $(./dev-setup) # not nix-shell!
$ nix-shell pkgs/fc/agent
$ which fc-manage
/tmp/.../bin/fc-manage

fc.qemu

TBD

(Dry-)Build System
------------------
Expand Down
61 changes: 61 additions & 0 deletions changelog.d/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Release 2024_035


## Impact

## NixOS XX.XX platform

- S3 users are now managed automatically and can be viewed and managed via our
customer portal. (PL-133084)

- Fix systemd units managing flooding suppression and MAC learning
configuration so that settings are restored to their defaults when
the units are stopped. (PL-133202)

- Add sensu check on routers to monitor whether flooding suppression
is correctly configured on gateway interfaces. (PL-133202)

- kvm_host: fix fc-qemu-scrub timer which was not properly activating
after boot. (PL-133211)

- Updated Nix to 2.3.18 to be able to download `zstd`-compressed paths from our Hydra. It will
switch from `xz` to `zstd` to increase its throughput.

# Release 2024_034

## Impact
Expand Down Expand Up @@ -60,6 +83,33 @@
This may have impact if you have multiple unauthenticated SSH connections in a short time.
We tested this change on non-production machines over the last 3 weeks and got no reports of problems.

- fc-luks: fix rekeying to use the specified encryption parameters. We accidentally fell back to defaults before. (PL-133174)

- router: the ISC DHCP server, which is end-of-life, has been replaced
with its successor implementation, Kea. (PL-133205)

- pkgs: fix the monitoring script for the IPv4 underlay network to
correctly handle next hop addresses sent by Nokia SR Linux
switches. (PL-133199)

- router: fix radvd config generation to use the correct derived
interface name. (PL-133201)

# Release 2024_033

## NixOS XX.XX platform

- physical machines: load `dm_mirror` kernel module by default, to support several LVM disk migration scenarios

- Update fc.qemu to ensure reduce cluster load on rbd list. (PL-133194)


# Release 2024_032

## NixOS XX.XX platform

- fc.qemu: fix bug that may cause accidental root disk shrinks after a
cold reboot. (PL-133166)

# Release 2024_031

Expand All @@ -75,6 +125,17 @@

## NixOS XX.XX platform

- Implement automatic (offline) migration of VM disks between different pools
(SSD <-> HDD). (PL-131857)

- Switch our central DNS recursive resolvers to prefer the default Quad9
servers to alleviate reliability issues. We used to prefer the Quad9
servers with improved geolocation capabilities, but experienced subtle
DNS issues while using them and were advised by Quad9 to switch to the
default servers. (PL-133125)

- Improve central DNS recursive resolver debugging capabilities. (PL-133125)

- Make NFS clients more resilient against missing servers during bootstrap,
upgrades, and reboot scenarios. (PL-133062)

Expand Down
13 changes: 9 additions & 4 deletions dev-setup
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env bash
echo "This will set up the channels dir and show the export command to set the NIX_PATH accordingly." >&2
echo "You can also use 'nix develop --impure' to open the dev shell and run build_channels_dir from there." >&2
# ensure PWD is the directory this script resides in (allows calls like ../dev-setup or $HOME/fc-nixos/dev-setup)
cd "$(dirname "$(readlink -f "$0")")"
nix develop --impure "$@" --command dev_setup

if [[ "$(nixos-version)" =~ ^"21" ]]; then
./dev-setup-from-21.05
else
# ensure PWD is the directory this script resides in (allows calls like ../dev-setup or $HOME/fc-nixos/dev-setup)
echo "You can also use 'nix develop --impure' to open the dev shell and run build_channels_dir from there." >&2
cd "$(dirname "$(readlink -f "$0")")"
nix develop --impure "$@" --command dev_setup
fi
53 changes: 53 additions & 0 deletions dev-setup-from-21.05
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/usr/bin/env bash
# Usage: eval `./dev-setup2`
set -e

# ensure PWD is the directory this script resides in (allows calls like ../dev-setup or $HOME/fc-nixos/dev-setup)
cd "$(dirname "$(readlink -f "$0")")"

base=$PWD
# preserve nixos-config
config=$(nix-instantiate --find-file nixos-config 2>/dev/null) || true

# bootstrapping with what we find on the system
if [[ ! -e /tmp/nixos-2411-bootstrap/nixpkgs ]]; then
rm -rf /tmp/nixos-2411-bootstrap
mkdir /tmp/nixos-2411-bootstrap
cd /tmp/nixos-2411-bootstrap
curl -o nixpkgs.tar.gz -L https://github.com/flyingcircusio/nixpkgs/archive/refs/heads/nixos-24.11.tar.gz
tar xf nixpkgs.tar.gz
ln -s nixpkgs-nixos-24.11 nixpkgs
fi
cd $base
NIX_PATH="/tmp/nixos-2411-bootstrap"
export NIX_PATH
channels=`nix-build -Q --quiet versions.nix -A allUpstreams --no-out-link`
if [[ -z $channels ]]; then
echo "$0: failed to build nixpkgs+overlay" >&2
exit 1
fi
mkdir -p channels
find $channels -maxdepth 1 -type l | while read channel; do
target="channels/${channel##*/}"
# don't toucn anything which is not a link into the nix store
if [[ ! -L $target && -d $target ]]; then
echo "$0: warning: $target appears to be a local dev checkout" >&2
continue
elif [[ -L $target && $(readlink $target) != /nix/store/* ]]; then
echo "$0: warning: $target appears to be a local dev checkout" >&2
continue
fi
ln -fs $channel channels
done
if ! [[ -e channels/fc ]]; then
ln -s .. channels/fc
fi

NIX_PATH="$base/channels"
if [[ -n "$config" ]]; then
NIX_PATH="${NIX_PATH}:nixos-config=$config"
else
NIX_PATH="${NIX_PATH}:nixos-config=${base}/nixos"
fi

echo "export NIX_PATH=$NIX_PATH"
7 changes: 1 addition & 6 deletions doc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@
# Run without arguments to get a local build:
#
# nix-build
#
# A a path/URL to the objects inventory (objects.inv) of flyingcircusio/doc can be passed explicitly,
# , e.g.:
# --arg docObjectsInventory https://hydra.flyingcircus.io/job/flyingcircus/doc-test/platformDoc/latest/download-by-type/file/inventory

{
pkgs ? import (fetchTarball "https://hydra.flyingcircus.io/build/457353/download/1/nixexprs.tar.xz") {}
, branch ? "24.05"
, updated ? "1970-01-01 01:00"
, docObjectsInventory ? null # path to objects.inv generated by flyingcircusio/doc
, failOnWarnings ? false
}:

Expand All @@ -32,7 +27,7 @@ in pkgs.stdenv.mkDerivation rec {
version = "${branch}-${builtins.substring 0 10 updated}";
src = pkgs.lib.cleanSource ./.;

inherit branch updated docObjectsInventory;
inherit branch updated;

configurePhase = ":";
buildInputs = [ buildEnv ] ++ (with pkgs; [ python3 git ]);
Expand Down
File renamed without changes.
Loading
Loading