Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer prime doesn't update DataVolume to the next phase. #3537

Open
cybercoder opened this issue Nov 21, 2024 · 6 comments
Open

Importer prime doesn't update DataVolume to the next phase. #3537

cybercoder opened this issue Nov 21, 2024 · 6 comments
Labels

Comments

@cybercoder
Copy link

cybercoder commented Nov 21, 2024

I1121 00:33:03.728980       1 importer.go:107] Starting importer
I1121 00:33:03.729048       1 importer.go:182] begin import process
I1121 00:33:03.736205       1 data-processor.go:348] Calculating available size
I1121 00:33:03.736247       1 data-processor.go:360] Checking out file system volume size.
I1121 00:33:03.736263       1 data-processor.go:368] Request image size not empty.
I1121 00:33:03.736280       1 data-processor.go:373] Target size 25168240640.
I1121 00:33:03.736327       1 data-processor.go:247] New phase: TransferScratch
I1121 00:33:03.738594       1 util.go:96] Writing data...
I1121 00:37:05.840296       1 prometheus.go:78] 97.85
I1121 00:37:06.840612       1 prometheus.go:78] 97.85
I1121 00:37:07.842169       1 prometheus.go:78] 97.85
I1121 00:37:08.843085       1 prometheus.go:78] 97.85
I1121 00:37:09.844060       1 prometheus.go:78] 97.85
I1121 00:37:10.845217       1 prometheus.go:78] 97.85
I1121 00:37:11.846223       1 prometheus.go:78] 99.30
I1121 00:37:12.846907       1 prometheus.go:78] 100.00
I1121 00:37:26.917149       1 data-processor.go:247] New phase: Convert
I1121 00:37:26.927797       1 data-processor.go:253] Validating image
E1121 00:37:27.874393       1 prlimit.go:156] failed to kill the process; os: process already finished
I1121 00:37:27.875466       1 qemu.go:115] Running qemu-img with args: [convert -t writeback -p -O raw /scratch/tmpimage /data/disk.img]
I1121 00:37:27.938842       1 qemu.go:273] 0.00
I1121 00:37:31.032663       1 qemu.go:273] 1.00
I1121 00:37:33.919836       1 qemu.go:273] 2.00
I1121 00:37:47.141366       1 qemu.go:273] 3.00
I1121 00:37:56.610750       1 qemu.go:273] 4.00
I1121 00:38:10.037896       1 qemu.go:273] 5.00
I1121 00:38:19.051886       1 qemu.go:273] 6.00
I1121 00:38:21.520019       1 qemu.go:273] 7.00
I1121 00:38:37.622053       1 qemu.go:273] 8.00
I1121 00:38:40.247774       1 qemu.go:273] 9.00
I1121 00:38:57.842618       1 qemu.go:273] 10.00

But the DataVolumes shows 97% and doesn't restart.
This makes misunderstands in my GUI.
Environment:

  • CDI version : v1.60.3
    Screen Shot 1403-09-01 at 04 14 01
@awels
Copy link
Member

awels commented Nov 21, 2024

Normally the conversion process should be really fast compared to the import process. If the conversion is taking a long time, there some issue with the storage.

@akalenyu
Copy link
Collaborator

According to the logs, the import is not finished?

@cybercoder
Copy link
Author

According to the logs, the import is not finished?

There's two phases, import and convert. It just shows import progress on DataVolume

@cybercoder
Copy link
Author

Normally the conversion process should be really fast compared to the import process. If the conversion is taking a long time, there some issue with the storage.

same on a local ssd disk and a ceph cluster

@awels
Copy link
Member

awels commented Nov 22, 2024

So we purposely don't update progress on the conversion step, since as I said it normally takes so little time compared to the actual import step it didn't make sense to have a separate progress indicator for it. Let me just make sure I understand what your problem is. You want to have a separate progress indicator for the conversion step? Besides that it is working correctly?

@cybercoder
Copy link
Author

So we purposely don't update progress on the conversion step, since as I said it normally takes so little time compared to the actual import step it didn't make sense to have a separate progress indicator for it. Let me just make sure I understand what your problem is. You want to have a separate progress indicator for the conversion step? Besides that it is working correctly?

Just reset the importer progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants