xu yang
7a63e517f7
fix issue that initrd fails at downloading runtime overlay with permission denied error, when warewulf secure option in warewulf.conf is enabled
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-11-13 21:50:03 -07:00
Christian Goll
d1c734732f
better udev rules
...
Renamed 70-ww4-netname.rules.ww to 70-persistent-net.rules.ww.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-13 17:44:48 -07:00
Timothy Middelkoop
e4a721d87e
Remove debian.interfaces from nodes.conf
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2024-11-12 14:46:12 +01:00
Timothy Middelkoop
df6242d66f
Fix dhcp template for static template
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2024-11-12 14:46:06 +01:00
Christian Goll
a9eb4c3e26
Merge pull request #1524 from anderbubble/refactor-node-and-upgrade
...
Support cross-version upgrades
2024-11-11 10:45:47 +01:00
Xu Yang
0c2fc13a1d
fix issue that --neettagdel does not work properly
...
Signed-off-by: Xu Yang <xyang@ciq.com >
2024-11-11 07:54:05 +00:00
Jonathon Anderson
2bae87e244
Documentation for wwctl upgrade
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:09:46 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jonathon Anderson
36fcd5e9f1
Update changelog for bump of github.com/containers/storage to 1.55.0
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-31 10:35:43 -06:00
Jonathon Anderson
800463834d
Merge pull request #1475 from iankgt40/main
...
Fixes POSIX syntax for several scripts #1464
2024-10-31 10:29:35 -06:00
Ian Kaufman
f3a1b43360
POSIX fixes for #1464
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-31 09:49:48 -06:00
xu yang
97c6772e51
Return non-zero exit code on overlay sub-commands
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-30 20:51:44 -06:00
dependabot[bot]
f6a923ac96
Bump github.com/sassoftware/go-rpmutils from 0.2.0 to 0.4.0
...
Bumps [github.com/sassoftware/go-rpmutils](https://github.com/sassoftware/go-rpmutils ) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/sassoftware/go-rpmutils/releases )
- [Commits](https://github.com/sassoftware/go-rpmutils/compare/v0.2.0...v0.4.0 )
Also updates minimum golang version to 1.21, as required.
---
updated-dependencies:
- dependency-name: github.com/sassoftware/go-rpmutils
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-10-30 20:44:58 -06:00
xu yang
9f10e90fdb
fix unmanaged issue
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-30 06:04:40 +00:00
Christian Goll
dbdd85fe2b
add platform parameter for container import
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-29 10:35:33 -06:00
xu yang
139b9880a0
Return non-zero exit code on profile sub-commands
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-28 16:04:25 -06:00
xu yang
9daaab2983
wwctl should return non-zero exit code on wwctl kernel sub-commands
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-28 15:54:41 -06:00
Jonathon Anderson
ec357578bc
Add CHANGELOG entry for #1456
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-28 15:45:14 -06:00
Christian Goll
ff84974506
added wwctl clean to remove cache/dead overlays
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-28 15:20:41 -06:00
Christian Goll
511938ac5c
add Cachedir and point OCIBlobCache to it
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-28 15:20:41 -06:00
Christian Goll
cb9e6e8be0
Removed rest of direct yaml.v2 deps
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-25 14:33:57 -06:00
Jonathon Anderson
4ba7d7e602
Update CHANGELOG entries for NodeInfo refactor
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-17 15:39:59 -04:00
Christian Goll
ac6cd69ca6
fix test to run without NodeInfo
...
Also removed --fullall from node list and profile list
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:47 -04:00
Christian Goll
28a7b9fe84
removed NodeInfo and using NodeConf instead
...
This is a significant change in the undelying data model!
nodeDb, err := node.New()
will result in a structure which contains the on disk
values. Only
nodeDb.FindAllNodes() or nodeDb.GetNode(id) will give
the nodes with its merged in profiles.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 13:35:42 -04:00
xu yang
f7c4b32fc2
Fix issue that domain globs not supported during wwctl node delete.
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-11 09:50:48 +00:00
xu yang
f51808bc75
fix issue that pattern matching broken on node set
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-10-11 02:27:33 +00:00
metalllinux
cf5ae78f7e
Updated configuration.rst, CONTRIBUTORS.md and CHANGELOG.md
2024-10-07 16:37:53 +09:00
Jonathon Anderson
95a93812c7
Release v4.5.8
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-09-30 17:04:40 -06:00
xu yang
f973733130
wwctl node set requires mandatory pattern input
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-09-30 12:50:20 +00:00
Christian Goll
62f3cfb868
Merge pull request #1440 from JasonYangShadow/issue/1439
...
wwctl should return non-zero exit code on wwctl power sub-commands
2024-09-30 08:50:05 +02:00
Christian Goll
20e243a106
Merge pull request #1432 from JasonYangShadow/issue/1388
...
Change the permission of overlay dir to `0750` and generated overlays to `0660`
2024-09-30 08:41:56 +02:00
xu yang
65f67b79ba
wwctl should return non-zero exit code on wwctl power sub-commands
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-09-30 06:41:53 +00:00
Jonathon Anderson
cdbabfc834
Update IgnitionJson to sort the list of file systems
...
- Closes #1433
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-09-27 18:15:15 -06:00
xu yang
d59ace3792
Change the permission of overlay dir to and generated overlays to
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-09-27 11:48:44 -06:00
Jonathon Anderson
35bbca18e3
Document that ignition is not available for Rocky Linux 8
...
- Closes #1373
- Closes #1272
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-09-27 11:23:06 -06:00