Commit Graph

1277 Commits

Author SHA1 Message Date
Gregory M. Kurtzer
37c2229e17 Merge pull request #519 from anderbubble/anderbubble-syncusers-log-period
Removed extra period from log message
2022-09-08 08:58:53 -07:00
Gregory M. Kurtzer
707e4fec55 Merge pull request #528 from anderbubble/syncuser-argument-description-typos
Minor typo fix in syncuser argument description
2022-09-08 08:58:39 -07:00
Jonathon Anderson
903ba7417e Minor typo fix in syncuser argument description
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-08 09:52:17 -06:00
Christian Goll
a023662b2d Merge pull request #524 from anderbubble/symlink-wwbackup
Fix a typo in symlink wwbackup implementation
2022-09-05 09:31:44 +02:00
Jonathon Anderson
cd8b0d86c5 Fix a typo in symlink wwbackup implementation
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-02 15:40:45 -06:00
Christian Goll
92c69a61f6 Merge pull request #518 from anderbubble/container-rocky-8-kernel-modules
Install kernel-modules in warewulf rocky-8 image
2022-08-31 21:04:47 +02:00
Jonathon Anderson
1ed5a531bb Removed extra period from log message
I think the `.` in `uid./gid not synced` is erroneous.
2022-08-31 11:53:37 -06:00
Jonathon Anderson
e72e382211 Install kernel-modules in warewulf rocky-8 image
Without the kernel-modules package installed I was not able to use apptainer, as squashfs was not available.
2022-08-31 11:50:12 -06:00
Christian Goll
cb0a7b402e Merge pull request #511 from anderbubble/issues/510
new man pages for warewulf.conf and nodes.conf
2022-08-31 11:51:05 +02:00
Christian Goll
bb6cf97953 Merge pull request #512 from anderbubble/dist-cleanup
Small dist cleanup
2022-08-31 11:47:34 +02:00
Christian Goll
b17f6ef5f7 Merge pull request #513 from anderbubble/wwapi-in-spec
Capture wwapi binaries in rpm spec
2022-08-31 11:46:10 +02:00
Christian Goll
bad70b986d Merge pull request #514 from anderbubble/ipmi-trim-whitespace
Trim whitespace from IPMI output
2022-08-31 11:42:15 +02:00
Jonathon Anderson
db29b9ff3e Trim whitespace from IPMI output
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 15:43:02 -06:00
Jonathon Anderson
e2b87ac63d Capture wwapi binaries in rpm spec
Naive implementation; but without some declaration rpmbuild fails.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 06:21:46 -06:00
Jonathon Anderson
1bfce7d1df Small dist cleanup
- Add .dist to gitignore
- Purge emacs temporary files from dist

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 06:18:32 -06:00
Jonathon Anderson
247c61295c Install new config file man pages
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 06:15:36 -06:00
Jonathon Anderson
6cfd028ee2 Initial commit: nodes.conf manpage
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 05:12:06 -06:00
Jonathon Anderson
77baa76dc0 Remove unnecessary config parameter examples
warewulf.datastore is being set to a null string, which is simply
prompting it to use the default.

dhcp.template doesn't appear to be used any more, now that dhcp
configuration has moved into the host overlay.

tftp.tftproot doesn't appear to be doing anything, is simply setting to
the empty string anyway, and is otherwise compiled-in.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 04:47:56 -06:00
Jonathon Anderson
351d5dbf0a More generic defaults for warewulf.conf
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 03:58:09 -06:00
Jonathon Anderson
c369ff8811 Add ipaddr6 to warewulf.conf man
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 03:08:35 -06:00
Jonathon Anderson
f1fddf81af Don't use all-caps for PRIVATE network in man
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 01:20:49 -06:00
Jonathon Anderson
79b49ccd3a Initial commit of new warewulf.conf manpage
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 01:14:12 -06:00
Christian Goll
befb1ed815 Merge pull request #498 from IngoMeyer441/fix/legacy-bios-boot
Fix the boot process for Legacy BIOS machines
2022-07-21 19:30:18 +02:00
Ingo Meyer
ceccca1413 Fix the boot process for Legacy BIOS machines
GitHub PR #235 adds an advanced boot mechanism for UEFI machines which
causes old Legacy BIOS nodes to hit the 3 GB RAM barrier in 32 Bit iPXE
very quickly. Therefore, detect if an EFI or Legacy BIOS is loaded and
fall back to the old boot path in the second case.

