SHA256
1
0
forked from pool/warewulf4

Accepting request 1056234 from home:mslacken:pr

- updated to version v0.4.4 with following changes:
  * Changed internal interacation between the on disk YAML format and the in memory
    format. This enables the command line options to be autogenerated from the datastructures.
    Also this keeps the options for profiles and node set/add commands in strict sync.
  * Added node edit/export/import where the edit command exposes the YAML config for the
    given nodes in an editor. Nodes can also be added with this command. The export command
    simply drops the YAML config for the given nodes. With the import command nodes can be
    imported as YAML or as a CSV file. The CSV file must havr a header in where the first field
    must always be the nodename, the rest of the fields are the same as the long commandline
    options. Network device must have the form net.$NETNAME.$NETOPTION, which would e.g. be
    net.default.ipaddr
  * The default value (like kernel args) are no read in from the configuration file
    defaults.conf. If this file couldn't be read built in default values will be used.
  * Template files for NetworkManager are now present in the wwinit overlay. A interface must
    have the type ethernet or infiniband that these will be brought up by NetworkManager
  * Listings of container via wwctl container list will now show the creation,modification
    date and the size.
  * Initial cut of the warewulf API.

OBS-URL: https://build.opensuse.org/request/show/1056234
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=17
This commit is contained in:
Egbert Eich 2023-01-16 09:44:28 +00:00 committed by Git OBS Bridge
parent 4f94740dc6
commit 2b99b44c35
5 changed files with 51 additions and 15 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7f581d6646f04eaca87287ff924a728e345cbcf331e4f9972990276cb7a5840
size 4839581
oid sha256:8842e76c0269092bec395d839e4b0484da961377fad2f341feb8b015755716de
size 5197800

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1e8024eced67604f11e219afcc3a755a3c422c160b40b252f0db1b6a52de425
size 1261900

3
warewulf4-v4.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc206a9bf9359a5a69a04ff8ad061af315b79c72ef4e3c2ab4822ea1f6edec6e
size 1477824

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Jan 5 16:08:19 UTC 2023 - Christian Goll <cgoll@suse.com>
- updated to version v0.4.4 with following changes:
* Changed internal interacation between the on disk YAML format and the in memory
format. This enables the command line options to be autogenerated from the datastructures.
Also this keeps the options for profiles and node set/add commands in strict sync.
* Added node edit/export/import where the edit command exposes the YAML config for the
given nodes in an editor. Nodes can also be added with this command. The export command
simply drops the YAML config for the given nodes. With the import command nodes can be
imported as YAML or as a CSV file. The CSV file must havr a header in where the first field
must always be the nodename, the rest of the fields are the same as the long commandline
options. Network device must have the form net.$NETNAME.$NETOPTION, which would e.g. be
net.default.ipaddr
* The default value (like kernel args) are no read in from the configuration file
defaults.conf. If this file couldn't be read built in default values will be used.
* Template files for NetworkManager are now present in the wwinit overlay. A interface must
have the type ethernet or infiniband that these will be brought up by NetworkManager
* Listings of container via wwctl container list will now show the creation,modification
date and the size.
* Initial cut of the warewulf API.
-------------------------------------------------------------------
Tue Jun 21 14:44:06 UTC 2022 - Christian Goll <cgoll@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package warewulf4
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,16 +16,18 @@
#
%define rc rc3
ExclusiveArch: x86_64 aarch64
Name: warewulf4
Version: 4.3.0
Version: 4.4.0
Release: 0
Summary: A suite of tools for clustering
License: BSD-3-Clause
Group: Productivity/Clustering/Computing
URL: https://warewulf.org
Source0: https://github.com/hpcng/warewulf/archive/v%{version}.tar.gz#/warewulf4-v%{version}.tar.gz
Source0: https://github.com/hpcng/warewulf/archive/v%{version}%{?rc}.tar.gz#/warewulf4-v%{version}.tar.gz
Source1: vendor.tar.gz
Source3: warewulf4-rpmlintrc
@ -66,6 +68,14 @@ Group: Productivity/Clustering/Computing
%description overlay
Includes the default overlays so that they can be updated seprately.
%package api
Requires: %{name}
Summary: Contains the service for the warewulf rest API
BuildArch: noarch
%description api
Containts the binaries for the access of warewulf through a rest API and from the commandline from an external host.
%package ipxe
Requires: tftp
Summary: Binaries of iPXE for ww4 installation
@ -85,7 +95,7 @@ This package install the necessary configuration files in order to run a slurm
cluster on the configured warewulf nodes.
%prep
%setup -q -n warewulf-%{version}
%setup -q -n warewulf-%{version}%{?rc}
# extract the vendor stuff
tar xzf %{S:1}
%autopatch -p1
@ -167,11 +177,10 @@ EOF
%attr(0755, root, warewulf) %dir %{_sysconfdir}/warewulf/ipxe
%{_datadir}/bash-completion/completions/wwctl
%{_mandir}/man1/wwctl*1.gz
%{_mandir}/man5/*conf*gz
%config(noreplace) %{_sysconfdir}/warewulf/nodes.conf
%config(noreplace) %{_sysconfdir}/warewulf/warewulf.conf
#%config(noreplace) %{_sysconfdir}/warewulf/wwapic.conf
#%config(noreplace) %{_sysconfdir}/warewulf/wwapid.conf
#%config(noreplace) %{_sysconfdir}/warewulf/wwapird.conf
%config(noreplace) %{_sysconfdir}/warewulf/defaults.conf
%config(noreplace) %{_sysconfdir}/warewulf/ipxe/*.ipxe
%{_sysconfdir}/warewulf/examples
@ -179,9 +188,6 @@ EOF
%{_localstatedir}/lib/warewulf
%exclude %{_localstatedir}/lib/warewulf/overlays
%{_bindir}/wwctl
#%{_bindir}/wwapic
#%{_bindir}/wwapid
#%{_bindir}/wwapird
%{_sbindir}/rcwarewulfd
%{_unitdir}/warewulfd.service
%{_sysusersdir}/system-user-%{name}.conf
@ -199,6 +205,14 @@ EOF
#/srv/tftpboot/warewulf
%{_datadir}/warewulf
%files api
%{_bindir}/wwapic
%{_bindir}/wwapid
%{_bindir}/wwapird
%config(noreplace) %{_sysconfdir}/warewulf/wwapic.conf
%config(noreplace) %{_sysconfdir}/warewulf/wwapid.conf
%config(noreplace) %{_sysconfdir}/warewulf/wwapird.conf
%files slurm
%dir %{_localstatedir}/lib/warewulf/overlays/host/etc/slurm
%{_localstatedir}/lib/warewulf/overlays/host/etc/slurm/slurm.conf.ww