Managed to solve the above issue by running -
sudo ovirt-imageio --conf-dir $PREFIX/etc/ovirt-imageio
But now I failed on -
2020-04-26 15:42:56,013+0300 DEBUG otopi.context context._executeMethod:145
method exception
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
File
"/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/config/public_glance_repository.py",
line 69, in _misc
storage_domain_id="072fbaa1-08f3-4a40-9f34-a5ca22dd1d74"
File
"/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py",
line 258, in execute
args,
psycopg2.errors.UndefinedFunction: function
inst_add_glance_provider(unknown, unknown, unknown, unknown, unknown) does
not exist
LINE 2: select inst_add_glance_provider(
^
HINT: No function matches the given name and argument types. You might
need to add explicit type casts.
2020-04-26 15:42:56,014+0300 ERROR otopi.context context._executeMethod:154
Failed to execute stage 'Misc configuration': function
inst_add_glance_provider(unknown, unknown
, unknown, unknown, unknown) does not exist
LINE 2: select inst_add_glance_provider(
^
HINT: No function matches the given name and argument types. You might
need to add explicit type casts.
On Sun, 26 Apr 2020 at 15:24, Eyal Shenitzky <[email protected]> wrote:
>
> 2020-04-26 11:40:03,319+0300 DEBUG otopi.context
> context._executeMethod:127 Stage misc METHOD
> otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._databaseOp
>
> tions
> 2020-04-26 11:40:03,319+0300 DEBUG
> otopi.ovirt_engine_setup.engine_common.database database.execute:234
> Database: 'None', Statement: '
> select version, option_value
> from vdc_options
> where option_name = %(name)s
> ', args: {'name': 'ImageProxyAddress'}
> 2020-04-26 11:40:03,320+0300 DEBUG
> otopi.ovirt_engine_setup.engine_common.database database.execute:284
> Result: []
> 2020-04-26 11:40:03,320+0300 DEBUG otopi.context
> context._executeMethod:145 method exception
> Traceback (most recent call last):
> File "/usr/lib/python3.7/site-packages/otopi/context.py", line 131, in
> _executeMethod
> if method['condition']():
> File
> "/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt_imageio_proxy/config.py",
> line 336, in <lambda>
> ] and self._database_needs_update()
> File
> "/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt_imageio_proxy/config.py",
> line 316, in _database_needs_update
> name='ImageProxyAddress',
> File
> "/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/engine/vdcoption.py",
> line 79, in getVdcOption
> ownConnection=ownConnection,
> File
> "/home/eshenitz/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/engine/vdcoption.py",
> line 54, in getVdcOptionVersions
> name=name,
> RuntimeError: Cannot locate application option ImageProxyAddress
> 2020-04-26 11:40:03,322+0300 ERROR otopi.context
> context._executeMethod:154 Failed to execute stage 'Misc configuration':
> Cannot locate application option ImageProxyAddress
>
> On Sun, 26 Apr 2020 at 14:56, Yedidyah Bar David <[email protected]> wrote:
>
>> On Sun, Apr 26, 2020 at 2:52 PM Eyal Shenitzky <[email protected]>
>> wrote:
>> >
>> > I fetched all patches from master this morning and tried to rebuild, so
>> the failure still occurs.
>> >
>> > On Sun, 26 Apr 2020 at 12:18, Benny Zlotnik <[email protected]>
>> wrote:
>> >>
>> >> there were additional related patches merged later, try rebuilding
>> $PREFIX
>> >>
>> >> On Sun, Apr 26, 2020 at 12:06 PM Eyal Shenitzky <[email protected]>
>> wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > I tried to run engine-setup on an existing dev-env and failed with
>> the following error -
>> >> >
>> >> > [ ERROR ] Failed to execute stage 'Misc configuration': Cannot
>> locate application option ImageProxyAddress
>>
>> Can you share relevant parts from the setup log?
>>
>> Do you have imageio installed?
>>
>> >> >
>> >> > The error appears only after patch
>> https://gerrit.ovirt.org/#/c/108349/ was merged.
>> >> >
>> >> > Is there any manual steps needed?
>> >> >
>> >> > --
>> >> > Regards,
>> >> > Eyal Shenitzky
>> >>
>> >
>> >
>> > --
>> > Regards,
>> > Eyal Shenitzky
>> > _______________________________________________
>> > Devel mailing list -- [email protected]
>> > To unsubscribe send an email to [email protected]
>> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> > oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> > List Archives:
>> https://lists.ovirt.org/archives/list/[email protected]/message/6O6W2HR3RYYLJW56QOYTPAINS3WHON66/
>>
>>
>>
>> --
>> Didi
>>
>>
>
> --
> Regards,
> Eyal Shenitzky
>
--
Regards,
Eyal Shenitzky
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/7BPDYLFYLY5ADXWLARQXFEYNDC4ZIHQY/