This commit fixes GitHub issue #497.
2022-07-21 17:39:20 +02:00
Christian Goll
9796e61678 Merge pull request #469 from mslacken/fix-468
fix nil map for networks
2022-07-06 21:38:55 +02:00
Christian Goll
7878712b8a Merge pull request #471 from MatthewHink/mhink-development-wwapi-rebase
Initial cut of wwapi.
2022-07-06 21:37:37 +02:00
MatthewHink
d8cd6049ac Initial cut of wwapi.
We need an API for Warewulf in order to automate around it. The initial version of the API will look a lot like wwctl. wwctl will call the API so that we do not need to maintain separate code paths. In this preview wwctl calls the API via direct function call, but we can change that to a gprc or REST call to a Warewulf server in the future.

This commit contains:
wwapid WareWulf API Daemon. A grpc server with mTLS auth.
wwapic WareWulf API Client. A grpc client with mTLS auth. It's just a sample that reads the version from the server.
wwapird WareWulf API Rest Daemon. A http REST reverse proxy to wwapid.
There are also sample insecure and secure curls to test with.

Implemented Functionality:
wwctl node add
wwctl node delete
wwctl node list
wwctl node set
wwctl node status
wwctl container build
wwctl container delete
wwctl container import
wwctl container list
wwctl container show

Some notes on the files:

    Logic that was in wwctl has moved to warewulf/internal/pkg/api. wwctl just calls the API. wwctl functionality is unchanged.
    Everything under the /google directory is copied google proto code to stand up wwapird. It's a bit strange to copy in the code, but that is currently how it's done.
    Everything in warewulf/internal/pkg/api/routes/wwapiv1 is generated code.

There are some loose ends here, such as no service installers. I just ran off the command line for development.
The Makefile could use improvement. I'm building by make clean setup proto all build wwapid wwapic wwapird ; echo $?
I copied the configs from warewulf/etc to /usr/local/etc/warewulf manually.
2022-06-24 08:39:30 -07:00
Christian Goll
a13a00a03d fix nil map for networks 2022-06-24 17:20:47 +02:00
Christian Goll
d976e7fc31 Merge pull request #467 from mslacken/single-Overlay
enable overlay rendering
2022-06-24 09:50:14 +02:00
Christian Goll
5034413361 Merge pull request #466 from mslacken/ssh-bash-completion
bash completion for ssh command
2022-06-24 09:48:46 +02:00
Christian Goll
67eb5dca76 Merge pull request #465 from mslacken/type
add type to network configs
2022-06-24 09:48:37 +02:00
Christian Goll
2edbd37bcd Merge pull request #464 from mslacken/bool-fmt
add brackets for PrintB if its default
2022-06-24 09:48:27 +02:00
Christian Goll
0b5a39272f Merge pull request #463 from hpcng/main
Main
2022-06-24 09:42:04 +02:00
Christian Goll
f4a4d40170 Merge pull request #462 from e73kiel/patch-1
Update CHANGELOG.md
2022-06-24 09:40:50 +02:00
e73kiel
2bb6662c00 Update CHANGELOG.md 2022-06-24 09:36:04 +02:00
Christian Goll
3ced0e2836 add brackets for PrintB if its default 2022-06-23 12:35:19 +02:00
Christian Goll
d99717f288 Merge pull request #455 from mslacken/suse-mock
Add suse builds mock build
2022-06-23 10:36:35 +02:00
Christian Goll
1c850335ac add type to network configs 2022-06-22 14:45:56 +02:00
Christian Goll
cc6b75a4f6 bash completion for ssh command 2022-06-22 12:17:04 +02:00
Christian Goll
a79503eddd Added right mock build 2022-06-20 14:46:00 +02:00
Christian Goll
e0afbced13 Add suse builds mock build 2022-06-20 14:35:35 +02:00
Gregory Kurtzer
235c23c516 Bump makefile to version 4.3.0 2022-06-15 14:15:07 -07:00
Gregory M. Kurtzer
af86122a6e Merge pull request #453 from elguero/main
Adjust release build artifacts upload to handle pre-releases
2022-06-14 22:29:25 -07:00
Gregory M. Kurtzer
19065b3cc5 Merge pull request #450 from mslacken/fix-set-profile
Fix wwct node set profile for single profile
2022-06-14 22:28:29 -07:00
Michael L. Young
3f86dcc3a5 Adjust release build artifacts upload to handle pre-releases
Update the upload-artifacts and download-artifacts version

Signed-off-by: Michael L. Young <myoung@ciq.co>
2022-06-12 08:19:14 -04:00
Christian Goll
8cd4b0aa02 Fix wwct node set profile for single profile 2022-06-10 13:39:05 +02:00
Christian Goll
f3c59fc18a Merge pull request #448 from mslacken/update_contrib
Updated Contributors
2022-06-10 10:08:33 +02:00
Christian Goll
53735f7cad Upodated Makefile to rc6 2022-06-10 08:45:26 +02:00
Christian Goll
04db6f1735 Updated Contributors 2022-06-10 08:42:42 +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