Jonathon Anderson
ff40c0fed2
Node upgrade tests
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:09:04 -07:00
Jonathon Anderson
fdbdf88df0
Rename NodeConf to NodesConf
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:09:02 -07:00
Jonathon Anderson
76acd8ff80
Rename RootConf to WarewulfYaml
...
Matches the new name of NodesYaml
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:09:01 -07:00
Jonathon Anderson
a2c778b7ee
Remove ExportedYml
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:59 -07:00
Jonathon Anderson
1acbfc1ffa
First commit of backwards-compatible config datastructures
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:57 -07:00
Jonathon Anderson
8a602e8a76
Return OnBoot to wwtype.WWbool
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:55 -07:00
Jonathon Anderson
a7325b6ffa
Remove WW_INTERNAL
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:54 -07:00
Jonathon Anderson
ab293d88ea
Fix extraneous whitespace in flag definition
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:52 -07:00
Jonathon Anderson
0665d5dc88
Refactor node
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:47 -07:00
Christian Goll
e6f5c63c21
Merge pull request #1539 from anderbubble/restore-skipped-tests
...
Restore skipped tests
2024-11-09 19:49:46 +01:00
Christian Goll
f27404d3d9
Merge pull request #1540 from anderbubble/remove-defaults-docs
...
Remove defaults.conf from userdocs
2024-11-09 19:48:18 +01:00
Jonathon Anderson
4dd45e72a0
Remove defaults.conf from userdocs
...
This was missed during the NodeInfo refactor, which also removed
nodes.conf.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-08 10:30:00 -07:00
Jonathon Anderson
404f03c976
Merge pull request #1004 from mslacken/CallImpiTemplate
...
Use templates for power calls
2024-11-08 09:41:46 -07:00
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
8efec499a2
Revert changes to testenv and fix bmc tests
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
d1697ef83d
Simplify bmc templates
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
8189390e03
Switch bmc templates from html/template to text/template
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
c25eaa8855
Move default ipmi template to default profile
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
9ddb491ba3
Rename BmcTemplate to Template
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
141bcd8d40
Refactor ipmi tests as table-driven tests
...
Also prefix each sensor line.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-07 23:01:32 -07:00
Jonathon Anderson
2e2a7d7de3
rebased for the use without NodeInfo
...
make fanout configureable via commanline
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -07:00
Christian Goll
0490f4c9a5
added documentation for ipmi templates
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -07:00
Christian Goll
b422fd8de2
added template for nodes without bmc
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -07:00
Christian Goll
f53ae48ae6
added test for power status
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -07:00
Christian Goll
4597fdfaa9
use ipmitool created from template file
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -07:00
Christian Goll
10ea0ac78d
use ipmi interface from node.NodeConf
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 23:01:32 -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