2021-10-04 15:57:59 +02:00
|
|
|
#
|
|
|
|
# spec file for package warewulf4
|
|
|
|
#
|
2023-01-16 10:44:28 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-10-04 15:57:59 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-01-19 12:33:09 +01:00
|
|
|
#%%define rls_cndt rc3
|
2023-01-16 10:44:28 +01:00
|
|
|
|
2021-10-04 15:57:59 +02:00
|
|
|
ExclusiveArch: x86_64 aarch64
|
|
|
|
|
|
|
|
Name: warewulf4
|
2023-01-16 10:44:28 +01:00
|
|
|
Version: 4.4.0
|
2021-10-04 15:57:59 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A suite of tools for clustering
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Clustering/Computing
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
URL: https://warewulf.org
|
2023-01-19 12:33:09 +01:00
|
|
|
Source0: https://github.com/hpcng/warewulf/archive/v%{version}%{?rls_cndt}.tar.gz#/warewulf4-v%{version}.tar.gz
|
2021-10-04 15:57:59 +02:00
|
|
|
Source1: vendor.tar.gz
|
|
|
|
Source3: warewulf4-rpmlintrc
|
2023-02-07 16:46:18 +01:00
|
|
|
Source10: config-ww4.sh
|
2023-01-24 17:07:05 +01:00
|
|
|
Patch1: make-ipxe-binary-source-configureable.patch
|
2023-02-07 16:46:18 +01:00
|
|
|
Patch2: CreateMt-Targets.patch
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
|
2021-10-04 15:57:59 +02:00
|
|
|
# no firewalld in sle12
|
|
|
|
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} > 1500
|
|
|
|
BuildRequires: firewalld
|
|
|
|
%endif
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
BuildRequires: dracut
|
2021-10-04 15:57:59 +02:00
|
|
|
BuildRequires: go >= 1.15
|
|
|
|
BuildRequires: golang-packaging
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
BuildRequires: libgpgme-devel
|
2021-10-04 15:57:59 +02:00
|
|
|
BuildRequires: make
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
BuildRequires: munge
|
2023-02-07 16:46:18 +01:00
|
|
|
BuildRequires: suse-release
|
2021-10-04 15:57:59 +02:00
|
|
|
BuildRequires: sysuser-tools
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
BuildRequires: tftp
|
2023-01-24 17:07:05 +01:00
|
|
|
BuildRequires: yq
|
2021-10-04 15:57:59 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2023-01-24 17:07:05 +01:00
|
|
|
#Requires: %{name}-ipxe = %{version}
|
2023-01-19 12:33:09 +01:00
|
|
|
Requires: %{name}-overlay = %{version}
|
2023-01-24 17:07:05 +01:00
|
|
|
Recommends: dhcp-server
|
|
|
|
Recommends: ipmitool
|
|
|
|
Recommends: ipxe-bootimgs
|
|
|
|
Recommends: nfs-kernel-server
|
|
|
|
Recommends: tftp
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%{go_nostrip}
|
|
|
|
|
|
|
|
%description
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
Warewulf v4 combines ultra scalability, flexibility, and simplicity with being
|
|
|
|
light weight, non-intrusive, and a great tool for scientists and seasoned
|
|
|
|
system administrators alike. Warewulf empowers you to scalably and easily
|
|
|
|
manage thousands of compute resources.
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%package overlay
|
2021-10-29 16:17:00 +02:00
|
|
|
# Smells like a circular dependcy, but needed in this case as the
|
|
|
|
# files belong to the warewulf user
|
|
|
|
Requires(pre): %{name}
|
2021-10-04 15:57:59 +02:00
|
|
|
Summary: Default overlay for warewulf
|
|
|
|
Group: Productivity/Clustering/Computing
|
|
|
|
|
|
|
|
%description overlay
|
|
|
|
Includes the default overlays so that they can be updated seprately.
|
|
|
|
|
2023-01-16 10:44:28 +01:00
|
|
|
%package api
|
|
|
|
Requires: %{name}
|
|
|
|
Summary: Contains the service for the warewulf rest API
|
|
|
|
|
|
|
|
%description api
|
|
|
|
Containts the binaries for the access of warewulf through a rest API and from the commandline from an external host.
|
|
|
|
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%package ipxe
|
|
|
|
Summary: Binaries of iPXE for ww4 installation
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description ipxe
|
|
|
|
For the boot of the nodes iPXE binaries are needed. As these package includes these files for
|
|
|
|
x86, i386 and ARM.
|
2023-01-24 17:07:05 +01:00
|
|
|
These are the binaries from the upstream project.
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
|
|
|
|
%package slurm
|
|
|
|
Summary: Configuration template for slurm
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: slurm
|
|
|
|
|
|
|
|
%description slurm
|
|
|
|
This package install the necessary configuration files in order to run a slurm
|
|
|
|
cluster on the configured warewulf nodes.
|
|
|
|
|
2021-10-04 15:57:59 +02:00
|
|
|
%prep
|
2023-01-19 12:33:09 +01:00
|
|
|
%setup -q -n warewulf-%{version}%{?rls_cndt}
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
# extract the vendor stuff
|
|
|
|
tar xzf %{S:1}
|
2021-10-04 15:57:59 +02:00
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
%build
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%global tftpdir /srv/tftpboot
|
|
|
|
make %{?_smp_mflags} genconfig \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
BINDIR=%{_bindir} \
|
|
|
|
SYSCONFDIR=%{_sysconfdir} \
|
2023-01-24 17:07:05 +01:00
|
|
|
DATADIR=%{_datadir}/ipxe \
|
2023-01-19 12:33:09 +01:00
|
|
|
LOCALSTATEDIR=%{_datadir} \
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
SHAREDSTATEDIR=%{_sharedstatedir} \
|
|
|
|
MANDIR=%{_mandir} \
|
|
|
|
INFODIR=%{_infodir} \
|
|
|
|
DOCDIR=%{_docdir} \
|
|
|
|
SRVDIR=%{_sharedstatedir} \
|
|
|
|
TFTPDIR=%{tftpdir} \
|
|
|
|
SYSTEMDDIR=%{_unitdir} \
|
|
|
|
BASHCOMPDIR=%{_datadir}/bash-completion/completions/ \
|
|
|
|
FIREWALLDDIR=/usr/lib/firewalld/services \
|
|
|
|
WWCLIENTDIR=/warewulf
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%install
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
# we have a broken symlink for wwclient
|
|
|
|
export NO_BRP_STALE_LINK_ERROR=yes
|
|
|
|
%{makeinstall}
|
|
|
|
|
|
|
|
# cleanup
|
2023-01-19 12:33:09 +01:00
|
|
|
mv %{buildroot}%{_datadir}/warewulf/overlays/host/etc/dhcp/dhcpd.conf.ww \
|
|
|
|
%{buildroot}%{_datadir}//warewulf/overlays/host/etc/dhcpd.conf.ww
|
|
|
|
rmdir %{buildroot}%{_datadir}/warewulf/overlays/host/etc/dhcp
|
|
|
|
rm %{buildroot}%{_datadir}/warewulf/overlays/host/etc/dhcpd.conf
|
2021-10-04 15:57:59 +02:00
|
|
|
mkdir -p %{buildroot}%{_sbindir}/
|
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcwarewulfd
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
2021-10-04 15:57:59 +02:00
|
|
|
mv -v %{buildroot}%{_sysconfdir}/bash_completion.d/warewulf %{buildroot}%{_datadir}/bash-completion/completions/wwctl
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
#cp %{S:2} %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
|
|
|
#rm -rf %{buildroot}%{_datadir}/warewulf/ipxe
|
|
|
|
rm -f %{buildroot}/usr/share/doc/packages/warewulf/LICENSE.md
|
2023-01-24 17:07:05 +01:00
|
|
|
rm -rf %{buildroot}%{_localstatedir}/lib/warewulf
|
|
|
|
# use ipxe-bootimgs images
|
|
|
|
yq e '
|
|
|
|
.tftp.ipxe."00:00" = "undionly.kpxe" |
|
|
|
|
.tftp.ipxe."00:07" = "ipxe-x86_64.efi" |
|
|
|
|
.tftp.ipxe."00:09" = "ipxe-x86_64.efi" |
|
2023-02-07 16:46:18 +01:00
|
|
|
.tftp.ipxe."00:0B" = "snp-arm64.efi" |
|
|
|
|
.["container mounts"] += {"source": "/etc/SUSEConnect", "dest": "/etc/SUSEConnect", "readonly": true} |
|
|
|
|
.["container mounts"] += {"source": "/etc/zypp/credentials.d/SCCcredentials", "dest": "/etc/zypp/credentials.d/SCCcredentials", "readonly": true}' \
|
2023-01-24 17:07:05 +01:00
|
|
|
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
|
|
|
sed -i 's@\(^\s*\)\(.*:.*\):@\1"\2":@' %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
|
2021-10-04 15:57:59 +02:00
|
|
|
# create systemuser
|
|
|
|
echo "u warewulf -" > system-user-%{name}.conf
|
|
|
|
echo "g warewulf -" >> system-user-%{name}.conf
|
|
|
|
%sysusers_generate_pre system-user-%{name}.conf %{name} system-user-%{name}.conf
|
|
|
|
install -D -m 644 system-user-%{name}.conf %{buildroot}%{_sysusersdir}/system-user-%{name}.conf
|
2023-02-07 16:46:18 +01:00
|
|
|
install -D -m 755 %{S:10} %{buildroot}%{_datadir}/warewulf/scripts/config-warewulf.sh
|
2021-10-04 15:57:59 +02:00
|
|
|
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
# get the slurm package readay
|
2023-01-24 17:07:05 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/warewulf/overlays/host/etc/slurm
|
|
|
|
mv %{buildroot}%{_sysconfdir}/warewulf/examples/slurm.conf.ww %{buildroot}%{_datadir}/warewulf/overlays/host/etc/slurm
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/warewulf/overlays/generic/etc/munge
|
|
|
|
cat > %{buildroot}%{_datadir}/warewulf/overlays/generic/etc/munge/munge.key.ww <<EOF
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
{{ Include "/etc/munge/munge.key" -}}
|
|
|
|
EOF
|
2023-01-24 17:07:05 +01:00
|
|
|
chmod 600 %{buildroot}%{_datadir}/warewulf/overlays/generic/etc/munge/munge.key.ww
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/warewulf/overlays/generic/etc/slurm
|
|
|
|
cat > %{buildroot}%{_datadir}/warewulf/overlays/generic/etc/slurm/slurm.conf.ww <<EOF
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
{{ Include "/etc/slurm/slurm.conf" }}
|
|
|
|
EOF
|
|
|
|
|
2021-10-04 15:57:59 +02:00
|
|
|
%pre -f %{name}.pre
|
|
|
|
%service_add_pre warewulfd.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%service_add_post warewulfd.service
|
2023-02-07 16:46:18 +01:00
|
|
|
%{_datadir}/warewulf/scripts/config-warewulf.sh
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun warewulfd.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun warewulfd.service
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.md
|
2021-10-04 15:57:59 +02:00
|
|
|
%attr(0755, root, warewulf) %dir %{_sysconfdir}/warewulf
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%attr(0755, root, warewulf) %dir %{_sysconfdir}/warewulf/examples
|
2021-10-04 15:57:59 +02:00
|
|
|
%{_datadir}/bash-completion/completions/wwctl
|
|
|
|
%{_mandir}/man1/wwctl*1.gz
|
2023-01-16 10:44:28 +01:00
|
|
|
%{_mandir}/man5/*conf*gz
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/warewulf/nodes.conf
|
2021-10-04 15:57:59 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/warewulf/warewulf.conf
|
2023-01-16 10:44:28 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/warewulf/defaults.conf
|
2023-01-24 17:07:05 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/warewulf/ipxe
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%{_sysconfdir}/warewulf/examples
|
2021-10-04 15:57:59 +02:00
|
|
|
%{_prefix}/lib/firewalld/services/warewulf.xml
|
2023-01-24 17:07:05 +01:00
|
|
|
%exclude %{_datadir}/warewulf/overlays
|
2021-10-04 15:57:59 +02:00
|
|
|
%{_bindir}/wwctl
|
|
|
|
%{_sbindir}/rcwarewulfd
|
|
|
|
%{_unitdir}/warewulfd.service
|
|
|
|
%{_sysusersdir}/system-user-%{name}.conf
|
2023-02-07 16:46:18 +01:00
|
|
|
%{_datadir}/warewulf/scripts
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%files overlay
|
2021-10-29 16:17:00 +02:00
|
|
|
# The configuration files in this location are for the compute
|
|
|
|
# nodes, so when modified we do not replace them as sensible
|
|
|
|
# admin will read the changelog
|
2023-01-24 17:07:05 +01:00
|
|
|
%dir %{_datadir}/warewulf/
|
|
|
|
%config(noreplace) %{_datadir}/warewulf/overlays
|
|
|
|
%exclude %{_datadir}/warewulf/overlays/host/etc/slurm
|
|
|
|
%exclude %{_datadir}/warewulf/overlays/generic/etc/slurm
|
|
|
|
%exclude %{_datadir}/warewulf/overlays/generic/etc/munge
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
|
|
|
|
%files ipxe
|
2023-01-24 17:07:05 +01:00
|
|
|
%{_datadir}/ipxe
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
|
2023-01-16 10:44:28 +01:00
|
|
|
%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
|
|
|
|
|
Accepting request 970166 from home:mslacken:pr
- update to v4.3.0rc2 with following major changes:
* Provision interface is not tied to 'eth0' any more. The provision interface
must be named 'default' now. The file `nodes.yaml' must be changed accordingly.
* Creating of '/etc/exports' can now be disabled, so that wwctl configure -a
wont overwrite a existing '/etc/exports'.
* All configurations files for the host (/etc/exports, /etc/dhcpd.conf,
/etc/hosts) are now populated from the
(OVERLAYDIR/host/etc/{exports|dhcpd|hosts}.ww . Also other configuration
files like prometheus.yml.ww or slurm.conf.ww which depend on the cluster
nodes can be placed. Also the new templated functions {{ abort }},
{{ IncludeBlock }} abd {{ no_backup }} are allowed now.
* nodes and profiles can now have multiple system and runtime overlays, as a
comma separated list.
* The overlays of the profile and the nodes are combined.
* Simple ipv6 support is now enabled. In warewulf.conf the option
ipaddr6/Ipv6net must be set to enable ipv6. If enabled on of these options
is set a node will get a derived ipv6 in the scheme ipv6net:ipaddr4. This
address can also be overwritten for every node
* Multiple files can now created from a single template.ww file with the {{ file FILENAME }}
command in the template. The command is expanded to the magic template command
{{ /* file FILENAME */}} which is picked up by wwctl and everything which comes after this
magic comment will be written to the file FILENAME. This mechanism is leveraged in the
configuration files for the network, see ifcfg.xml.ww and ifcgf.ww.
* Networks can now have arbitrary keys value pairs in the profiles and on the node, so that
things like bridges and mtu sizes can be set
* The yaml format for nodes has now sub-keys for ipmi and kernel, old nodes.conf files have to
to be changed accordingly
* uids and gids of a container now get synced at import time, so that at least users with the
same name have the same uid. This is not necessarily needed for warewulf, but services like
munge.
OBS-URL: https://build.opensuse.org/request/show/970166
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=6
2022-04-14 15:46:48 +02:00
|
|
|
%files slurm
|
2023-01-24 17:07:05 +01:00
|
|
|
%dir %{_datadir}/warewulf/overlays/host/etc/slurm
|
|
|
|
%{_datadir}/warewulf/overlays/host/etc/slurm/slurm.conf.ww
|
|
|
|
%dir %{_datadir}/warewulf/overlays/generic/etc/slurm
|
|
|
|
%{_datadir}/warewulf/overlays/generic/etc/slurm/slurm.conf.ww
|
|
|
|
%dir %{_datadir}/warewulf/overlays/generic/etc/munge
|
|
|
|
%{_datadir}/warewulf/overlays/generic/etc/munge/munge.key.ww
|
|
|
|
%dir %attr(0700,munge,munge) %{_datadir}/warewulf/overlays/generic/etc/munge
|
|
|
|
%attr(0600,munge,munge) %config(noreplace) %{_datadir}/warewulf/overlays/generic/etc/munge/munge.key.ww
|
2021-10-04 15:57:59 +02:00
|
|
|
|
|
|
|
%changelog
|