Hi Fariborz,
Thank you, I was able to manage bridge configurations.
Now I am not able to add the host to pool. Agent logs print below:
2024-09-01 14:03:17,273 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)
Did I miss some configs?
I noticed that I can't run `virsh` as the root user or with `sudo`:
# virsh list --all
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/virtqemud-sock':
Connection refused
But as a user in wheel group its successful
$ virsh list --all
Id Name State
--------------------
*Jon*
On Tue, Aug 27, 2024 at 11:16 PM Fariborz Navidan <[email protected]>
wrote:
> Hello,
>
> I was able to configure Cloudstack 4.18 on AlmaLinux 9 last month.I used
> the following nmcli commands to create the bridge:
>
> nmcli con add ifname cloudbr0 type bridge con-name cloudbr0 autoconnect yes
> nmcli con add type bridge-slave ifname eth0 master cloudbr0
> nmcli con up cloudbr0
>
> After creating the bridge, remove any assigned IP from the slave interface
> (e.g eth0) and assign it to the bridge.
>
> Regards.
>
> On Tue, Aug 27, 2024 at 3:59 PM Joan g <[email protected]> wrote:
>
> > Hello Community,
> >
> > Could someone provide guidance on setting up a bridge for the latest
> > AlmaLinux 9.4? When I use `nmcli` to create a bridge, the ethernet
> > interfaces keep going down, and I'm unable to bring them online. Any
> > suggestions on working `nmcli` commands would be greatly appreciated and
> > helpful.
> >
> > Regards,
> > Jon
> >
>