tdtmusic2 opened a new issue, #10094:
URL: https://github.com/apache/cloudstack/issues/10094

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   
   -->
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.19.1.2
   ~~~
   
   ##### CONFIGURATION
   <!--
   -->
   KVM hosts, CEPH RBD pool storage
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Almalinux 9.5
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I am trying to add a new host in ACS, there are already several hosts added 
and working properly. This host was configured the same way as others, same 
agent version. When trying to add the host I get this in the agent log:
   
   ```
   ERROR [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) 
(logid:883a1e4a) Failed to create RBD storage pool: 
org.libvirt.LibvirtException: Unable to list RBD images: No such file or 
directory
   2024-12-12 13:04:23,167 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-1:null) (logid:883a1e4a) Failed to create the RBD storage 
pool, cleaning up the libvirt secret
   2024-12-12 13:04:23,167 WARN  [cloud.agent.Agent] 
(agentRequest-Handler-1:null) (logid:883a1e4a) Caught:
   com.cloud.utils.exception.CloudRuntimeException: Failed to create storage 
pool: c56c2378-288e-37ef-8549-ac569f7ab3b8
           at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:743)
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:364)
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:358)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:42)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
           at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1929)
           at com.cloud.agent.Agent.processRequest(Agent.java:683)
           at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1106)
           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:1128)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
           at java.base/java.lang.Thread.run(Thread.java:829)
   
   ```
   There's also this error but I don't think it's relevant to the main issue:
   
   ```
   ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:null) (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 (No such file or directory)
   ```
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Try to add a new host in ACS.
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Host should be added without issues.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Errors above.
   ~~~
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to