Hello everyone,
I am currently trying to create a new model (virtualized at first) of my HPC clusters based on CentOS-7 with Warewulf 3.8.1 (from Github).
Previously, I used Warewulf-3.3.1 without any problems but, with this latest version, I am facing a disk partitioning one.
If in a first time I tried my usual command line:
[root@warewulf ~]# wwsh object modify -s FILESYSTEMS="dev=sda1:type=swap:size=1024,mountpoint=/:dev=sda2:type=ext3:size=fill" node003 —yes
I found in a discussion from a few months ago that in a 3.8.0+ version we should define partitioning in a dedicated file. So I also tried:
[root@warewulf ~]# cat /etc/warewulf/filesystem/my_partitioning.cmds
# BIOS / MBR Example
select /dev/sda
mklabel msdos
mkpart primary linux-swap 1MiB 1025MiB
mkpart primary ext3 1025MiB 100%
set 1 boot on
mkfs 1 swap
mkfs 2 ext4 -L root
fstab 2 / ext4 defaults 0 0
fstab 1 swap swap defaults 0 0
[root@warewulf ~]# wwsh object modify -s FILESYSTEMS=/etc/warewulf/filesystem/my_partitioning.cmds node003 —yes
But the result is the same for me: no partition created and no specific error in log files.
Below my node and provisioning definitions and, in attachments, the node's filesystem log file where I can find no explanation for the problem.
[root@warewulf ~]# wwsh bootstrap print
BOOTSTRAP NAME SIZE (M) ARCH
3.10.0-1062.12.1.el7.x86_64 30.1 x86_64
3.10.0-1062.9.1.el7.x86_64 30.1 x86_64
[root@warewulf ~]# wwsh node print node003
#### node003.cluster ##########################################################
node003.cluster: ID = 31
node003.cluster: NAME = node003,node003.cluster
node003.cluster: NODENAME = node003
node003.cluster: ARCH = x86_64
node003.cluster: CLUSTER = UNDEF
node003.cluster: DOMAIN = cluster
node003.cluster: GROUPS = cluster-nodes
node003.cluster: ENABLED = TRUE
node003.cluster: eth0.HWADDR = 08:00:27:25:57:46
node003.cluster: eth0.HWPREFIX = UNDEF
node003.cluster: eth0.IPADDR = 10.0.1.3
node003.cluster: eth0.NETMASK = 255.255.254.0
node003.cluster: eth0.NETWORK = 10.0.0.0
node003.cluster: eth0.GATEWAY = 10.0.0.100
node003.cluster: eth0.MTU = UNDEF
node003.cluster: eth0.FQDN = node003.cluster
[root@warewulf ~]# wwsh provision print node003
#### node003.cluster ##########################################################
node003.cluster: BOOTSTRAP = 3.10.0-1062.12.1.el7.x86_64
node003.cluster: VNFS = centos7-base-v2
node003.cluster: FILES = authorized_keys,dynamic_hosts
node003.cluster: PRESHELL = FALSE
node003.cluster: POSTSHELL = FALSE
node003.cluster: CONSOLE = UNDEF
node003.cluster: PXELINUX = UNDEF
node003.cluster: SELINUX = DISABLED
node003.cluster: KARGS = "net.ifnames=0 biosdevname=0 quiet"
node003.cluster: BOOTLOCAL = FALSE
[root@warewulf ~]# wwsh object -p:all print node003
#### node node003.cluster #####################################################
31: NAME = node003,node003.cluster
31: ARCH = x86_64
31: BOOTSTRAPID = 32
31: DISKFORMAT = sda1
31: DISKPARTITION = sda
31: DOMAIN = cluster
31: FILEIDS = 6,7
31: FILESYSTEMS = /etc/warewulf/filesystem/my_partitioning.cmds
31: GROUPS = cluster-nodes
31: KARGS = biosdevname=0,net.ifnames=0,quiet
31: NETDEVS = ObjectSet
NETDEVS.eth0.NAME = eth0
NETDEVS.eth0.FQDN = node003.cluster
NETDEVS.eth0.GATEWAY = 10.0.0.100
NETDEVS.eth0.HWADDR = 08:00:27:25:57:46
NETDEVS.eth0.IPADDR = 10.0.1.3
NETDEVS.eth0.NETMASK = 255.255.254.0
NETDEVS.eth0.NETWORK = 10.0.0.0
31: NODENAME = node003
31: VNFSID = 34
Maybe I missed something?
Any idea? Thanks in advance.
Ned