Commit Graph

3336 Commits

Author SHA1 Message Date
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
Jonathon Anderson
206fa68eec Various minor documentation updates
- Document using mock to build RPMs
- Clarify installing warewulf-dracut in the image
- Fix vestigial references to v4.6.0rc2
- Closes: #1767
- Closes: #1769

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-22 00:17:56 -06:00
Jonathon Anderson
be322a8062 Merge pull request #1765 from MiddelkoopT/tm-overwrite
Add `--overwrite` to `wwctl overlay import`
2025-03-22 00:02:20 -06:00
Jonathon Anderson
c7bda5e655 Add tests for overlay import --overwrite
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-21 23:42:30 -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
Jonathon Anderson
e02f9ec02b Merge branch 'ipmitool-template-quote-escapechar' 2025-03-21 16:43:52 -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
a0b741b066 Merge pull request #1826 from anderbubble/fix-dotted-netdev
Fix display of dotted field names
2025-03-21 10:29:45 -06:00
Christian Goll
3c981466ba Merge pull request #1827 from anderbubble/NoNilIpmi
Handle missing ipmi fields during bmc commands
2025-03-21 16:56:23 +01:00
Jonathon Anderson
099e7cd4ea Merge pull request #1794 from warewulf/dependabot/go_modules/main/github.com/creasty/defaults-1.8.0
Bump github.com/creasty/defaults from 1.7.0 to 1.8.0
2025-03-20 18:01:01 -06:00
Jonathon Anderson
175a66616b Merge pull request #1795 from warewulf/dependabot/go_modules/main/github.com/spf13/cobra-1.9.1
Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
2025-03-20 17:41:19 -06:00
Jonathon Anderson
a401d44ba7 Merge pull request #1797 from mslacken/FixPdfBuild
fixup pdf build
2025-03-20 17:31:06 -06:00
Jonathon Anderson
a58b48fa52 Merge pull request #1803 from fgeorgatos/patch-1
fix Dockerfile: go1.22 is required for docker build
2025-03-20 16:58:50 -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
Jonathon Anderson
ec42f33b42 Merge pull request #1822 from ssimpson89/sosplugin
Adding New SOS Plugin
2025-03-20 15:58:10 -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
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
Christian Goll
fafaaf9675 add failing test for #1817
Signed-off-by: Christian Goll <cgoll@suse.com>
2025-03-17 11:05:34 +01:00
Xu YANG
3b3851c6ca Merge pull request #1804 from MiddelkoopT/tm-github-actions-arm
Build aarch64 packages with GitHub actions
2025-03-11 20:50:04 +09:00