commit ae07a2d7cf509ae62269ae1510d886f03b3b41a4
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Wed May 3 00:21:22 2017 -0500
Debug contents of renderer when high debug set.
M backend/renderData.go
commit 9688ed2b2d49b04c5699614cf884d3646422d422
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 23:31:07 2017 -0500
Add unit tests for prefs debug*
Fix bug in frontend.
M frontend/prefs.go
commit a513c74a62c56e0ac5889fc705e0e0fa5e0a225e
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 23:23:53 2017 -0500
Make UI prefs render correctly for new debug prefs
M embedded/assets/ui/render.js
commit 40a30995eb31d84182d41e1c3f96347e3a77b265
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 22:41:58 2017 -0500
If access_keys are defined, let the sledgehammer images by accessible.
M assets/bootenvs/discovery.yml
M assets/bootenvs/sledgehammer.yml
commit 53560be3b3eec417f8debf03be74c705a969d1f4
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 22:41:27 2017 -0500
Update the PATCH commands to indicate that they
can throw a 406. This lets the CLI decode properly.
M frontend/bootenvs.go
M frontend/leases.go
M frontend/machines.go
M frontend/profiles.go
M frontend/reservations.go
M frontend/subnets.go
M frontend/templates.go
M frontend/users.go
commit b55f2c44ef97529b031434d1e7edd3402eb8795b
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 21:26:18 2017 -0500
Add a debug system to prints. Turn them off by default, but
let prefs turn them back on.
M backend/bootenv.go
M backend/dataTracker.go
M backend/dhcpUtils.go
M backend/renderData.go
M backend/template.go
M midlayer/dhcp.go
M server/server.go
commit 51fd77b394cf09f9c75c4c17b906d19bfa7456cc
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 15:46:56 2017 -0500
Document initial DR integration.
M assets/templates/join-to-dr.tmpl
M assets/templates/root-remote-access.tmpl
commit 1bb5d28463c6fc8a36edb9f8c5598cffaf2735c1
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Tue May 2 14:32:07 2017 -0500
In our rename frenzy, we forgot to rename the files themselves.
Also add the example profiles to that package.
R100 assets/startup/rocketskates.service assets/startup/dr-provision.service
R100 assets/startup/rocketskates.sysv assets/startup/dr-provision.sysv
R100 assets/startup/rocketskates.unit assets/startup/dr-provision.unit
commit 452e4614c979aef05f0a6658de73031b2da0bf11
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue May 2 10:48:52 2017 -0500
Make template rendering avoid inadvertent data leaks
This refactors how renderData works to avoid inadvertent leaks between
the environment where the bootenvs, machines, and templates are
created and the time they are rendered. Now, render time explicitly
reloads all pertinent data, which ensures that it always works with
the most current versions of the objects in question.
All that is left to do at object change time is register and
deregister paths and their associated callbacks in the overlay
filesystem.
Also added appropriate hooks to ensure that all appropriate paths are
rerendered when a bootenv changes
M backend/bootenv.go
M backend/dataTracker.go
M backend/fs.go
M backend/machines.go
M backend/renderData.go
M backend/renderData_test.go
commit 791a843d71d91ee58c0f20a23a57357a6066f155
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon May 1 22:20:29 2017 -0500
Document the sub-templates and their vars.
Remove a few extra installs that shouldn't be there for
debian systems.
Give an example for template upload/replace.
M assets/templates/ubuntu-drp-only-repos.tmpl
commit cedd01a551b98b36da1eba1284271c5b920c9172
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon May 1 17:37:39 2017 -0500
This reorganizes the templates and bootenvs a little.
Sub-templating is used to get some code reuse out of the
kickstart and preseed files. There are 5 or 6 new
subtemplates and example profiles to drive them.
An upgrade doc has been added that will collect info
about what to do as part of upgrading.
DO NOT USE THE join-to-dr.tmpl. It will explode.
M assets/bootenvs/sledgehammer.yml
A assets/profiles/dr-integration.yaml
A assets/profiles/local-repo.yaml
A assets/profiles/os-install-default.yaml
A assets/profiles/root-access.yaml
A assets/profiles/update_drp.yml
M assets/templates/centos-6.ks.tmpl
M assets/templates/centos-7.ks.tmpl
A assets/templates/centos-drp-only-repos.tmpl
A assets/templates/join-to-dr.tmpl
M assets/templates/net-post-install.sh.tmpl
A assets/templates/root-remote-access.tmpl
A assets/templates/set-hostname.tmpl
A assets/templates/ubuntu-drp-only-repos.tmpl
A assets/templates/update-drp-local.tmpl
A assets/templates/web-proxy.tmpl
commit 2d176a7306afbdca12890a8ac87b85c3d266bf14
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon May 1 13:31:49 2017 -0500
Change DHCP server shutdown to eliminate using timeouts and channels.
Instead, we just set a flag saying that we are closing the connection,
and clode the underlying net.PacketConn, and then ignore any errors
if we had the closing flag set.
M midlayer/dhcp.go
commit e5de583176392689c6d04e69bcfdca1710559b83
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon May 1 12:35:19 2017 -0500
Fix read time - while I assess the whole clean shutdown path.
M midlayer/dhcp.go
commit 8a98e324501ed74727856f1d8fc25a79ba7950b0
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon May 1 12:29:00 2017 -0500
Only timeout the DHCP reads. 1 second on the read to
see if we should exit. Originally, write timeout was set
and could be bad.
M midlayer/dhcp.go
commit dad5128a62247db27d04ffd09a33931f7c8be13b
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Fri Apr 28 10:58:22 2017 -0500
Turn off race detection for the tftp unit tests.
It is very unlikely to happen in the microseconds of start-up in normal
operations.
M midlayer/tftp_test.go
commit 3dc5005d73c84dbdd2e15e0f0be76b2d9c60b392
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Fri Apr 28 10:38:11 2017 -0500
Add shutdown handlers for all and make them called consistently.
M midlayer/dhcp.go
M midlayer/static.go
M midlayer/static_test.go
M midlayer/tftp.go
M midlayer/tftp_test.go
M server/server.go
commit 9f6891dcf4e94a4792d9a6d8fc439c848fefd07b
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 27 23:28:37 2017 -0500
Add clean shutdown on control-C/signals for the
API and DHCP servers. On MACs, this could leave the DHCP
socker open and stuck forcing a reboot.
M midlayer/dhcp.go
M server/server.go
commit 4e26ffe386e587557069cd3db4b699ca7db1853d
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Apr 27 00:21:38 2017 -0500
Add Profile CLI support and update docs for it.
Convert the profile API to work like the machines API.
Document the subtlety of the PATCH, PUT, and POST methods for maps.
M backend/machines.go
M backend/profiles.go
M frontend/profiles.go
M frontend/templates.go
End of Note