v4.4.0
·
10 commits
to d6f6fedb1510ee1a8a4fa937a71ad3ff2190a5bb
since this release
Final release of 4.4.0
Changes to node and profile subcommands
Warewulf 4.4.0 unifies the underlying implementation of nodes and profiles to prevent divergence in their features and attributes going forward; but this necessitated an update to their respective command-line arguments to unify them as well. Changes to those arguments is detailed here:
wwctl node add
--discoverablebecomes--discoverable=true
wwctl node set
--addprofilehas been removed--assetkeybecomes--asset--delprofilehas been removed--discoverablebecomes--discoverable=true--netdeltagbecomes--nettagdel--nettagbecomes--nettagadd--systembecomes--wwinit--tagbecomes--tagadd--undiscoverablebecomes--discoverable=false
internal/app/wwctl/profile/set/root.go
--assetkeybecomes--asset--discoverablebecomes--discoverable=true--netdeltagbecomes--nettagdel--nettagbecomes--nettagadd--systembecomes--wwinit--tagbecomes--tagadd--undiscoverablebecomes--discoverable=false
All changes introduced since v4.3.0 are summarized below.
Added
- iPXE binaries included with Warewulf now support VLAN tagging. #563
wwctl container listnow shows the container creation date,
modification date, and size. #537wwctl node editsupports directly editing or defining node
configuration YAML in an editor. #540wwctl node exportandwwctl node importsupport importing and
exporting node definitions as YAML or (for import) CSV. The CSV file
must have a header in where the first field must always be the
nodename, and the rest of the fields are the same as the long
commandline options. Network device must have the form
net.$NETNAME.$NETOPTION. (e.g.,net.default.ipaddr) #540- The
warewulfd.servicesystemd unit file now supportsexecreload
andexecstop. #550 - Network interfaces now accept an
mtuattribute. #549 - The
wwinitoverlay now supports network interface configuration
via NetworkManager for Ethernet and InfiniBand interfaces. #539 - Default node attribute values (e.g., for kernel arguments) are now
read in from adefaults.confconfiguration file. If this file
is not present, built-in default values are used. #539 - Warewulf documentation is now managed
alongside the Warewulf source code in a single code repository so
that documentation may be updated alongside code changes. - New man pages for
warewulf.confandnodes.conf#510 - An initial cut of the Warewulf API #471
wwctl show --rendershows overlay templates as they would be
rendered on a given target node. #467wwctl sshnow supports Bash completion. #466- The environment variable
WW_CONTAINER_SHELLis defined in awwctl container shellenvironment to indicate the container in use. #579 - Network interface configuration (
ifcfg) files now include the
interface name and type. #457 - New
defaults.confman page. #593 - A new debug overlay includes a template which demonstrates accessing
all available variables. #599 - Distribute a README along with staticfiles. #189
- Add a
-yflag towwctl profile add. #610 - Distribute a source RPM with GitHub releases. #614
- New Docker container node image for CentOS 7. #621
Changed
wwctl overlay editno longer saves a new template to the overlay
if the template is not modified from its initial state. #522- The wwinit overlay now only sets a name for a network interface if
that interface has a MAC address defined. #553 wwctl container deletenow also deletes the built images
associated with that container. #214- Unified internal code paths for
wwctl profileandwwctl node
commands, and between the on disk YAML format and the in memory
format, enabling the command-line options to be autogenerated from
the datastructures and ensuring that profile and node capabilities
remain in sync. Multiple command line arguments have been updated or
changed. #495, #637 wwctl powercommands no longer separates node output with
additional whitespace. #514- No longer ask for confirmation when deleting 0 nodes. #603
- Ask for confirmation during
wwctl container delete. #606
Fixed
/etc/warewulf/excludes(read from the node image) once again
excludes files from being included in the node image. #532wwctl sshalways uses a node's primary interface. #544wwctl container shownow correctly shows the kernel version. #542- System users are no longer prevented from logging into compute
nodes. #538 wwctl overlay chownnow correctly handles uid and gid arguments. #530wwctl overlay chownno longer sets gid to0when unspecified. #531- Corrected the path for
.wwbackupfiles in some situations. #524 - Bypass
imgextractfor legacy BIOS machines to avoid 32-bit memory
limitations. #497 warewulfdno longer panics when network interface tags are
defined. #468- The wwinit overlay now configures the network device type. #465
- Minor typographical fixes. #528, #519
- Work-around for older versions of gzip that lack a
--keepflag
duringwwctl container build. #580 - The default ipxe template is once again specified as a built-in
default and indefaults.conf. #581 wwctl container listno longer segfaults when a container chroot
is present without a built image. #585wwctl configure hostfilenow correctly detects the presence of the
hostfile overlay template. #571wwctl overlay buildno longer panics when rendering an template
for a node which has tags set. #568- Minor typographical fixes. #569
- Directories within overlays no longer lose group/other write permissions #584
wwctl profile setnow indicates "profiles" in output where it
previously mistakenly indicated "nodes." #600- Set correct overlay permissions for a NetworkManager configuration
file. #591 - Replaced an invalid variable name in a NetworkManager overlay
template. #626 - The 'nodes' alias now correctly refers to 'node' rather than
'profile'. - Fixed a typo in a log message. #631
- Boolean attributes now correctly account for profile and default
values. #630 - Kernel version is shown correctly for symlink'd kernels #640