On Thu, Sep 1, 2016 at 5:01 PM, Amit Aviram <aaviram(a)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.cecchi(a)gmail.com
> wrote:
> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram <aaviram(a)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@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