This website requires JavaScript.
a696f0ded6
Add debug logging to all HTTP requests
main
Brian Picciano
2024-11-19 14:12:17 +0100
8e1dd2b2e9
Use atomic.Uint64 type rather than atomic.AddUint64 (see Bugs section of atomic package)
Brian Picciano
2024-11-19 12:55:56 +0100
9545f77cce
Auto-configure device tunnel name, remove from daemon.yml
Brian Picciano
2024-11-19 12:50:58 +0100
6c8d37a054
Spruce up errors a bit
Brian Picciano
2024-11-18 22:25:49 +0100
32cc38ab08
Implement 'storage add-allocation'
Brian Picciano
2024-11-18 22:11:14 +0100
cedd9f2c99
Implement 'storage remove-allocation'
Brian Picciano
2024-11-17 14:19:46 +0100
8eb3b1d98f
Add test for 'storage list-allocation(s)' command
Brian Picciano
2024-11-16 11:50:55 +0100
190beba739
Get the entrypoint test-ready
Brian Picciano
2024-11-14 21:49:35 +0100
1d02c1f6a0
Implement 'storage list-allocation(s)'
Brian Picciano
2024-11-14 20:55:15 +0100
070524f686
Add network get-config command
Brian Picciano
2024-11-12 18:18:47 +0100
6809445832
Write a short document on removing hosts from the network
Brian Picciano
2024-11-12 16:24:40 +0100
095489af2a
Parallelize integration tests better
Brian Picciano
2024-11-12 13:42:35 +0100
6ec56f2a88
Pass NetworkConfig into Network loaders as an optional argument
Brian Picciano
2024-11-11 15:32:15 +0100
72bca72b29
Revert "Add SetConfig to Daemon, though it will always error right now"
Brian Picciano
2024-11-10 22:49:36 +0100
f0cb29b553
Implement network.Loader, will be helpful for testing Daemon
Brian Picciano
2024-11-10 22:13:06 +0100
bfa0dc457f
Add mock of network interface
Brian Picciano
2024-11-09 23:17:10 +0100
2ec28cde61
Add SetConfig to Daemon, though it will always error right now
Brian Picciano
2024-11-09 21:13:33 +0100
5e33eafb80
Fix test removing all allocs
Brian Picciano
2024-11-09 20:40:39 +0100
335867644b
Output command-line results in either yaml or json, based on a flag
Brian Picciano
2024-11-09 17:39:49 +0100
06d85ca961
Make log level configurable, remove custom log message handler
Brian Picciano
2024-11-09 17:08:39 +0100
032bdb9e43
Have hosts update garage cluster layout to remove other nodes if necessary
Brian Picciano
2024-11-05 22:31:57 +0100
53a06af9ba
Use the term 'role' or 'node' rather than 'peer' in the context of garage
Brian Picciano
2024-11-08 17:46:44 +0100
734406d4bb
Remove legacy tests, document new ones
Brian Picciano
2024-11-05 23:47:44 +0100
04978fa9db
Block for bucket list to sync across garage instances during init
Brian Picciano
2024-11-05 21:25:04 +0100
8e264cf028
Rework how Network background jobs are managed a bit
Brian Picciano
2024-11-05 11:59:45 +0100
efdab29ae6
Update isle link in README
Brian Picciano
2024-11-05 11:23:28 +0100
932c8e2244
Refactor arch package building a bit, to make it easier to test
Brian Picciano
2024-11-03 15:23:43 +0100
6ac473edcb
Fix garage health check to wait for full replication factor of nodes
Brian Picciano
2024-10-31 13:13:17 +0100
2cdec586b2
Implement removal of nodes from the garage layout
Brian Picciano
2024-10-31 13:04:19 +0100
8dab458291
Use Children's Reload method as part of SetConfig
Brian Picciano
2024-10-27 15:16:53 +0100
7274815cfd
Manage child processes individually, not via Pmux. Also route child logs through mlog
Brian Picciano
2024-10-29 15:11:13 +0100
b7c097ef63
Refactor children process reloading, add garage reloading
Brian Picciano
2024-10-27 14:31:10 +0100
433328524d
Re-organize some reload logic
Brian Picciano
2024-10-24 22:14:13 +0200
88ffa97c0f
Small changes to how process reloading works
Brian Picciano
2024-10-24 21:19:58 +0200
5c41cedea3
Implement SetConfig, but in a stupid way
Brian Picciano
2024-10-24 19:52:08 +0200
63cefd403e
Use a test logger
Brian Picciano
2024-10-23 20:38:39 +0200
bbae88ab4b
Add GetConfig method to Network
Brian Picciano
2024-10-23 20:18:11 +0200
9e9e98584f
Remove bootstrap argument from default.nix
Brian Picciano
2024-10-15 21:45:27 +0200
f639d460cf
Implement basic test for network.Join
Brian Picciano
2024-10-14 12:12:43 +0200
cb6c11acef
Test network.Load
Brian Picciano
2024-10-07 22:41:46 +0200
7f3cbf628f
Cleanup idle HTTP connections to make shutdown smoother
Brian Picciano
2024-10-07 21:12:47 +0200
f146b77187
Generalize create network code in network package integration tests
Brian Picciano
2024-10-06 19:38:35 +0200
010c53e5c7
Some general cleanup
Brian Picciano
2024-10-06 17:15:40 +0200
71bc182ab4
Implement initial go test for network.Create
Brian Picciano
2024-10-05 23:03:26 +0200
168b65ea1d
Add ./go/tests.sh
Brian Picciano
2024-10-05 21:12:29 +0200
48611df2cb
Update documentation
Brian Picciano
2024-10-03 18:59:48 +0200
61c5338b84
Update go modules vendorHash to be correct
Brian Picciano
2024-09-30 16:35:51 +0200
31af39ce4c
Embed default daemon.yml directly in entrypoint
Brian Picciano
2024-09-24 11:22:00 +0200
64fdba0a48
Implement network(s) list sub-command
Brian Picciano
2024-09-24 11:03:18 +0200
de7aac1f25
Refactor command-line parsing, pass --network to most commands
Brian Picciano
2024-09-23 20:50:45 +0200
16aca610b4
Add multi-network support to daemon
Brian Picciano
2024-09-23 19:04:14 +0200
6c036d1183
Check that two different networks aren't trying to use the same nebula port
Brian Picciano
2024-09-12 08:59:23 +0200
df4eae8a5c
Support configuring more than one network
Brian Picciano
2024-09-10 22:51:33 +0200
c022c97b19
include a migration for multi-network state directories
Brian Picciano
2024-09-10 21:02:07 +0200
6d99fb5368
Remove randStr private utility function
Brian Picciano
2024-09-09 21:38:10 +0200
8c3e6a2845
Separate Daemon and Network logic into separate packages
Brian Picciano
2024-09-09 16:34:00 +0200
86b2ba7bfa
Factor daemon.Children into its own package
Brian Picciano
2024-09-07 15:46:59 +0200
a840d0e701
Move common daemon types and values into daecommon
Brian Picciano
2024-09-07 15:11:04 +0200
ef86c1bbd1
Make Daemon into a concrete type which implements RPC directly
Brian Picciano
2024-09-07 13:52:32 +0200
fed79c6ec7
Update documentation on jsonrpc2.NewDispatchHandler
Brian Picciano
2024-09-05 19:36:21 +0200
8d3b17e1cb
Remove extraneous empty struct returns from RPC interface
Brian Picciano
2024-09-05 17:28:10 +0200
038a28bb02
Remove remaining extraneous 'Result' RPC-related struct types
Brian Picciano
2024-09-04 22:46:38 +0200
06a345ecd1
Embed context directly into subCmdCtx
Brian Picciano
2024-09-04 22:35:29 +0200
6c185f6263
Allow variadic number of parameters on RPC calls
Brian Picciano
2024-09-04 22:25:38 +0200
53ad8a91b4
Generate RPC client wrapper
Brian Picciano
2024-09-04 21:24:45 +0200
5138ed7c6a
Attempt to delete socket file before listening on the path
Brian Picciano
2024-09-04 19:44:58 +0200
4f6a89ced0
Roadmap has been moved to micropelago.net
Brian Picciano
2024-09-01 12:20:37 +0200
39e12f6ebd
disallow -h and --help as flags in sub-commands
Brian Picciano
2024-07-22 16:37:22 +0200
d31be8455b
Pluralize 'host(s)' subcommands
Brian Picciano
2024-07-22 15:52:51 +0200
ca62a37692
Fix rendering of text flag defaults
Brian Picciano
2024-07-22 10:42:25 +0200
af69f1cfba
Fix panic when starting up daemon with existing bootstrap
Brian Picciano
2024-07-21 17:20:48 +0200
1ea16d80e4
Require host in garage for nebula create-cert command
Brian Picciano
2024-07-21 17:06:27 +0200
ee30199c4c
Automatically choose IP for new hosts
Brian Picciano
2024-07-21 17:03:59 +0200
1411370b0e
Write new host to garage as part of CreateHost
Brian Picciano
2024-07-20 12:36:21 +0200
c94f8e3475
Move creation of children into daemon initialize method
Brian Picciano
2024-07-20 11:07:11 +0200
7aa11ebe29
Only restart sub-processes which need restarting on bootstrap changes
Brian Picciano
2024-07-19 20:49:04 +0200
bc9a2b62ef
Upgrade pmux to latest
Brian Picciano
2024-07-19 16:50:20 +0200
e657061482
Set permission bits on unix socket, so it's group read/writable
Brian Picciano
2024-07-16 17:30:36 +0200
3980dc6083
Write files to runtime dir with write permissions, so they can be overwritten by the restartLoop
v0.0.2
Brian Picciano
2024-07-14 15:50:24 +0200
691727fe99
Fix arch package cross-compiling
Brian Picciano
2024-07-14 15:26:34 +0200
5de93e3711
Add back the ability to specify IP for nebula create-cert
Brian Picciano
2024-07-14 14:43:17 +0200
0f42d9367c
Fix nebula create-cert error message
Brian Picciano
2024-07-14 14:28:01 +0200
6fff1dfaeb
Default HTTP socket to the tmp directory
Brian Picciano
2024-07-14 14:20:45 +0200
8dd6768786
Fixes for releasing
Brian Picciano
2024-07-14 13:56:43 +0200
67d17efde0
Allow including CA signing key with JoiningBootstrap, and update docs
Brian Picciano
2024-07-14 13:33:29 +0200
d2710db8f1
State CA signing key in secrets store, eliminate admin bundle
Brian Picciano
2024-07-14 13:11:18 +0200
9d5c8ea4db
Use secrets store for global garage bucket creds
Brian Picciano
2024-07-14 12:19:39 +0200
86abdb6ae1
Propagate garage RPC secret with created host bootstrap
Brian Picciano
2024-07-14 11:58:39 +0200
56f796e3fb
Implement basic secrets architecture, use it for garage RPC secret
Brian Picciano
2024-07-13 14:34:06 +0200
b5059be7fa
Move create-bootstrap logic into daemon, rename to hosts create
Brian Picciano
2024-07-13 16:31:52 +0200
cb8fef38c4
Move create-nebula-cert into nebula create-cert, move most logic into daemon
Brian Picciano
2024-07-13 16:08:13 +0200
cc121f0752
Move RemoveHost into daemon
Brian Picciano
2024-07-12 17:05:39 +0200
778db848c6
Fix daemon EnvVar dirs not being created on startup
Brian Picciano
2024-07-12 16:34:56 +0200
c5e919dc86
Remove runtime dir locking code
Brian Picciano
2024-07-12 16:13:44 +0200
7ca8ff3467
Fetch nebula CAPublicCredentials from daemon
Brian Picciano
2024-07-12 16:11:42 +0200
30c8ca332a
Fetch GarageClientParams from daemon
Brian Picciano
2024-07-12 16:03:37 +0200
736b23429c
Do proper type-based validation or hostnames and ipnets
Brian Picciano
2024-07-12 15:30:21 +0200
1ee396c976
Use RPC for create-bootstrap
Brian Picciano
2024-07-09 15:14:29 +0200
279c79a9f1
Replace admin create-network
with network create
over RPC
Brian Picciano
2024-07-09 11:43:17 +0200
f9d033b89f
Implement Daemon.CreateNetwork, but it's not yet used or tested
Brian Picciano
2024-07-07 20:01:10 +0200