its all on one machine
i'm not sure if grafana was used in 4.4.4 (dashboard was working)
after repeated engine-setup and playing with
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
OVESETUP_GRAFANA_CORE/enable=bool:True
OVESETUP_GRAFANA_CORE/grafanaDbCreatedByUs=none:None
OVESETUP_DWH_CORE/enable=bool:True
its "somehow" solved now
Dne 24/01/2023 v 08:37 Yedidyah Bar David napsal(a):
> Hi,
>
> On Tue, Jan 24, 2023 at 1:47 AM marek <cervajs64(a)gmail.com> wrote:
>> upgrade from ovirt 4.4.4 to 4.5.5
> Please provide more details, thanks.
>
> Is everything set up on the same machine - engine, dwh, grafana?
> If on separate machines, what's where and how was it set up?
> Did you have grafana already set up in 4.4.4?
> Do you have any custom local changes?
>
>> engine-setup
>>
>> 2023-01-24 00:35:17,885+0100 DEBUG otopi.context
>> context._executeMethod:145 method exception
>> Traceback (most recent call last):
>> File "/usr/lib/python3.6/site-packages/otopi/context.py", line
132,
>> in _executeMethod
>> method['method']()
>> File
>>
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-grafana-dwh/db/default_privileges.py",
>> line 51, in _misc_set_default_privileges
>> user=self.environment[ogdwhcons.GrafanaDBEnv.USER],
>> File
>>
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py",
>> line 1808, in setDefaultPrivilegesReadOnlyForUser
>> ownConnection=True,
>> File
>>
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py",
>> line 249, in execute
>> database=database,
>> File
>>
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py",
>> line 182, in connect
>> sslmode=sslmode,
>> File "/usr/lib64/python3.6/site-packages/psycopg2/__init__.py",
line
>> 127, in connect
>> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
>> psycopg2.OperationalError: FATAL: Ident authentication failed for user
>> "root"
>> FATAL: Ident authentication failed for user "root"
> This might be due to changes in /var/lib/pgsql/data/pg_hba.conf . Please check/
> share it. Thanks.
>
> Best regards,