[ovirt-users] How to import a qcow2 disk into ovirt

nicola.gentile.to nicola.gentile.to at gmail.com
Wed Oct 4 13:11:49 UTC 2017


hi,

I tried to "cancel" operation and do again without firewall but always 
the same error

Il 04/10/2017 14:42, Ondra Machacek ha scritto:
> Check this log file on engine machine:
>
>   /var/log/ovirt-imageio-proxy/image-proxy.log

there are no errors

>
> And this on the host which is used to upload:
>
>   /var/log/ovirt-imageio-daemon/daemon.log

this file log there isn't

>
> Any errors there?
>
> On Wed, Oct 4, 2017 at 2:38 PM, nicola.gentile.to
> <nicola.gentile.to at gmail.com> wrote:
>> Thanks Alexander,
>>
>> nothing not work
>> always the same error....
>> any suggestions?
>>
>> thank
>>
>>
>> Il 04/10/2017 14:12, Alexander Witte ha scritto:
>>
>> Hey Nick,
>>
>> I had the same problem and in my case the engine firewall was blocking.  I
>> tried disabling it temporarily and it worked.  I think the specific port to
>> allow is 54322.
>>
>>
>> Sent from my iPhone
>>
>> On Oct 4, 2017, at 5:50 AM, nicola.gentile.to <nicola.gentile.to at gmail.com>
>> wrote:
>>
>> 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: ydary at redhat.com
>> IRC : ydary
>>
>>
>> On Fri, Sep 2, 2016 at 11:10 PM, Martín Follonier
>> <martin.follonier at iquall.net> 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.ssfully stopped image transfer session for ticket 'b746787a-dfe8-46c3-b9ec-2b1aebb69c77'
>>>
>>>
>>> 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 <aavi... at redhat.com> 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
>>>> <gianluca.cec... at gmail.com
>>>>> wrote:
>>>>> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram <aavi... at redhat.com> 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?
>>>>>
>>>>> Gianlucassfully stopped image transfer session for ticket 'b746787a-dfe8-46c3-b9ec-2b1aebb69c77'
>>>>>
>>>>>
>>>>
>>> [root at 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
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>> <engine.log>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>



More information about the Users mailing list