You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Carlos Miranda Molina (Mstaaravin)" <ms...@gmail.com> on 2013/11/12 18:50:14 UTC

Unable to add host (clean 4.2.0 installation)

Hello!

I have a clean installation of Cloudstack in my local laboratory, i  have
configured: Zone, Pod & Cluster
http://i.imgur.com/0o32L3D.png

But i can't add host

logs (in management server) show me this:

INFO  [cloud.api.ApiServer] (catalina-exec-18:) Unable to add the host
INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-2:) checking health of
usage server
WARN  [apache.cloudstack.alerts] (HA-2:)  alertType:: 13 // dataCenterId::
0 // podId:: 0 // clusterId:: null // message:: No usage server process
running
INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-5:) Trying to add
a new host at http://192.168.10.101 in data center 1
WARN  [kvm.discoverer.LibvirtServerDiscoverer] (catalina-exec-5:)  can't
setup agent, due to java.io.IOException: Password authentication failed. -
Password authentication failed.
WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-5:) Unable to
find the server resources at http://192.168.10.101
INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-5:) Could not
find exception: com.cloud.exception.DiscoveryException in error code list
for exceptions
WARN  [admin.host.AddHostCmd] (catalina-exec-5:) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host

Note: on hosts, /etc/init.d/cloudstack-agent restart does nothing
(installed from official repository)

Why manager need connect to http://192.168.10.101 (host private ip) in
documentation i don't see anything about that protocol.

Any help...?

Thanks!

-- 
"La Voluntad es el único motor de nuestros logros"
http://blog.ngen.com.ar/

Re: Unable to add host (clean 4.2.0 installation)

Posted by Shanker Balan <sh...@shapeblue.com>.
On 13-Nov-2013, at 8:22 pm, Carlos Miranda Molina (Mstaaravin) <ms...@gmail.com> wrote:

> After repetitive errors i configure a local DNS server with correct reverse
> resolution between manager and hosts, that works fine!
>
> Now, i'm thinking in reinstall all my laboratory, probably i take a mistake
> in the installation process.
>
> Thanks!


One of the first things I do via “ansible” on all my hosts:

- name: sshd_config - UseDNS
  action: lineinfile dest=/etc/ssh/sshd_config regexp=^UseDNS line="UseDNS no"
  notify: restart sshd


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: Unable to add host (clean 4.2.0 installation)

Posted by "Carlos Miranda Molina (Mstaaravin)" <ms...@gmail.com>.
After repetitive errors i configure a local DNS server with correct reverse
resolution between manager and hosts, that works fine!

Now, i'm thinking in reinstall all my laboratory, probably i take a mistake
in the installation process.

Thanks!




On Wed, Nov 13, 2013 at 11:45 AM, Koen Vanoppen <va...@gmail.com>wrote:

> Aslo, check you resolv.conf. Maybe something is wrong in there...
>
>
> 2013/11/13 Carlos Miranda Molina (Mstaaravin) <ms...@gmail.com>
>
> > On Tue, Nov 12, 2013 at 8:35 PM, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Are you sure you are giving the right password for root?
> > >
> >
> > http://www.cuantocabron.com/images/templates/kidding-me-template.jpg
> >
> >
> > --
> > "La Voluntad es el único motor de nuestros logros"
> > http://blog.ngen.com.ar/
> >
>



-- 
"La Voluntad es el único motor de nuestros logros"
http://blog.ngen.com.ar/

Re: Unable to add host (clean 4.2.0 installation)

Posted by Koen Vanoppen <va...@gmail.com>.
Aslo, check you resolv.conf. Maybe something is wrong in there...


2013/11/13 Carlos Miranda Molina (Mstaaravin) <ms...@gmail.com>

> On Tue, Nov 12, 2013 at 8:35 PM, Nux! <nu...@li.nux.ro> wrote:
>
> > Are you sure you are giving the right password for root?
> >
>
> http://www.cuantocabron.com/images/templates/kidding-me-template.jpg
>
>
> --
> "La Voluntad es el único motor de nuestros logros"
> http://blog.ngen.com.ar/
>

Re: Unable to add host (clean 4.2.0 installation)

Posted by "Carlos Miranda Molina (Mstaaravin)" <ms...@gmail.com>.
On Tue, Nov 12, 2013 at 8:35 PM, Nux! <nu...@li.nux.ro> wrote:

> Are you sure you are giving the right password for root?
>

http://www.cuantocabron.com/images/templates/kidding-me-template.jpg


-- 
"La Voluntad es el único motor de nuestros logros"
http://blog.ngen.com.ar/

Re: Unable to add host (clean 4.2.0 installation)

Posted by Nux! <nu...@li.nux.ro>.
On 12.11.2013 17:50, Carlos Miranda Molina (Mstaaravin) wrote:
> WARN  [kvm.discoverer.LibvirtServerDiscoverer] (catalina-exec-5:)  
> can't
> setup agent, due to java.io.IOException: Password authentication 
> failed. -
> Password authentication failed.
> WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-5:) Unable 
> to
> find the server resources at http://192.168.10.101

Are you sure you are giving the right password for root?

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro