commit 3680948459963f5d685ac9b003c680646030fce5
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Fri Jan 19 11:24:39 2018 -0600
Fix three logging and filtering issue.
1. LogPath for logs were not updated to support RequestTracker.
2. DynamicFilters weren't updated to support RequestTracker.
3. Dynamic filters had a sorting bug that caused slight issues with
grouping.
M backend/jobs.go
M backend/machines.go
M frontend/frontend.go
M frontend/indexes.go
M frontend/jobs.go
commit 3c76a4a2521d2d9bafe02f8d624a945b3d05066c
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Wed Jan 17 16:29:28 2018 -0600
Fix up DHCP handler to more closely adhere to the DHCP spec.
RFC2132 implies that we should prefer using the DHCP packet sname and
file fields to supply the TFTP server name and the bootfile instead of
leaving those fields blank and using options 66 and 67. Most clients
don't care and will use whichever is available, but the UEFI client
baked in to the Dell T320 only seems to work reliably when using the
server name and file fields -- leaving them blank and using options 66
and 67 (or just 67 and the siaddr field) result in the client trying
to fetch the boot file with a bunch of extra junk appended to the
name, or just failing to figure out the address of the tftp server.
Since this is probably a failure inherent in all tianocore defived
UEFO firmware from that era and the rest of the hardware (along with
current qemu running seabios and tianocore) I have access to works
fine with these changes in legacy BIOS mode, this should be a safe
change to make.
This also reverts back to the previous proxy DHCP behaviour of only
adding PXE specific options when we should respond to DHCP discovery
packets as if we were a proxy DHCP server, instead of including the
PXE speecific DHCP options whenever the DHCP request indicated it was
coming from a PXE client.
M midlayer/dhcp.go
commit a693f48dee018321fd664ff5fa41f4d0c80e390d
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Wed Jan 17 16:10:23 2018 -0600
Add a bit more debugging to the TFTP response writer.
M midlayer/tftp.go
commit 8d40e5bde8f8d5816fcc92e39d2b887ca941b337
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Jan 16 14:03:21 2018 -0600
Make sure that we don't try to publish logs we create during the message publishing process.
M frontend/websocket.go
commit 69a206fa59778dccc8c97cbc0021fa2dab9ae588
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Jan 16 11:41:59 2018 -0600
Make sure that we can render oses when starting with missing local install/boot repos
M backend/dataTracker.go
commit 55c1409e819a741b530c3578594e8409ddb9e81f
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Jan 15 15:10:15 2018 -0600
Clean up when and how we set DHCP pxe boot options
Always pass a PXE menu with one entry and a 0 second timeout. Some UEFI
bioses need this to netboot properly.
Detect whenever we are rendering bootparams for an ipxe template and
inject an initrd= parameter. The ipxe.efi loader needs this, and it
does not appear to harm the legacy BIOS loader. It is probably a bug
in ipxe.
Whenever we return a DHCP bootfile, also set that bootfile in the
FNAME field in the bootp packet.
Set the TFTP server name field explicitly instead of relying on
fallback to the DHCP server.
M backend/renderData.go
M midlayer/dhcp.go
commit 8ed2ce76497b272f784711d09113f594bf6cc37b
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon Jan 15 10:21:49 2018 -0600
Fix InfoResponse to LogResponse for swagger
M frontend/log.go
commit f5959e8a15cbd05f52d1885fdb1b872141ab91ea
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Sat Jan 13 19:39:43 2018 -0600
Expose log fetching in the API and CLI
M frontend/frontend.go
A frontend/log.go
commit cc368a3140337719b39089329a0cd6949486a1cb
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Fri Jan 5 09:50:49 2018 -0600
Fix a bug in stages not re-exporting templates.
Enable plugins to get more config info.
M backend/machines.go
M midlayer/controller.go
M midlayer/messaging.go
M server/server.go
commit 785ee6fa774ed4ef0f304bf9ca6a8ddffaf7b270
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Thu Jan 4 13:53:36 2018 -0600
Bump logging package to latest version, and add more debugging to midlayer plugin stuff
M midlayer/messaging.go
commit 44f49b6f8f69d4c7e21c6d7af48e8db4a9088790
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Thu Jan 4 13:09:11 2018 -0600
Thread logging fully down into the server-side operations for plugins
M frontend/machines.go
M midlayer/actions.go
M midlayer/controller.go
M midlayer/messaging.go
commit 2ee37d24d64b4bd6cdab333feac0167d90404099
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Wed Jan 3 14:51:17 2018 -0600
Remove no-longer-used functions from the RequestTracker
M backend/requestTracker.go
commit 5cb6d238e2d1ecb95b6c1e7f30dfc44b5f30b093
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Wed Jan 3 14:32:29 2018 -0600
Switch to using ResourceTracker for content layer manipulation as well.
M backend/dataTracker.go
M backend/requestTracker.go
M frontend/content.go
M frontend/frontend.go
M frontend/websocket.go
M midlayer/controller.go
M midlayer/dhcp.go
M server/server.go
commit b816f5041fdd37839637cb21af641e908b9e84d4
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Jan 1 11:49:34 2018 -0600
Add a comment about migrating saved logging prefs
M backend/dataTracker.go
commit 5faf12de34210caacda8387e86bd0d73636345aa
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Thu Dec 21 14:55:35 2017 -0600
Switch to using our logging package for more unified log handling
While we are at it, allow for threaded per-request logs, overhaul log
levels use by the server and reported in preferences, and allow for
per-request overrides on log levels.
M backend/bootenv.go
M backend/bootenv_test.go
M backend/dataTracker.go
M backend/dataTracker_test.go
M backend/dhcpUtils.go
M backend/dhcpUtils_test.go
M backend/errors.go
M backend/fs.go
M backend/jobs.go
M backend/lease.go
M backend/lease_test.go
M backend/machines.go
M backend/machines_test.go
M backend/param.go
M backend/param_test.go
M backend/plugins.go
M backend/preference.go
M backend/preference_test.go
M backend/profiles.go
M backend/profiles_test.go
M backend/renderData.go
M backend/renderData_test.go
A backend/requestTracker.go
M backend/reservation.go
M backend/reservation_test.go
M backend/stage.go
M backend/stage_test.go
M backend/subnet.go
M backend/subnet_test.go
M backend/task.go
M backend/task_test.go
M backend/template.go
M backend/template_test.go
M backend/user.go
M backend/user_test.go
M embedded/assets.go
M frontend/bootenvs.go
M frontend/frontend.go
M frontend/indexes.go
M frontend/info.go
M frontend/isos.go
M frontend/jobs.go
M frontend/machines.go
M frontend/plugins.go
M frontend/prefs.go
M frontend/tasks.go
M frontend/users.go
M frontend/websocket.go
M midlayer/controller.go
M midlayer/dhcp.go
M midlayer/dhcp_test.go
M midlayer/stack.go
M midlayer/static.go
M midlayer/static_test.go
M midlayer/tftp.go
M midlayer/tftp_test.go
M server/server.go
commit a2210bae4b5d6a3e6b7655c5cc3256fc9f492864
Author: Shane Gibson <shane@rackn.com>
Date: Tue Dec 26 13:57:02 2017 -0800
documentation nits and cleanup
M CONTRIBUTING.rst
M Trademark.rst
commit 22b0a61e3c4775e950fb27e0beb00b473f01f118
Author: Shane Gibson <shane@rackn.com>
Date: Thu Dec 21 16:08:13 2017 -0800
beats me
D websocket-python.py
D websocket-test.html
commit ea3ef5c044bb799e7ee5b1b57029daa9d469a13f
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Thu Dec 21 14:44:22 2017 -0600
Address some websockets love.
Fix a security issue with websocket events. Events should
be filtered by what the credentials of the user opening
the websocket should be allowed to see.
Add an example python websocket listener.
Add some docs about websockets.
M frontend/frontend.go
M frontend/websocket.go
A websocket-python.py
commit ffa20707c11765ddc9e9eb038fc11ef053b76b70
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Dec 19 14:52:00 2017 -0600
Transparent proxy code plugged in for preexisting boot environments
M backend/bootenv.go
M backend/dataTracker.go
commit 514557ffe282e3654116ef1253564f6610fc60dd
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Dec 18 11:19:55 2017 -0600
Make sure we are handling passing along size info from http to tftp
M backend/bootenv.go
M midlayer/tftp.go
commit 0423c26a0e4d499f300093194d5f2072063d5eab
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Thu Dec 14 13:11:48 2017 -0600
Add initial code for complete ISO-less installs
M backend/bootenv.go
M backend/fs.go
M backend/renderData.go
M midlayer/tftp.go
End of Note