# Having Problems adding Hosts

**URL:** <https://forum.opennebula.io/t/having-problems-adding-hosts/1196>\
**Category:** Product Support\
**Created:** [September 10, 2015, 3:26pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196 "2015-09-10T15:26:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 10, 2015, 3:26pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/1 "2015-09-10T15:26:06Z")

</div>

Hey there everyone,

Well I have the OpenNebula installed on a vm with in my infrastructure but I am having issues adding my hosts to the frontend.

I have chacked the ~/.one/one\_auth file on the frontend and the intended node and the passwords are the same however I changed my password in the GUI after I first got logged on

This is the error I get at the cli trying to add one of my hosts

**onehost create farragut -i kvm -v kvm -n dummy**  
**[HostAllocate] User couldn’t be authenticated, aborting call.**

Just not sure what is causing this, and before you ask yes I have googled it several times and got things that really didn’t make sense to me.

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [September 11, 2015, 7:42am UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/2 "2015-09-11T07:42:48Z")

</div>

Hi,

If you change your password, you need to update the one\_auth file with the new one. That is where you set your username and password for the CLI commands. You can read more here: [http://docs.opennebula.org/4.12/administration/users\_and\_groups/manage\_users.html#user-authentication](http://docs.opennebula.org/4.12/administration/users_and_groups/manage_users.html#user-authentication)

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 11, 2015, 9:33am UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/3 "2015-09-11T09:33:29Z")

</div>

Thank you sir i will give that a shot I appreciate your help, I would imagine they have to be changed in the frontend as well as all nodes correct?

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 11, 2015, 9:51am UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/4 "2015-09-11T09:51:30Z")

</div>

I am seeing this after changing my password in the ~/.one/one\_auth file

So I opened my log file and I see this at the end:

Fri Sep 11 05:47:31 2015 [ImM][D]: Datastore files (2) successfully monitored.  
Fri Sep 11 05:47:31 2015 [ImM][D]: Datastore default (1) successfully monitored.  
Fri Sep 11 05:47:32 2015 [ReM][D]: Req:6880 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:47:32 2015 [ReM][E]: Req:6880 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated$  
Fri Sep 11 05:47:32 2015 [ReM][D]: Req:6880 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:47:32 2015 [ReM][E]: Req:6880 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated$  
Fri Sep 11 05:47:36 2015 [ONE][E]: Error monitoring Host farragut.coopfire.loc (0): Error executing probes  
Fri Sep 11 05:47:56 2015 [ONE][E]: Error monitoring Host farragut.coopfire.loc (0): Error executing probes  
Fri Sep 11 05:48:01 2015 [ReM][D]: Req:1920 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:48:01 2015 [ReM][E]: Req:1920 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated$  
Fri Sep 11 05:48:01 2015 [ReM][D]: Req:1920 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:48:01 2015 [ReM][E]: Req:1920 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated$  
Fri Sep 11 05:48:16 2015 [ONE][E]: Error monitoring Host farragut.coopfire.loc (0): Error executing probes  
Fri Sep 11 05:48:26 2015 [InM][D]: Monitoring datastore default (1)  
Fri Sep 11 05:48:26 2015 [InM][D]: Monitoring datastore files (2)  
Fri Sep 11 05:48:27 2015 [ImM][D]: Datastore default (1) successfully monitored.  
Fri Sep 11 05:48:27 2015 [ImM][D]: Datastore files (2) successfully monitored.  
Fri Sep 11 05:48:32 2015 [ReM][D]: Req:560 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:48:32 2015 [ReM][E]: Req:560 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated,$  
Fri Sep 11 05:48:32 2015 [ReM][D]: Req:560 UID:- VirtualMachinePoolInfo invoked, -2, -1, -1, -1  
Fri Sep 11 05:48:32 2015 [ReM][E]: Req:560 UID:- VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated,$

I will keep researching but this is very annoying.

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [September 11, 2015, 10:07am UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/5 "2015-09-11T10:07:30Z")

</div>

> [@Nexusguy59](#):
>
> I will keep researching but this is very annoying.

Yes, authentication can be annoying, but it’s there for a reason… My guess is that the VirtualMachinePoolInfo calls are failing because the scheduler was launched before the oneadmin password was changed in one\_auth. Try restarting the opennebula service.

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 11, 2015, 11:53am UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/6 "2015-09-11T11:53:09Z")

</div>

Hello Carlos,

```
      Thanks again, It appears that this is still an issue after

```

restarting OpenNebula Service and rebooting the host box to have a clean  
slate. I will have to keep researching,

I am a noob so I am still learning how to diagnose and work in the  
OpenNebula environment.

By the way I am going to try to install it on CentOS as the frontend and  
see if that works any better. Right now I am an all Ubuntu 14.04 and 15.04  
Shop so-to-speak.

Thank you very much for your help,

Michael A Cooper  
Linux/Windows Web Administrator

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 18, 2015, 1:56pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/7 "2015-09-18T13:56:17Z")

</div>

Hey Carlos I got this worked out it was a ~/.ssh/authorized\_key issue.

---

<div class="post-metadata">

**Author:** ![Barney\_Murnin](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Barney\_Murnin](https://forum.opennebula.io/u/Barney_Murnin)\
**Post date:** [January 21, 2016, 7:10pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/8 "2016-01-21T19:10:42Z")

</div>

I think I am having same issue what was done for you nexusguy59? what was needed to ~/.ssh/authorized\_key issue. ?

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [January 21, 2016, 7:15pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/9 "2016-01-21T19:15:20Z")

</div>

I ended up havingto do an ssh-copy-id to each server from the front end.

Michael A Cooper  
Linux & Zerto Certified Professional

---

<div class="post-metadata">

**Author:** ![Barney\_Murnin](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Barney\_Murnin](https://forum.opennebula.io/u/Barney_Murnin)\
**Post date:** [January 21, 2016, 7:35pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/10 "2016-01-21T19:35:42Z")

</div>

THANKS!! I apprecaite your fast response.

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [January 21, 2016, 7:41pm UTC](https://forum.opennebula.io/t/having-problems-adding-hosts/1196/11 "2016-01-21T19:41:40Z")

</div>

Not a problem sir anytime.

Michael A Cooper  
Linux & Zerto Certified Professional
