@nixpanic , Can you please have a look at the below issue. I think this may have to do with your commits beginning - 2f1114a0647f6a392a69fc15b66285aa7a46090f or later.
The gkdeploy script that I run fails with the below error:
gk-deploy -gvy --admin-key admin --user-key password --templates_dir -n glusterfs topology.json
fails with the below error:
Creating node shared-jenk-xx ... ID: b8c87673c51a25da0c3464252e2bb4c7", "Adding device /dev/mapper/dockergroup-thinpoolstorage ... Unable to add device: Device /dev/mapper/dockergroup-thinpoolstorage not found.", "Creating node shared-jenk-xx ... ID: 1e386f3bf49d1b9f79f4a7e8eda81ae9", "Adding device /dev/mapper/dockergroup-thinpoolstorage ... Unable to add device: Device /dev/mapper/dockergroup-thinpoolstorage not found.
In the deploy-heketi logs, I see this error for my 3 nodes in the cluster:
[kubeexec] ERROR 2019/10/21 22:44:48 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-rvszd c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found.
[kubeexec] ERROR 2019/10/21 22:44:50 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-fp2b8 c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found.
[kubeexec] ERROR 2019/10/21 22:44:52 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-njhzd c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found.
I am able to run the command manually directly on the node without any errors.
sudo pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'
@nixpanic , Can you please have a look at the below issue. I think this may have to do with your commits beginning - 2f1114a0647f6a392a69fc15b66285aa7a46090f or later.
The gkdeploy script that I run fails with the below error: gk-deploy -gvy --admin-key admin --user-key password --templates_dir -n glusterfs topology.json
fails with the below error: Creating node shared-jenk-xx ... ID: b8c87673c51a25da0c3464252e2bb4c7", "Adding device /dev/mapper/dockergroup-thinpoolstorage ... Unable to add device: Device /dev/mapper/dockergroup-thinpoolstorage not found.", "Creating node shared-jenk-xx ... ID: 1e386f3bf49d1b9f79f4a7e8eda81ae9", "Adding device /dev/mapper/dockergroup-thinpoolstorage ... Unable to add device: Device /dev/mapper/dockergroup-thinpoolstorage not found.
In the deploy-heketi logs, I see this error for my 3 nodes in the cluster: [kubeexec] ERROR 2019/10/21 22:44:48 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-rvszd c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found. [kubeexec] ERROR 2019/10/21 22:44:50 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-fp2b8 c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found. [kubeexec] ERROR 2019/10/21 22:44:52 heketi/pkg/remoteexec/kube/exec.go:85:kube.ExecCommands: Failed to run command [pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'] on [pod:glusterfs-njhzd c:glusterfs ns:glusterfs (from host:shared-jenk-xx selector:glusterfs-node)]: Err[command terminated with exit code 5]: Stdout []: Stderr [ Device /dev/mapper/dockergroup-thinpoolstorage not found.
I am able to run the command manually directly on the node without any errors. sudo pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/mapper/dockergroup-thinpoolstorage'