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/15 15:41:27 UTC

Add KVM host

hi,
I'm setting up CloudStack 4.12. I've already deployed the management
server, and right now i'm adding the first KVM Host but it is giving me
errors. I already recondigured everything and read the guidelines on the
official docs site.

This is the output of *grep -i -E
'exception|unable|fail|invalid|leak|warn|error'
/var/log/cloudstack/management/management-server.log*

2019-05-15 10:59:28,507 WARN  [c.c.a.d.ParamGenericValidationWorker]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Received
unknown parameters for command addHost. Unknown parameters : clustertype
2019-05-15 10:59:33,105 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb)  can't setup
agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to
setup keystore on the KVM host: 10.8.9.236 - Failed to setup keystore on
the KVM host: 10.8.9.236
2019-05-15 10:59:33,106 WARN  [c.c.r.ResourceManagerImpl]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to
find the server resources at http://10.8.9.236
2019-05-15 10:59:33,106 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Could not
find exception: com.cloud.exception.DiscoveryException in error code list
for exceptions
2019-05-15 10:59:33,106 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
2019-05-15 10:59:33,108 INFO  [c.c.a.ApiServer]
(qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to add
the host

Re: Add KVM host

Posted by Anurag Awasthi <An...@shapeblue.com>.
Alejandro,

Also could you check if your cloudstack-agent was updated on the host post upgrade?

Regards,
Anurag
________________________________
From: Andrija Panic <an...@gmail.com>
Sent: Thursday, May 16, 2019 10:40 AM
To: users
Subject: Re: Add KVM host

Alejandro,

can you please paste the whole management log and also agent log files
(pastebin or similar, not here).

Best,
Andrija

On Wed, 15 May 2019 at 21:09, Alejandro Ruiz Bermejo <
arbermejo0417@gmail.com> wrote:

> hi,
> I'm setting up CloudStack 4.12. I've already deployed the management
> server, and right now i'm adding the first KVM Host but it is giving me
> errors. I already recondigured everything and read the guidelines on the
> official docs site.
>
> This is the output of *grep -i -E
> 'exception|unable|fail|invalid|leak|warn|error'
> /var/log/cloudstack/management/management-server.log*
>
> 2019-05-15 10:59:28,507 WARN  [c.c.a.d.ParamGenericValidationWorker]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Received
> unknown parameters for command addHost. Unknown parameters : clustertype
> 2019-05-15 10:59:33,105 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb)  can't setup
> agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to
> setup keystore on the KVM host: 10.8.9.236 - Failed to setup keystore on
> the KVM host: 10.8.9.236
> 2019-05-15 10:59:33,106 WARN  [c.c.r.ResourceManagerImpl]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to
> find the server resources at http://10.8.9.236
> 2019-05-15 10:59:33,106 INFO  [c.c.u.e.CSExceptionErrorCode]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Could not
> find exception: com.cloud.exception.DiscoveryException in error code list
> for exceptions
> 2019-05-15 10:59:33,106 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
> 2019-05-15 10:59:33,108 INFO  [c.c.a.ApiServer]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to add
> the host
>


--

Andrija Panić

Anurag.Awasthi@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


Re: Add KVM host

Posted by Andrija Panic <an...@gmail.com>.
Alejandro,

can you please paste the whole management log and also agent log files
(pastebin or similar, not here).

Best,
Andrija

On Wed, 15 May 2019 at 21:09, Alejandro Ruiz Bermejo <
arbermejo0417@gmail.com> wrote:

> hi,
> I'm setting up CloudStack 4.12. I've already deployed the management
> server, and right now i'm adding the first KVM Host but it is giving me
> errors. I already recondigured everything and read the guidelines on the
> official docs site.
>
> This is the output of *grep -i -E
> 'exception|unable|fail|invalid|leak|warn|error'
> /var/log/cloudstack/management/management-server.log*
>
> 2019-05-15 10:59:28,507 WARN  [c.c.a.d.ParamGenericValidationWorker]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Received
> unknown parameters for command addHost. Unknown parameters : clustertype
> 2019-05-15 10:59:33,105 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb)  can't setup
> agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to
> setup keystore on the KVM host: 10.8.9.236 - Failed to setup keystore on
> the KVM host: 10.8.9.236
> 2019-05-15 10:59:33,106 WARN  [c.c.r.ResourceManagerImpl]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to
> find the server resources at http://10.8.9.236
> 2019-05-15 10:59:33,106 INFO  [c.c.u.e.CSExceptionErrorCode]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Could not
> find exception: com.cloud.exception.DiscoveryException in error code list
> for exceptions
> 2019-05-15 10:59:33,106 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
> 2019-05-15 10:59:33,108 INFO  [c.c.a.ApiServer]
> (qtp858242339-256:ctx-1c43c232 ctx-b2222610) (logid:02d95edb) Unable to add
> the host
>


-- 

Andrija Panić