Commit Graph

558 Commits

Author SHA1 Message Date
Stephen Simpson
a880de2626 Updated Warewulf SOS Plugin
Modify the `wwctl container list` command to use -l to gather more information.

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-05-27 13:41:32 -06:00
Jonathon Anderson
8c2723f16c Fixed a regression in SELinux support by restoring the /run mount during wwinit. #1910
https://systemd.io/INITRD_INTERFACE/

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-05-12 21:26:59 -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
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
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
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
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
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
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
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
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
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
Rafael Lopez
cb1b667e71 update changelog and contributors 2025-03-25 19:22:11 -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
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
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
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
Timothy Middelkoop
ae54fd207b Add --overwrite to wwctl overlay import
- Closes: #386

Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-03-21 23:42:27 -06:00
Shane Nehring
e152db228c Adding quotes around escapechar in ipmitool.tmpl
- Fixes: #1802

Signed-off-by: Shane Nehring <snehring@iastate.edu>
2025-03-21 16:41:36 -06:00
Jonathon Anderson
3919dea887 Fix display of dotted field names
- Fixes: #1825

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-19 02:59:47 -06:00
Jonathon Anderson
06f2c0dc5a Properly configure a default IPMI template during wwctl upgrade nodes --add-defaults
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-19 02:20:48 -06:00
Christian Goll
ea9a013812 Handle missing ipmi fields during bmc commands
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-18 15:33:35 -06:00
dependabot[bot]
ea67b4f8e2 Bump github.com/creasty/defaults from 1.7.0 to 1.8.0
Bumps [github.com/creasty/defaults](https://github.com/creasty/defaults) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/creasty/defaults/releases)
- [Commits](https://github.com/creasty/defaults/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/creasty/defaults
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 12:38:14 -06:00
dependabot[bot]
87232272d4 Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 12:32:41 -06:00
Christian Goll
d256d15c20 fixup pdf build
Signed-off-by: Christian Goll <cgoll@suse.com>
2025-03-18 12:21:03 -06:00
Jonathon Anderson
747d1c3d25 Merge pull request #1818 from mslacken/FixNetdevOnlyProfile
Allow discover of nodes with network only in profile
2025-03-20 16:13:46 -06:00
Christian Goll
a4035faff9 Fix warewulfd panic when netdev is only in profile
Signed-off-by: Christian Goll <cgoll@suse.com>
2025-03-18 10:55:24 -06:00
Stephen Simpson
2852cd5e88 Added new sosreport plugin
New sos report plugin added as separate RPM

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-03-18 10:34:39 -06:00
Timothy Middelkoop
ab69de476f Build aarch64 packages with GitHub actions
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-03-05 04:05:45 +00:00
Jonathon Anderson
a98ec09b36 v4.6.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-02 16:46:53 -07:00
Jonathon Anderson
9e41378e1c Documentation reorg for v4.6.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-01 11:32:33 -07:00
Christian Goll
afbb937f61 Merge branch 'main' into multi-dependabot 2025-03-01 11:57:45 +01:00
Christian Goll
3cc8a519ca Merge pull request #1779 from anderbubble/netdev-without-device
Better handling for missing NetDev.Device and clean-up dracut NetworkManager connections
2025-03-01 11:48:49 +01:00
Christian Goll
a97c204f53 Use wwctl overlay <import|build> --workers=0 to indicate default value
By default, uses `runtime.NumCPU()`

The default value is rendered in the generated man pages, which made
their content dependent on build system characteristics.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-01 11:46:15 +01:00
Jonathon Anderson
c8c9442178 Change upgraded default kernel args to match distributed nodes.conf
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-27 02:03:26 -07:00
Jonathon Anderson
94b2c3ba84 Add support for ubuntu-style dracut image names
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-25 17:01:26 -07:00
Jonathon Anderson
8c65c681c9 Remove dracut NetworkManager connections for phase 2
- Closes: #1780

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-25 06:32:25 -07:00
Jonathon Anderson
3a1e581f93 Better handling for missing NetDev.Device
- Closes: #1777

Overlays:
- ifcfg
- NetworkManager

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-24 22:27:36 -07:00
Timothy Middelkoop
50ab2ff7e4 Install git before checkout
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-02-24 14:50:37 -07:00
Jonathon Anderson
34482c0626 Update CHANGELOG and LICENSE_DEPENDENCIES for additional dependabot updates
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-24 08:55:41 -07:00
Jonathon Anderson
3ac059d79b Merge remote-tracking branches 'origin/dependabot/go_modules/main/google.golang.org/protobuf-1.36.5', 'origin/dependabot/go_modules/main/github.com/containers/storage-1.57.1' and 'origin/dependabot/go_modules/main/google.golang.org/grpc-1.70.0' into multi-dependabot
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-24 08:06:51 -07:00
Jonathon Anderson
52f555034f v4.6.0rc3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-23 04:49:19 -07:00
Jonathon Anderson
9cedd835aa Port NFS before applying defaults
- Closes: #1758

Fixes an issue where `wwctl upgrade nodes` applied default NFS mounts and
ported in NFS entries from warewulf.conf.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-23 16:33:14 +01:00
Christian Goll
b41a49f863 Merge pull request #1762 from anderbubble/wwbool-default-true
Add WWbool.BoolDefaultTrue()
2025-02-23 16:30:40 +01:00