right, cloudsack-agent is not needed on the remote server. However, cloudstack selects a host (already managed by cloudstack) to connect to the libvirt daemon (listen on port 16509) of the remote server to get all the vms. You can search "GetRemoteVms" in the management server log.
-Wei On Wed, Feb 28, 2024 at 7:08 PM Jimmy Huybrechts <[email protected]> wrote: > Hmm wait you need the cloudagent on the remote host as well? I would have > expected that not be needed right? > Which log should I look at? The management-server log? As I didn’t see > anything in there except for what I did include. > > -- > Jimmy > > Van: Wei ZHOU <[email protected]> > Datum: woensdag, 28 februari 2024 om 17:15 > Aan: [email protected] <[email protected]> > Onderwerp: Re: Import from external host > Any exception in the log? > > I wonder if it is similar as > https://github.com/apache/cloudstack/issues/8704#issuecomment-1963762570 > > -Wei > > On Wednesday, February 28, 2024, Jimmy Huybrechts <[email protected]> > wrote: > > > I’m trying to import vm’s from an external KVM host. I built a test KVM > > host with 5 virtual machines of which 4 are on and one is off. > > Libvirt is listening on tcp port 16509. > > > > When trying to fetch instances I get “Request failed. (530) Error while > > listing remote Vms” > > > > As host I’m using the KVM host IP of course, and the user and password > are > > that of my root user. (opened root access for this case). > > > > Is there some log I can see as to why I get that error? On the > > management-server log I only see: > > [28/Feb/2024:16:00:09 +0000] "GET /client/api/?zoneid=00122c1c- > > 89ae-4fbf-8424-e8619a787d39&page=1&pagesize=10&host= > > > KVMHOSTIP&username=root&password=PASSWORDFORHOST&hypervisor=kvm&command=listVmsForImport&response=json > > HTTP/1.1" 530 124 > > > > -- > > Jimmy > > >
