Re: Unable to add host error ACS

2023-08-28 Thread Rohit Yadav
Hi again,

You may try to re-add the host and tail the /var/log/cloudstack/agent/* 
(usually there is a setup.log) to watchout for errors.

Is this a test/virtualised environment? You may want to run kvm-ok and ensure 
that /dev/kvm exists and works. It's possible the KVM host doesn't have 
/dev/kvm or missing any packages or libvirt isn't setup properly.


Regards.


From: Wei ZHOU 
Sent: Monday, August 28, 2023 12:31
To: dev@cloudstack.apache.org 
Subject: Re: Unable to add host error ACS

Hi,

If libvirtd does not work, please fix it before adding the host to
cloudstack.

You can check the output of `systemctl status libvirtd` or `journalctl -xeu
libvirtd`


-Wei

On Mon, 28 Aug 2023 at 08:56, Technology Mail 
wrote:

> Thank you so much!,
> I followed your mansion step but error is same, Please see my MGMT
> server error like below:
>
>

 



Re: Unable to add host error ACS

2023-08-28 Thread Wei ZHOU
Hi,

If libvirtd does not work, please fix it before adding the host to
cloudstack.

You can check the output of `systemctl status libvirtd` or `journalctl -xeu
libvirtd`


-Wei

On Mon, 28 Aug 2023 at 08:56, Technology Mail 
wrote:

> Thank you so much!,
> I followed your mansion step but error is same, Please see my MGMT
> server error like below:
>
>


Re: Unable to add host error ACS

2023-08-28 Thread Technology Mail
(GzipHandler.java:772)
    at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
    at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

    at org.eclipse.jetty.server.Server.handle(Server.java:516)
    at 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
    at 
org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
    at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
    at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
    at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at 
org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
    at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
    at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
    at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
    at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
    at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
    at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)

    at java.base/java.lang.Thread.run(Thread.java:829)
2023-08-28 06:44:08,816 INFO  [c.c.a.ApiServer] 
(qtp1955920234-13:ctx-8d79a623 ctx-3a188920) (logid:722f5754) Unable to 
add the host: Cannot find the server resources at http://10.66.10.20


++


Please help me 


On 8/28/2023 11:26 AM, Rohit Yadav wrote:

Hi,

It appears there's something wrong in your 
/etc/cloudstack/agent/agent.properties, it can't find the passphrase 
to use cloud.jks as per:


2023-03-27 18:17:45,259 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks


You may re-add the host, or try this workaround:

 1. backup and then delete the cloud.* files from
/etc/cloudstack/agent/ directory
 2. change auth strictness global setting to false
(ca.plugin.root.auth.strictness) in cloudstack temporarily
 3. restart cloudstack agent on the KVM host, and once it's connected,
in CloudStack go to the UI-> infra ->host -> select the specific
host -> click button to re-provision certficates (this will
resetup the cloud.jks and certificates on the kvm host)
 4. finally, reset the ca.plugin.root.auth.strictness back to true


Regards.



*From:* Technology Mail 
*Sent:* Sunday, August 27, 2023 13:33
*To:* Rohit Yadav ; 
us...@cloudstack.apache.org ; 
dev@cloudstack.apache.org 

*Subject:* Re: Unable to add host error ACS

Now I am using 4.18, Ubuntu 20.04 server. KVM server cloud and libvirt 
agent service not start.


see error below:

Error:

++

root@kvm:~# tail -f /var/log/cloudstack/agent/agent.log
2023-03-27 18:17:43,962 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Implementation Version is 4.18.0.0
2023-03-27 18:17:43,979 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
2023-03-27 18:17:44,210 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Defaulting to using properties file for storage
2023-03-27 18:17:44,223 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Defaulting to the constant time backoff algorithm
2023-03-27 18:17:44,440 INFO  [cloud.utils.LogUtils] (main:null) 
(logid:) log4j configuration found at 
/etc/cloudstack/agent/log4j-cloud.xml
2023-03-27 18:17:44,441 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Using default Java settings for IPv6 preference for agent 
connection
2023-03-27 18:17:44,951 INFO  [cloud.agent.Agent] (main:null) (logid:) 
id is
2023-03-27 18:17:45,018 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to 
find file uefi.properties.
2023-03-27 18:17:45,259 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks
2023-03-27 18:17:45,280 INFO  [kvm.resource.LibvirtConnection] 
(main:null) (logid:) No existing libvirtd connection found. Opening a 
new one

+


Thanks.


On 6/27/2021 6:45 PM, Rohit Yadav wrote:
Thanks for sharing, glad the issue is resolved. The specific issue 
only affects 4.15.0.0 and older releases, this issue is however fixed 
in 4.15.1.0.


After adding hosts you may actually revert the original sshd 
configuration

Re: Unable to add host error ACS

2023-08-27 Thread Rohit Yadav
Hi,

It appears there's something wrong in your 
/etc/cloudstack/agent/agent.properties, it can't find the passphrase to use 
cloud.jks as per:

2023-03-27 18:17:45,259 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks

You may re-add the host, or try this workaround:


  1.  backup and then delete the cloud.* files from /etc/cloudstack/agent/ 
directory
  2.  change auth strictness global setting to false 
(ca.plugin.root.auth.strictness) in cloudstack temporarily
  3.  restart cloudstack agent on the KVM host, and once it's connected, in 
CloudStack go to the UI-> infra ->host -> select the specific host -> click 
button to re-provision certficates (this will resetup the cloud.jks and 
certificates on the kvm host)
  4.  finally, reset the ca.plugin.root.auth.strictness back to true


Regards.


From: Technology Mail 
Sent: Sunday, August 27, 2023 13:33
To: Rohit Yadav ; us...@cloudstack.apache.org 
; dev@cloudstack.apache.org 

Subject: Re: Unable to add host error ACS


Now I am using 4.18, Ubuntu 20.04 server. KVM server cloud and libvirt agent 
service not start.

see error below:

Error:

++

root@kvm:~# tail -f /var/log/cloudstack/agent/agent.log
2023-03-27 18:17:43,962 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.18.0.0
2023-03-27 18:17:43,979 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2023-03-27 18:17:44,210 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
2023-03-27 18:17:44,223 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
2023-03-27 18:17:44,440 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2023-03-27 18:17:44,441 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Using default Java settings for IPv6 preference for agent connection
2023-03-27 18:17:44,951 INFO  [cloud.agent.Agent] (main:null) (logid:) id is
2023-03-27 18:17:45,018 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to find file 
uefi.properties.
2023-03-27 18:17:45,259 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks
2023-03-27 18:17:45,280 INFO  [kvm.resource.LibvirtConnection] (main:null) 
(logid:) No existing libvirtd connection found. Opening a new one
+


Thanks.


On 6/27/2021 6:45 PM, Rohit Yadav wrote:
Thanks for sharing, glad the issue is resolved. The specific issue only affects 
4.15.0.0 and older releases, this issue is however fixed in 4.15.1.0.

After adding hosts you may actually revert the original sshd configuration.


Regards.






From: Technologyrss Mail 
<mailto:technologyrss.m...@gmail.com>
Sent: Sunday, June 27, 2021 13:03
To: Wei ZHOU <mailto:ustcweiz...@gmail.com>; 
dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> 
<mailto:dev@cloudstack.apache.org>
Subject: Re: Unable to add host error ACS


Thank you so much!
This 3 lines add into sshd_config file and restart sshd service then solved!

PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

I am always try to find out ACS properly working with latest OS with latest 
version. I have Tech blog with YouTube channel.
Always I am appropriate your help & working as previous.

---
Alamin

On 6/27/2021 1:15 PM, Wei ZHOU wrote:
Hi,

Have you tried with 
http://docs.cloudstack.apache.org/en/4.15.0.0/releasenotes/about.html#workaround-for-adding-newer-kvm-hosts
 ?

-Wei


 

On Sun, 27 Jun 2021 at 02:18, Technologyrss Mail 
mailto:technologyrss.m...@gmail.com>> wrote:

>From MGMT error log

[cid:part3.64E24953.345219EA@gmail.com]

>From KVM error log

[cid:part4.5B07A141.1406078A@gmail.com]

---Alamin

On 6/27/2021 12:24 AM, Wei ZHOU wrote:

Are you able to ssh into host using username/password ?

-Wei

On Sat, 26 Jun 2021 at 20:02, Technologyrss Mail <
technologyrss.m...@gmail.com<mailto:technologyrss.m...@gmail.com>> wrote:



Please see below error, This is from ACS MGMT log error.

2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received
unknown parameters for command addHost. Unknown parameters : clustertype
2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to
add a new host at http://10.66.100.50 in data center 1
2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't
setup agent, due to java.io.IOExcepti

Re: Unable to add host error ACS

2023-08-27 Thread Technology Mail
Now I am using 4.18, Ubuntu 20.04 server. KVM server cloud and libvirt 
agent service not start.


see error below:

Error:

++

root@kvm:~# tail -f /var/log/cloudstack/agent/agent.log
2023-03-27 18:17:43,962 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Implementation Version is 4.18.0.0
2023-03-27 18:17:43,979 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
2023-03-27 18:17:44,210 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Defaulting to using properties file for storage
2023-03-27 18:17:44,223 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Defaulting to the constant time backoff algorithm
2023-03-27 18:17:44,440 INFO  [cloud.utils.LogUtils] (main:null) 
(logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2023-03-27 18:17:44,441 INFO  [cloud.agent.AgentShell] (main:null) 
(logid:) Using default Java settings for IPv6 preference for agent 
connection

2023-03-27 18:17:44,951 INFO  [cloud.agent.Agent] (main:null) (logid:) id is
2023-03-27 18:17:45,018 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to 
find file uefi.properties.
2023-03-27 18:17:45,259 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks
2023-03-27 18:17:45,280 INFO  [kvm.resource.LibvirtConnection] 
(main:null) (logid:) No existing libvirtd connection found. Opening a 
new one

+


Thanks.


On 6/27/2021 6:45 PM, Rohit Yadav wrote:
Thanks for sharing, glad the issue is resolved. The specific issue 
only affects 4.15.0.0 and older releases, this issue is however fixed 
in 4.15.1.0.


After adding hosts you may actually revert the original sshd 
configuration.



Regards.



*From:* Technologyrss Mail 
*Sent:* Sunday, June 27, 2021 13:03
*To:* Wei ZHOU ; dev@cloudstack.apache.org 


*Subject:* Re: Unable to add host error ACS

*Thank you so much!*
This 3 lines add into sshd_config file and restart sshd service then 
solved!


PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

I am always try to find out ACS properly working with latest OS with 
latest version. I have *Tech* blog with *YouTube* channel.

Always I am appropriate your help & working as previous.

---
Alamin

On 6/27/2021 1:15 PM, Wei ZHOU wrote:

Hi,

Have you tried with 
http://docs.cloudstack.apache.org/en/4.15.0.0/releasenotes/about.html#workaround-for-adding-newer-kvm-hosts 
?


-Wei

On Sun, 27 Jun 2021 at 02:18, Technologyrss Mail 
 wrote:


From MGMT error log

From KVM error log

---Alamin

On 6/27/2021 12:24 AM, Wei ZHOU wrote:

Are you able to ssh into host using username/password ?

-Wei

On Sat, 26 Jun 2021 at 20:02, Technologyrss Mail <
technologyrss.m...@gmail.com> wrote:


Please see below error, This is from ACS MGMT log error.

2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received
unknown parameters for command addHost. Unknown parameters : clustertype
2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to
add a new host athttp://10.66.100.50  in data center 1
2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't
setup agent, due to java.io.IOException: There was a problem while
connecting to10.66.100.50:22  <http://10.66.100.50:22>  - There was a 
problem while connecting to
10.66.100.50:22  <http://10.66.100.50:22>
2021-06-25 18:29:24,037 WARN  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Unable to
find the server resources athttp://10.66.100.50
2021-06-25 18:29:24,049 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Could not
find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2021-06-25 18:29:24,050 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host

---

Alamin

On 6/26/2021 10:18 PM, Rohit Yadav wrote:

Can you share logs, or the specific exceptions you're seeing if any? In

case you've attached them to your mail, the ML may not allow large
attachments.

Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server

and KVM host? In which case you may want to tail/investigate the logs on
both the management server and the KVM agent(s).

Regards.


 

Re: Unable to add host error ACS

2021-06-27 Thread Rohit Yadav
Thanks for sharing, glad the issue is resolved. The specific issue only affects 
4.15.0.0 and older releases, this issue is however fixed in 4.15.1.0.

After adding hosts you may actually revert the original sshd configuration.


Regards.


From: Technologyrss Mail 
Sent: Sunday, June 27, 2021 13:03
To: Wei ZHOU ; dev@cloudstack.apache.org 

Subject: Re: Unable to add host error ACS


Thank you so much!
This 3 lines add into sshd_config file and restart sshd service then solved!

PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

I am always try to find out ACS properly working with latest OS with latest 
version. I have Tech blog with YouTube channel.
Always I am appropriate your help & working as previous.

---
Alamin

On 6/27/2021 1:15 PM, Wei ZHOU wrote:
Hi,

Have you tried with 
http://docs.cloudstack.apache.org/en/4.15.0.0/releasenotes/about.html#workaround-for-adding-newer-kvm-hosts
 ?

-Wei


 

On Sun, 27 Jun 2021 at 02:18, Technologyrss Mail 
mailto:technologyrss.m...@gmail.com>> wrote:

>From MGMT error log

[cid:part3.64E24953.345219EA@gmail.com]

>From KVM error log

[cid:part4.5B07A141.1406078A@gmail.com]

---Alamin

On 6/27/2021 12:24 AM, Wei ZHOU wrote:

Are you able to ssh into host using username/password ?

-Wei

On Sat, 26 Jun 2021 at 20:02, Technologyrss Mail <
technologyrss.m...@gmail.com<mailto:technologyrss.m...@gmail.com>> wrote:



Please see below error, This is from ACS MGMT log error.

2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received
unknown parameters for command addHost. Unknown parameters : clustertype
2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to
add a new host at http://10.66.100.50 in data center 1
2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't
setup agent, due to java.io.IOException: There was a problem while
connecting to 10.66.100.50:22<http://10.66.100.50:22> - There was a problem 
while connecting to
10.66.100.50:22<http://10.66.100.50:22>
2021-06-25 18:29:24,037 WARN  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Unable to
find the server resources at http://10.66.100.50
2021-06-25 18:29:24,049 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Could not
find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2021-06-25 18:29:24,050 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host

---

Alamin

On 6/26/2021 10:18 PM, Rohit Yadav wrote:


Can you share logs, or the specific exceptions you're seeing if any? In


case you've attached them to your mail, the ML may not allow large
attachments.


Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server


and KVM host? In which case you may want to tail/investigate the logs on
both the management server and the KVM agent(s).


Regards.


From: Technologyrss Mail 
<mailto:technologyrss.m...@gmail.com>
Sent: Saturday, June 26, 2021 04:52
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> 
<mailto:dev@cloudstack.apache.org>
Subject: Unable to add host error ACS

*Hi,*

I am try to setup ACS basic zone but unable to add host. If possible
please see my ACS log.

My all server is Ubuntu 20.04. and all service are running properly.

Please help me

--

*Thanks & Regards.*

Support Admin

Facebook http://facebook.com/technologyrss>> 
| Twitter
<https://twitter.com/technologyrss1><https://twitter.com/technologyrss1> | 
Website <


https://technologyrss.com>


116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +088 01716915504

*Email :* 
support.ad...@technologyrss.com<mailto:support.ad...@technologyrss.com>

*Web :* 
www.technologyrss.com<http://www.technologyrss.com><http://www.technologyrss.com><http://www.technologyrss.com>
 <


https://technologyrss.com>



Re: Unable to add host error ACS

2021-06-26 Thread Wei ZHOU
Are you able to ssh into host using username/password ?

-Wei

On Sat, 26 Jun 2021 at 20:02, Technologyrss Mail <
technologyrss.m...@gmail.com> wrote:

> Please see below error, This is from ACS MGMT log error.
>
> 2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received
> unknown parameters for command addHost. Unknown parameters : clustertype
> 2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to
> add a new host at http://10.66.100.50 in data center 1
> 2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't
> setup agent, due to java.io.IOException: There was a problem while
> connecting to 10.66.100.50:22 - There was a problem while connecting to
> 10.66.100.50:22
> 2021-06-25 18:29:24,037 WARN  [c.c.r.ResourceManagerImpl]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Unable to
> find the server resources at http://10.66.100.50
> 2021-06-25 18:29:24,049 INFO  [c.c.u.e.CSExceptionErrorCode]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Could not
> find exception: com.cloud.exception.DiscoveryException in error code
> list for exceptions
> 2021-06-25 18:29:24,050 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> (qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
>
> ---
>
> Alamin
>
> On 6/26/2021 10:18 PM, Rohit Yadav wrote:
> > Can you share logs, or the specific exceptions you're seeing if any? In
> case you've attached them to your mail, the ML may not allow large
> attachments.
> >
> > Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server
> and KVM host? In which case you may want to tail/investigate the logs on
> both the management server and the KVM agent(s).
> >
> >
> > Regards.
> >
> > ____________
> > From: Technologyrss Mail 
> > Sent: Saturday, June 26, 2021 04:52
> > To: dev@cloudstack.apache.org 
> > Subject: Unable to add host error ACS
> >
> > *Hi,*
> >
> > I am try to setup ACS basic zone but unable to add host. If possible
> > please see my ACS log.
> >
> > My all server is Ubuntu 20.04. and all service are running properly.
> >
> > Please help me
> >
> > --
> >
> > *Thanks & Regards.*
> >
> > Support Admin
> >
> > Facebook  | Twitter
> > <https://twitter.com/technologyrss1> | Website <
> https://technologyrss.com>
> >
> > 116/1 West Malibagh, D. I. T Road
> >
> > Dhaka-1217, Bangladesh
> >
> > *Mob :* +088 01716915504
> >
> > *Email :* support.ad...@technologyrss.com
> >
> > *Web :* www.technologyrss.com<http://www.technologyrss.com> <
> https://technologyrss.com>
> >
> >
> >
> >
> >
>


Re: Unable to add host error ACS

2021-06-26 Thread Technologyrss Mail

Please see below error, This is from ACS MGMT log error.

2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received 
unknown parameters for command addHost. Unknown parameters : clustertype
2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to 
add a new host at http://10.66.100.50 in data center 1
2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't 
setup agent, due to java.io.IOException: There was a problem while 
connecting to 10.66.100.50:22 - There was a problem while connecting to 
10.66.100.50:22
2021-06-25 18:29:24,037 WARN  [c.c.r.ResourceManagerImpl] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Unable to 
find the server resources at http://10.66.100.50
2021-06-25 18:29:24,049 INFO  [c.c.u.e.CSExceptionErrorCode] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Could not 
find exception: com.cloud.exception.DiscoveryException in error code 
list for exceptions
2021-06-25 18:29:24,050 WARN  [o.a.c.a.c.a.h.AddHostCmd] 
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Exception:

com.cloud.exception.DiscoveryException: Unable to add the host

---

Alamin

On 6/26/2021 10:18 PM, Rohit Yadav wrote:

Can you share logs, or the specific exceptions you're seeing if any? In case 
you've attached them to your mail, the ML may not allow large attachments.

Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server and KVM 
host? In which case you may want to tail/investigate the logs on both the 
management server and the KVM agent(s).


Regards.


From: Technologyrss Mail 
Sent: Saturday, June 26, 2021 04:52
To: dev@cloudstack.apache.org 
Subject: Unable to add host error ACS

*Hi,*

I am try to setup ACS basic zone but unable to add host. If possible
please see my ACS log.

My all server is Ubuntu 20.04. and all service are running properly.

Please help me

--

*Thanks & Regards.*

Support Admin

Facebook  | Twitter
<https://twitter.com/technologyrss1> | Website <https://technologyrss.com>

116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +088 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com<http://www.technologyrss.com> 
<https://technologyrss.com>


  





Re: Unable to add host error ACS

2021-06-26 Thread Rohit Yadav
Can you share logs, or the specific exceptions you're seeing if any? In case 
you've attached them to your mail, the ML may not allow large attachments.

Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server and KVM 
host? In which case you may want to tail/investigate the logs on both the 
management server and the KVM agent(s).


Regards.


From: Technologyrss Mail 
Sent: Saturday, June 26, 2021 04:52
To: dev@cloudstack.apache.org 
Subject: Unable to add host error ACS

*Hi,*

I am try to setup ACS basic zone but unable to add host. If possible
please see my ACS log.

My all server is Ubuntu 20.04. and all service are running properly.

Please help me

--

*Thanks & Regards.*

Support Admin

Facebook  | Twitter
<https://twitter.com/technologyrss1> | Website <https://technologyrss.com>

116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +088 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com<http://www.technologyrss.com> 
<https://technologyrss.com>


 



Unable to add host error ACS

2021-06-25 Thread Technologyrss Mail

*Hi,*

I am try to setup ACS basic zone but unable to add host. If possible 
please see my ACS log.


My all server is Ubuntu 20.04. and all service are running properly.

Please help me

--

*Thanks & Regards.*

Support Admin

Facebook  | Twitter 
 | Website 


116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +088 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com