Issue with oVirt 4.5 and Data Warehouse installed on a Separate Machine

On Tue, Aug 2, 2022 at 11:12 AM Igor Davidoff <igor.davidoff@cloudkleyer.de> wrote:
Hi Didi,
the logfile is attached.
OK, it indeed seems like a real bug, caused by https://github.com/oVirt/ovirt-dwh/pull/39 . I now pushed this fix, can you please test it? Thanks! https://github.com/oVirt/ovirt-dwh/pull/43 Best regards, -- Didi

On Tue, Aug 2, 2022 at 3:00 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Aug 2, 2022 at 11:12 AM Igor Davidoff <igor.davidoff@cloudkleyer.de> wrote:
Hi Didi,
the logfile is attached.
OK, it indeed seems like a real bug, caused by https://github.com/oVirt/ovirt-dwh/pull/39 .
I now pushed this fix, can you please test it? Thanks!
Please note that I didn't test it, and that I am not sure it makes sense in itself - perhaps we need to add a different condition to _closeup_engine_grafana_access instead (or in addition). -- Didi

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

On Tue, Aug 2, 2022 at 3:46 PM Igor Davidoff <igor.davidoff@cloudkleyer.de> wrote:
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'
Sorry, this was quite expected, as I wrote :-(. Can you please try this one, instead? Thanks! https://github.com/oVirt/ovirt-dwh/pull/44 Best regards, -- Didi

works: --== END OF SUMMARY ==-- [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220802132133-qv0xmp.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220802132206-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ INFO ] Execution of setup completed successfully Best regards, Igor

On Tue, Aug 2, 2022 at 4:25 PM Igor Davidoff <igor.davidoff@cloudkleyer.de> wrote:
works:
--== END OF SUMMARY ==--
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220802132133-qv0xmp.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220802132206-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ INFO ] Execution of setup completed successfully
Thanks for verifying and for the update! Now filed: https://bugzilla.redhat.com/show_bug.cgi?id=2113980 Best regards, -- Didi
participants (2)
-
Igor Davidoff
-
Yedidyah Bar David