commit 3f1206a53eaeb8cff93b57abf3f3b10c8cbd7317
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Sun Apr 26 23:11:27 2020 -0500
feat(ha): replication token storage and distribution
The replication token is stored in the ha-state file
and update when baseTokenSecret or systemGrantorSecret
are changed. This also triggers a replication event
that will send a new token to the passive nodes as well.
The token stored in the ha-state file overrides the
parameter token.
The active node after startup will store a replication
token in the state file for use if it becomes a passive
node.
M backend/dataTracker.go
M datastack/stack.go
M datastack/streamingSync.go
M datastack/streamingSyncActive.go
M datastack/streamingSyncPassive.go
M go.mod
M go.sum
M server/server.go
commit d5d071d31fabfdc643c45d74bd25466532d2b7cd
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Sat Apr 25 23:14:37 2020 -0500
feat(license): Ensure DRP version is less than or equal to license version
M backend/license.go
A backend/license_test.go
commit 5a5d9f4b3606293dd00489d45bf6c98274189c09
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Sat Apr 25 23:25:38 2020 -0500
feat(info): Add errors/ha state to info; give passive an info call
Add the datastack errors to the info structure. This is
reset everytime the datastack changes.
Add ha state to the info structure. The active will return
the connected passive nodes and what they are doing. The passive
nodes will return the active node.
The passive node will also have a frontend that allows an insecure
info get call without license and stats information.
M backend/dataTracker.go
M clitest/test-data/output/TestAuth/info.get/stdout.expect
M clitest/test-data/output/TestUserCli/users.token.rocketskates.scope.all.ttl.330.action.list.specific.asdgag/stdout.expect
M clitest/test-data/output/TestUserCli/users.token.rocketskates/stdout.expect
M datastack/streamingSyncActive.go
M datastack/streamingSyncPassive.go
M frontend/frontend.go
M frontend/info.go
M go.mod
M go.sum
M server/server.go
commit 64ff4ae6c1626b319a2e9802a896ea4610560c23
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 23 17:58:40 2020 -0500
build: update gitignore for addition running sites and profile data
M .gitignore
commit 52fbb8d5166a62aff65a39e8c7b5e1dced7a2a0f
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 23 17:54:46 2020 -0500
fix(pluin): Make the json buffer readable
M backend/requestTracker.go
commit 45f3642b0b064d889f21d95c54289bea264166f3
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 23 17:31:55 2020 -0500
fix(plugin): plugin actions silently returned 409 because of bad json
M backend/requestTracker.go
M frontend/actions.go
commit ed2984c787dfcb2243c046e60e81be3add0c1ee4
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 23 17:31:32 2020 -0500
fix(embedded): build break forgot to remove the test for vmware files
M embedded/assets_test.go
commit a2e5ef130dc4f7356b169c33693fdbfd35483ac7
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 23 12:41:00 2020 -0500
feat(embedded): Move the esxi scripts to the vmware plugin.
M embedded/assets.go
D embedded/assets/make-esxi-bootenvs.sh
D embedded/assets/make-esxi-content-pack.sh
commit c5f2d9f39cfc2ecb3bd6550152262010bf83396c
Author: Shane Gibson <shane@rackn.com>
Date: Wed Apr 22 08:24:06 2020 -0700
fix(provision-server): Correct ESXi content pack generator script.
M embedded/assets/make-esxi-content-pack.sh
commit 2c664bf3628f02d483c94e9d160fe998aad14458
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Sat Apr 18 10:54:54 2020 -0500
fix(server): update messages for humanize option
Updated help to say don't use unless directed by support.
Updated the metrics error message to be conditional to give "clearer" info
Updated some of the startup steps to be skipped if humanize is on.
M server/server.go
End of Note