Hi CloudStack community!

I'm currently testing out a POC with VLAN on our current vSphere cluster.
As someone with a mostly VMware background, setting up each individual KVM
host and adding it to the CS management server is a bit of a hard task for
me. I've hit a few roadblocks and am hoping the community can assist me in
my journey. You can refer to the steps that I took to configure a KVM node
here: https://pastebin.com/MpSUq5mF

One of the issues that I'm having is that after the setup that I ran on the
pastebin, an error occurred which I'm sure should be resolved with
libvirtd sockets masking, which proved it's not. I've to reboot the host
while the UI is still adding the host so it can be successfully added.










*2024-07-30 03:56:37,871 INFO  [kvm.resource.LibvirtConnection] (main:null)
(logid:) No existing libvirtd connection found. Opening a new one2024-07-30
03:56:38,109 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to
start agent:com.cloud.utils.exception.CloudRuntimeException: Failed to
connect socket to '/var/run/libvirt/virtqemud-sock': Connection refused
    at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:1153)
      at com.cloud.agent.Agent.<init>(Agent.java:193)        at
com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:452)        at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
    at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
at com.cloud.agent.AgentShell.start(AgentShell.java:511)        at
com.cloud.agent.AgentShell.main(AgentShell.java:541)*

Another issue that I'm having is that VNC doesn't work the first time. I've
to do these steps to get VNC working for newly added hosts:

   - Need to migrate a VM to a newly added host.
   - Try to use VNC (doesn't work).
   - Migrate it back out.
   - Reboot the new host.
   - Migrate the VM back into the new host.
   - Try to use VNC (now it works).


I humbly request, is there anyone that can share any steps that I can
follow to deploy a POC or even production capable cluster for KVM running
on RHEL-based OS or even Ubuntu. Thanks :)

Reply via email to