Commit Graph

2758 Commits

Author SHA1 Message Date
Jonathon Anderson
9c3b52b27f Restore skipped tests
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-08 07:12:35 -07:00
Jonathon Anderson
d2b17e6b8b Merge pull request #940 from mslacken/EmptyIpmiPasswd
don't update ipmi if there is no password
2024-11-07 23:09:43 -07:00
Jonathon Anderson
3cb55a68de Re-write 50-ipmi
This re-write checks, implements, and reports on each WWIPMI variable
individually.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 23:06:27 -07:00
Christian Goll
c23537e74a don't update ipmi if there is no password
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 23:06:26 -07:00
Jonathon Anderson
37bf90c588 Merge pull request #1534 from mslacken/removeWrap
replaced errors.Wrap with fmt.Errorf
2024-11-07 23:01:16 -07:00
Christian Goll
0dd0317740 replaced errors.Wrap with fmt.Errorf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-07 22:57:29 -07:00
Jonathon Anderson
c0703c32d4 Skip changelog enforcement for "unreleased" PRs
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:53:59 -07:00
Jonathon Anderson
9ec80f073d Merge pull request #1532 from anderbubble/spec-warnings
Resolve redundant file entries in warewulf.spec
2024-11-07 22:52:52 -07:00
Jonathon Anderson
b9a1f31308 Resolve redundant file entries in warewulf.spec
- Closes #1526

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:48:14 -07:00
Jonathon Anderson
dfa5901e73 Merge pull request #1535 from anderbubble/replace-tables
Replace olekukonko/tablewriter with cheynewallace/tabby
2024-11-07 22:47:44 -07:00
Jonathon Anderson
a8554b0af5 Replace olekukonko/tablewriter with cheynewallace/tabby
- Closes #1497
- Closes #1498

This library is simpler and doesn't produce extraneous whitespace around
the output.

A local helper function restores "--" for empty output.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:44:50 -07:00
Jonathon Anderson
3cbb295e7b Remove escape character from IPMI attribute list
This wasn't in the header, and usually wasn't displaying anything
anyway.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:44:50 -07:00
Jonathon Anderson
4e9b097eb6 Only output node and profile list headers once
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:44:50 -07:00
Jonathon Anderson
4f35fd2491 Merge pull request #1533 from anderbubble/default-netdev-name
Use "default" netname during add, set
2024-11-07 22:44:25 -07:00
Jonathon Anderson
a3ede90093 Use "default" netname during add, set
- Closes #1499

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:40:58 -07:00
Christian Goll
0e0b49a13b Merge pull request #1477 from anderbubble/vlans-and-static-route
Add support for tagged VLAN interfaces and static routes to network overlays
2024-11-07 11:48:45 +01:00
Jonathon Anderson
6d699a2360 userdocs for static routes
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:17:19 -07:00
Christian Goll
95fa5d046f documentation for vlan
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-06 19:17:19 -07:00
Jonathon Anderson
0cb4db946c Add support for VLANs and static routes #1257
- NetworkManager
- wicked
- ifcfg
- debian.network_interfaces

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:17:19 -07:00
Christian Goll
2e6b648e09 added vlan for wicked
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-11-06 19:17:19 -07:00
Jonathon Anderson
de2a0bde79 Merge pull request #1448 from anderbubble/ciq-training-updates
Updates from CIQ training prep
2024-11-06 19:12:49 -07:00
Jonathon Anderson
ad7582692c Omit the wwclient section from warewulf.conf if empty
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:07:06 -07:00
Jonathon Anderson
a9b908e339 Remove "network" parameter from initial warewulf.conf
"network" is redundant with ipaddr and netmask.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:07:06 -07:00
Jonathon Anderson
aad9b34906 Refer to nodes.conf as a "registry" rather than "database"
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:07:06 -07:00
Jonathon Anderson
cec95b14f0 Update default warewulfd port to match initial configuration
We've been shipping a warewulf.conf that defines the warewulfd port as
9873, and a firewalld service that uses this port as well; but the
default value in the YAML data-structure has been 9983.

