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

Martín Follonier martin.follonier at iquall.net
Fri Sep 2 20:10:49 UTC 2016


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> 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?
>>
>> 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 listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160902/d270254b/attachment-0001.html>


More information about the Users mailing list