You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Alejandro Ruiz Bermejo <ar...@gmail.com> on 2019/05/27 21:50:55 UTC

multi-hipervisor deployment

Hi,
I have installed cloudstack 4.11.2 on ubuntu 16 with one management server
and one compute node with kvm.

I want to add a new compute node with a different hipervisor (lxc) on
another server with ubuntu 16. I'm following the docs instructions but when
i try to add the new host i get the following error on
/var/log/cloudstack/agent.log

2019-05-27 17:43:53,280 WARN  [cloud.resource.ServerResourceBase]
(main:null) (logid:) Incorrect details for private Nic during
initialization of ServerResourceBase
2019-05-27 17:43:53,281 ERROR [cloud.agent.AgentShell] (main:null) (logid:)
Unable to start agent: Unable to configure LibvirtComputingResource

can someone please help with this?

Regards,
Alejandro

Re: multi-hipervisor deployment

Posted by Alejandro Ruiz Bermejo <ar...@gmail.com>.
This is the output of systemctl status libvirt-bin on the lxc hipervisor
node. Is that what you asked for?

libvirt-bin.service - Virtualization daemon
   Loaded: loaded (/lib/systemd/system/libvirt-bin.service; enabled; vendor
preset: enabled)
   Active: active (running) since Mon 2019-05-27 18:06:38 CDT; 22h ago
     Docs: man:libvirtd(8)
           http://libvirt.org
 Main PID: 5008 (libvirtd)
    Tasks: 18
   Memory: 36.1M
      CPU: 23.816s
   CGroup: /system.slice/libvirt-bin.service
           ├─2006 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/lib/libvirt/libvi
           ├─2007 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/lib/libvirt/libvi
           └─5008 /usr/sbin/libvirtd

May 27 18:06:38 cloudstack systemd[1]: Starting Virtualization daemon...
May 27 18:06:38 cloudstack systemd[1]: Started Virtualization daemon.
May 27 18:06:59 cloudstack dnsmasq[2006]: read /etc/hosts - 5 addresses
May 27 18:06:59 cloudstack dnsmasq[2006]: read
/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
May 27 18:06:59 cloudstack dnsmasq-dhcp[2006]: read
/var/lib/libvirt/dnsmasq/default.hostsfile
May 27 18:07:01 cloudstack libvirtd[5008]: libvirt version: 1.3.1, package:
1ubuntu10.26 (Marc Deslauriers <ma...@ubuntu.com>
May 27 18:07:01 cloudstack libvirtd[5008]: hostname: cloudstack
May 27 18:07:01 cloudstack libvirtd[5008]: Configured security driver
"none" disables default policy to create confined guests
May 27 18:07:03 cloudstack libvirtd[5008]: unsupported configuration:
Security driver apparmor not enabled

On Mon, May 27, 2019 at 7:13 PM Ivan Kudryavtsev <ku...@bw-sw.com>
wrote:

> Alejandro, what hv libvirt logs show?
>
> вт, 28 мая 2019 г., 4:49 Alejandro Ruiz Bermejo <ar...@gmail.com>:
>
> > Hi,
> > I have installed cloudstack 4.11.2 on ubuntu 16 with one management
> server
> > and one compute node with kvm.
> >
> > I want to add a new compute node with a different hipervisor (lxc) on
> > another server with ubuntu 16. I'm following the docs instructions but
> when
> > i try to add the new host i get the following error on
> > /var/log/cloudstack/agent.log
> >
> > 2019-05-27 17:43:53,280 WARN  [cloud.resource.ServerResourceBase]
> > (main:null) (logid:) Incorrect details for private Nic during
> > initialization of ServerResourceBase
> > 2019-05-27 17:43:53,281 ERROR [cloud.agent.AgentShell] (main:null)
> (logid:)
> > Unable to start agent: Unable to configure LibvirtComputingResource
> >
> > can someone please help with this?
> >
> > Regards,
> > Alejandro
> >
>

Re: multi-hipervisor deployment

Posted by Ivan Kudryavtsev <ku...@bw-sw.com>.
Alejandro, what hv libvirt logs show?

вт, 28 мая 2019 г., 4:49 Alejandro Ruiz Bermejo <ar...@gmail.com>:

> Hi,
> I have installed cloudstack 4.11.2 on ubuntu 16 with one management server
> and one compute node with kvm.
>
> I want to add a new compute node with a different hipervisor (lxc) on
> another server with ubuntu 16. I'm following the docs instructions but when
> i try to add the new host i get the following error on
> /var/log/cloudstack/agent.log
>
> 2019-05-27 17:43:53,280 WARN  [cloud.resource.ServerResourceBase]
> (main:null) (logid:) Incorrect details for private Nic during
> initialization of ServerResourceBase
> 2019-05-27 17:43:53,281 ERROR [cloud.agent.AgentShell] (main:null) (logid:)
> Unable to start agent: Unable to configure LibvirtComputingResource
>
> can someone please help with this?
>
> Regards,
> Alejandro
>