This changes the default port to 9873 to match the configuration we've
been shipping, and removes the port from the initial configuration file
(to use the default value).

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 19:07:05 -07:00
Jonathon Anderson
ff10b5b54a Merge pull request #1517 from anderbubble/skip-api-in-rpm
Don't package the API in RPM packages by default
2024-11-06 19:06:11 -07:00
Jonathon Anderson
23d8dba7e4 Don't package the API in RPM packages by default
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 18:23:27 -07:00
griznog
012fede806 Merge pull request #1470 from anderbubble/ignition-href
Fix an href in userdocs
2024-11-06 18:57:09 -06:00
griznog
6c617d225b Merge pull request #1516 from anderbubble/remove-3s-delay
Remove an unnecessary 3s boot from iPXE
2024-11-06 18:56:16 -06:00
Jonathon Anderson
d895ebe3ed Merge pull request #1518 from anderbubble/container-exec-args
Simplify passing of arguments through wwctl container exec
2024-11-06 15:45:43 -07:00
Jonathon Anderson
a0c58e4183 Simplify passing of arguments through wwctl container exec
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-06 15:43:14 -07:00
Christian Goll
f4308ca02d Merge pull request #1514 from anderbubble/remove-iszero
Remove unused IsZero function
2024-11-06 17:36:39 +01:00
Christian Goll
139e6216a2 Merge pull request #1515 from anderbubble/check-deadcode
Add deadcode to the github test suite
2024-11-06 11:19:54 +01:00
Christian Goll
6e55a00076 Merge pull request #1478 from anderbubble/warewulfd-deadcode
Remove deadcode from warewulfd
2024-11-06 11:19:07 +01:00
Jonathon Anderson
d86fff9bbb Merge pull request #1471 from anderbubble/fix-1454
Fix warewulf.spec.in to use new overlay path
2024-11-04 11:01:56 -07:00
Jonathon Anderson
94ee0a5bd9 Remove an unnecessary 3s boot from iPXE
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 19:07:19 -06:00
Jonathon Anderson
28045da271 Add deadcode to the github test suite
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 19:03:21 -06:00
Jonathon Anderson
093c74add4 Remove unused IsZero function
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 18:39:40 -06:00
Jonathon Anderson
c472474597 Merge pull request #1476 from warewulf/dependabot/go_modules/main/golang.org/x/term-0.25.0
Bump golang.org/x/term from 0.20.0 to 0.25.0
2024-11-01 17:52:08 -06:00
dependabot[bot]
84ffd0dd88 Bump golang.org/x/term from 0.20.0 to 0.25.0
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.20.0 to 0.25.0.
- [Commits](https://github.com/golang/term/compare/v0.20.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 17:48:37 -06:00
Jonathon Anderson
c537cdcfb8 Merge pull request #1480 from warewulf/dependabot/go_modules/main/google.golang.org/protobuf-1.35.1
Bump google.golang.org/protobuf from 1.34.1 to 1.35.1
2024-11-01 17:47:59 -06:00
dependabot[bot]
8654b3b922 Bump google.golang.org/protobuf from 1.34.1 to 1.35.1
Bumps google.golang.org/protobuf from 1.34.1 to 1.35.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 17:38:11 -06:00
Jonathon Anderson
b183f01eb9 Merge pull request #1481 from warewulf/dependabot/go_modules/main/github.com/spf13/cobra-1.8.1
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1
2024-11-01 17:36:35 -06:00
dependabot[bot]
bc42ce2bbc Bump github.com/spf13/cobra from 1.8.0 to 1.8.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 17:31:45 -06:00
Jonathon Anderson
95b86d0fe2 Merge pull request #1474 from anderbubble/fix-bool-pointer
Fix boolean pointer handling
2024-11-01 12:46:36 -06:00
Jonathon Anderson
fcc15eb8ef Fix boolean pointer handling
- Refactor field reflection for clarity
- Update tests for clarity

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-31 15:52:01 -06:00
Jonathon Anderson
82bf0ee6d4 Remove deadcode from warewulfd
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-31 14:58:24 -06:00
Jonathon Anderson
e54ecfad95 Merge pull request #1229 from anderbubble/warewulfd-foreground
Simplify `wwctl server` command and logging
2024-10-31 14:55:24 -06:00
Jonathon Anderson
d33ca6ff53 Simplify warewulfd logging
- Collapse SEND and RECV logs into INFO.
- Add /etc/default/warewulfd

Closes #725

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-31 14:52:48 -06:00
Jonathon Anderson
983214f253 Simplify wwctl server
- Always run in the foreground
- Always log to stdout/err (unless syslog is requested)
- Update systemd to reload with a direct signal
- Omit any pidfile for "warewulfd"

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-31 14:52:47 -06:00