hi,
I tried to import qcow2 vm image (1.1) on ovirt.
My version of ovirt is 4.1.6.2-1.el7.centos on centos.
By admin portal I click on Disk-> Upload -> Start
then I choose a file qcow2, I set the dimension and alias, but after
inizialization the following message appears:
Unable to upload image to disk a8c878e2-8255-4aa1-8954-a76e0bdf3b88 due
to a network error. Make sure ovirt-imageio-proxy service is installed
and configured, and ovirt-engine's certificate is registered as a valid
CA in the browser. The certificate can be fetched from
https://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
I have registered the certificate in the browser but nothing not work.
I tried with Firefox and Chromium browsers.
I tried to modify the ovirt-imageio-proxy.conf with setting 'use_ssl =
false' but not work.
I attach engine logs
How can I solve? Thank very much
Regards
Nick
Il 08/09/2016 09:00, Yaniv Dary ha scritto:
Can you send a screenshot of your browser when the issue happens?
Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem
Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9)
7692306 8272306 Email: [email protected] <mailto:[email protected]> IRC
: ydary
On Fri, Sep 2, 2016 at 11:10 PM, MartÃn Follonier
<[email protected] <mailto:[email protected]>> wrote:
Hi,
I've done all the recommendations in this thread, and I'm still
getting the "Paused by System" message just after the transfer starts.
Honestly I don't know were else to look at, cause I don't find any
log entry or packet capture that give me a hint about what is
happening.
I'll appreciate any help! Thank you in advance!
Regards
Martin
On Thu, Sep 1, 2016 at 5:01 PM, Amit Aviram <[email protected]
<mailto:[email protected]>> wrote:
> You can do both,
> Through the database, the table is "vdc_options". change "option_value"
> where "option_name" = 'ImageProxyAddress' .
>
> On Thu, Sep 1, 2016 at 4:56 PM, Gianluca Cecchi <[email protected]
<mailto:[email protected]>
> > wrote:
>
>> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram <[email protected]
<mailto:[email protected]>> wrote:
>>
>>> You can just replace this value in the DB and change it to the right
>>> FQDN, it is a config value named "ImageProxyAddress". replace
"localhost"
>>> with the right address (notice that the port is there too).
>>>
>>> If this will keep happen after users will have the latest version, we
>>> will have to open a bug and fix whatever causes the URL to be
"localhost".
>>>
>>>
>> Do you mean through "engine-config" or directly into database?
>> In this second case which is the table involved?
>>
>> Gianluca
>>
>
>
[root@ractorshe bin]# systemctl stop ovirt-imageio-proxy
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id | option_name | option_value | version
-----------+-------------------+-----------------+---------
950 | ImageProxyAddress | localhost:54323 | general
(1 row)
engine=# update vdc_options set option_value='ractorshe.mydomain:54323'
where option_name='ImageProxyAddress';
UPDATE 1
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id | option_name | option_value |
version
-----------+-------------------+--------------------------------------+---------
950 | ImageProxyAddress | ractorshe.mydomain:54323 | general
(1 row)
engine=#
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id | option_name | option_value |
version
-----------+-------------------+--------------------------------------+---------
950 | ImageProxyAddress | ractorshe.mydomain:54323 | general
(1 row)
systemctl stop ovirt-engine
(otherwise it remained localhost)
systemctl start ovirt-engine
systemctl start ovirt-imageio-proxy
Now transfer is ok.
I tried a qcow2 disck configured as 40Gb but containing about 1.6Gb of data.
I'm going to connect it to a VM and see if all is ok also from a contents
point of view.
Gianluca
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users
2017-10-04 10:42:19,526+02 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand] (pool-5-thread-2) [ec9232cb-055a-476e-82cd-39b60966b5ce] START, CreateImageVDSCommand( CreateImageVDSCommandParameters:{runAsync='true', storagePoolId='00000001-0001-0001-0001-000000000311', ignoreFailoverLimit='false', storageDomainId='a9f9c45c-60e9-4085-a76b-1e80ad8e4ab3', imageGroupId='a8c878e2-8255-4aa1-8954-a76e0bdf3b88', imageSizeInBytes='21474836480', volumeFormat='COW', newImageId='f3f3c147-423c-43df-8d6b-3be25ad722b3', imageType='Sparse', newImageDescription='{"DiskAlias":"centimp","DiskDescription":"test importazione da kvm"}', imageInitialSizeInBytes='16108814336'}), log id: 7af99863
2017-10-04 10:42:36,397+02 INFO [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] (DefaultQuartzScheduler2) [ec9232cb-055a-476e-82cd-39b60966b5ce] Successfully added Upload disk 'centimp' (id 'a8c878e2-8255-4aa1-8954-a76e0bdf3b88') for image transfer command '46d57b36-50b5-4e21-9821-31ed6a867181'
2017-10-04 10:42:38,139+02 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.SetVolumeLegalityVDSCommand] (DefaultQuartzScheduler2) [ec9232cb-055a-476e-82cd-39b60966b5ce] START, SetVolumeLegalityVDSCommand( SetVolumeLegalityVDSCommandParameters:{runAsync='true', storagePoolId='00000001-0001-0001-0001-000000000311', ignoreFailoverLimit='false', storageDomainId='a9f9c45c-60e9-4085-a76b-1e80ad8e4ab3', imageGroupId='a8c878e2-8255-4aa1-8954-a76e0bdf3b88', imageId='f3f3c147-423c-43df-8d6b-3be25ad722b3'}), log id: 30fea234
2017-10-04 10:42:39,273+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.AddImageTicketVDSCommand] (DefaultQuartzScheduler2) [ec9232cb-055a-476e-82cd-39b60966b5ce] START, AddImageTicketVDSCommand(HostName = ov1, AddImageTicketVDSCommandParameters:{runAsync='true', hostId='705b263f-2762-4215-bf6d-f697147705a6', ticketId='379d8f61-87f9-46c8-b238-f839bc170845', timeout='300', operations='[write]', size='16108814336', url='file:///rhev/data-center/00000001-0001-0001-0001-000000000311/a9f9c45c-60e9-4085-a76b-1e80ad8e4ab3/images/a8c878e2-8255-4aa1-8954-a76e0bdf3b88/f3f3c147-423c-43df-8d6b-3be25ad722b3'}), log id: 2f2f5a34
2017-10-04 10:42:40,290+02 INFO [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (DefaultQuartzScheduler2) [ec9232cb-055a-476e-82cd-39b60966b5ce] Updating image upload 46d57b36-50b5-4e21-9821-31ed6a867181 (image a8c878e2-8255-4aa1-8954-a76e0bdf3b88) phase to Transferring (message: 'Initiating new upload')
2017-10-04 10:42:53,035+02 INFO [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default task-24) [a73c7609-db36-4210-b4c9-b339275885d0] Updating image upload 46d57b36-50b5-4e21-9821-31ed6a867181 (image a8c878e2-8255-4aa1-8954-a76e0bdf3b88) phase to Paused by System (message: 'Sent 0MB')
2017-10-04 10:42:53,048+02 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-24) [a73c7609-db36-4210-b4c9-b339275885d0] EVENT_ID: UPLOAD_IMAGE_NETWORK_ERROR(1,038), Correlation ID: a73c7609-db36-4210-b4c9-b339275885d0, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Unable to upload image to disk a8c878e2-8255-4aa1-8954-a76e0bdf3b88 due to a network error. Make sure ovirt-imageio-proxy service is installed and configured, and ovirt-engine's certificate is registered as a valid CA in the browser. The certificate can be fetched from https://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
2017-10-04 10:42:54,364+02 INFO [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] (DefaultQuartzScheduler5) [ec9232cb-055a-476e-82cd-39b60966b5ce] Transfer was paused by system. Upload disk 'centimp' (id 'a8c878e2-8255-4aa1-8954-a76e0bdf3b88')
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users