Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-22994

[2149409] HPP mounter deployment can't mount as unprivileged

XMLWordPrintable

    • Storage Core Sprint 231
    • Important
    • No

      Description of problem:
      Mounter is running as USER 1000 and thus cannot perform the mount operation

      Version-Release number of selected component (if applicable):
      CNV 4.12.0

      How reproducible:
      100%

      Steps to Reproduce:
      1. Install HPP
      2.
      3.

      Actual results:
      Failed mounting "Output","out":"mount: only root can do that\n"

      Expected results:
      Mounter succeeds mounting

      Additional info:

      {"level":"error","ts":1669748871.4062114,"logger":"mounter","msg":"failed to mount device to path on host.","error":"exit status 1","stacktrace":"main.mountBlockVolume\n\t/home/prow/go/src/github.com/kubevirt/hostpath-provisioner-operator/cmd/mounter/main.go:256\nmain.main\n\t/home/prow/go/src/github.com/kubevirt/hostpath-provisioner-operator/cmd/mounter/main.go:161\nruntime.main\n\t/root/.gimme/versions/go1.18.2.linux.amd64/src/runtime/proc.go:250"} {"level":"info","ts":1669748871.4063103,"logger":"mounter","msg":"Output","out":"mount: only root can do that\n"}

              rhn-support-awels Alexander Wels
              akalenyu Alex Kalenyuk
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: