Commit Graph

68 Commits

Author SHA1 Message Date
mslacken
ab0ee87629 updated linter and fixed deprecated stuff 2022-10-14 17:40:16 +02:00
Gregory M. Kurtzer
4d44d3a299 Merge pull request #438 from kcdodd/fix/srvdisco
Fix server thread safety of discoverable node and overlay build
2022-06-09 22:18:23 -07:00
Jean-Baptiste Denis
78144ba760 Correct typo in log messages 2022-06-07 16:51:03 +02:00
Carter Dodd
3242d2998e fixups 2022-06-05 17:37:23 -05:00
Carter Dodd
30ba916703 Move overlay build logic to util, add limit to spawned processes 2022-06-05 17:28:14 -05:00
Carter Dodd
f14f339576 fixups 2022-06-04 11:42:16 -05:00
Carter Dodd
fc8d3863d8 use wwctl to re-build provision overlays, update to pass overlaynames 2022-06-04 11:14:48 -05:00
Carter Dodd
7caabc439d separate safe/unsafe db operations 2022-06-02 22:22:19 -05:00
Carter Dodd
04fb854aa7 fixup import 2022-06-02 20:20:03 -05:00
Carter Dodd
95ca053960 Lock server node db when updating discoverable node 2022-06-02 20:06:34 -05:00
Gregory Kurtzer
bf9ca54b8e Don't read in binary data blobs to memory before sending to HTTP writer 2022-05-25 23:11:26 -07:00
Carter Dodd
9c5759c857 Remove new dhcp config options
Discussion indicated a need for more general handling of network config.
Avoids adding new options that may become deprecated in the near future.
2022-05-19 19:02:58 -05:00
Carter Dodd
7ecaae1361 Fix only serve/check Secure for runtime 2022-05-16 12:38:53 -05:00
Carter Dodd
118f20b01a Check error on init logging 2022-05-14 00:22:19 -05:00
Carter Dodd
a27be52e3f Fix unhandled errors 2022-05-13 22:33:29 -05:00
Carter Dodd
379faad51d Refactor of server, logging, building of images, template updates
* Combine provision response handling, add hwaddr and interface to dhcp
* Simplify stage cases, add backward compatible uri parse
* Move control of image compression to client
* Fix kernel search path for ubuntu, buffer template generation
* Implement cpio and gz as functions, add log named functions
* Generalize fs image creation routine
* Combine daemonLogf to generalized wwlog
* Fix template newline insertion, update dhcp and hosts tmpl
* Update IPXE template to handle non-compressed files
* Update DHCP template to set network interfaces and server IP assignment
* Update DHCP/hosts templates to choose a host-name self-consistently
2022-05-13 16:52:59 -05:00
Gregory Kurtzer
dd1cf6f4a5 Don't force LC on node set
This makes it so we can never UNDEF/DELETE an entry as that requires
upper case. So we are doing the lower case now where it matters.
2022-05-03 21:53:47 -07:00
jcsiadal
bfde70cf8a Error free lint
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 17:01:11 +00:00
Christian Goll
d4e42b7b83 allow download of named overlay 2022-03-11 14:52:01 +01:00
Christian Goll
afac77dbbe allow multiple generic and wwinit overlays 2022-03-11 11:50:38 +01:00
Gregory Kurtzer
1203186194 Support kernel overrides from the host or other containers 2022-02-17 07:37:04 +00:00
Gregory Kurtzer
104bc7527d Restored deleted kernel components for overrides 2022-02-17 06:21:40 +00:00
Gregory Kurtzer
5a0c13225e Utilize containerized kernel and remove kernel Support 2022-02-15 06:49:24 +00:00
Gregory Kurtzer
b80d41975a Update status before sending data to iPXE/node 2022-02-09 20:11:25 +00:00
Gregory Kurtzer
9e943101ec Always use lowercase for hw addresses 2022-01-26 04:02:30 +00:00
Gregory Kurtzer
1bc1d7e34f removed unused function 2022-01-24 01:31:27 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
Gregory Kurtzer
be41b79261 Don't use init function to load status DB 2022-01-15 02:27:45 +00:00
Gregory M. Kurtzer
4a8542351f Merge branch 'main' into node_status_monitor 2022-01-05 16:40:53 -08:00
Gregory Kurtzer
6afb3f3e25 Added filter and sort options for last, check-in, reverse, etc. 2022-01-05 05:20:07 +00:00
Gregory Kurtzer
c5b1e7e999 Cleanups to STATUS 2021-12-31 02:58:57 +00:00
Gregory Kurtzer
39ec7c0807 A few usability fixes and put full node DB logic into warewulfd 2021-12-31 02:38:48 +00:00
Gregory Kurtzer
6b42362f37 Fixed linting errors 2021-12-31 01:00:18 +00:00
Gregory Kurtzer
525ac1184e Simplified version of node status monitoring with CLI 2021-12-30 23:26:45 +00:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00
Gregory Kurtzer
af51716f55 Merge branch 'main' of github.com:gmkurtzer/warewulf into wwlog_refactor 2021-12-28 13:59:50 -08:00
Christian Goll
0a6d8b39a6 on server start print version info 2021-11-29 11:00:28 +01:00
griznog
7f56463c63 Had the wrong name for Cluster. 2021-11-23 12:59:36 -06:00
griznog
bd5218a7c7 Add Id and Cluster to the available variables for template substitution. 2021-11-23 10:44:35 -06:00
Gregory Kurtzer
719de68410 Initial refactor and cleanup of wwlog 2021-10-01 00:28:40 -07:00
Gregory Kurtzer
6e78f1e89b Fix lint errors 2021-09-30 23:43:24 -07:00
Gregory Kurtzer
238b61a682 Daemon logging to syslog (#152) 2021-09-30 23:40:16 -07:00
Gregory Kurtzer
384c4c0286 Make the overlay auto-update configurable 2021-09-30 23:02:04 -07:00
Gregory Kurtzer
dffa5a348e Minor bugfix in overlay-runtime REST path 2021-09-30 23:01:19 -07:00
Gregory Kurtzer
8d56a866e1 also rebuild on overlay internal file changes 2021-09-29 21:51:57 -07:00
Gregory Kurtzer
49a573b926 Always build overlays on demand by Warewulfd 2021-09-29 21:30:09 -07:00
Niko Kivel
4040f5145b errors.Wrap implemented, removed redundant default port check 2021-09-20 08:58:06 +02:00
Niko Kivel
b6b053665e Fixes #135 2021-09-17 14:27:55 +02:00