awslabs / idf-modules

Industry Data Framework (IDF) IAC modules repository
Apache License 2.0
25 stars 14 forks source link

[BUG] cannot mount fsx in eks #293

Closed swirkert1 closed 1 month ago

swirkert1 commented 1 month ago

Describe the bug Cannot mount fsx in eks using a pvc

To Reproduce

  1. create eks cluster [: git::https://github.com/awslabs/idf-modules.git//modules/compute/eks?ref=release/1.11.0&depth=1](path: git::https://github.com/awslabs/idf-modules.git//modules/compute/eks?ref=release/1.11.0&depth=1)
  2. create fsx for lustre path: git::https://github.com/awslabs/idf-modules.git//modules/storage/fsx-lustre?ref=release/1.11.0&depth=1
  3. use integration module to bind them together path: git::https://github.com/awslabs/idf-modules.git//modules/integration/fsx-lustre-on-eks?ref=95a165f483265cefa8b2b749aa129df46a1e8a24&depth=1"

This gives me the error:

Warning FailedMount 26s (x4 over 29s) kubelet MountVolume.MountDevice failed for volume "integration-lustre-on-eks-fsx-pv" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name fsx.csi.aws.com not found in the list of registered CSI drivers

This didnt happen on github.com_awslabs_autonomous-driving-data-framework_release_3.1.0

Expected behavior mounting fsx works

Screenshots

see error above after running kubectl describe pod

swirkert1 commented 1 month ago

Actually, this was most likely error on my side