Azure / Azure/local-csi-driver
xfs incompatibility with ubuntu-fips node image on AKS
- Dominant language
- Go
- Stars
- 33
- Forks
- 16
- Avg merge
- 10h 17m
- Merged PRs (30d)
- 28
Description
We use the version of XFS in the container when calling `mkfs.xfs`. This version of XFS is newer than the version included in the Ubuntu FIPS node image. It has an incompatibility with the version of XFS that results in a failure to mount the XFS FS on the node.
```log
I0702 20:14:03.176439 11492 combined.go:140] "gRPC error" method="/csi.v1.Node/NodeStageVolume" error=<
rpc error: code = Internal desc = mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t xfs -o defaults /dev/containerstorage/pvc-6d46d2e7-28a3-45a3-915e-f911deee865d /var/lib/kubelet/plugins/kubernetes.io/csi/localdisk.csi.acstor.io/0a69be711194964c8e97438d0017ad35fc5a2ea59ee325e5be7bca44aa268134/globalmount
Output: mount: /var/lib/kubelet/plugins/kubernetes.io/csi/localdisk.csi.acstor.io/0a69be711194964c8e97438d0017ad35fc5a2ea59ee325e5be7bca44aa268134/globalmount: wrong fs type, bad option, bad superblock on /dev/mapper/containerstorage-pvc--6d46d2e7--28a3--45a3--915e--f911deee865d, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
>
```
Contributor guide
Assessment
This issue has not been assessed yet.