Open Notespeak opened 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template!
It seems the cloudstack-agent is not setup correctly, please check /etc/cloudstack/agent/agent.properties. When kvm host is added to a cloudstack zone, cloudstack-agent will be setup automatically.
Greetings, weizhouapache. The only thing that I changed in agent.properties are uuid keys and I also tried to specify a public interface right in the config https://pastebin.com/WmxvXjvJ. The agent is exiting before I am able to add it to the cloudstack zone. The management server is located right on this test vm, so don't mind me using localhost.)
Greetings, weizhouapache. The only thing that I changed in agent.properties are uuid keys and I also tried to specify a public interface right in the config https://pastebin.com/WmxvXjvJ. The agent is exiting before I am able to add it to the cloudstack zone. The management server is located right on this test vm, so don't mind me using localhost.)
@Notespeak based on what you described, you need to set public.network.device=br0 private.network.device=cloudbrvm0 guest.network.device=cloudbrvm0
Anyway, I suggest you to add the host in cloudstack management server UI, instead of manually configuring agent.properties.
Hi @Notespeak thanks for the issue, we don't have Debian 11 as a support KVM distro. You can refer to the compatibility matrix here: https://docs.cloudstack.apache.org/en/latest/releasenotes/compat.html
You may use one of the supported KVM distros until we can support Debian 11.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Networking config
`auto eno1 iface eno1 inet manual auto eno2 iface eno2 inet manual auto br0 iface br0 inet static bridge_ports eno1 address 185.185.58.82/26 gateway 185.185.58.65 dns-nameservers 1.1.1.1 bridge_fd 15 bridge_hello 2 bridge_maxage 20 bridge_stp offauto cloudbrvm0 iface cloudbrvm0 inet manual bridge_ports eno2 bridge_fd 15 bridge_hello 2 bridge_maxage 20 bridge_stp off
Host specs
Dell R620 CPU E5-2695v2 Ram 64GB DDR3 ECC RAM Networking 4 x 1gb/s interfaces VT extentions support - Yes Nested Virtualization support - YesVm host specs
MacBook pro 2019 CPU I9-9900 RAM 32GB DDR4 Networking 1 bridged wifi interface VT extentions support - Yes Nested Virtualization support - YesOS / ENVIRONMENT
Debian 11.5.0
Java -v openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, sharing)
Python -v Python 3.9.2
Libvirt version version: 7.0.0, package: 3
SUMMARY
I am getting repeatable errors when installing cloudstack-agent on a fresh Debian 11 installation. For some reason I am getting libvirtd errors, when I is installing as a dependancy of cloudstack-agent. I tried removing the pid and also purging libvirt and cloudstack agent, but unfortunately this didn't yield any results. I was also able to reproduce this behaviour on a vm.
STEPS TO REPRODUCE
EXPECTED RESULTS
A clean installation of cloudstack-agent