netdata/netdata-cloud

[Bug]: home dashboard group by bug

Opened this issue · 7 comments

Bug description

When choosing Technology as Group By my list is showing VM & Containers.

All my setup is pure VM except 2 nodes that is bare metal.
So some filtering is off here.
most of my nodes are vmware as type and some bare metal

Expected behavior

Listed as "Bare metal" and "VM".

Steps to reproduce

  1. just group buy.

Screenshots

Screenshot 2024-02-07 at 4 38 58 PM

Error Logs

No response

Desktop

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Browser Version [e.g. 22]

Additional context

No response

thanks for the report @zyxep one important detail that you showed us was that if you clicked on the nodes and opened the Node Inspector (right-hand bar that opens) you would see the correct values of Bare metal and VM under `Type:´
image

yup, that is correct.

@zyxep this should be fixed, can you confirm from your end?

Yes, @hugovalente-pm the type is now correct.
Though, VM vs. Container seems still weird to me :)

VM vs. Container seems still weird to me :)

could this be some containers running on you VM and where Nedata is deployed? we calculate this field based on some attribute the agent collects from the environment it is running

nope, there are only ~20 ish vm's running docker.
the rest are just regular VM's

adding some examples that were shared that show some issues:

  • FE doesn't seem to consider what is available from the Node info (seen on the node inspector and View node info in json)
  • The information that we see on Node info doesn't seem to always accurate

Examples:

  1. node, listed as VM but is a Bare Metal - FE shows as VM but correctly identified on Node info, attribute "technology": "VM"
  2. VM within VMware, running the same OS (from above), FE shows as VM also correctly identified on Node info, attribute "technology": "VM"
  3. VM in Vmware, running ubuntu with Docker on, Node info attribute shows "technology": "Container"
  4. VM, ubuntu. running OpenSearch, No docker, Node info attribute shows "technology": "Container"
1. node, listed as `VM` but is a `Bare Metal`
{
  "fullyLoaded": false,
  "loaded": true,
  "id": "<12345>",
  "mg": "<123>",
  "nd": "<12345>",
  "isDeleted": false,
  "name": "<physical hardware from Deciso>",
  "version": "v1.43.2",
  "ni": null,
  "labels": {
    "_aclk_available": "true",
    "_aclk_ng_new_cloud_protocol": "true",
    "_aclk_proxy": "none",
    "_architecture": "amd64",
    "_cloud_instance_region": "unknown",
    "_cloud_instance_type": "unknown",
    "_cloud_provider_type": "unknown",
    "_container": "unknown",
    "_container_detection": "none",
    "_has_unstable_connection": "false",
    "_install_type": "custom",
    "_is_ephemeral": "false",
    "_is_k8s_node": "false",
    "_is_parent": "false",
    "_kernel_version": "1302001",
    "_mqtt_version": "5",
    "_os_name": "FreeBSD",
    "_os_version": "13.2-RELEASE-p7",
    "_system_cores": "8",
    "_system_cpu_freq": "unknown",
    "_system_disk_space": "2601017221120",
    "_system_ram_total": "17000349696",
    "_virt_detection": "sysctl",
    "_virtualization": "none"
  },
  "labelKeys": [
    "_aclk_available",
    "_aclk_ng_new_cloud_protocol",
    "_aclk_proxy",
    "_architecture",
    "_cloud_instance_region",
    "_cloud_instance_type",
    "_cloud_provider_type",
    "_container",
    "_container_detection",
    "_has_unstable_connection",
    "_install_type",
    "_is_ephemeral",
    "_is_k8s_node",
    "_is_parent",
    "_kernel_version",
    "_mqtt_version",
    "_os_name",
    "_os_version",
    "_system_cores",
    "_system_cpu_freq",
    "_system_disk_space",
    "_system_ram_total",
    "_virt_detection",
    "_virtualization"
  ],
  "hw": {
    "architecture": "amd64",
    "cpuFrequency": "unknown",
    "cpus": "8",
    "memory": "17000349696",
    "diskSpace": "2601017221120",
    "virtualization": "none",
    "container": "unknown"
  },
  "os": {
    "id": "freebsd",
    "nm": "FreeBSD",
    "v": "13.2-RELEASE-p7",
    "kernel": { "nm": "FreeBSD", "v": "1302001" }
  },
  "capabilities": {
    "funcs": { "name": "funcs", "version": 1, "enabled": true },
    "http_api_v2": { "name": "http_api_v2", "version": 6, "enabled": true },
    "health": { "name": "health", "version": 1, "enabled": true },
    "req_cancel": { "name": "req_cancel", "version": 1, "enabled": true },
    "proto": { "name": "proto", "version": 1, "enabled": true },
    "ml": { "name": "ml", "version": 1, "enabled": true },
    "mc": { "name": "mc", "version": 1, "enabled": true },
    "ctx": { "name": "ctx", "version": 1, "enabled": true }
  },
  "state": "reachable",
  "isProtobufCapable": true,
  "urls": [],
  "accessCount": 0,
  "lastAccessTime": "",
  "updateSeverity": "critical",
  "hasAccessibleData": true,
  "isLive": true,
  "nodeStatus": "Live",
  "isPreferred": true,
  "isOffline": false,
  "isUnseen": false,
  "capabilityKeys": [
    "funcs",
    "http_api_v2",
    "health",
    "req_cancel",
    "proto",
    "ml",
    "mc",
    "ctx"
  ],
  "health": {
    "status": "online",
    "alerts": {
      "warning": 0,
      "critical": 0,
      "silencingState": { "state": "NONE" }
    }
  },
  "replicationFactor": "r_1",
  "replication": {
    "minHops": 0,
    "maxHops": 0,
    "connectionReplicationFactor": 0,
    "connectionType": "direct"
  },
  "technology": "VM"
}
2. VM within VMware
{
  "fullyLoaded": false,
  "loaded": true,
  "id": "<3424454353>",
  "mg": "<3424454353fhdfghgfh>",
  "nd": "<3424454353>",
  "isDeleted": false,
  "name": "<vmware VM, same OS as physical>",
  "version": "v1.43.2",
  "ni": null,
  "labels": {
    "_aclk_available": "true",
    "_aclk_ng_new_cloud_protocol": "true",
    "_aclk_proxy": "none",
    "_architecture": "amd64",
    "_cloud_instance_region": "unknown",
    "_cloud_instance_type": "unknown",
    "_cloud_provider_type": "unknown",
    "_container": "unknown",
    "_container_detection": "none",
    "_has_unstable_connection": "false",
    "_install_type": "custom",
    "_is_ephemeral": "false",
    "_is_k8s_node": "false",
    "_is_parent": "false",
    "_kernel_version": "1302001",
    "_mqtt_version": "5",
    "_os_name": "FreeBSD",
    "_os_version": "13.2-RELEASE-p7",
    "_system_cores": "4",
    "_system_cpu_freq": "unknown",
    "_system_disk_space": "332587528192",
    "_system_ram_total": "8544247808",
    "_virt_detection": "sysctl",
    "_virtualization": "vmware"
  },
  "labelKeys": [
    "_aclk_available",
    "_aclk_ng_new_cloud_protocol",
    "_aclk_proxy",
    "_architecture",
    "_cloud_instance_region",
    "_cloud_instance_type",
    "_cloud_provider_type",
    "_container",
    "_container_detection",
    "_has_unstable_connection",
    "_install_type",
    "_is_ephemeral",
    "_is_k8s_node",
    "_is_parent",
    "_kernel_version",
    "_mqtt_version",
    "_os_name",
    "_os_version",
    "_system_cores",
    "_system_cpu_freq",
    "_system_disk_space",
    "_system_ram_total",
    "_virt_detection",
    "_virtualization"
  ],
  "hw": {
    "architecture": "amd64",
    "cpuFrequency": "unknown",
    "cpus": "4",
    "memory": "8544247808",
    "diskSpace": "332587528192",
    "virtualization": "vmware",
    "container": "unknown"
  },
  "os": {
    "id": "freebsd",
    "nm": "FreeBSD",
    "v": "13.2-RELEASE-p7",
    "kernel": { "nm": "FreeBSD", "v": "1302001" }
  },
  "capabilities": {
    "mc": { "name": "mc", "version": 1, "enabled": true },
    "ctx": { "name": "ctx", "version": 1, "enabled": true },
    "funcs": { "name": "funcs", "version": 1, "enabled": true },
    "http_api_v2": { "name": "http_api_v2", "version": 6, "enabled": true },
    "health": { "name": "health", "version": 1, "enabled": true },
    "req_cancel": { "name": "req_cancel", "version": 1, "enabled": true },
    "proto": { "name": "proto", "version": 1, "enabled": true },
    "ml": { "name": "ml", "version": 1, "enabled": true }
  },
  "state": "reachable",
  "isProtobufCapable": true,
  "urls": [],
  "accessCount": 0,
  "lastAccessTime": "",
  "updateSeverity": "critical",
  "hasAccessibleData": true,
  "isLive": true,
  "nodeStatus": "Live",
  "isPreferred": true,
  "isOffline": false,
  "isUnseen": false,
  "capabilityKeys": [
    "mc",
    "ctx",
    "funcs",
    "http_api_v2",
    "health",
    "req_cancel",
    "proto",
    "ml"
  ],
  "health": {
    "status": "online",
    "alerts": {
      "warning": 0,
      "critical": 0,
      "silencingState": { "state": "NONE" }
    }
  },
  "replicationFactor": "r_1",
  "replication": {
    "minHops": 0,
    "maxHops": 0,
    "connectionReplicationFactor": 0,
    "connectionType": "direct"
  },
  "technology": "VM"
}
3. VM in Vmware, running ubuntu with Docker on
{
  "fullyLoaded": false,
  "loaded": true,
  "id": "",
  "mg": "",
  "nd": "",
  "isDeleted": false,
  "name": "<container server>",
  "version": "v1.45.0-258-nightly",
  "ni": null,
  "labels": {
    "_aclk_available": "true",
    "_aclk_ng_new_cloud_protocol": "true",
    "_aclk_proxy": "none",
    "_architecture": "x86_64",
    "_cloud_instance_region": "unknown",
    "_cloud_instance_type": "unknown",
    "_cloud_provider_type": "unknown",
    "_container": "none",
    "_container_detection": "systemd-detect-virt",
    "_has_unstable_connection": "false",
    "_hostname": "<container server>",
    "_install_type": "binpkg-deb",
    "_is_ephemeral": "false",
    "_is_k8s_node": "false",
    "_is_parent": "false",
    "_kernel_version": "5.15.0-73-generic",
    "_mqtt_version": "5",
    "_os": "linux",
    "_os_name": "Ubuntu",
    "_os_version": "22.04.4 LTS (Jammy Jellyfish)",
    "_prebuilt_arch": "x86_64",
    "_prebuilt_dist": "[none]",
    "_system_cores": "20",
    "_system_cpu_freq": "2800000000",
    "_system_disk_space": "94489280512",
    "_system_ram_total": "55909867520",
    "_virt_detection": "systemd-detect-virt",
    "_virtualization": "vmware"
  },
  "labelKeys": [
    "_aclk_available",
    "_aclk_ng_new_cloud_protocol",
    "_aclk_proxy",
    "_architecture",
    "_cloud_instance_region",
    "_cloud_instance_type",
    "_cloud_provider_type",
    "_container",
    "_container_detection",
    "_has_unstable_connection",
    "_hostname",
    "_install_type",
    "_is_ephemeral",
    "_is_k8s_node",
    "_is_parent",
    "_kernel_version",
    "_mqtt_version",
    "_os",
    "_os_name",
    "_os_version",
    "_prebuilt_arch",
    "_prebuilt_dist",
    "_system_cores",
    "_system_cpu_freq",
    "_system_disk_space",
    "_system_ram_total",
    "_virt_detection",
    "_virtualization"
  ],
  "hw": {
    "architecture": "x86_64",
    "cpuFrequency": "2800000000",
    "cpus": "20",
    "memory": "55909867520",
    "diskSpace": "94489280512",
    "virtualization": "vmware",
    "container": "none"
  },
  "os": {
    "id": "linux",
    "nm": "Ubuntu",
    "v": "22.04.4 LTS (Jammy Jellyfish)",
    "kernel": { "nm": "Linux", "v": "5.15.0-73-generic" }
  },
  "capabilities": {
    "ctx": { "name": "ctx", "version": 1, "enabled": true },
    "funcs": { "name": "funcs", "version": 1, "enabled": true },
    "http_api_v2": { "name": "http_api_v2", "version": 6, "enabled": true },
    "health": { "name": "health", "version": 1, "enabled": true },
    "req_cancel": { "name": "req_cancel", "version": 1, "enabled": true },
    "ml": { "name": "ml", "version": 1, "enabled": true },
    "mc": { "name": "mc", "version": 1, "enabled": true },
    "dyncfg": { "name": "dyncfg", "version": 2, "enabled": true },
    "proto": { "name": "proto", "version": 1, "enabled": true }
  },
  "state": "reachable",
  "isProtobufCapable": true,
  "urls": [],
  "accessCount": 0,
  "lastAccessTime": "",
  "updateSeverity": null,
  "hasAccessibleData": true,
  "isLive": true,
  "nodeStatus": "Live",
  "isPreferred": true,
  "isOffline": false,
  "isUnseen": false,
  "capabilityKeys": [
    "ctx",
    "funcs",
    "http_api_v2",
    "health",
    "req_cancel",
    "ml",
    "mc",
    "dyncfg",
    "proto"
  ],
  "health": {
    "status": "online",
    "alerts": {
      "warning": 0,
      "critical": 0,
      "silencingState": { "state": "NONE" }
    }
  },
  "replicationFactor": "r_1",
  "replication": {
    "minHops": 0,
    "maxHops": 0,
    "connectionReplicationFactor": 0,
    "connectionType": "direct"
  },
  "technology": "Container"
}
4. VM, ubuntu. running OpenSearch
{
  "fullyLoaded": false,
  "loaded": true,
  "id": "-9ce2-2b46e58b7459",
  "mg": "f863af5",
  "nd": "2b46e58b7459",
  "isDeleted": false,
  "name": "<opensearch>",
  "version": "v1.45.0-258-nightly",
  "ni": null,
  "labels": {
    "_aclk_available": "true",
    "_aclk_ng_new_cloud_protocol": "true",
    "_aclk_proxy": "none",
    "_architecture": "x86_64",
    "_cloud_instance_region": "unknown",
    "_cloud_instance_type": "unknown",
    "_cloud_provider_type": "unknown",
    "_container": "none",
    "_container_detection": "systemd-detect-virt",
    "_has_unstable_connection": "false",
    "_hostname": "<opensearch>",
    "_install_type": "binpkg-deb",
    "_is_ephemeral": "false",
    "_is_k8s_node": "false",
    "_is_parent": "false",
    "_kernel_version": "5.15.0-72-generic",
    "_mqtt_version": "5",
    "_os": "linux",
    "_os_name": "Ubuntu",
    "_os_version": "22.04.4 LTS (Jammy Jellyfish)",
    "_prebuilt_arch": "x86_64",
    "_prebuilt_dist": "[none]",
    "_system_cores": "4",
    "_system_cpu_freq": "3000000000",
    "_system_disk_space": "2204391964672",
    "_system_ram_total": "11521556480",
    "_virt_detection": "systemd-detect-virt",
    "_virtualization": "vmware"
  },
  "labelKeys": [
    "_aclk_available",
    "_aclk_ng_new_cloud_protocol",
    "_aclk_proxy",
    "_architecture",
    "_cloud_instance_region",
    "_cloud_instance_type",
    "_cloud_provider_type",
    "_container",
    "_container_detection",
    "_has_unstable_connection",
    "_hostname",
    "_install_type",
    "_is_ephemeral",
    "_is_k8s_node",
    "_is_parent",
    "_kernel_version",
    "_mqtt_version",
    "_os",
    "_os_name",
    "_os_version",
    "_prebuilt_arch",
    "_prebuilt_dist",
    "_system_cores",
    "_system_cpu_freq",
    "_system_disk_space",
    "_system_ram_total",
    "_virt_detection",
    "_virtualization"
  ],
  "hw": {
    "architecture": "x86_64",
    "cpuFrequency": "3000000000",
    "cpus": "4",
    "memory": "11521556480",
    "diskSpace": "2204391964672",
    "virtualization": "vmware",
    "container": "none"
  },
  "os": {
    "id": "linux",
    "nm": "Ubuntu",
    "v": "22.04.4 LTS (Jammy Jellyfish)",
    "kernel": { "nm": "Linux", "v": "5.15.0-72-generic" }
  },
  "capabilities": {
    "http_api_v2": { "name": "http_api_v2", "version": 6, "enabled": true },
    "health": { "name": "health", "version": 1, "enabled": true },
    "req_cancel": { "name": "req_cancel", "version": 1, "enabled": true },
    "dyncfg": { "name": "dyncfg", "version": 2, "enabled": true },
    "ml": { "name": "ml", "version": 1, "enabled": true },
    "mc": { "name": "mc", "version": 1, "enabled": true },
    "ctx": { "name": "ctx", "version": 1, "enabled": true },
    "funcs": { "name": "funcs", "version": 1, "enabled": true },
    "proto": { "name": "proto", "version": 1, "enabled": true }
  },
  "state": "reachable",
  "isProtobufCapable": true,
  "urls": [],
  "accessCount": 0,
  "lastAccessTime": "",
  "updateSeverity": null,
  "hasAccessibleData": true,
  "isLive": true,
  "nodeStatus": "Live",
  "isPreferred": true,
  "isOffline": false,
  "isUnseen": false,
  "capabilityKeys": [
    "http_api_v2",
    "health",
    "req_cancel",
    "dyncfg",
    "ml",
    "mc",
    "ctx",
    "funcs",
    "proto"
  ],
  "health": {
    "status": "online",
    "alerts": {
      "warning": 0,
      "critical": 0,
      "silencingState": { "state": "NONE" }
    }
  },
  "replicationFactor": "r_1",
  "replication": {
    "minHops": 0,
    "maxHops": 0,
    "connectionReplicationFactor": 0,
    "connectionType": "direct"
  },
  "technology": "Container"
}