Commit Graph

3260 Commits

Author SHA1 Message Date
Jonathon Anderson
b5d72fb393 Address unhandled deadcode issues
- Fix `make deadcode` to properly fail GitHub checks
- Resolve "dead" code by refactoring other code to use it

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-05-10 11:26:11 -06:00
Jonathon Anderson
29dc9da041 Merge pull request #1868 from MatthewHink/mhink-remove-api
Initial cut for removing the old API
2025-05-12 16:57:45 -06:00
Matt Hink
be73ac056a Initial cut for removing the old API.
Remove API reverse proxy server and google dependencies.
Remove API config.
Remove API client.
Remove API GRPC server.
Remove unused ImageCopy function. image.Duplicate is used.
Update Makefile to avoid protobuf builds.

Signed-off-by: Matt Hink <mhink@ciq.com>
2025-05-10 10:58:03 -06:00
Christian Goll
edc0e151c3 Merge pull request #1889 from Evildethow/feature/logging-levels
Add logging configuration documentation
2025-05-07 12:17:29 +02:00
Owen Wood
df968ffe40 Add logging configuration documentation 2025-05-07 11:35:55 +10:00
Christian Goll
3e07ae2c95 Merge pull request #1884 from ssimpson89/update-infiniband-case-udev
Updated udev overlay for case-insensitive
2025-05-05 09:21:47 +02:00
Stephen Simpson
9b94c6c8c3 Updated udev overlay for case-insensitive
Co-authored-by: acabrera86 <acabrera86@users.noreply.github.com>
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-05-02 16:50:13 -05:00
Jonathon Anderson
0edfc97856 Merge pull request #1874 from MatthewHink/mhink-rpm-build-typo
Fix typo in rpm github action
2025-05-02 11:11:30 -06:00
Matt Hink
f6caac2b35 Fix typo in rpm github action 2025-04-30 07:51:08 -07:00
Timothy Middelkoop
36c4da2235 Merge pull request #1867 from warewulf/remove-init-bak
Remove accidental init.bak
2025-04-22 07:55:39 -05:00
Timothy Middelkoop
cc5d2d10b8 Merge pull request #1850 from ResearchIT/dracut-nm-wait-online-override
Make nm-wait-online-initrd.service wait for interfaces to be online during dracut boot
2025-04-21 14:40:53 -05:00
Shane Nehring
d9db96a453 adding override for nm-wait-online-initrd.service to wait for interface config
Signed-off-by: Shane Nehring <snehring@iastate.edu>
2025-04-21 13:59:41 -05:00
Jonathon Anderson
72c7a7934d Remove accidental init.bak
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-19 15:19:29 -06:00
Timothy Middelkoop
f2b202964c Merge pull request #1833 from anderbubble/dracut-curl-retry-connrefused
Add --retry-connrefused to dracut curl commands
2025-04-10 10:11:14 -05:00
Timothy Middelkoop
9f1a5279ce Merge branch 'main' into dracut-curl-retry-connrefused 2025-04-10 10:07:14 -05:00
Jonathon Anderson
5971d8d908 Fix changelog entry for sos plugin
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-04 23:10:14 -06:00
Jonathon Anderson
0c85f813a4 Port mock root eol detection to tagged-release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-04 21:41:54 -06:00
Jonathon Anderson
4a246e1b72 Release v4.6.1
- Back-port previous GitHub release notes to `.github/releases/`
- Fix SUSE and Rocky Linux 8 builds

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-04 05:12:57 -06:00
Jonathon Anderson
b797b8eceb Fix date in warewulf.spec.in changelog
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-03 23:25:54 -06:00
Jonathon Anderson
8bbd85c25d Merge pull request #1588 from anderbubble/wwapi
OpenAPI REST API
2025-04-03 17:44:43 -06:00
Jonathon Anderson
4005afac4c Add a new OpenAPI v3 REST API to warewulfd at /api
Co-authored-by: jason yang <jasonyangshadow@gmail.com>

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-03 07:12:03 -06:00
Jonathon Anderson
bf0fc8bb27 Merge pull request #1820 from mslacken/udevRegression
fix SUSE specific udev regression
2025-04-02 23:47:49 -06:00
Christian Goll
eb9a20fa01 fix SUSE specific udev regression
Signed-off-by: Christian Goll <cgoll@suse.com>
2025-04-02 20:39:41 -06:00
Jonathon Anderson
d988819d3f Merge pull request #1851 from anderbubble/1847-panic
Fix a panic during `wwctl node list --ipmi` for nodes with no ipmi configuration.
2025-04-01 19:43:07 -06:00
Jonathon Anderson
51786b5e4a Fix a panic during wwctl node list --ipmi for nodes with no ipmi configuration. #1847
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-01 16:48:43 -06:00
Jonathon Anderson
965cef07c7 Merge pull request #1840 from anderbubble/overlay-dups
wwctl upgrade nodes --replace-overlays avoids applying overlays multiple times
2025-03-28 12:53:06 -06:00
Jonathon Anderson
dd2d256179 wwctl upgrade nodes --replace-overlays avoids applying overlays multiple times
- Closes: #1823

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-28 03:49:22 -06:00
Jonathon Anderson
989284c01e Merge pull request #1835 from anderbubble/ipmi-vlan
Set an IPMI tag ``vlan`` to configure the vlan during ``ipmiwrite``
2025-03-26 08:56:32 -06:00
Jonathon Anderson
2cf123d26a Merge pull request #1843 from rafalop/fix-import-yaml
fix import from yaml where node does not pre-exist
2025-03-25 21:51:48 -06:00
Jonathon Anderson
446ad07d2f Merge pull request #1839 from anderbubble/grub-sleep
Add indicated sleep and reboot during grub boot
2025-03-25 21:01:27 -06:00
Jonathon Anderson
d982fea6da Set an IPMI tag `vlan to configure the vlan during ipmiwrite`
- Closes: #1031

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-25 20:49:28 -06:00
Jonathon Anderson
1883f2e932 Added a test for wwctl node import
To support this, also added `wwctl node import --yes`.

Also corrected the spelling of `--cvs` to `--csv`.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-25 20:00:48 -06:00
Xu YANG
dc77443077 Merge pull request #1846 from anderbubble/unset-image
Fix processing of UNDEF and UNSET during `wwctl <node|profile> set`
2025-03-26 10:30:25 +09:00
Rafael Lopez
cb1b667e71 update changelog and contributors 2025-03-25 19:22:11 -06:00
Rafael Lopez
ca1830d8e1 Rename value in loop
Rename value from 'node' to 'nodeData' so it doesn't
coincide with the package import name.

Signed-off-by: Rafael Lopez <raflopez1@gmail.com>
2025-03-25 19:21:30 -06:00
Rafael Lopez
299f1db41c fix import from yaml where node does not pre-exist
Check if node exists, if not add it first before
attempting SetNode().

Fixes: #1842
Signed-off-by: Rafael Lopez <raflopez1@gmail.com>
2025-03-25 19:21:30 -06:00
Jonathon Anderson
f65be064ad Add indicated sleep and reboot during grub boot
- Closes: #1791

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-25 19:03:53 -06:00
Jonathon Anderson
09488db3f6 Fix processing of UNDEF and UNSET during wwctl <node|profile> set. #1837
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-25 18:16:14 -06:00
Christian Goll
102916b1c8 Merge pull request #1838 from anderbubble/restore-default-behavior
Restore some default behaviors
2025-03-25 09:11:40 +01:00
Jonathon Anderson
4367b56120 Restore some default behaviors
- If `init` is not specified, wwinit looks for /sbin/init, /etc/init,
  and /bin/init, matching dracut behavior.
- assume ipxe template=default if not set
- Display a warning during overlay build if an overlay list is empty

Issues:

- Closes: #1808
- Closes: #1813

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-25 09:07:03 +01:00
Xu YANG
9e9f37208c Merge pull request #1841 from anderbubble/cobra-nargs
Explicitly enforce the number or arguments accepted by some `wwctl` subcommands
2025-03-25 13:47:14 +09:00
Xu YANG
f04367af61 Merge pull request #1844 from anderbubble/rename-image-update-nodes
Update nodes and profiles when renaming an image
2025-03-25 13:46:33 +09:00
Jonathon Anderson
605c910c82 Update nodes and profiles when renaming an image. #1637
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-24 21:45:06 -06:00
Jonathon Anderson
9a3e48fa37 Explicitly enforce the number or arguments accepted by some wwctl subcommands. #1717
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-24 21:06:07 -06:00
Xu YANG
2d46a8b375 Merge pull request #1836 from anderbubble/doc-bond-indentation
Fix yaml indentation in network bond example
2025-03-25 09:06:09 +09:00
Xu YANG
d157968dc4 Merge pull request #1831 from anderbubble/jordanmendler-docs-suggestions
Various minor documentation updates
2025-03-24 09:41:02 +09:00
Xu YANG
b2fc9c6365 Merge pull request #1834 from anderbubble/wwclient-ipaddr-env-var
wwclient uses `WW_IPADDR`, if set, to contact the Warewulf server
2025-03-24 09:39:59 +09:00
Jonathon Anderson
aa714aa2cd Fix yaml indentation in network bond example
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-22 22:06:22 -06:00
Jonathon Anderson
e4a9018b80 wwclient uses WW_IPADDR, if set, to contact the Warewulf server.
- Closes: #1788

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-22 03:03:21 -06:00
Jonathon Anderson
03fb9bf074 Add --retry-connrefused to dracut curl commands
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-22 00:37:34 -06:00