Hi Didi,
the fix did not solved the bug.
The error is now different:
runing "engine-setup"
....
--== END OF SUMMARY ==--
[ ERROR ] Failed to execute stage 'Closing up': 'NoneType' object has no
attribute 'copy_to_engine'
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20220802122804-g9ybse.log
[ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20220802122925-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
....
The part of log file with error details:
...
2022-08-02 12:29:25,444+0000 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204
DIALOG:SEND --== END OF SUMMARY ==--
2022-08-02 12:29:25,444+0000 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204
DIALOG:SEND
2022-08-02 12:29:25,452+0000 DEBUG otopi.context context._executeMethod:127 Stage closeup
METHOD
otopi.plugins.ovirt_engine_setup.ovirt_engine_grafana_dwh.core.config.Plugin._closeup_engine_grafana_access
2022-08-02 12:29:25,452+0000 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/core/config.py",
line 410, in _closeup_engine_grafana_access
content=self._get_engine_access_config(),
File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/remote_engine.py", line
88, in copy_to_engine
return self._style.copy_to_engine(
AttributeError: 'NoneType' object has no attribute 'copy_to_engine'
2022-08-02 12:29:25,474+0000 ERROR otopi.context context._executeMethod:154 Failed to
execute stage 'Closing up': 'NoneType' object has no attribute
'copy_to_engine'
2022-08-02 12:29:25,474+0000 DEBUG otopi.context context.dumpEnvironment:765 ENVIRONMENT
DUMP - BEGIN
2022-08-02 12:29:25,475+0000 DEBUG otopi.context context.dumpEnvironment:775 ENV
BASE/error=bool:'True'
2022-08-02 12:29:25,475+0000 DEBUG otopi.context context.dumpEnvironment:775 ENV
BASE/exceptionInfo=list:'[(<class 'AttributeError'>,
AttributeError("'NoneType' object has no attribute
'copy_to_engine'",), <traceback object at 0x7fa17a03eec8>)]'
2022-08-02 12:29:25,477+0000 DEBUG otopi.context context.dumpEnvironment:779 ENVIRONMENT
DUMP - END
...
Best regards,
Igor