Bug 1232545
| Summary: | [rhevm-dwh] ETL service aggregation to hourly tables has encountered an error. Please consult the service log for more details" after upgrade to 3.5 version | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sachin Raje <sraje> |
| Component: | ovirt-engine-dwh | Assignee: | Shirly Radco <sradco> |
| Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.5.1 | CC: | amureini, ecohen, lsurette, rbalakri, Rhev-m-bugs, sraje, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.6.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-25 10:53:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sachin Raje
2015-06-17 02:02:25 UTC
INVESTIGATION:
~~~~~~~~~~~~~~
[I1] Version info:
~~~
rhevm-3.5.1-0.4.el6ev.noarch Sat May 16 10:24:34 2015
rhevm-dwh-3.5.1-9.el6ev.noarch Sat May 16 10:24:34 2015
rhevm-reports-3.5.1-12.el6ev.noarch Sat May 16 10:24:35 2015
~~~
[I2] From Audit logs:
~~~
2015-05-16 03:18:23.467-04 | | ETL service sampling has encountered an error. Please consult the service log for more details.
2015-05-16 04:13:21.763-04 | | ETL Service Started
2015-05-16 04:13:29.828-04 | | ETL Service Stopped
2015-05-16 04:38:11.702-04 | | ETL Service Started
2015-05-16 04:43:43.776-04 | | ETL Service Stopped
2015-05-16 04:48:26.894-04 | | ETL Service Started
2015-05-16 10:12:31.419-04 | | ETL Service Started
2015-05-17 18:10:12.662-04 | | ETL service aggregation to hourly tables has encountered an error. Please consult the service log for more details.
2015-05-17 18:10:13.642-04 | | ETL service aggregation to daily tables has encountered an error. Please consult the service log for more details.
2015-05-18 00:05:52.918-04 | | ETL service aggregation to hourly tables has encountered an error. Please consult the service log for more details.
2015-05-18 11:03:28.675-04 | | ETL Service Stopped
2015-05-18 11:03:48.112-04 | | ETL Service Started
2015-05-18 15:10:38.061-04 | | ETL service aggregation to hourly tables has encountered an error. Please consult the service log for
~~~
[I3] Error info from the ovirt-engine-dwhd.log
~~~
2015-02-17 19:36:00|6iFsW3|9fIjQs|LoOUO0|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not updating the statistics. Please check your oVirt Engine status.|9704
2015-02-17 19:37:05|fWtaxS|9fIjQs|LoOUO0|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not updating the statistics. Please check your oVirt Engine status.|9704
2015-02-17 19:38:10|61jNLI|9fIjQs|LoOUO0|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not updating the statistics. Please check your oVirt Engine status.|9704
2015-02-20 05:44:07|sNbaf6|9fIjQs|LoOUO0|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not updating the statistics. Please check your oVirt Engine status.|9704
2015-02-20 05:45:12|XW971g|9fIjQs|LoOUO0|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not updating the statistics. Please check your oVirt Engine status.|9704
2015-03-02 12:11:01|ETL Service Stopped
2015-03-02 13:32:18|ETL Service Started
Exception in component tJDBCInput_1
java.lang.NullPointerException
at ovirt_engine_dwh.historyetl_3_4.HistoryETL.tLoop_2Process(HistoryETL.java:8700)
at ovirt_engine_dwh.historyetl_3_4.HistoryETL$5.run(HistoryETL.java:10022)
2015-05-16 09:18:21|7SCFm2|7SCFm2|7SCFm2|OVIRT_ENGINE_DWH|HistoryETL|Default|6|Java Exception|tJDBCInput_1|java.lang.NullPointerException:null|1
Exception in component tJDBCInput_2
java.lang.NullPointerException
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCInput_2Process(SampleTimeKeepingJob.java:5572)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCConnection_1Process(SampleTimeKeepingJob.java:4340)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCConnection_2Process(SampleTimeKeepingJob.java:4219)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tRowGenerator_2Process(SampleTimeKeepingJob.java:4092)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCInput_3Process(SampleTimeKeepingJob.java:3505)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCInput_5Process(SampleTimeKeepingJob.java:2877)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCInput_4Process(SampleTimeKeepingJob.java:2191)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob.tJDBCConnection_3Process(SampleTimeKeepingJob.java:1537)
at ovirt_engine_dwh.sampletimekeepingjob_3_4.SampleTimeKeepingJob$2.run(SampleTimeKeepingJob.java:9546)
2015-05-16 09:18:23|nvGMSc|7SCFm2|ZwD6b4|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|6|Java Exception|tJDBCInput_2|java.lang.NullPointerException:null|1
Exception in component tJDBCInput_15
java.lang.NullPointerException
at ovirt_engine_dwh.configurationsync_3_4.ConfigurationSync.tJDBCInput_15Process(ConfigurationSync.java:4711)
at ovirt_engine_dwh.configurationsync_3_4.ConfigurationSync.tJDBCInput_2Process(ConfigurationSync.java:3378)
at ovirt_engine_dwh.configurationsync_3_4.ConfigurationSync$2.run(ConfigurationSync.java:60858)
2015-05-16 09:19:23|9Mx8gG|7SCFm2|h9BixS|OVIRT_ENGINE_DWH|ConfigurationSync|Default|6|Java Exception|tJDBCInput_15|java.lang.NullPointerException:null|1
Exception in component tRunJob_1
~~~
postgresql-Mon.log :
ERROR: deadlock detected
DETAIL: Process 50672 waits for ShareLock on transaction 176092774; blocked by process 50671.
Process 50671 waits for ShareLock on transaction 176092764; blocked by process 50672.
Process 50672: INSERT INTO statistics_vms_users_usage_hourly (history_datetime,user_id,user_name,user_logged_in_to_guest,vm_id,session_time_in_minutes,cpu_usage_percent,max_cpu_usage,memory_usage_percent,max_memory_usage,user_cpu_usage_percent,max_user_cpu_usage_percent,system_cpu_usage_percent,max_system_cpu_usage_percent,vm_ip,vm_client_ip,currently_running_on_host,vm_configuration_version,current_host_configuration_version) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19)
Process 50671: UPDATE users_details_history SET first_name = $1,last_name = $2,domain = $3,username = $4,department = $5,user_role_title = $6,email = $7,external_id = $8,active = $9,create_date = $10,update_date = $11 WHERE user_id = $12
HINT: See server log for query details.
CONTEXT: SQL statement "SELECT 1 FROM ONLY "public"."users_details_history" x WHERE "user_id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x"
STATEMENT: INSERT INTO statistics_vms_users_usage_hourly (history_datetime,user_id,user_name,user_logged_in_to_guest,vm_id,session_time_in_minutes,cpu_usage_percent,max_cpu_usage,memory_usage_percent,max_memory_usage,user_cpu_usage_percent,max_user_cpu_usage_percent,system_cpu_usage_percent,max_system_cpu_usage_percent,vm_ip,vm_client_ip,currently_running_on_host,vm_configuration_version,current_host_configuration_version) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19)
ERROR: current transaction is aborted, commands ignored until end of transaction block
==========================================================================
RHEVM system rebooted once but issue still persist. |