deajan commented on issue #10727: URL: https://github.com/apache/cloudstack/issues/10727#issuecomment-2805133464
Sure: It looks like it complains about lscpu (and iscsi I haven't setup, going to use local storage for tests), but nothing about the bridges. ``` 2025-04-15 15:49:59,027 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from "host capabilities" 2025-04-15 15:49:59,031 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Retrieved value [2095080000] from "host capabilities". This corresponds to a CPU speed of [2095] MHz. 2025-04-15 15:49:59,031 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching host CPU arch 2025-04-15 15:49:59,063 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Host uses control group [cgroup2fs]. 2025-04-15 15:49:59,063 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Calculating the max shares of the host. 2025-04-15 15:49:59,063 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) The max shares of the host is [167600]. 2025-04-15 15:49:59,256 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Execution of process [28600] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] failed. 2025-04-15 15:49:59,256 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Process [28600] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] encountered the error: [grep: /etc/iscsi/initiatorname.iscsi: Aucun fichier ou dossier de ce type]. 2025-04-15 15:49:59,429 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Attempting to create storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d (Filesystem) in libvirt 2025-04-15 15:49:59,431 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Found existing defined storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d, using it. 2025-04-15 15:49:59,431 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Trying to fetch storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d from libvirt 2025-04-15 15:49:59,549 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Process agent startup answer, agent id = 0 2025-04-15 15:49:59,549 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Startup Response Received: agent id = 0 2025-04-15 15:49:59,703 WARN [cloud.agent.Agent] (UgentTask-5:[]) (logid:) Unable to send request: null 2025-04-15 15:50:03,833 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Connected to the host: 10.131.37.250 2025-04-15 15:50:04,663 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Lost connection to host: 10.131.37.250. Attempting reconnection while we still have 0 commands in progress. 2025-04-15 15:50:04,663 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) NioClient connection closed 2025-04-15 15:50:04,663 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Reconnecting to host:10.131.37.250 2025-04-15 15:50:04,664 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) Connecting to 10.131.37.250:8250 2025-04-15 15:50:04,664 INFO [utils.nio.Link] (Agent-Handler-4:[]) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties 2025-04-15 15:50:04,786 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) SSL: Handshake done 2025-04-15 15:50:04,786 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) Connected to 10.131.37.250:8250 2025-04-15 15:50:04,878 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from command "lscpu". 2025-04-15 15:50:05,000 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from lscpu. java.lang.NullPointerException 2025-04-15 15:50:05,000 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from file [/sys/devices/system/cpu/cpu0/cpufreq/base_frequency]. 2025-04-15 15:50:05,000 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from file [/sys/devices/system/cpu/cpu0/cpufreq/base_frequency] java.io.FileNotFoundException: /sys/devices/system/cpu/cpu0/cpufreq/base_frequency (Aucun fichier ou dossier de ce type) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111) at java.base/java.io.FileReader.<init>(FileReader.java:60) at org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromFile(KVMHostInfo.java:152) at org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeed(KVMHostInfo.java:121) at org.apache.cloudstack.utils.linux.KVMHostInfo.getHostInfoFromLibvirt(KVMHostInfo.java:196) at org.apache.cloudstack.utils.linux.KVMHostInfo.<init>(KVMHostInfo.java:69) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3672) at com.cloud.agent.Agent.sendStartup(Agent.java:458) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:1128) at com.cloud.utils.nio.Task.call(Task.java:83) at com.cloud.utils.nio.Task.call(Task.java:29) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) 2025-04-15 15:50:05,001 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from "host capabilities" 2025-04-15 15:50:05,004 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Retrieved value [2095080000] from "host capabilities". This corresponds to a CPU speed of [2095] MHz. 2025-04-15 15:50:05,004 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching host CPU arch 2025-04-15 15:50:05,038 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Host uses control group [cgroup2fs]. 2025-04-15 15:50:05,038 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Calculating the max shares of the host. 2025-04-15 15:50:05,038 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) The max shares of the host is [167600]. 2025-04-15 15:50:05,243 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Execution of process [32149] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] failed. 2025-04-15 15:50:05,244 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Process [32149] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] encountered the error: [grep: /etc/iscsi/initiatorname.iscsi: Aucun fichier ou dossier de ce type]. 2025-04-15 15:50:05,436 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Attempting to create storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d (Filesystem) in libvirt 2025-04-15 15:50:05,438 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Found existing defined storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d, using it. 2025-04-15 15:50:05,439 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Trying to fetch storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d from libvirt 2025-04-15 15:50:05,558 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Process agent startup answer, agent id = 0 2025-04-15 15:50:05,558 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Startup Response Received: agent id = 0 2025-04-15 15:50:05,720 WARN [cloud.agent.Agent] (UgentTask-5:[]) (logid:) Unable to send request: null 2025-04-15 15:50:09,786 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Connected to the host: 10.131.37.250 2025-04-15 15:50:10,681 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Lost connection to host: 10.131.37.250. Attempting reconnection while we still have 0 commands in progress. 2025-04-15 15:50:10,682 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) NioClient connection closed 2025-04-15 15:50:10,682 INFO [cloud.agent.Agent] (Agent-Handler-4:[]) (logid:) Reconnecting to host:10.131.37.250 2025-04-15 15:50:10,682 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) Connecting to 10.131.37.250:8250 2025-04-15 15:50:10,683 INFO [utils.nio.Link] (Agent-Handler-4:[]) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties 2025-04-15 15:50:10,815 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) SSL: Handshake done 2025-04-15 15:50:10,815 INFO [utils.nio.NioClient] (Agent-Handler-4:[]) (logid:) Connected to 10.131.37.250:8250 2025-04-15 15:50:10,889 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from command "lscpu". 2025-04-15 15:50:11,005 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from lscpu. java.lang.NullPointerException 2025-04-15 15:50:11,005 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from file [/sys/devices/system/cpu/cpu0/cpufreq/base_frequency]. 2025-04-15 15:50:11,006 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from file [/sys/devices/system/cpu/cpu0/cpufreq/base_frequency] java.io.FileNotFoundException: /sys/devices/system/cpu/cpu0/cpufreq/base_frequency (Aucun fichier ou dossier de ce type) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111) at java.base/java.io.FileReader.<init>(FileReader.java:60) at org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromFile(KVMHostInfo.java:152) at org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeed(KVMHostInfo.java:121) at org.apache.cloudstack.utils.linux.KVMHostInfo.getHostInfoFromLibvirt(KVMHostInfo.java:196) at org.apache.cloudstack.utils.linux.KVMHostInfo.<init>(KVMHostInfo.java:69) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3672) at com.cloud.agent.Agent.sendStartup(Agent.java:458) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:1128) at com.cloud.utils.nio.Task.call(Task.java:83) at com.cloud.utils.nio.Task.call(Task.java:29) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) 2025-04-15 15:50:11,006 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching CPU speed from "host capabilities" 2025-04-15 15:50:11,009 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Retrieved value [2095080000] from "host capabilities". This corresponds to a CPU speed of [2095] MHz. 2025-04-15 15:50:11,009 INFO [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Fetching host CPU arch 2025-04-15 15:50:11,036 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Host uses control group [cgroup2fs]. 2025-04-15 15:50:11,036 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Calculating the max shares of the host. 2025-04-15 15:50:11,036 INFO [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) The max shares of the host is [167600]. 2025-04-15 15:50:11,237 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Execution of process [35023] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] failed. 2025-04-15 15:50:11,237 WARN [kvm.resource.LibvirtComputingResource] (Agent-Handler-1:[]) (logid:) Process [35023] for command [sudo grep InitiatorName= /etc/iscsi/initiatorname.iscsi ] encountered the error: [grep: /etc/iscsi/initiatorname.iscsi: Aucun fichier ou dossier de ce type]. 2025-04-15 15:50:11,398 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Attempting to create storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d (Filesystem) in libvirt 2025-04-15 15:50:11,400 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Found existing defined storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d, using it. 2025-04-15 15:50:11,400 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:[]) (logid:) Trying to fetch storage pool 3fd9d9aa-40fc-42d5-b99e-12fe590fd42d from libvirt 2025-04-15 15:50:11,514 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Process agent startup answer, agent id = 0 2025-04-15 15:50:11,515 INFO [cloud.agent.Agent] (Agent-Handler-2:[]) (logid:) Startup Response Received: agent id = 0 2025-04-15 15:50:11,666 WARN [cloud.agent.Agent] (UgentTask-5:[]) (logid:) Unable to send request: null ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org