SmartState Analysis/Monitoring Data


#1

Unable to see Analysis or monitoring data my RHEV Provider. Data shows up from my VMWare provider.

I have Enable C&U Collection for all clusters/data stores. Also configured my C&U Database pointing to my ovirt History Database.

[----] I, [2018-05-15T13:23:54.520447 #28791:62f138] INFO – : MIQ(ProcessTasksMixin.task_audit_event) userid: [admin] - server.test.com: ‘scan’ initiated
[----] I, [2018-05-15T13:24:08.591324 #20691:62f138] INFO – : MIQ(MiqEvent#process_evm_event) target = [#<ManageIQ::Providers::Redhat::InfraManager::Vm id: 27, vendor: “redhat”, format: nil, version: nil, name: “server.test.com”, description: nil, location: “42064536-d268-4d82-9ea2-526f52e33617.ovf”, config_xml: nil, autostart: nil, host_id: 5, last_sync_on: nil, created_on: “2018-05-08 21:09:55”, updated_on: “2018-05-15 17:46:16”, storage_id: 6, guid: “28f00b88-df3e-4883-b409-b2e55151f369”, ems_id: 1, last_scan_on: nil, last_scan_attempt_on: nil, uid_ems: “42064536-d268-4d82-9ea2-526f52e33617”, retires_on: nil, retired: nil, boot_time: “2018-04-16 16:23:29”, tools_status: nil, standby_action: nil, power_state: “on”, state_changed_on: “2018-05-08 21:09:55”, previous_state: nil, connection_state: “connected”, last_perf_capture_on: “2018-05-15 17:46:16”, registered: nil, busy: nil, smart: nil, memory_reserve: 8192, memory_reserve_expand: nil, memory_limit: 32768, memory_shares: nil, memory_shares_level: nil, cpu_reserve: nil, cpu_reserve_expand: nil, cpu_limit: nil, cpu_shares: nil, cpu_shares_level: nil, cpu_affinity: nil, ems_created_on: nil, template: false, evm_owner_id: nil, ems_ref_obj: "— “/api/vms/42064536-d268-4d82-9ea2-526f52e33617…”, miq_group_id: 1, linked_clone: nil, fault_tolerance: nil, type: “ManageIQ::Providers::Redhat::InfraManager::Vm”, ems_ref: “/api/vms/42064536-d268-4d82-9ea2-526f52e33617”, ems_cluster_id: 1, retirement_warn: nil, retirement_last_warn: nil, vnc_port: nil, flavor_id: nil, availability_zone_id: nil, cloud: false, retirement_state: nil, cloud_network_id: nil, cloud_subnet_id: nil, cloud_tenant_id: nil, raw_power_state: “up”, publicly_available: nil, orchestration_stack_id: nil, retirement_requester: nil, tenant_id: 1, resource_group_id: nil, deprecated: nil, storage_profile_id: nil, cpu_hot_add_enabled: nil, cpu_hot_remove_enabled: nil, memory_hot_add_enabled: nil, memory_hot_add_limit: nil, memory_hot_add_increment: nil>]
[----] I, [2018-05-15T13:24:08.720379 #20691:62f138] INFO – : MIQ(MiqAlert.evaluate_alerts) [request_vm_scan] Target: ManageIQ::Providers::Redhat::InfraManager::Vm Name: [server.test.com], Id: [27]
[----] I, [2018-05-15T13:24:08.963666 #20691:62f138] INFO – : MIQ(ManageIQ::Providers::Redhat::InfraManager::Vm#raw_scan) NAME [Scan from Vm mail2.altn.in ] SCAN [nil] [NilClass]
[----] I, [2018-05-15T13:24:09.044706 #20691:62f138] INFO – : Job created: guid: [689a90f6-9a18-49ff-a0ef-2941d519529f], userid: [admin], name: [Scan from Vm server.test.com], target class: [VmOrTemplate], target id: [27], process type: [VmScan], server id: [], zone: [default]
[----] I, [2018-05-15T13:24:21.206172 #20683:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(JobProxyDispatcher#start_job_on_proxy) Job guid: [689a90f6-9a18-49ff-a0ef-2941d519529f], userid: [admin], name: [Scan from Vm server.test.com], target class: [VmOrTemplate], target id: [27], process type: [VmScan], server id: [1], zone: [default]
[----] I, [2018-05-15T13:24:31.937083 #20683:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(MiqEvent#process_evm_event) target = [#<ManageIQ::Providers::Redhat::InfraManager::Vm id: 27, vendor: “redhat”, format: nil, version: nil, name: “server.test.com”, description: nil, location: “42064536-d268-4d82-9ea2-526f52e33617.ovf”, config_xml: nil, autostart: nil, host_id: 5, last_sync_on: nil, created_on: “2018-05-08 21:09:55”, updated_on: “2018-05-15 18:24:08”, storage_id: 6, guid: “28f00b88-df3e-4883-b409-b2e55151f369”, ems_id: 1, last_scan_on: nil, last_scan_attempt_on: “2018-05-15 18:24:08”, uid_ems: “42064536-d268-4d82-9ea2-526f52e33617”, retires_on: nil, retired: nil, boot_time: “2018-04-16 16:23:29”, tools_status: nil, standby_action: nil, power_state: “on”, state_changed_on: “2018-05-08 21:09:55”, previous_state: nil, connection_state: “connected”, last_perf_capture_on: “2018-05-15 17:46:16”, registered: nil, busy: nil, smart: nil, memory_reserve: 8192, memory_reserve_expand: nil, memory_limit: 32768, memory_shares: nil, memory_shares_level: nil, cpu_reserve: nil, cpu_reserve_expand: nil, cpu_limit: nil, cpu_shares: nil, cpu_shares_level: nil, cpu_affinity: nil, ems_created_on: nil, template: false, evm_owner_id: nil, ems_ref_obj: "— “/api/vms/42064536-d268-4d82-9ea2-526f52e33617…”, miq_group_id: 1, linked_clone: nil, fault_tolerance: nil, type: “ManageIQ::Providers::Redhat::InfraManager::Vm”, ems_ref: “/api/vms/42064536-d268-4d82-9ea2-526f52e33617”, ems_cluster_id: 1, retirement_warn: nil, retirement_last_warn: nil, vnc_port: nil, flavor_id: nil, availability_zone_id: nil, cloud: false, retirement_state: nil, cloud_network_id: nil, cloud_subnet_id: nil, cloud_tenant_id: nil, raw_power_state: “up”, publicly_available: nil, orchestration_stack_id: nil, retirement_requester: nil, tenant_id: 1, resource_group_id: nil, deprecated: nil, storage_profile_id: nil, cpu_hot_add_enabled: nil, cpu_hot_remove_enabled: nil, memory_hot_add_enabled: nil, memory_hot_add_limit: nil, memory_hot_add_increment: nil>]
[----] I, [2018-05-15T13:24:32.097564 #20683:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(MiqAlert.evaluate_alerts) [vm_scan_start] Target: ManageIQ::Providers::Redhat::InfraManager::Vm Name: [server.test.com], Id: [27]
[----] I, [2018-05-15T13:24:40.252571 #939:62f138] INFO – : Q-task_id([job_dispatcher]) EVM SmartState Analysis Initiated for VM [server.test.com]
[----] I, [2018-05-15T13:25:18.548918 #4319:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(ManageIQ::Providers::Redhat::InfraManager::Vm#scan_via_miq_vm) Starting: Sending scan summary to server. TaskId:[689a90f6-9a18-49ff-a0ef-2941d519529f] VM:[server.test.com]
[----] I, [2018-05-15T13:25:18.595132 #4319:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(ManageIQ::Providers::Redhat::InfraManager::Vm#scan_via_miq_vm) Completed: Sending scan summary to server. TaskId:[689a90f6-9a18-49ff-a0ef-2941d519529f] target:[server.test.com]
[----] I, [2018-05-15T13:25:28.159088 #20683:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(MiqEvent#process_evm_event) target = [#<ManageIQ::Providers::Redhat::InfraManager::Vm id: 27, vendor: “redhat”, format: nil, version: nil, name: “server.test.com”, description: nil, location: “42064536-d268-4d82-9ea2-526f52e33617.ovf”, config_xml: nil, autostart: nil, host_id: 5, last_sync_on: nil, created_on: “2018-05-08 21:09:55”, updated_on: “2018-05-15 18:25:22”, storage_id: 6, guid: “28f00b88-df3e-4883-b409-b2e55151f369”, ems_id: 1, last_scan_on: “2018-05-15 18:24:55”, last_scan_attempt_on: “2018-05-15 18:24:08”, uid_ems: “42064536-d268-4d82-9ea2-526f52e33617”, retires_on: nil, retired: nil, boot_time: “2018-04-16 16:23:29”, tools_status: nil, standby_action: nil, power_state: “on”, state_changed_on: “2018-05-08 21:09:55”, previous_state: nil, connection_state: “connected”, last_perf_capture_on: “2018-05-15 17:46:16”, registered: nil, busy: nil, smart: nil, memory_reserve: 8192, memory_reserve_expand: nil, memory_limit: 32768, memory_shares: nil, memory_shares_level: nil, cpu_reserve: nil, cpu_reserve_expand: nil, cpu_limit: nil, cpu_shares: nil, cpu_shares_level: nil, cpu_affinity: nil, ems_created_on: nil, template: false, evm_owner_id: nil, ems_ref_obj: "— “/api/vms/42064536-d268-4d82-9ea2-526f52e33617…”, miq_group_id: 1, linked_clone: nil, fault_tolerance: nil, type: “ManageIQ::Providers::Redhat::InfraManager::Vm”, ems_ref: “/api/vms/42064536-d268-4d82-9ea2-526f52e33617”, ems_cluster_id: 1, retirement_warn: nil, retirement_last_warn: nil, vnc_port: nil, flavor_id: nil, availability_zone_id: nil, cloud: false, retirement_state: nil, cloud_network_id: nil, cloud_subnet_id: nil, cloud_tenant_id: nil, raw_power_state: “up”, publicly_available: nil, orchestration_stack_id: nil, retirement_requester: nil, tenant_id: 1, resource_group_id: nil, deprecated: nil, storage_profile_id: nil, cpu_hot_add_enabled: nil, cpu_hot_remove_enabled: nil, memory_hot_add_enabled: nil, memory_hot_add_limit: nil, memory_hot_add_increment: nil>]
[----] I, [2018-05-15T13:25:28.261540 #20683:62f138] INFO – : Q-task_id([job_dispatcher]) MIQ(MiqAlert.evaluate_alerts) [vm_scan_abort] Target: ManageIQ::Providers::Redhat::InfraManager::Vm Name: [server.test.com], Id: [27]


#2

@bsockel as I’m sure you’ve noticed it seems that your scan has aborted (based on the second to last line in your pasted log). Unfortunately without DEBUG level logging turned on it seems difficult to determine the cause of the failure. Would you be able to turn on DEBUG and rerun your scan attempt? Thanks.