containerized-data-importer: cdi importer: open /data/disk.img: permission denied

This requires some SELinux magic to fix - not sure if this error will be addressed by ansible and the automated parts of the setup? But for now, we should document that if you hit this error to:

setenforce 0

or maybe there is a more elegant way

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

the following would do the trick on a oc cluster up setup

setfacl -m user:107:rwx /root/openshift.local.clusterup/openshift.local.pv/pv*

note this would be for 3.10 , for 3.9, the command would be

setfacl -m user:107:rwx /var/lib/origin/openshift.local.pv/pv*