Skip to content

TopoLVM cannot create volumes on MacOS/Podman #204

@suleymanakbas91

Description

@suleymanakbas91

On MacOS/Podman, device-mapper doesn't fully work, so TopoLVM pods run but PVC provisioning fails.

Steps to reproduce

  1. Deploy MicroShift on Podman running on MacOS using a prebuilt image.
  2. Wait until the cluster is mostly running. The TopoLVM pods would be failing because LVM isn't available (expected on macOS), but the core components are working.
  3. Create the LVM backend on the container and create a loop device, and the volume group to test with.
  4. Restart TopoLVM pods to pick up the new volume group.
  5. TopoLVM pods start running.
  6. Create a Pod/PVC pair, the pod ends up stuck in Pending state.

The LVM can create logical volumes but the device nodes aren't appearing in /dev. This seems to be a limitation of LVM inside a container on MacOS/Podman, the device mapper setup isn't complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions