Bug 1743248 - CDI - Data Importer - /data/disk.img Permission denied
Summary: CDI - Data Importer - /data/disk.img Permission denied
Keywords:
Status: CLOSED DUPLICATE of bug 1738620
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.1.0
Assignee: Adam Litke
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-19 12:58 UTC by Asher Shoshan
Modified: 2019-08-19 13:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 13:31:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Asher Shoshan 2019-08-19 12:58:50 UTC
Description of problem:
Create a datavolume

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Importer-Pod log:
[root@cnv-qe-02 ~]# oc logs importer-vm-cirros2-g8v4r
I0819 12:55:12.248368       1 importer.go:51] Starting importer
I0819 12:55:12.248529       1 importer.go:107] begin import process
I0819 12:55:12.732865       1 data-processor.go:252] Calculating available size
I0819 12:55:12.735801       1 data-processor.go:260] Checking out file system volume size.
I0819 12:55:12.735821       1 data-processor.go:264] Request image size not empty.
I0819 12:55:12.735832       1 data-processor.go:269] Target size 1019609088.
I0819 12:55:12.818069       1 data-processor.go:182] New phase: Convert
I0819 12:55:12.818089       1 data-processor.go:188] Validating image
I0819 12:55:13.934228       1 qemu.go:213] 0.00
E0819 12:55:14.999761       1 prlimit.go:158] qemu-img failed output is:
E0819 12:55:15.001028       1 prlimit.go:159]     (0.00/100%)qemu-img: /data/disk.img: error while converting raw: Could not create file: Permission denied
E0819 12:55:15.001058       1 data-processor.go:179] exit status 1
qemu-img execution failed
kubevirt.io/containerized-data-importer/pkg/system.ExecWithLimits
	/go/src/kubevirt.io/containerized-data-importer/pkg/system/prlimit.go:160
kubevirt.io/containerized-data-importer/pkg/image.(*qemuOperations).ConvertToRawStream
	/go/src/kubevirt.io/containerized-data-importer/pkg/image/qemu.go:119
kubevirt.io/containerized-data-importer/pkg/importer.(*DataProcessor).convert
	/go/src/kubevirt.io/containerized-data-importer/pkg/importer/data-processor.go:203
kubevirt.io/containerized-data-importer/pkg/importer.(*DataProcessor).ProcessData

Comment 1 Gowrishankar Rajaiyan 2019-08-19 13:04:00 UTC
Dupe of Bug 1738442 ?

Comment 2 Asher Shoshan 2019-08-19 13:31:07 UTC
happening on 2.1 as well

*** This bug has been marked as a duplicate of bug 1738620 ***


Note You need to log in before you can comment on or make changes to this bug.