Commit Graph

168 Commits

Author SHA1 Message Date
46a3fd5a22 Explicitly test that firewall rules are being updated with garage ports 2025-01-08 12:00:49 +01:00
8073a05415 Don't validate GLM state tx if there is no previous state 2025-01-07 16:08:24 +01:00
92802da2dd Use GLM for garage layout management 2025-01-07 15:52:24 +01:00
24ac619798 Implement garage layout manager 2025-01-07 15:39:26 +01:00
e9f318f34c Refactor initialize/reload logic in Network 2025-01-05 15:15:41 +01:00
e8e6e29ec6 Simplify reloadHosts to not call reload 2025-01-05 14:52:14 +01:00
9848394ffc Pass bootstrap into newNetwork, will simplify future changes 2025-01-05 12:25:02 +01:00
4bce0e3fa0 Centralize creation of garage admin client logic into Children 2025-01-04 15:50:17 +01:00
9e508ef4e2 Get rid of orphan removal after investigation into race conditions, new solution pending 2025-01-02 14:09:34 +01:00
e3d4fc5a8e Include timestamp offset in test message logger 2025-01-01 13:17:51 +01:00
c0ddd24dde Don't restart garage on config change 2025-01-01 13:07:35 +01:00
03f187396b Improve logic around waiting for garage to be considered ready 2025-01-01 12:38:16 +01:00
5e692d38a5 Include 'internal_inbound' and 'internal_outbound' in 'vpn firewall show' output 2024-12-31 11:46:49 +01:00
3be64e913b Added some bug tasks which came out of real world testing 2024-12-30 17:52:03 +01:00
e6da6a3453 Fix sub-commands using passthrough args not splitting on '--' 2024-12-30 17:30:22 +01:00
054354b384 Slightly improve sqlite db engine tests 2024-12-27 11:51:53 +01:00
9407ec23c2 Default to using SQLite as the garage metadata db engine 2024-12-26 20:37:00 +01:00
d5323964c6 Fix default garage ports not being used in 'storage add' 2024-12-26 19:36:39 +01:00
86db5fb5ba Don't use AppImage in arch package install 2024-12-19 20:57:09 +01:00
40b2db580e Treat empty or all-comments yaml file as no-op when loading it 2024-12-19 09:38:15 +01:00
47f0bf910d Update documentation 2024-12-17 20:42:47 +01:00
279b70124c Implement 'network leave' 2024-12-17 16:50:07 +01:00
53a1dc0cc2 Add tests for network.Loader 2024-12-17 16:05:41 +01:00
ab8dac0789 Delete state/runtime dirs of networks which were failed to be joined or created 2024-12-17 14:26:33 +01:00
3f9863c39e Don't allow joining more than one network when deprecated config format is used 2024-12-17 13:40:31 +01:00
3111d2ca74 Allow creating a network without configuring it in daemon.yml 2024-12-17 11:33:19 +01:00
73af69fa04 Simplify socket file path selection, only use /tmp 2024-12-16 14:59:11 +01:00
4151fe8f17 Fix dnsmasq logging to syslog as well as stderr 2024-12-16 12:49:57 +01:00
03b19df115 Implement 'vpn public-address' subcommands 2024-12-16 12:19:48 +01:00
1340f13f95 Add ErrSecretNotFound and clarify other error-related docs 2024-12-15 21:39:41 +01:00
886f76fe0b Perform full config validation using stored network configs during init and SetConfig 2024-12-14 15:57:07 +01:00
5669123c99 Move storage allocation sub-commands under 'storage allocation(s)' 2024-12-13 15:49:04 +01:00
aac7b30cf0 Clean up logging namespaces in daemon a bit 2024-12-13 15:35:15 +01:00
5e8049c8d0 Don't create cache directory in daemon 2024-12-13 10:56:43 +01:00
c08b225ee2 Fix bug in nebula TUN device naming, causing it to force nebula to reload too much 2024-12-12 22:02:00 +01:00
d2c16573ff Fix race-condition when CreateHost is called at the same time that reloadHosts runs 2024-12-12 21:26:09 +01:00
c21b3e0c33 Test daemon config validation, fix a bug which came out of it 2024-12-12 21:05:36 +01:00
b4a58d1508 Make nebula config generation deterministic 2024-12-12 20:51:13 +01:00
e750bc44a5 Check for IPs in use in CreateHost 2024-12-12 20:20:27 +01:00
37d436a428 Move certain sub-command optional fields to options on flag parsing method call 2024-12-10 22:07:25 +01:00
81cfdd5030 Refactor how daemon.RPC is passed through sub-commands 2024-12-10 22:00:55 +01:00
be7844f658 Move most TODOs into task files, introduce busiless to explore them 2024-12-10 21:36:56 +01:00
1c1b05db06 Small cleanup to cli formatting 2024-12-10 16:35:14 +01:00
10758f11a2 Implement 'vpn firewall reset' and 'vpn firewall commit' 2024-12-10 16:14:48 +01:00
9b27676521 Don't error from 'vpn firewall show --staged' if nothing is staged, return the live config instead 2024-12-10 15:35:13 +01:00
dd847cafe1 Implement 'vpn firewall remove' 2024-12-10 15:17:07 +01:00
a5829a6493 Rename 'vpn firewall list' to 'vpn firewall show' 2024-12-10 13:55:03 +01:00
cf968ff883 Implement 'vpn firewall add' 2024-12-10 13:52:57 +01:00
1608031103 Give 'vpn firewall list' a --staged flag 2024-12-09 18:09:45 +01:00
b38d780bdf Implement 'vpn firewall list', and move 'nebula create-cert' to 'vpn create-cert' 2024-12-08 16:59:01 +01:00