ManageIQ / manageiq-ui-classic

Classic UI of ManageIQ
Apache License 2.0
50 stars 358 forks source link

Ops UI Server -> workers tab fails to render #6758

Closed carbonin closed 4 years ago

carbonin commented 4 years ago

production log shows success:

[----] I, [2020-03-11T13:20:23.244958 #7664:8afdb8]  INFO -- : Started POST "/ops/change_tab?tab_id=settings_workers" for 192.168.122.1 at 2020-03-11 13:20:23 -0400
[----] I, [2020-03-11T13:20:23.247448 #7664:8afdb8]  INFO -- : Processing by OpsController#change_tab as JS
[----] I, [2020-03-11T13:20:23.247507 #7664:8afdb8]  INFO -- :   Parameters: {"tab_id"=>"settings_workers"}
[----] I, [2020-03-11T13:20:23.266519 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/layouts/_x_edit_buttons.html.haml (0.9ms)
[----] I, [2020-03-11T13:20:23.266976 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/layouts/_flash_msg.html.haml (0.1ms)
[----] I, [2020-03-11T13:20:23.267790 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_settings_server_tab.html.haml (0.0ms)
[----] I, [2020-03-11T13:20:23.267968 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_settings_authentication_tab.html.haml (0.0ms)
[----] I, [2020-03-11T13:20:23.271323 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_settings_workers_tab.html.haml (3.1ms)
[----] I, [2020-03-11T13:20:23.271645 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_settings_custom_logos_tab.html.haml (0.0ms)
[----] I, [2020-03-11T13:20:23.271937 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_settings_advanced_tab.html.haml (0.0ms)
[----] I, [2020-03-11T13:20:23.272036 #7664:8afdb8]  INFO -- :   Rendered /usr/local/lib/ruby/gems/2.5.0/bundler/gems/manageiq-ui-classic-21126e763a5a/app/views/ops/_all_tabs.html.haml (5.2ms)
[----] I, [2020-03-11T13:20:23.274369 #7664:8afdb8]  INFO -- : Completed 200 OK in 27ms (Views: 1.0ms | ActiveRecord: 4.5ms)
[----] I, [2020-03-11T13:20:23.297403 #7667:873db8]  INFO -- : Started GET "/api/servers/1/settings" for 192.168.122.1 at 2020-03-11 13:20:23 -0400
[----] I, [2020-03-11T13:20:23.300474 #7667:873db8]  INFO -- : Processing by Api::ServersController#settings as JSON
[----] I, [2020-03-11T13:20:23.300569 #7667:873db8]  INFO -- :   Parameters: {"c_id"=>"1"}
[----] I, [2020-03-11T13:20:23.402761 #7667:873db8]  INFO -- : Completed 200 OK in 102ms (Views: 11.3ms | ActiveRecord: 8.9ms)

But the screen gives the following error: image

himdel commented 4 years ago

Cc @rvsia (app/javascript/components/workers-form/workers-form.jsx)

We probably shouldn't be ignoring the error message from the API.

himdel commented 4 years ago

(Also present in app/javascript/components/catalog-form/catalog-form.jsx)

himdel commented 4 years ago

@carbonin Can you also share the output of /api/servers/1/settings please?

carbonin commented 4 years ago

It's very large ...

```json { "api": { "token_ttl": "10.minutes", "authentication_timeout": "30.seconds", "max_results_per_page": 1000 }, "graphql_api": { "authentication_timeout": "30.seconds" }, "ems": { "ems_amazon": { "event_handling": { "event_groups": { "addition": { "critical": [ "AWS_EC2_Instance_CREATE", "AWS_API_CALL_RunInstances", "AWS_API_CALL_CreateTags" ] }, "update": { "critical": [ "AWS_EC2_Instance_UPDATE" ] }, "deletion": { "critical": [ "AWS_EC2_Instance_DELETE", "AWS_API_CALL_TerminateInstances" ] }, "power": { "critical": [ "AWS_EC2_Instance_running", "AWS_EC2_Instance_shutting-down", "AWS_EC2_Instance_stopped", "EC2_Instance_State_change_Notification_running", "EC2_Instance_State_change_Notification_shutting_down", "EC2_Instance_State_change_Notification_stopped", "EC2_Instance_State_change_Notification_stopping", "EC2_Instance_State_change_Notification_terminated", "EC2_Instance_State_change_Notification_pending", "AWS_API_CALL_StopInstances", "AWS_API_CALL_StartInstances" ] } } }, "blacklisted_event_names": [ "ConfigurationSnapshotDeliveryCompleted", "ConfigurationSnapshotDeliveryStarted", "ConfigurationSnapshotDeliveryFailed" ], "disabled_regions": [], "additional_regions": {}, "additional_instance_types": {}, "disabled_instance_types": [], "agent_coordinator": { "agent_ami_login_user": "centos", "agent_ami_name": "CentOS Atomic Host 7 x86_64 HVM EBS 1706_01", "agent_idle_period": 900, "agent_label": "smartstate", "docker_image": "manageiq/amazon-smartstate:latest", "docker_login_required": false, "docker_registry": null, "heartbeat_interval": 120, "log_level": "INFO", "response_thread_sleep_seconds": 10 } }, "ems_ansible_tower": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_azure": { "api_versions": { "availability_set": "2017-12-01", "ip_address": "2017-11-01", "load_balancer": "2017-11-01", "managed_image": "2017-12-01", "network_interface": "2017-11-01", "network_security_group": "2017-11-01", "resource": "2017-08-01", "resource_group": "2017-08-01", "resource_provider": "2016-09-01", "route_table": "2018-03-01", "storage_account": "2017-10-01", "storage_disk": "2017-03-30", "template_deployment": "2017-08-01", "virtual_machine": "2017-12-01", "virtual_network": "2017-11-01" }, "blacklisted_event_names": [ "storageAccounts_listKeys_BeginRequest", "storageAccounts_listKeys_EndRequest", "deployments_exportTemplate_BeginRequest", "deployments_exportTemplate_EndRequest" ], "event_handling": { "event_groups": { "addition": { "critical": [ "virtualMachines_write_EndRequest" ] }, "deletion": { "critical": [ "virtualMachines_delete_EndRequest" ] }, "power": { "critical": [ "virtualMachines_deallocate_EndRequest", "virtualMachines_start_EndRequest", "virtualMachines_restart_EndRequest" ] } } }, "disabled_regions": [], "additional_regions": {} }, "ems_azure_stack": { "api_connection_timeout": "5.seconds", "blacklisted_event_names": [], "event_handling": { "event_groups": { "update": { "critical": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_write_(Succeeded|Failed)$)" ], "detail": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_write_.+$)" ] }, "deletion": { "critical": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_delete_(Succeeded|Failed)$)" ], "detail": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_delete_.+$)" ] }, "power": { "critical": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_(restart|start|deallocate)_(Succeeded|Failed)$)" ], "detail": [ "(?-mix:^Administrative_Microsoft.(Compute|Resources)_.+_(restart|start|deallocate)_.+$)" ] }, "status": { "critical": [ "(?-mix:^(ServiceHealth|ResourceHealth|Alert|AutoScale|Security|Recommendation)_.+$)" ] }, "storage": { "critical": [ "(?-mix:^Administrative_Microsoft.Storage_.+$)" ] }, "network": { "critical": [ "(?-mix:^Administrative_Microsoft.Network_.+$)" ] } } } }, "ems_foreman": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_google": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_kubernetes": { "ems_monitoring": { "alerts_collection": { "open_timeout": "10.seconds", "timeout": "20.seconds" } }, "miq_namespace": "management-infra", "image_inspector_registry": "docker.io", "image_inspector_repository": "openshift/image-inspector", "image_inspector_cve_url": null, "blacklisted_event_names": [], "event_handling": { "event_groups": { "addition": { "critical": [ "CONTAINER_CREATED", "REPLICATOR_SUCCESSFULCREATE", "REPLICATOR_FAILEDCREATE" ] }, "status": { "critical": [ "NODE_NODEREADY", "NODE_NODENOTREADY", "POD_FAILEDVALIDATION", "POD_DEADLINEEXCEEDED", "POD_INSUFFICIENTFREECPU", "POD_NODESELECTORMISMATCHING", "POD_SCHEDULED", "POD_FAILEDSCHEDULING", "CONTAINER_UNHEALTHY", "CONTAINER_KILLING", "CONTAINER_STARTED", "CONTAINER_STOPPED" ] }, "power": { "critical": [ "NODE_REBOOTED", "NODE_NODESCHEDULABLE", "NODE_NODENOTSCHEDULABLE" ] }, "storage": { "critical": [ "NODE_FAILEDMOUNT", "NODE_INVALIDDISKCAPACITY", "POD_OUTOFDISK", "POD_INSUFFICIENTFREEMEMORY" ] }, "network": { "critical": [ "POD_HOSTPORTCONFLICT" ] } } }, "open_timeout": "60.seconds", "read_timeout": "60.seconds" }, "ems_kubevirt": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_lenovo": { "blacklisted_event_names": [], "event_handling": { "connection_timeout": 90, "events_pool_percentage": 0.07, "event_groups": { "power": { "critical": [ "CMM0157", "FQXHMDM0125I" ], "detail": [ "PLAT0107", "PLAT0106", "IMM0130", "IMM0125", "IMM0186", "IMM0131", "IMM0177", "PLAT0286", "IMM0180", "IMM0166", "IMM0174", "IMM0175", "IMM0210", "IMM0169", "IMM0168", "IMM0127", "IMM0185", "IMM0170", "PLAT0108", "IMM0171", "IMM0178", "IMM0176", "IMM0181", "IMM0184" ], "warning": [ "IMM0117", "IMM0118" ], "name": "Power Activity" }, "firmware": { "critical": [ "806F072B2201FFFF", "000AB001", "000AB002", "000AB003", "000AB004", "000AB005", "000AB006", "000AB007", "000AB008", "000AB009", "00015105", "0EA02101", "0EA02102", "0EA02103", "0EA02104", "00015101", "FQXHMUP4007I", "00017310", "00017129", "00015103", "806F072B2101FFFF", "806F072B2201FFFF", "FQXHMUP4006I", "FQXHMUP4007I", "FQXHMUP4008I", "IMM0132", "IMM0042", "PLAT0186", "IMM0031", "IMM0133" ], "detail": [ "PLAT0187" ], "warning": [], "name": "Firmware" }, "devices": { "critical": [ "CMM0100", "PLAT0162", "PLAT0456", "CMM0101", "PLAT0457", "CMM0102", "806F000D0401FFFF", "806F000D0402FFFF", "806F000D0403FFFF", "806F000D0404FFFF", "806F000D0405FFFF", "806F000D0406FFFF", "806F000D0407FFFF", "816F000D0400FFFF", "816F000D0401FFFF", "816F000D0402FFFF", "816F000D0403FFFF", "816F000D0404FFFF", "816F000D0405FFFF", "816F000D0406FFFF", "816F000D0407FFFF", "PLAT0530", "PLAT0802", "PLAT0524", "PLAT0494", "PLAT0480", "PLAT0810", "PLAT0522", "PLAT0498" ], "detail": [ "PLAT0477", "PLAT0508", "PLAT0811", "PLAT0803", "PLAT0509", "PLAT0495", "PLAT0399", "PLAT0521", "PLAT0518", "PLAT0491", "PLAT0523", "PLAT0531", "PLAT0481", "PLAT0525", "PLAT0499" ], "warning": [ "IMM0142", "PLAT0476", "PLAT0398", "PLAT0490", "PLAT0520" ], "name": "Devices" }, "network": { "critical": [], "detail": [ "IMM0056", "IMM0025", "IMM0107", "IMM0055", "IMM0159", "IMM0024", "IMM0022", "IMM0160", "IMM0001", "IMM0023", "IMM0057" ], "warning": [ "IMM0013", "IMM0059" ] }, "login": { "critical": [], "detail": [ "IMM0014", "IMM0154", "IMM0156", "IMM0153", "IMM0140", "IMM0157", "IMM0155", "IMM0158", "IMM0041", "IMM0102" ], "warning": [ "IMM0016", "IMM0017" ] }, "security": { "detail": [ "IMM0206", "IMM0151", "PLAT0536", "IMM0207", "PLAT0392", "PLAT0390", "IMM0204", "IMM0165", "IMM0150", "IMM0208", "PLAT0450", "IMM0205" ], "critical": [ "PLAT0794", "IMM0002", "PLAT0850", "PLAT0146", "PLAT0050", "PLAT0036", "IMM0034", "PLAT0446" ], "warning": [], "name": "Security" }, "status": { "detail": [ "IMM0097", "IMM0068", "IMM0052", "IMM0061", "IMM0194", "IMM0123", "IMM0113", "IMM0134", "IMM0101", "IMM0098", "IMM0195", "PLAT0167", "IMM0026", "IMM0163", "IMM0116", "IMM0091", "IMM0082", "IMM0033", "IMM0086", "PLAT0085", "IMM0040", "IMM0090", "IMM0069", "IMM0071", "IMM0179", "IMM0064", "IMM0007", "IMM0011", "IMM0008", "PLAT0370", "IMM0049", "IMM0099", "IMM0050", "IMM0019", "IMM0203", "IMM0006", "IMM0128", "IMM0021", "IMM0121", "IMM0036", "IMM0085", "IMM0103", "IMM0003", "IMM0080", "PLAT0130", "IMM0197", "IMM0129", "IMM0191", "IMM0070", "PLAT0061", "IMM0076", "IMM0020", "IMM0190", "IMM0146", "IMM0173", "IMM0081", "PLAT0185", "PLAT0817", "IMM0112", "IMM0215", "IMM0201", "IMM0009", "IMM0035", "IMM0187", "IMM0122", "IMM0089", "IMM0152", "IMM0164", "IMM0043", "IMM0148", "IMM0053", "IMM0010", "IMM0058", "IMM0078", "IMM0167", "IMM0048", "PLAT0267", "IMM0092", "IMM0115", "IMM0004", "PLAT0374", "IMM0124", "IMM0149", "PLAT0171", "IMM0202", "IMM0044", "IMM0083", "IMM0084", "IMM0051", "IMM0143", "IMM0145", "PLAT0060", "IMM0087", "IMM0136", "IMM0093", "IMM0054", "IMM0032", "IMM0088", "IMM0027", "IMM0077", "PLAT0037", "IMM0209", "IMM0109", "IMM0183", "IMM0072", "IMM0114", "IMM0110", "IMM0214", "IMM0094", "IMM0108", "IMM0047", "IMM0135", "IMM0141", "IMM0062", "IMM0074", "IMM0212", "IMM0119", "PLAT0145", "IMM0189", "IMM0120", "IMM0111", "PLAT0179", "IMM0199", "IMM0065", "IMM0073", "PLAT0331", "PLAT0139", "IMM0075", "IMM0015", "IMM0172", "IMM0018", "PLAT0170", "IMM0147", "IMM0066", "IMM0067", "IMM0182", "IMM0188", "IMM0045", "IMM0095", "IMM0139", "PLAT0372", "IMM0079", "IMM0063", "IMM0005", "IMM0198", "IMM0196", "PLAT0163", "PLAT0147", "IMM0144", "PLAT0131", "PLAT0127", "IMM0211" ], "critical": [ "PLAT0138", "IMM0137", "PLAT0770", "PLAT0164", "IMM0029", "PLAT0086", "PLAT0044", "PLAT0244", "PLAT0764", "PLAT0176", "PLAT0816", "PLAT0042", "IMM0138", "PLAT0766", "PLAT0240", "PLAT0126" ], "warning": [ "IMM0012" ] }, "addition": { "critical": [], "detail": [ "IMM0106", "PLAT0084", "IMM0100", "IMM0096" ], "warning": [] } } } }, "ems_nuage": { "blacklisted_event_names": [], "event_handling": { "event_groups": { "addition": { "critical": [ "(?-mix:^nuage_.+_create$)" ] }, "deletion": { "critical": [ "(?-mix:^nuage_.+_delete$)" ] }, "update": { "critical": [ "(?-mix:^nuage_.+_update$)" ] }, "status": { "critical": [ "(?-mix:^nuage_alarm_.+$)" ] } } } }, "ems_openshift": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_openstack": { "excon": { "omit_default_port": true, "read_timeout": 60 }, "blacklisted_event_names": [], "event_handling": { "event_backread_seconds": 5, "event_skip_history": false, "event_groups": { "addition": { "critical": [ "aggregate.addhost.end", "aggregate.create.end", "aggregate.removehost.end", "aggregate.updateprop.end", "aggregate.updatemetadata.end", "identity.project.created", "identity.project.deleted", "identity.project.updated", "image.update", "image.create", "image.upload", "orchestration.stack.create.end", "orchestration.stack.create.error", "servergroup.create" ] }, "configuration": { "critical": [ "compute.instance.rebuild.end", "compute.instance.resize.end", "orchestration.stack.update.end", "orchestration.stack.update.error", "orchestration.stack.suspend.end", "orchestration.stack.suspend.error", "orchestration.stack.resume.end", "orchestration.stack.resume.error", "orchestration.autoscaling.end", "orchestration.autoscaling.error", "servergroup.update", "servergroup.addmemeber" ] }, "deletion": { "critical": [ "aggregate.delete.end", "image.delete", "orchestration.stack.delete.end", "orchestration.stack.delete.error", "servergroup.delete" ] }, "general": { "critical": [ "hardware.ipmi.metrics.update" ] }, "network": { "critical": [ "floatingip.create.end", "floatingip.delete.end", "floatingip.update.end", "network.create.end", "network.delete.end", "network.floating_ip.allocate", "network.floating_ip.deallocate", "network.floating_ip.associate", "network.floating_ip.disassociate", "network.update.end", "router.create.end", "router.delete.end", "router.interface.create", "router.interface.delete", "router.update.end", "security_group.create.end", "security_group.delete.end", "security_group.update.end", "security_group_rule.create.end", "security_group_rule.delete.end", "security_group_rule.update.end", "subnet.create.end", "subnet.delete.end", "subnet.update.end" ] }, "power": { "critical": [ "compute.instance.create.end", "compute.instance.create.error", "compute.instance.shutdown.end", "compute.instance.shutdown.error", "compute.instance.delete.end", "compute.instance.power_off.end", "compute.instance.power_on.end", "compute.instance.soft_delete.end", "compute.instance.reboot.end", "compute.instance.suspend", "compute.instance.resume", "compute.instance.pause.end", "compute.instance.unpause.end", "compute.instance.shelve.end", "compute.instance.unshelve.end", "compute.instance.shelve_offload.end" ] }, "snapshot": { "critical": [ "compute.instance.snapshot.end" ] }, "storage": { "critical": [ "backup.create.start", "backup.create.end", "backup.restore.start", "backup.restore.end", "snapshot.create.start", "snapshot.create.end", "snapshot.delete.end", "snapshot.update.end", "volume.create.end", "volume.delete.end" ] } } } }, "ems_redhat": { "consoles": { "html5_enabled": false }, "resolve_ip_addresses": true, "inventory": { "read_timeout": "1.hour", "open_timeout": "1.minute" }, "service": { "read_timeout": "1.hour", "open_timeout": "1.minute" }, "blacklisted_event_names": [] }, "ems_ovirt": { "event_handling": { "event_groups": { "console": { "critical": [ "VM_CONSOLE_CONNECTED", "VM_CONSOLE_DISCONNECTED", "VM_SET_TICKET", "VM_SET_TICKET_FAILED" ] }, "network": { "critical": [ "network.create.end", "network.delete.end", "network.update.end", "subnet.create.end", "subnet.delete.end", "subnet.update.end", "floatingip.create.end", "floatingip.delete.end", "floatingip.update.end", "network.floating_ip.allocate", "network.floating_ip.deallocate", "network.floating_ip.associate", "network.floating_ip.disassociate", "router.create.end", "router.delete.end", "router.interface.create", "router.interface.delete", "router.update.end", "security_group.create.end", "security_group.delete.end", "security_group.update.end" ] } } }, "connection_manager": { "purge_interval": "1.hour" } }, "ems_redfish": { "blacklisted_event_names": [], "event_handling": { "event_groups": { "general": { "critical": [ "(?-mix:^redfish_)" ] } } } }, "ems_scvmm": { "blacklisted_event_names": [], "event_handling": { "event_groups": null } }, "ems_vmware": { "blacklisted_event_names": [], "event_handling": { "event_groups": { "addition": { "critical": null }, "power": { "critical": null } } } } }, "ems_refresh": { "ec2": { "get_private_images": true, "get_shared_images": true, "get_public_images": false, "public_images_filters": [ { "name": "image-type", "values": [ "machine" ] } ], "ignore_terminated_instances": true, "inventory_collections": { "saver_strategy": "batch" } }, "ec2_network": { "inventory_collections": { "saver_strategy": "batch" } }, "s3": { "inventory_collections": { "saver_strategy": "batch" } }, "ec2_ebs_storage": { "inventory_collections": { "saver_strategy": "batch" } }, "ansible_tower_automation": { "allow_targeted_refresh": true, "inventory_collections": { "saver_strategy": "batch" }, "inventory_object_refresh": true, "refresh_interval": "15.minutes" }, "azure": { "get_market_images": false, "get_private_images": true, "market_image_urns": [ "MicrosoftWindowsServer:WindowsServer-HUB:2016-Datacenter-HUB:2016.127.20170630", "OpenLogic:CentOS:7.3:7.3.20170517", "RedHat:RHEL:7.3:7.3.2017051117" ], "get_unmanaged_disk_space": true, "parallel_thread_limit": 25, "targeted_api_collection_threshold": 500, "enabled_deployments_caching": true, "inventory_collections": { "saver_strategy": "default" } }, "azure_network": { "inventory_collections": { "saver_strategy": "default" } }, "azure_stack": { "allow_targeted_refresh": true }, "azure_stack_network": { "inventory_object_refresh": true, "allow_targeted_refresh": true }, "gce": { "inventory_collections": { "saver_strategy": "default" } }, "gce_network": { "inventory_collections": { "saver_strategy": "default" } }, "kubernetes": { "refresh_interval": "15.minutes", "streaming_refresh": false, "chunk_size": 1000, "inventory_collections": { "saver_strategy": "batch" } }, "lenovo_ph_infra": { "inventory_object_refresh": true, "inventory_collections": { "saver_strategy": "default" } }, "nuage_network": { "allow_targeted_refresh": true }, "openshift": { "refresh_interval": "15.minutes", "streaming_refresh": false, "chunk_size": 1000, "inventory_collections": { "saver_strategy": "batch" }, "get_container_images": true, "store_unused_images": true }, "openstack": { "is_admin": false, "heat": { "is_global_admin": false }, "parallel_thread_limit": 0 }, "openstack_network": { "is_admin": false }, "cinder": { "is_admin": false }, "rhevm": { "pipeline": 40, "connections": 10 }, "redhat_network": { "is_admin": false }, "vmware_cloud": { "inventory_object_refresh": false, "get_public_images": false }, "debug_trace": false, "capture_vm_created_on_date": false, "foreman_configuration": { "refresh_interval": "15.minutes" }, "foreman_provisioning": { "refresh_interval": "1.hour" }, "full_refresh_threshold": 100, "raise_vm_snapshot_complete_if_created_within": "15.minutes", "refresh_interval": "24.hours", "scvmm": { "refresh_interval": "15.minutes" } }, "http_proxy": { "ec2": { "host": null, "password": null, "port": null, "user": null }, "ansible_tower": { "host": null, "password": null, "port": null, "user": null }, "azure": { "host": null, "password": null, "port": null, "user": null }, "azure_stack": { "host": null, "password": null, "port": null, "user": null }, "foreman": { "host": null, "password": null, "port": null, "user": null }, "google": { "host": null, "password": null, "port": null, "user": null }, "kubernetes": { "host": null, "password": null, "port": null, "user": null }, "lenovo": { "host": null, "password": null, "port": null, "user": null }, "nuage": { "host": null, "password": null, "port": null, "user": null }, "openshift": { "host": null, "password": null, "port": null, "user": null }, "openstack": { "host": null, "password": null, "port": null, "user": null }, "rhevm": { "host": null, "password": null, "port": null, "user": null }, "redfish": { "host": null, "password": null, "port": null, "user": null }, "scvmm": { "host": null, "password": null, "port": null, "user": null }, "vmware_cloud": { "host": null, "password": null, "port": null, "user": null }, "vmwarews": { "host": null, "password": null, "port": null, "user": null }, "default": { "host": null, "password": null, "port": null, "user": null, "scheme": null }, "gce": { "host": null, "password": null, "port": null, "user": null, "scheme": null } }, "log": { "level_aws": "info", "level_ansible_tower": "info", "level_azure": "warn", "level_kube": "info", "level_lenovo": "info", "level_rhevm": "info", "level_redfish": "info", "collection": { "include_automate_models_and_dialogs": true, "archive": { "pattern": null }, "current": { "pattern": [ "log/*.log", "log/apache/*.log", "log/*.txt", "config/*", "/var/log/syslog*", "/var/log/daemon.log*", "/etc/default/ntp*", "/var/log/messages*", "/var/log/cron*", "/var/log/tower/*.log", "BUILD", "GUID", "VERSION" ] }, "ping_depot": true, "ping_depot_timeout": 20 }, "level": "info", "level_rails": "info", "level_api": "info", "level_automation": "info", "level_azure_stack": "info", "level_cn_monitoring": "info", "level_fog": "info", "level_mw": "info", "level_nuage": "info", "level_policy": "info", "level_scvmm": "info", "level_vcloud": "info", "level_vim": "warn", "level_remote_console": "info" }, "workers": { "worker_base": { "event_catcher": { "event_catcher_amazon": { "poll": "15.seconds" }, "event_catcher_azure": { "poll": "15.seconds" }, "event_catcher_azure_stack": { "poll": "20.seconds" }, "event_catcher_google": { "poll": "15.seconds" }, "event_catcher_kubernetes": { "poll": "1.seconds" }, "event_catcher_prometheus": { "poll": "20.seconds" }, "event_catcher_lenovo": { "poll": "15.seconds" }, "event_catcher_nuage_network": { "topics": [ "topic/CNAMessages", "topic/CNAAlarms" ], "amqp_connect_timeout": "5.seconds" }, "event_catcher_openshift": { "poll": "1.seconds" }, "event_catcher_openstack": { "poll": "15.seconds", "topics": { "nova": "notifications.*", "cinder": "notifications.*", "glance": "notifications.*", "heat": "notifications.*" }, "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4, "amqp_vhost": "/", "ceilometer": { "event_types_regex": "\\A(?!firewall|floatingip|gateway|net|port|router|subnet|security_group|vpn|volume|snapshot|backup)" } }, "event_catcher_openstack_cinder": { "poll": "15.seconds", "topics": { "nova": "notifications.*", "cinder": "notifications.*", "glance": "notifications.*", "heat": "notifications.*" }, "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4, "amqp_vhost": "/", "ceilometer": { "event_types_regex": "\\A(volume|snapshot|backup)" } }, "event_catcher_openstack_infra": { "poll": "15.seconds", "topics": { "nova": "notifications.*", "cinder": "notifications.*", "glance": "notifications.*", "heat": "notifications.*", "ironic": "notifications.*" }, "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4, "amqp_vhost": "/", "ceilometer": { "event_types_regex": "\\A(?!firewall|floatingip|gateway|net|port|router|subnet|security_group|vpn)" } }, "event_catcher_openstack_network": { "poll": "15.seconds", "topics": { "neutron": "notifications.*" }, "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4, "amqp_vhost": "/", "ceilometer": { "event_types_regex": "\\A(firewall|floatingip|gateway|net|port|router|subnet|security_group|security_group_rule|vpn)" } }, "event_catcher_openstack_service": "auto", "event_catcher_redhat": { "poll": "15.seconds" }, "event_catcher_redhat_network": { "poll": "15.seconds", "topics": { "neutron": "notifications.*" }, "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4, "ceilometer": { "event_types_regex": "\\A(firewall|floatingip|gateway|net|port|router|subnet|security_group|vpn)" } }, "event_catcher_redfish": {}, "event_catcher_vmware": { "flooding_monitor_enabled": true, "poll": "1.seconds", "ems_event_max_wait": 60 }, "event_catcher_vmware_cloud": { "poll": "15.seconds", "duration": "10.seconds", "capacity": 50, "amqp_port": 5672, "amqp_heartbeat": 30, "amqp_recovery_attempts": 4 }, "defaults": { "flooding_events_per_minute": 30, "flooding_monitor_enabled": false, "ems_event_page_size": 100, "ems_event_thread_shutdown_timeout": "10.seconds", "memory_threshold": "2.gigabytes", "nice_delta": 1, "poll": "1.seconds" }, "event_catcher_ansible_tower": { "poll": "20.seconds" }, "event_catcher_cinder": { "poll": "10.seconds" }, "event_catcher_swift": { "poll": "10.seconds" } }, "queue_worker_base": { "ems_metrics_collector_worker": { "ems_metrics_collector_worker_amazon": {}, "ems_metrics_collector_worker_azure": {}, "ems_metrics_collector_worker_google": {}, "ems_metrics_collector_worker_kubernetes": { "metrics_port": 5000, "metrics_path": "/hawkular/metrics", "prometheus_open_timeout": 5, "prometheus_request_timeout": 30, "hawkular_force_legacy": true }, "ems_metrics_collector_worker_openshift": {}, "ems_metrics_collector_worker_openstack": {}, "ems_metrics_collector_worker_openstack_infra": {}, "ems_metrics_openstack_default_service": "auto", "ems_metrics_gnocchi_granularity": 300, "ems_metrics_collector_worker_redhat": {}, "ems_metrics_collector_worker_vmware": {}, "defaults": { "count": 2, "memory_threshold": "400.megabytes", "nice_delta": 3, "poll_method": "escalate" } }, "ems_refresh_worker": { "ems_refresh_worker_amazon": {}, "ems_refresh_worker_amazon_network": {}, "ems_refresh_worker_amazon_ebs_storage": {}, "ems_refresh_worker_amazon_s3": {}, "ems_refresh_worker_azure": {}, "ems_refresh_worker_azure_network": {}, "ems_refresh_worker_azure_stack": {}, "ems_refresh_worker_azure_stack_network": {}, "ems_refresh_worker_google": {}, "ems_refresh_worker_google_network": {}, "ems_refresh_worker_kubernetes": {}, "ems_refresh_worker_kubevirt": {}, "ems_refresh_worker_lenovo_physical_infra": {}, "ems_refresh_worker_openshift": {}, "ems_refresh_worker_openstack": {}, "ems_refresh_worker_openstack_infra": {}, "ems_refresh_worker_openstack_network": {}, "ems_refresh_worker_redhat": {}, "ems_refresh_worker_redhat_network": {}, "ems_refresh_worker_redfish_physical_infra": {}, "ems_refresh_worker_vmware": {}, "ems_refresh_worker_vmware_cloud": {}, "ems_refresh_worker_vmware_cloud_network": {}, "defaults": { "memory_threshold": "2.gigabytes", "nice_delta": 7, "poll": "10.seconds", "poll_method": "normal", "queue_timeout": "120.minutes", "dequeue_method": "sql" }, "ems_refresh_worker_ansible_tower_automation": {}, "ems_refresh_worker_foreman_configuration": {}, "ems_refresh_worker_foreman_provisioning": {}, "ems_refresh_worker_microsoft": {}, "ems_refresh_worker_nuage_network": {} }, "ems_operations_worker": { "ems_operations_worker_vmware": { "memory_threshold": "1.gigabytes" } }, "defaults": { "cpu_usage_threshold": "100.percent", "dequeue_method": "drb", "memory_threshold": "500.megabytes", "poll_method": "normal", "queue_timeout": "10.minutes" }, "ems_metrics_processor_worker": { "count": 2, "memory_threshold": "600.megabytes", "nice_delta": 7, "poll_method": "escalate" }, "event_handler": { "cpu_usage_threshold": "0.percent", "nice_delta": 7 }, "generic_worker": { "count": 2 }, "priority_worker": { "memory_threshold": "600.megabytes", "count": 2, "nice_delta": 1, "poll": "1.seconds" }, "reporting_worker": { "count": 2, "nice_delta": 7 }, "smart_proxy_worker": { "count": 2, "memory_threshold": "2.gigabytes", "queue_timeout": "20.minutes", "heartbeat_thread_shutdown_timeout": "10.seconds" } }, "defaults": { "count": 1, "gc_interval": "15.minutes", "heartbeat_freq": "10.seconds", "heartbeat_timeout": "2.minutes", "memory_threshold": "400.megabytes", "nice_delta": 10, "parent_time_threshold": "3.minutes", "poll": "3.seconds", "poll_escalate_max": "30.seconds", "poll_method": "normal", "starting_timeout": "10.minutes", "stopping_timeout": "10.minutes", "systemd_enabled": true }, "agent_coordinator_worker": { "heartbeat_timeout": "30.minutes", "poll": "30.seconds" }, "ems_refresh_core_worker": { "poll": "1.seconds", "nice_delta": 1, "thread_shutdown_timeout": "10.seconds" }, "schedule_worker": { "audit_managed_resources": "1.days", "container_entities_purge_interval": "1.day", "binary_blob_purge_interval": "1.hour", "authentication_check_interval": "1.hour", "chargeback_generation_interval": "1.day", "chargeback_generation_time_utc": 3600, "compliance_purge_interval": "1.day", "db_diagnostics_interval": "30.minutes", "drift_state_purge_interval": "1.day", "event_streams_purge_interval": "1.day", "evm_snapshot_delete_delay_for_job_not_found": "1.hour", "evm_snapshot_interval": "1.hour", "job_proxy_dispatcher_interval": "15.seconds", "job_proxy_dispatcher_stale_message_check_interval": "60.seconds", "job_proxy_dispatcher_stale_message_timeout": "2.minutes", "job_timeout_interval": "60.seconds", "log_active_configuration_interval": "1.days", "log_database_statistics_interval": "1.days", "memory_threshold": "500.megabytes", "nice_delta": 3, "notifications_purge_interval": "1.day", "orchestration_stack_retired_interval": "10.minutes", "performance_collection_interval": "3.minutes", "performance_collection_start_delay": "5.minutes", "performance_realtime_purging_interval": "21.minutes", "performance_realtime_purging_start_delay": "5.minutes", "performance_rollup_purging_interval": "4.hours", "performance_rollup_purging_start_delay": "5.minutes", "policy_events_purge_interval": "1.day", "poll": "15.seconds", "queue_timeout_interval": "15.seconds", "report_result_purge_interval": "1.week", "server_log_stats_interval": "5.minutes", "server_stats_interval": "60.seconds", "service_retired_interval": "10.minutes", "session_timeout_interval": "30.seconds", "storage_file_collection_interval": "1.days", "storage_file_collection_time_utc": 21600, "task_purge_interval": "1.day", "task_timeout_check_frequency": "1.hour", "vim_performance_states_purge_interval": "1.day", "vm_retired_interval": "10.minutes", "yum_update_check": "12.hours" }, "ui_worker": { "connection_pool_size": 8, "memory_threshold": "1.gigabytes", "nice_delta": 1 }, "web_service_worker": { "connection_pool_size": 8, "memory_threshold": "1.gigabytes", "nice_delta": 1 }, "remote_console_worker": { "connection_pool_size": 14, "memory_threshold": "1.gigabytes", "nice_delta": 1 }, "cockpit_ws_worker": { "count": 1 } } }, "prototype": { "amazon": { "s3": false }, "queue_type": "miq_queue", "artemis": { "queue_hostname": "localhost", "queue_port": 61616, "queue_username": "admin", "queue_password": "smartvm" } }, "ui": { "custom_menu": null, "custom_button_count": 3, "mark_translated_strings": false, "display_ops_database": false, "url": null }, "docs": { "ansible_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#adding-an-ansible-tower-provider", "cloud_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#cloud_providers", "configuration_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#configuration_management_providers", "container_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#containers-providers", "infra_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#infrastructure_providers", "network_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#network_providers", "physical_infra_provider": "http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#infrastructure_providers", "product_support_website": "http://www.manageiq.org", "product_support_website_text": "ManageIQ.org" }, "authentication": { "basedn": null, "bind_dn": null, "bind_pwd": null, "bind_timeout": 30, "follow_referrals": false, "get_direct_groups": true, "group_memberships_max_depth": 2, "group_attribute": "memberof", "ldaphost": null, "ldapport": "389", "mode": "database", "search_timeout": 30, "user_suffix": null, "user_type": "userprincipalname", "amazon_key": null, "amazon_secret": null }, "binary_blob": { "purge_window_size": 100 }, "capacity": { "profile": { "1": { "vcpu_commitment_ratio": 2, "vcpu_method": "vcpu_average", "vcpu_method_description": "Average of Allocated vCPU", "memory_commitment_ratio": 1.2, "memory_method": "mem_average", "memory_method_description": "Average of Allocated Memory" }, "2": { "vcpu_commitment_ratio": 1, "vcpu_method": "vcpu_high_norm", "vcpu_method_description": "High Normal Range of Allocated vCPU", "memory_commitment_ratio": 1, "memory_method": "mem_high_norm", "memory_method_description": "High Normal Range of Allocated Memory" } }, "failover": { "rule": "discovered" } }, "compliances": { "history": { "keep_compliances": "6.months", "purge_window_size": 10000 } }, "coresident_miqproxy": { "concurrent_per_ems": 1, "concurrent_per_host": 1, "scan_via_host": true }, "container_scanning": { "scanning_job_timeout": "20.minutes", "concurrent_per_ems": 3 }, "database": { "maintenance": { "reindex_schedule": "1 * * * *", "reindex_tables": [ "Metric", "MiqQueue", "MiqWorker" ], "vacuum_schedule": "0 2 * * 6", "vacuum_tables": [ "BinaryBlob", "BinaryBlobPart", "CustomizationSpec", "EventLog", "EventStream", "FirewallRule", "Host", "Job", "MiqQueue", "MiqRequestTask", "MiqSchedule", "MiqScsiLun", "MiqScsiTarget", "MiqSearch", "MiqServer", "MiqWorker", "Network", "PolicyEvent", "Snapshot", "Storage", "StorageFile", "Tagging", "VimPerformanceState", "Vm" ] }, "metrics_collection": { "collection_schedule": "1 * * * *", "daily_rollup_schedule": "23 0 * * *" }, "metrics_history": { "keep_daily_metrics": "6.months", "keep_hourly_metrics": "6.months", "purge_schedule": "50 * * * *", "purge_window_size": 10000, "queue_timeout": "20.minutes" } }, "drift_states": { "history": { "keep_drift_states": "6.months", "purge_window_size": 10000 } }, "event_streams": { "history": { "keep_events": "6.months", "purge_window_size": 1000 } }, "event_handling": { "bottleneck_event_groups": { "Capacity": { "detail": [ "DiskUsage" ], "name": "Capacity" }, "Utilization": { "detail": [ "CpuUsage", "MemoryUsage" ], "name": "Utilization" } }, "event_groups": { "addition": { "critical": [ "CloneTaskEvent", "ClusterCreatedEvent", "CreateFolder", "DatacenterCreatedEvent", "DatastoreDiscoveredEvent", "HostConnectedEvent", "HOST_DETECTED", "HOST_REGISTER_AUTO_APPROVE_PATTERN", "HOST_REGISTER_ERROR_UPDATING_HOST", "HOST_REGISTER_ERROR_UPDATING_HOST_ALL_TAKEN", "HOST_REGISTER_ERROR_UPDATING_NAME", "HOST_REGISTER_ERROR_UPDATING_NAMES_ALL_TAKEN", "HOST_REGISTER_EXISTING_HOST_UPDATE_FAILED", "HOST_REGISTER_FAILED", "HOST_REGISTER_HOST_IS_ACTIVE", "HOST_REGISTER_NAME_IS_ACTIVE", "HOST_REGISTER_SUCCEEDED", "IMPORTEXPORT_STARTING_EXPORT_TEMPLATE", "IMPORTEXPORT_EXPORT_TEMPLATE", "ResourcePoolCreatedEvent", "TemplateDeployedEvent", "USER_ADD", "USER_ADD_HOST", "USER_ADD_VM", "USER_ADD_VM_FINISHED_FAILURE", "USER_ADD_VM_FINISHED_SUCCESS", "USER_ADD_VM_TEMPLATE", "USER_ADD_VM_TEMPLATE_FINISHED_FAILURE", "USER_ADD_VM_TEMPLATE_FINISHED_SUCCESS", "USER_FAILED_ADD_HOST", "USER_FAILED_ADD_VM_TEMPLATE", "GceOperationDone_compute.instances.insert", "VmConnectedEvent", "VmCreatedEvent", "VmDeployedEvent", "VmRegisteredEvent", "VmClonedEvent" ], "detail": [ "CloneVM_Task", "CloneVM_Task_Complete", "CreateClusterEx", "CreateClusterEx_Complete", "CreateDatacenter", "CreateDatacenter_Complete", "CreateResourcePool", "CreateResourcePool_Complete", "CreateVM_Task", "CreateVM_Task_Complete", "ReconnectHost_Task", "RegisterVM_Task", "RegisterVM_Task_Complete", "VmBeingClonedEvent", "VmBeingCreatedEvent", "VmBeingDeployedEvent" ], "name": "Creation/Addition" }, "configuration": { "critical": [ "ansible_tower_create", "ansible_tower_update", "ansible_tower_delete", "ansible_tower_associate", "ClusterReconfiguredEvent", "EnterMaintenanceMode_Task_Complete", "ExitMaintenanceMode_Task_Complete", "FailoverLevelRestored", "MarkAsTemplate_Complete", "RefreshStorageSystem", "ResourcePoolReconfiguredEvent", "TemplateToVm", "USER_ADD_DISK_TO_VM", "USER_ADD_DISK_TO_VM_FINISHED_FAILURE", "USER_ADD_DISK_TO_VM_FINISHED_SUCCESS", "USER_CHANGE_FLOPPY_VM", "USER_EJECT_VM_DISK", "USER_EJECT_VM_FLOPPY", "USER_FAILED_ADD_DISK_TO_VM", "USER_FAILED_CHANGE_DISK_VM", "USER_FAILED_CHANGE_FLOPPY_VM", "USER_FAILED_REMOVE_DISK_FROM_VM", "USER_FAILED_UPDATE_HOST", "USER_FAILED_UPDATE_VM", "USER_FAILED_UPDATE_VM_DISK", "USER_FAILED_UPDATE_VM_TEMPLATE", "USER_REMOVE_DISK_FROM_VM", "USER_UPDATE_HOST", "USER_UPDATE_VM", "USER_UPDATE_VM_DISK", "USER_UPDATE_VM_TEMPLATE", "VmReconfiguredEvent", "VmResourcePoolMovedEvent", "VmToTemplate" ], "detail": [ "EnterMaintenanceMode_Task", "ExitMaintenanceMode_Task", "MarkAsTemplate", "MoveIntoFolder_Task", "MoveInto_Task", "MoveIntoResourcePool", "MoveIntoResourcePool_Complete", "ReconfigVM_Task", "ReconfigVM_Task_Complete", "VmMacAssignedEvent", "VmResourceReallocatedEvent", "VmUuidAssignedEvent" ], "name": "Configuration/Reconfiguration" }, "console": { "critical": [ "USER_LOGGED_IN_VM", "USER_LOGGED_OUT_VM", "UserLoginSessionEvent", "UserLogoutSessionEvent", "VmAcquiredMksTicketEvent", "VmRemoteConsoleConnectedEvent" ], "detail": [], "name": "Console Activity" }, "deletion": { "critical": [ "ClusterDestroyedEvent", "DestroyDatacenter_Task", "DestroyFolder_Task", "HostConnectionLostEvent", "HostDisconnectedEvent", "ResourcePoolDestroyedEvent", "UnregisterVM_Complete", "USER_FAILED_REMOVE_HOST", "USER_FAILED_REMOVE_VM", "USER_FAILED_REMOVE_VM_TEMPLATE", "USER_REMOVE_HOST", "USER_REMOVE_VM", "USER_REMOVE_VM_FINISHED", "USER_REMOVE_VM_TEMPLATE", "USER_REMOVE_VM_TEMPLATE_FINISHED", "GceOperationDone_compute.instances.delete", "VmDisconnectedEvent", "VmRemovedEvent" ], "detail": [ "Destroy_Task", "Destroy_Task_Complete", "DestroyCluster_Task_Complete", "DestroyCluster_Task", "DestroyResourcePool_Task", "DestroyResourcePool_Task_Complete", "DestroyVM_Task", "DestroyVM_Task_Complete", "DisconnectHost_Task", "UnregisterVM" ], "name": "Deletion/Removal" }, "general": { "critical": [ "AD_COMPUTER_ACCOUNT_FAILED", "AD_COMPUTER_ACCOUNT_SUCCEEDED", "CPU_FLAGS_NX_IS_MISSING", "HOST_APPROVE", "HOST_APPROVE_FAILED", "HOST_DOMAIN_DELAY_INTERVAL", "HOST_INITIALIZING", "HOST_INSTALL", "HOST_INSTALL_FAILED", "HOST_INSTALL_IN_PROGRESS", "HOST_INSTALL_IN_PROGRESS_ERROR", "HOST_INSTALL_IN_PROGRESS_WARNING", "HOST_RECOVER_FAILED_VMS_UNKNOWN", "HOST_RUN_IN_NO_KVM_MODE", "HOST_SET_NONOPERATIONAL", "HOST_SET_NONOPERATIONAL_DOMAIN", "HOST_SET_NONOPERATIONAL_DOMAIN_FAILED", "HOST_SET_NONOPERATIONAL_FAILED", "HOST_SET_NONOPERATIONAL_IFACE_DOWN", "HOST_SET_NONOPERATIONAL_NETWORK", "HOST_VERSION_NOT_SUPPORTED_FOR_CLUSTER", "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_IRS", "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_VDC", "IMAGES_SYNCRONIZER_DESKTOP_WITHOUT_TEMPLATE_VDC", "IMAGES_SYNCRONIZER_IMAGE_TEMPLATE_NOT_EXIST", "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_IRS", "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_VDC", "IMAGES_SYNCRONIZER_SNAPSHOTS_NOT_ATTACHED_TO_VM_IN_VDC", "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IMAGE_EXIST", "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IN_VDC", "IRS_HOSTED_ON_HOST", "RECONSTRUCT_MASTER_DONE", "RECONSTRUCT_MASTER_FAILED", "RECONSTRUCT_MASTER_FAILED_NO_MASTER", "RescanAllHBA", "RescanVMFS", "ScheduledTaskStartedEvent", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_SEARCHING_NEW_SPM", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR", "SYSTEM_UPDATE_HOST_GROUP", "SYSTEM_UPDATE_HOST_GROUP_FAILED", "TaskTimeoutEvent", "TASK_CLEARING_ASYNC_TASK", "TASK_STOPPING_ASYNC_TASK", "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE", "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE_FAILED", "USER_ADD_BOOKMARK", "USER_ADD_BOOKMARK_FAILED", "USER_ADD_HOST_GROUP", "USER_ADD_HOST_GROUP_FAILED", "USER_ADD_PERMISSION", "USER_ADD_PERMISSION_FAILED", "USER_ADD_ROLE", "USER_ADD_ROLE_FAILED", "USER_ADD_ROLE_WITH_ACTION_GROUP", "USER_ADD_ROLE_WITH_ACTION_GROUP_FAILED", "USER_ADD_TAG", "USER_ADD_TAG_FAILED", "USER_ATTACH_TAG_TO_HOST", "USER_ATTACH_TAG_TO_HOST_EXISTS", "USER_ATTACH_TAG_TO_HOST_FAILED", "USER_ATTACH_TAG_TO_USER", "USER_ATTACH_TAG_TO_USER_EXISTS", "USER_ATTACH_TAG_TO_USER_FAILED", "USER_ATTACH_TAG_TO_USER_GROUP", "USER_ATTACH_TAG_TO_USER_GROUP_EXISTS", "USER_ATTACH_TAG_TO_USER_GROUP_FAILED", "USER_ATTACH_TAG_TO_VM", "USER_ATTACH_TAG_TO_VM_EXISTS", "USER_ATTACH_TAG_TO_VM_FAILED", "USER_ATTACHED_ACTION_GROUP_TO_ROLE", "USER_ATTACHED_ACTION_GROUP_TO_ROLE_FAILED", "USER_CHANGE_DISK_VM", "USER_CLEAR_UNKNOWN_VMS", "USER_COPIED_TEMPLATE", "USER_COPIED_TEMPLATE_FINISHED_FAILURE", "USER_COPIED_TEMPLATE_FINISHED_SUCCESS", "USER_DEDICATE_VM_TO_POWERCLIENT", "USER_DEDICATE_VM_TO_POWERCLIENT_FAILED", "USER_DETACH_HOST_FROM_TAG", "USER_DETACH_HOST_FROM_TAG_FAILED", "USER_DETACH_USER_FROM_TAG", "USER_DETACH_USER_FROM_TAG_FAILED", "USER_DETACH_USER_GROUP_FROM_TAG", "USER_DETACH_USER_GROUP_FROM_TAG_FAILED", "USER_DETACH_VM_FROM_TAG", "USER_DETACH_VM_FROM_TAG_FAILED", "USER_DETACHED_ACTION_GROUP_FROM_ROLE", "USER_DETACHED_ACTION_GROUP_FROM_ROLE_FAILED", "USER_FAILED_ADD_ADUSER", "USER_FAILED_CLEAR_UNKNOWN_VMS", "USER_FAILED_COPY_TEMPLATE", "USER_FAILED_REMOVE_ADUSER", "USER_LOCKED_VM", "USER_MOVE_TAG", "USER_MOVE_TAG_FAILED", "USER_PASSWORD_CHANGE_FAILED", "USER_PASSWORD_CHANGED", "USER_REMOVE_ADUSER", "USER_REMOVE_BOOKMARK", "USER_REMOVE_BOOKMARK_FAILED", "USER_REMOVE_HOST_GROUP", "USER_REMOVE_HOST_GROUP_FAILED", "USER_REMOVE_PERMISSION", "USER_REMOVE_PERMISSION_FAILED", "USER_REMOVE_ROLE", "USER_REMOVE_ROLE_FAILED", "USER_REMOVE_TAG", "USER_REMOVE_TAG_FAILED", "USER_UNLOCKED_VM", "USER_UPDATE_BOOKMARK", "USER_UPDATE_BOOKMARK_FAILED", "USER_UPDATE_HOST_GROUP", "USER_UPDATE_HOST_GROUP_FAILED", "USER_UPDATE_ROLE", "USER_UPDATE_ROLE_FAILED", "USER_UPDATE_TAG", "USER_UPDATE_TAG_FAILED", "USER_UPDATE_VM_CLUSTER_DEFAULT_HOST_CLEARED", "USER_VDC_LOGIN_FAILED", "USER_VDC_LOGOUT_FAILED", "VDC_START", "VDC_STOP", "VM_BLK_VIRTIO_NO_CACHE", "VM_CLEARED", "VM_SET_TO_UNKNOWN_STATUS", "VM_WAS_SET_DOWN_DUE_TO_HOST_REBOOT_OR_MANUAL_FENCE", "VM_RENAMED" ], "detail": [], "name": "General Activity" }, "import_export": { "critical": [ "IMPORTEXPORT_EXPORT_TEMPLATE", "IMPORTEXPORT_EXPORT_TEMPLATE_FAILED", "IMPORTEXPORT_EXPORT_VM", "IMPORTEXPORT_EXPORT_VM_FAILED", "IMPORTEXPORT_FAILED_TO_IMPORT_TEMPLATE", "IMPORTEXPORT_FAILED_TO_IMPORT_VM", "IMPORTEXPORT_IMPORT_TEMPLATE", "IMPORTEXPORT_IMPORT_TEMPLATE_FAILED", "IMPORTEXPORT_IMPORT_VM", "IMPORTEXPORT_IMPORT_VM_FAILED", "IMPORTEXPORT_REMOVE_TEMPLATE", "IMPORTEXPORT_REMOVE_TEMPLATE_FAILED", "IMPORTEXPORT_REMOVE_VM", "IMPORTEXPORT_REMOVE_VM_FAILED", "IMPORTEXPORT_STARTING_EXPORT_TEMPLATE", "IMPORTEXPORT_STARTING_EXPORT_VM", "IMPORTEXPORT_STARTING_IMPORT_TEMPLATE", "IMPORTEXPORT_STARTING_IMPORT_VM", "IMPORTEXPORT_STARTING_REMOVE_TEMPLATE", "IMPORTEXPORT_STARTING_REMOVE_VM", "TEMPLATE_IMPORT", "TEMPLATE_IMPORT_FAILED", "USER_EXPORT_TEMPLATE", "USER_EXPORT_TEMPLATE_FAILED", "USER_EXPORT_VM", "USER_EXPORT_VM_FAILED", "VM_IMPORT", "VM_IMPORT_FAILED", "VM_IMPORT_INFO" ], "detail": [], "name": "Import/Export" }, "migration": { "critical": [ "DatastoreFileMovedEvent", "DrsMigrateVM_Task", "DrsVmMigratedEvent", "MigrateTaskEvent", "MigrateVM_Task", "RelocateVM_Task", "USER_FAILED_MOVE_TEMPLATE", "USER_FAILED_MOVE_VM", "USER_HOST_MAINTENANCE_MIGRATION_FAILED", "USER_MOVED_TEMPLATE", "USER_MOVED_TEMPLATE_FINISHED_FAILURE", "USER_MOVED_TEMPLATE_FINISHED_SUCCESS", "USER_MOVED_VM", "USER_MOVED_VM_FINISHED_FAILURE", "USER_MOVED_VM_FINISHED_SUCCESS", "VM_MIGRATION_ABORT", "VM_MIGRATION_DONE", "VM_MIGRATION_FAILED", "VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTANANCE", "VM_MIGRATION_FAILED_FROM_TO", "VM_MIGRATION_ON_CONNECT_CHECK_FAILED", "VM_MIGRATION_ON_CONNECT_CHECK_SUCCEEDED", "VM_MIGRATION_START", "VM_MIGRATION_TRYING_RERUN", "VmMigratedEvent", "VmRelocatedEvent" ], "detail": [ "DrsMigrateVM_Task_Complete", "MigrateVM_Task_Complete", "MigrationHostWarningEvent", "Move_Task", "Move_Task_Complete", "RelocateTaskEvent", "RelocateVM_Task_Complete", "VmBeingRelocatedEvent" ], "name": "Migration/Vmotion" }, "network": { "critical": [ "HOST_ALERT_FENCING_IS_NOT_CONFIGURED", "HOST_ALERT_FENCING_NO_PROXY_HOST", "HOST_ALERT_FENCING_OPERATION_FAILED", "HOST_ALERT_FENCING_OPERATION_SKIPPED", "HOST_ALERT_FENCING_TEST_FAILED", "HOST_FENCE_STATUS", "HOST_FENCE_STATUS_FAILED", "HOST_MANUAL_FENCE_FAILED_CALL_FENCE_SPM", "HOST_MANUAL_FENCE_STATUS", "HOST_MANUAL_FENCE_STATUS_FAILED", "NETWORK_ADD_BOND", "NETWORK_ADD_BOND_FAILED", "NETWORK_ADD_NETWORK", "NETWORK_ADD_NETWORK_FAILED", "NETWORK_ADD_TEMPLATE_INTERFACE", "NETWORK_ADD_TEMPLATE_INTERFACE_FAILED", "NETWORK_ADD_VM_INTERFACE", "NETWORK_ADD_VM_INTERFACE_FAILED", "NETWORK_INTERFACE_PLUGGED_INTO_VM", "NETWORK_ATTACH_NETWORK_TO_HOST", "NETWORK_ATTACH_NETWORK_TO_HOST_FAILED", "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP", "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED", "NETWORK_COMMINT_NETWORK_CHANGES", "NETWORK_COMMINT_NETWORK_CHANGES_FAILED", "NETWORK_DETACH_NETWORK_FROM_HOST", "NETWORK_DETACH_NETWORK_FROM_HOST_FAILED", "NETWORK_DETACH_NETWORK_TO_HOST_GROUP", "NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED", "NETWORK_HOST_MISSING_CLUSER_VLAN", "NETWORK_HOST_NETWORK_MATCH_CLUSTER", "NETWORK_HOST_NETWORK_NOT_MATCH_CLUSTER", "NETWORK_HOST_USING_WRONG_CLUSER_VLAN", "NETWORK_REMOVE_BOND", "NETWORK_REMOVE_BOND_FAILED", "NETWORK_REMOVE_NETWORK", "NETWORK_REMOVE_NETWORK_FAILED", "NETWORK_REMOVE_TEMPLATE_INTERFACE", "NETWORK_REMOVE_TEMPLATE_INTERFACE_FAILED", "NETWORK_REMOVE_VM_INTERFACE", "NETWORK_REMOVE_VM_INTERFACE_FAILED", "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP", "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED", "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE", "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE_FAILED", "NETWORK_UPDATE_TEMPLATE_INTERFACE", "NETWORK_UPDATE_TEMPLATE_INTERFACE_FAILED", "NETWORK_UPDATE_VM_INTERFACE", "NETWORK_UPDATE_VM_INTERFACE_FAILED" ], "detail": [], "name": "Network" }, "power": { "critical": [ "AUTO_FAILED_SUSPEND_VM", "AUTO_SUSPEND_VM", "AUTO_SUSPEND_VM_FINISH_FAILURE", "AUTO_SUSPEND_VM_FINISH_SUCCESS", "DrsVmPoweredOnEvent", "HOST_FAILED_TO_RUN_VMS", "HOST_INITIATED_RUN_VM", "HOST_INITIATED_RUN_VM_FAILED", "RebootGuest_Complete", "RecommendHostsForVm", "RUN_VM_FAILED", "SYSTEM_HOST_RESTART", "SYSTEM_FAILED_HOST_RESTART", "ShutdownGuest", "USER_ADD_VM_STARTED", "USER_FAILED_ADD_VM", "USER_FAILED_HOST_RESTART", "USER_FAILED_HOST_SHUTDOWN", "USER_FAILED_HOST_START", "USER_FAILED_HOST_STOP", "USER_FAILED_PAUSE_VM", "USER_FAILED_RESUME_VM", "USER_FAILED_RUN_VM", "USER_FAILED_SHUTDOWN_VM", "USER_FAILED_STOP_VM", "USER_FAILED_STOPPING_VM_INSTEAD_OF_SHUTDOWN", "USER_FAILED_SUSPEND_VM", "USER_HOST_MAINTENANCE", "USER_HOST_RESTART", "USER_HOST_SHUTDOWN", "USER_HOST_START", "USER_HOST_STOP", "USER_INITIATED_RUN_VM", "USER_INITIATED_RUN_VM_FAILED", "USER_INITIATED_SHUTDOWN_VM", "USER_PAUSE_VM", "USER_RESUME_VM", "USER_RUN_VM", "USER_RUN_VM_AS_STATELESS_FINISHED_FAILURE", "USER_RUN_VM_ON_NON_DEFAULT_HOST", "USER_STARTED_VM", "USER_STOP_VM", "USER_STOP_SUSPENDED_VM", "USER_STOP_SUSPENDED_VM_FAILED", "USER_STOPPED_VM_INSTEAD_OF_SHUTDOWN", "USER_SUSPEND_VM", "USER_SUSPEND_VM_FINISH_FAILURE", "USER_SUSPEND_VM_FINISH_SUCCESS", "USER_SUSPEND_VM_OK", "GceOperationDone_compute.instances.start", "GceOperationDone_compute.instances.stop", "VM_DOWN", "VM_DOWN_ERROR", "VM_PAUSED_ENOSPC", "VM_PAUSED_ERROR", "VM_SHUTDOWN_FAILED", "VmGuestRebootEvent", "VmGuestShutdownEvent", "VmPoweredOffEvent", "VmPoweredOnEvent", "VmResumingEvent", "VmStartedOnEvent", "VmStoppedEvent", "VmSuspendedEvent" ], "detail": [ "PowerOffVM_Task", "PowerOffVM_Task_Complete", "PowerOnMultiVM_Task", "PowerOnVM_Task", "PowerOnVM_Task_Complete", "RebootGuest", "ResetVM_Task", "ResetVM_Task_Complete", "ShutdownGuest_Complete", "SuspendVM_Task", "SuspendVM_Task_Complete", "VmStartingEvent", "VmStoppingEvent", "VmSuspendingEvent" ], "name": "Power Activity" }, "snapshot": { "critical": [ "CreateSnapshot_Task", "RemoveAllSnapshots_Task", "RemoveSnapshot_Task", "RevertToSnapshot_Task", "USER_CREATE_SNAPSHOT", "USER_CREATE_SNAPSHOT_FINISHED_FAILURE", "USER_CREATE_SNAPSHOT_FINISHED_SUCCESS", "USER_FAILED_CREATE_SNAPSHOT", "USER_FAILED_MERGE_SNAPSHOT", "USER_FAILED_RESTORE_FROM_SNAPSHOT", "USER_FAILED_TRY_BACK_TO_SNAPSHOT", "USER_MERGE_SNAPSHOT", "USER_MERGE_SNAPSHOT_FINISHED_FAILURE", "USER_MERGE_SNAPSHOT_FINISHED_SUCCESS", "USER_RESTORE_FROM_SNAPSHOT", "USER_RESTORE_FROM_SNAPSHOT_FINISH_FAILURE", "USER_RESTORE_FROM_SNAPSHOT_FINISH_SUCCESS", "USER_TRY_BACK_TO_SNAPSHOT", "USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE", "USER_TRY_BACK_TO_SNAPSHOT_FINISH_SUCCESS" ], "detail": [], "name": "Snapshot Activity" }, "status": { "critical": [ "AlarmCreatedEvent", "AlarmRemovedEvent", "AlarmStatusChangedEventVm", "CERTIFICATE_FILE_NOT_FOUND", "ClusterStatusChangedEvent", "DasHostFailedEvent", "DuplicateIpDetectedEvent", "EVMAlertEvent", "GeneralHostWarningEvent", "HostDasErrorEvent", "HOST_ACTIVATE", "HOST_ACTIVATE_FAILED", "HOST_CPU_LOWER_THAN_CLUSTER", "HOST_CPU_RETRIEVE_FAILED", "HOST_FAILURE", "HOST_LOW_MEM", "HOST_MAINTENANCE", "HOST_MAINTENANCE_FAILED", "HOST_RECOVER", "HOST_RECOVER_FAILED", "HOST_SLOW_STORAGE_RESPONSE_TIME", "IRS_DISK_SPACE_LOW", "IRS_DISK_SPACE_LOW_ERROR", "IRS_FAILURE", "MAC_ADDRESS_IS_IN_USE", "MAC_POOL_EMPTY", "RemoveAlarm", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_FROM_NON_OPERATIONAL", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR", "SYSTEM_MASTER_DOMAIN_NOT_IN_SYNC", "USER_FAILED_ATTACH_USER_TO_VM", "VM_FAILURE", "VM_NOT_RESPONDING", "VmConfigMissingEvent" ], "detail": [ "DatacenterRenamedEvent", "GeneralUserEvent", "LicenseServerUnavailableEvent", "Rename_Task", "Rename_Task_Complete", "RenameCluster_Task", "RenameDatacenter_Task", "RenameDatacenter_Task_Complete", "RenameFolder_Task", "RenameResourcePool_Task", "RenameVM_Task", "RenameVM_Task_Complete", "VmRenamedEvent" ], "name": "Alarm/Status Change/Errors" }, "storage": { "critical": [ "CONNECT_STORAGE_POOL_FAILED", "CONNECT_STORAGE_SERVERS_FAILED", "RECOVERY_STORAGE_POOL", "RECOVERY_STORAGE_POOL_FAILED", "STORAGE_DOMAIN_ERROR", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC", "SYSTEM_CHANGE_STORAGE_POOL_STATUS_RESET_IRS", "SYSTEM_DEACTIVATE_STORAGE_DOMAIN_FAILED", "SYSTEM_DEACTIVATED_STORAGE_DOMAIN", "SYSTEM_FAILED_CHANGE_STORAGE_POOL_STATUS", "USER_ACTIVATE_STORAGE_DOMAIN_FAILED", "USER_ACTIVATE_STORAGE_POOL", "USER_ACTIVATE_STORAGE_POOL_FAILED", "USER_ACTIVATED_STORAGE_DOMAIN", "USER_ADD_STORAGE_DOMAIN", "USER_ADD_STORAGE_DOMAIN_FAILED", "USER_ADD_STORAGE_POOL", "USER_ADD_STORAGE_POOL_FAILED", "USER_ATTACH_STORAGE_DOMAIN_TO_POOL", "USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED", "USER_CONNECT_HOSTS_TO_LUN_FAILED", "USER_DEACTIVATE_STORAGE_DOMAIN_FAILED", "USER_DEACTIVATED_STORAGE_DOMAIN", "USER_DETACH_STORAGE_DOMAIN_FROM_POOL", "USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED", "USER_EXTENDED_STORAGE_DOMAIN", "USER_EXTENDED_STORAGE_DOMAIN_FAILED", "USER_FORCE_REMOVE_STORAGE_DOMAIN", "USER_FORCE_REMOVE_STORAGE_DOMAIN_FAILED", "USER_REMOVE_STORAGE_DOMAIN", "USER_REMOVE_STORAGE_DOMAIN_FAILED", "USER_REMOVE_STORAGE_POOL", "USER_REMOVE_STORAGE_POOL_FAILED", "USER_UPDATE_STORAGE_DOMAIN", "USER_UPDATE_STORAGE_DOMAIN_FAILED", "USER_UPDATE_STORAGE_POOL", "USER_UPDATE_STORAGE_POOL_FAILED" ], "detail": [], "name": "Storage" }, "update": { "detail": [], "name": "Update" } }, "task_final_events": { "ClusterCreatedEvent": [ "CreateClusterEx" ], "ClusterDestroyedEvent": [ "DestroyCluster_Task" ], "DatacenterCreatedEvent": [ "CreateDatacenter" ], "DatacenterRenamedEvent": [ "RenameDatacenter_Task" ], "DatastoreFileMovedEvent": [ "Move_Task" ], "DrsVmMigratedEvent": [ "DrsMigrateVM_Task" ], "DrsVmPoweredOnEvent": [ "PowerOnVM_Task" ], "EnteredMaintenanceModeEvent": [ "EnterMaintenanceMode_Task" ], "ExitMaintenanceModeEvent": [ "ExitMaintenanceMode_Task" ], "ResourcePoolCreatedEvent": [ "CreateResourcePool" ], "ResourcePoolDestroyedEvent": [ "DestroyResourcePool_Task" ], "ResourcePoolMovedEvent": [ "MoveIntoResourcePool" ], "VmClonedEvent": [ "CloneVM_Task" ], "VmCreatedEvent": [ "CreateVM_Task" ], "VmDeployedEvent": [ "CloneVM_Task" ], "VmGuestRebootEvent": [ "RebootGuest" ], "VmGuestShutdownEvent": [ "ShutdownGuest" ], "VmGuestStandbyEvent": [ "StandbyGuest" ], "VmMigratedEvent": [ "MigrateVM_Task", "RelocateVM_Task" ], "VmPoweredOffEvent": [ "PowerOffVM_Task" ], "VmPoweredOnEvent": [ "PowerOnVM_Task", "ResetVM_Task" ], "VmReconfiguredEvent": [ "ReconfigVM_Task" ], "VmRegisteredEvent": [ "RegisterVM_Task" ], "VmRelocatedEvent": [ "RelocateVM_Task" ], "VmRemovedEvent": [ "DestroyVM_Task", "UnregisterVM" ], "VmRenamedEvent": [ "RenameVM_Task" ], "VmResourcePoolMovedEvent": [ "MarkAsTemplate", "MoveIntoResourcePool" ], "VmSuspendedEvent": [ "SuspendVM_Task" ] } }, "git_repository_proxy": { "host": null, "password": null, "port": null, "user": null, "scheme": null, "path": null }, "help_menu": { "documentation": { "type": "default" }, "product": { "type": "new_window" }, "about": { "type": "modal" } }, "host_delete": { "queue_timeout": "20.minutes" }, "host_introspect": { "queue_timeout": "20.minutes" }, "host_manageable": { "queue_timeout": "20.minutes" }, "host_provide": { "queue_timeout": "20.minutes" }, "host_scan": { "queue_timeout": "20.minutes" }, "host_start": { "queue_timeout": "20.minutes" }, "host_stop": { "queue_timeout": "20.minutes" }, "notifications": { "history": { "purge_window_size": 1000, "keep_notifications": "1.week" } }, "ntp": { "server": [ "0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org" ] }, "performance": { "capture_threshold": { "default": "10.minutes", "ems_cluster": "50.minutes", "host": "50.minutes", "storage": "60.minutes", "vm": "50.minutes", "container": "50.minutes", "container_group": "50.minutes", "container_node": "50.minutes" }, "capture_threshold_with_alerts": { "default": "1.minutes", "host": "20.minutes", "vm": "20.minutes" }, "concurrent_requests": { "historical": 1, "hourly": 1, "realtime": 20 }, "history": { "initial_capture_days": 0, "keep_daily_performances": "6.months", "keep_hourly_performances": "6.months", "keep_realtime_performances": "4.hours", "purge_window_size": 1000, "queue_timeout": "20.minutes" }, "host_overhead": { "memory": "2.01.percent", "cpu": "0.15.percent" }, "targets": { "archived_for": "8.hours" }, "vim_cache_ttl": "1.hour" }, "policy_events": { "history": { "keep_policy_events": "6.months", "purge_window_size": 1000 } }, "container_entities": { "history": { "keep_archived_entities": "6.months", "keep_archived_quotas": "6.months", "purge_window_size": 1000 } }, "product": { "name": null, "maindb": "ExtManagementSystem", "run_automate_methods_on_service_api_submit": false, "allow_api_service_ordering": true }, "recommendations": { "cpu_minimum": 1, "mem_minimum": "32.megabytes" }, "reporting": { "history": { "keep_reports": "6.months", "purge_window_size": 100 }, "queue_timeout": "1.hour", "use_sql_view": false }, "repository_scanning": { "defaultsmartproxy": null }, "server": { "asynchronous_notifications": true, "case_sensitive_name_search": false, "company": "My Company", "console_proxy_disabled": true, "console_proxy_port": { "start": 6000, "end": 7000 }, "custom_brand": false, "custom_login_logo": false, "custom_logo": false, "custom_favicon": false, "events": { "disk_usage_gt_percent": 80 }, "heartbeat_timeout": "2.minutes", "heartbeat_frequency": "30.seconds", "host": "192.168.122.180", "listening_port": "443", "memory_threshold": "2.gigabytes", "mks_classid": "338095E4-1806-4BA3-AB51-38A3179200E9", "mks_version": "2.1.0.0", "monitor_poll": "5.seconds", "monitor_server_roles_timeout": "5.minutes", "prefetch_max_per_worker": 10, "prefetch_max_per_worker_dequeue": 100, "prefetch_min_per_worker_dequeue": 10, "prefetch_stale_threshold": "30.seconds", "role": "automate,database_operations,embedded_ansible,ems_inventory,ems_operations,event,remote_console,reporting,scheduler,smartstate,user_interface,web_services", "server_dequeue_frequency": "5.seconds", "server_log_frequency": "5.minutes", "server_log_timings_threshold": "1.second", "server_monitor_frequency": "60.seconds", "session_store": "cache", "startup_timeout": 300, "stop_poll": "10.seconds", "timezone": "UTC", "worker_dequeue_frequency": "3.seconds", "worker_messaging_frequency": "5.seconds", "worker_monitor_frequency": "15.seconds", "worker_monitor": { "kill_algorithm": { "name": "used_swap_percent_gt_value", "value": 80 }, "miq_server_time_threshold": "2.minutes", "nice_delta": 1, "poll": "2.seconds", "start_algorithm": { "name": "used_swap_percent_lt_value", "value": 60 }, "sync_interval": "30.minutes", "wait_for_started_timeout": "10.minutes" }, "name": "EVM", "zone": "default", "locale": "default", "hostname": null }, "session": { "interval": 60, "memcache_server": "127.0.0.1:11211", "memcache_server_opts": "-l 127.0.0.1 -I 1M", "show_login_info": true, "timeout": 3600, "log_threshold": "100.kilobytes", "element_threshold": "10.kilobytes" }, "smartproxy_deploy": { "queue_timeout": "30.minutes" }, "smtp": { "authentication": "login", "domain": "mydomain.com", "from": "cfadmin@cfserver.com", "host": "localhost", "password": "", "port": "25", "user_name": "evmadmin", "openssl_verify_mode": "none", "enable_starttls_auto": true }, "snapshots": { "create_free_percent": 100, "remove_free_percent": 100 }, "ssl": { "ssl_ca_file": null, "ssl_ca_path": null }, "storage": { "alignment": { "boundary": "4.kilobytes" }, "collection": { "timeout": 1800 }, "debris": { "filters": { "ext_name": [ "log", "nvram", "vmdk", "vmsn", "vmx", "vmsd", "vmxf", "vmtx", "vswp", "%redo%" ] } }, "max_parallel_scans_per_ems": 5, "max_qitems_per_scan_request": 0, "watchdog_interval": "1.minute" }, "task": { "active_task_timeout": "6.hours", "history": { "keep_tasks": "1.week", "purge_window_size": 1000 } }, "transformation": { "job": { "retry_interval": 15 }, "limits": { "max_concurrent_tasks_per_ems": 10, "max_concurrent_tasks_per_conversion_host": 10, "cpu_limit_per_host": "unlimited", "network_limit_per_host": "unlimited" }, "uci": { "container": { "registry": null, "image": "manageiq/v2v-conversion-host:latest" } } }, "vim_performance_states": { "history": { "purge_window_size": 1000 } }, "webservices": { "consume_protocol": "https", "contactwith": "ipaddress", "integrate": { "security": "basic" }, "mode": "invoke", "nameresolution": false, "provide_protocol": "https", "security": "none", "timeout": 120, "authentication_timeout": "30.seconds", "url": null }, "hawkular_tenant_labels": { "_hawkular_admin": "Hawkular Admin" } } ```
carbonin commented 4 years ago

If it's more helpful, these are the only entries in settings_changes:

vmdb_production=# select key,value from settings_changes;
-[ RECORD 1 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/host
value | --- 192.168.122.180                                                                                                                                           +
      | ...                                                                                                                                                           +
      | 
-[ RECORD 2 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/hostname
value | 
-[ RECORD 3 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/role
value | --- automate,database_operations,embedded_ansible,ems_inventory,ems_operations,event,remote_console,reporting,scheduler,smartstate,user_interface,web_services+
      | ...                                                                                                                                                           +
      | 
-[ RECORD 4 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/locale
value | --- default                                                                                                                                                   +
      | ...                                                                                                                                                           +
      | 
-[ RECORD 5 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/zone
value | --- default                                                                                                                                                   +
      | ...                                                                                                                                                           +
      | 
-[ RECORD 6 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /server/name
value | --- EVM                                                                                                                                                       +
      | ...                                                                                                                                                           +
      | 
-[ RECORD 7 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /smtp/enable_starttls_auto
value | --- true                                                                                                                                                      +
      | ...                                                                                                                                                           +
      | 
-[ RECORD 8 ]---------------------------------------------------------------------------------------------------------------------------------------------------------
key   | /smtp/openssl_verify_mode
value | --- none                                                                                                                                                      +
      | ...                                                                                                                                                           +
      | 
himdel commented 4 years ago

Thanks, the API response is perfect :)

I think what ends up happening is that there is no error from the API, but an exception in the code parsing the response gets treated as if there were a generic API error with no message.

himdel commented 4 years ago

The actual failure:

TypeError: Cannot destructure property `count` of 'undefined' or 'null'.
    at parseWorker

specifically...

      vim_broker_worker: {
        memory_threshold: parseWorker(wb.vim_broker_worker).bytes || memDefault,
      },

fails because wb.vim_broker_worker is undefined.

And the || memDefault logic has no chance of ever working given that.


I don't believe the UI should really be hardcoding the list of workers, or failing when one is not present.

I can certainly fix it so that it doesn't fail on missing workers, but not sure if we have a way of telling what to display for which worker, if we don't hardcode the list. (see https://user-images.githubusercontent.com/32869456/57625031-5f3d3580-7593-11e9-8042-a912e5cda2bc.png and https://github.com/ManageIQ/manageiq-ui-classic/pull/5528/files#diff-9ecdde9748ab4e2ee8f77589321e9ab6R30-R78 )

himdel commented 4 years ago

@carbonin Do you happen to know, is there any system to which workers should expose the "Count" combobox and which ones should expose the "Memory Threshold" one? (screenshot)

And can we rely on all the workers that exist being present in settings? Or is there another way to get the full list?

carbonin commented 4 years ago

I think the problem here is that the vim broker worker was removed. So in response to "And can we rely on all the workers that exist being present in settings?"

I would say yes, but this one actually doesn't exist.

As for if we can make the worker types more dynamic ... we have a WorkerType model that we could expose over the API, but it also looks like you need the settings path for each worker type so that would have to be in the response somewhere.

I assume removing the vim_broker_worker bit fixes this for the short term?

himdel commented 4 years ago

I assume removing the vim_broker_worker bit fixes this for the short term?

Thanks, OK, removing the vim_broker_worker and updating the code to deal a bit better with anything missing then, at least for now :).

But sounds like we should and could expose this over the API, so I'll create an API issue?

carbonin commented 4 years ago

But sounds like we should and could expose this over the API, so I'll create an API issue?

Yeah I think that makes sense. Will need to figure out exactly what needs exposing, but we can do that in the newly opened issue :smile: