apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.06k stars 1.1k forks source link

There is no secondary storage VM for secondary storage host SecondaryStorage #5991

Closed pam955 closed 2 years ago

pam955 commented 2 years ago

I have got "There is no secondary storage VM for secondary storage host SecondaryStorage" ERROR in cloudstack-management logs, and I cannot add the ISO images。

image

I'm using cloudstack v4.16.0 version, by KVM as a hypvisior

pam955 commented 2 years ago

please help me to fix it!

Pearl1594 commented 2 years ago

@pam955 Based on the snippet of the logs shared, it seems that you don't have a secondary storage VM, i.e., in your console go to the systemVMs tabs under Infrastructure and there wouldn't be any systemvm listed. It seems that this is because you have no hypervisor host in a valid State. Please check the host state.

pam955 commented 2 years ago

@Pearl1594 Thanks for your comment, I can see Vms in "running" state in the systemVMs tabs under Infrastructure。One vms showing "alter" , but I cannot see the details。 ![Uploading systemvms.png…]()

pam955 commented 2 years ago

image

Pearl1594 commented 2 years ago

@pam955 You can try destroying the SSVM and let it get re-created, or login to the SSVM (via console/ssh) and restart the cloud service (systemctl restart cloud). To identify why the SSVM has gone into alert state, you can check the logs in the Ssvm at /var/log/cloud.log

pam955 commented 2 years ago

Thank you, the error is disapere after delete the Sys Vms 。