[ovirt-users] How to import a qcow2 disk into ovirt
nicola.gentile.to
nicola.gentile.to at gmail.com
Wed Oct 4 09:49:54 UTC 2017
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 <mailto:ydary at redhat.com> IRC
> : ydary
>
> On Fri, Sep 2, 2016 at 11:10 PM, Martín Follonier
> <martin.follonier at iquall.net <mailto: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.
>
> 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 <mailto: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 <mailto:gianluca.cec... at gmail.com>
> > > wrote:
> >
> >> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram <aavi... at redhat.com <mailto: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?
> >>
> >> Gianluca
> >>
> >
> >
>
> [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 <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20171004/f2c9c211/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.log
Type: text/x-log
Size: 3769 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20171004/f2c9c211/attachment.bin>
More information about the Users
mailing list