Post

4 followers Follow
1
Avatar

Not able to add Host / Cluster

Hello Everyone,

 

I've recently installed the .ova with no Problems. Today I tried to add the Host / Cluster but it fails with this error
The Host / Cluster get's added but show no informations / virtual machines or anything.

 

I would appriciate if someone has some ideas.

 

Thank you in advance!

 

Regards,

 

Arne

 

Arne Ehmann

Please sign in to leave a comment.

9 comments

0
Avatar

By the information provided, we understand that you add a host/cluster and then you try to update it, is it correct? If so, what attribute are you updating/changing? What string are you writing?

vOneCloud Support Team 0 votes
Comment actions Permalink
0
Avatar

I think I didnt explain it right. I've installed everything. On the Dashboard I go to "Infrastructure" and add a Host (vcenter Server) and appears and gets added. But the mentioned error accures in the bottom right corner and the amount of hosts is not right (we have 14 and it shows 1)

Arne Ehmann 0 votes
Comment actions Permalink
0
Avatar

Firstly, which is your vOneCloud version?

This kind of error appears when a resource's template doesn't have a correct format, you need to review your vcenter template.

Juan Jose Montiel Cano 0 votes
Comment actions Permalink
0
Avatar

Sorry for not answering. I just updated and have Version

"Version 3.2.1"

"OpenNebula 5.6.1"

 

I just did it like the Guide says. I add the IP of the vCenter Server and the Credentials. After i Get the Cluster I try to import it and get the following

 

I then check the Clusters and see that there is just one Host but we have 13 at the moment

 

If I go to the Host to the Info Tab i see an Error

"Error monitoring Host "xxx" (16): Error executing poll"

 

Arne Ehmann 0 votes
Comment actions Permalink
0
Avatar

I've just tried to add the host again and found the logs.

Maybe someone can figure out why it's not working?

Would really appriciate it :)

 

 

Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:304 UID:2 one.host.update result SUCCESS, 20
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:5216 UID:2 one.host.info invoked , 20
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:5216 UID:2 one.host.info result SUCCESS, "<HOST><ID>20</ID><NA..."
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:0 UID:2 one.host.info invoked , 20
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:0 UID:2 one.host.info result SUCCESS, "<HOST><ID>20</ID><NA..."
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:9232 UID:2 one.host.update invoked , 20, "VCENTER_USER="LoginName...", 0
Mon Feb 11 10:30:36 2019 [Z0][ReM][E]: Req:9232 UID:2 one.host.update result FAILURE [one.host.update] Cannot update template. Parse error: syntax error, unexpected EQUAL, expecting $end at line 1, columns 68:69
Mon Feb 11 10:30:36 2019 [Z0][ReM][D]: Req:9280 UID:1 one.documentpool.info invoked , -2, -1, -1, 100
Mon Feb 11 10:30:37 2019 [Z0][ReM][D]: Req:9280 UID:1 one.documentpool.info result SUCCESS, "<DOCUMENT_POOL></DOC..."
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:6688 UID:0 one.zone.raftstatus invoked
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:6688 UID:0 one.zone.raftstatus result SUCCESS, "<RAFT><SERVER_ID>-1<..."
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:9152 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:9152 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:1392 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:30:42 2019 [Z0][ReM][D]: Req:1392 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:30:42 2019 [Z0][InM][D]: Monitoring host vCenterName (20)
Mon Feb 11 10:30:43 2019 [Z0][ReM][D]: Req:2608 UID:0 one.host.info invoked , 20
Mon Feb 11 10:30:43 2019 [Z0][ReM][D]: Req:2608 UID:0 one.host.info result SUCCESS, "<HOST><ID>20</ID><NA..."
Mon Feb 11 10:30:43 2019 [Z0][ReM][D]: Req:9792 UID:0 one.system.config invoked
Mon Feb 11 10:30:43 2019 [Z0][ReM][D]: Req:9792 UID:0 one.system.config result SUCCESS, "<TEMPLATE><API_LIST_..."
Mon Feb 11 10:30:43 2019 [Z0][InM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/im/run_probes vcenter /var/lib/one//datastores 4124 20 20 vCenterName
Mon Feb 11 10:30:43 2019 [Z0][InM][I]: IM poll for vcenter cluster 20 failed due to "Error decrypting secret."
Mon Feb 11 10:30:43 2019 [Z0][InM][I]: ["/usr/lib/one/ruby/vcenter_driver/vi_client.rb:223:in `rescue in decrypt'", "/usr/lib/one/ruby/vcenter_driver/vi_client.rb:211:in `decrypt'", "/usr/lib/one/ruby/vcenter_driver/vi_client.rb:159:in `new_from_host'", "./poll:35:in `<main>'"]
Mon Feb 11 10:30:43 2019 [Z0][InM][E]: Error executing poll
Mon Feb 11 10:30:43 2019 [Z0][ONE][E]: Error monitoring Host vCenterName (20): Error executing poll
Mon Feb 11 10:30:57 2019 [Z0][InM][D]: Monitoring datastore default (1)
Mon Feb 11 10:30:57 2019 [Z0][InM][D]: Monitoring datastore files (2)
Mon Feb 11 10:30:58 2019 [Z0][ImM][D]: Datastore files (2) successfully monitored.
Mon Feb 11 10:30:58 2019 [Z0][ImM][D]: Datastore default (1) successfully monitored.
Mon Feb 11 10:31:07 2019 [Z0][ReM][D]: Req:4160 UID:1 one.documentpool.info invoked , -2, -1, -1, 100
Mon Feb 11 10:31:07 2019 [Z0][ReM][D]: Req:4160 UID:1 one.documentpool.info result SUCCESS, "<DOCUMENT_POOL></DOC..."
Mon Feb 11 10:31:08 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 4 -

Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:8256 UID:1 one.system.config invoked
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:8256 UID:1 one.system.config result SUCCESS, "<TEMPLATE><API_LIST_..."
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:2848 UID:2 one.user.info invoked , -1
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:2848 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:4544 UID:2 one.group.info invoked , 0
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:4544 UID:2 one.group.info result SUCCESS, "<GROUP><ID>0</ID><NA..."
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:7120 UID:2 one.user.info invoked , -1
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:7120 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:4592 UID:2 one.group.info invoked , 0
Mon Feb 11 10:31:08 2019 [Z0][ReM][D]: Req:4592 UID:2 one.group.info result SUCCESS, "<GROUP><ID>0</ID><NA..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:5136 UID:2 one.datastorepool.info invoked
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:5136 UID:2 one.datastorepool.info result SUCCESS, "<DATASTORE_POOL><DAT..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:3984 UID:2 one.userpool.info invoked
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:3984 UID:2 one.userpool.info result SUCCESS, "<USER_POOL><USER><ID..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:2224 UID:2 one.grouppool.info invoked
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:2224 UID:2 one.grouppool.info result SUCCESS, "<GROUP_POOL><GROUP><..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:2320 UID:2 one.hostpool.info invoked
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:2320 UID:2 one.hostpool.info result SUCCESS, "<HOST_POOL><HOST><ID..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:8432 UID:2 one.clusterpool.info invoked
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:8432 UID:2 one.clusterpool.info result SUCCESS, "<CLUSTER_POOL><CLUST..."
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:6128 UID:2 one.user.info invoked , 2
Mon Feb 11 10:31:11 2019 [Z0][ReM][D]: Req:6128 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:12 2019 [Z0][ReM][D]: Req:80 UID:2 one.grouppool.info invoked
Mon Feb 11 10:31:12 2019 [Z0][ReM][D]: Req:80 UID:2 one.grouppool.info result SUCCESS, "<GROUP_POOL><GROUP><..."
Mon Feb 11 10:31:12 2019 [Z0][ReM][D]: Req:8160 UID:0 one.zone.raftstatus invoked
Mon Feb 11 10:31:12 2019 [Z0][ReM][D]: Req:8160 UID:0 one.zone.raftstatus result SUCCESS, "<RAFT><SERVER_ID>-1<..."
Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:9056 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:9056 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:7952 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:7952 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:13 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 5 -

Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:8176 UID:2 one.vmpool.info invoked , -2, 0, -200, -1
Mon Feb 11 10:31:13 2019 [Z0][ReM][D]: Req:8176 UID:2 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:3888 UID:1 one.system.config invoked
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:3888 UID:1 one.system.config result SUCCESS, "<TEMPLATE><API_LIST_..."
Mon Feb 11 10:31:22 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 6 -

Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:5152 UID:2 one.user.info invoked , -1
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:5152 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:8224 UID:2 one.group.info invoked , 0
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:8224 UID:2 one.group.info result SUCCESS, "<GROUP><ID>0</ID><NA..."
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:4704 UID:2 one.user.info invoked , -1
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:4704 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:2464 UID:2 one.group.info invoked , 0
Mon Feb 11 10:31:22 2019 [Z0][ReM][D]: Req:2464 UID:2 one.group.info result SUCCESS, "<GROUP><ID>0</ID><NA..."
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:5584 UID:2 one.datastorepool.info invoked
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:5584 UID:2 one.datastorepool.info result SUCCESS, "<DATASTORE_POOL><DAT..."
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:3024 UID:2 one.grouppool.info invoked
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:3024 UID:2 one.grouppool.info result SUCCESS, "<GROUP_POOL><GROUP><..."
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:3600 UID:2 one.hostpool.info invoked
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:3600 UID:2 one.hostpool.info result SUCCESS, "<HOST_POOL><HOST><ID..."
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:4208 UID:2 one.clusterpool.info invoked
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:4208 UID:2 one.clusterpool.info result SUCCESS, "<CLUSTER_POOL><CLUST..."
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:8832 UID:2 one.user.info invoked , 2
Mon Feb 11 10:31:25 2019 [Z0][ReM][D]: Req:8832 UID:2 one.user.info result SUCCESS, "<USER><ID>2</ID><GID..."
Mon Feb 11 10:31:26 2019 [Z0][ReM][D]: Req:9760 UID:2 one.grouppool.info invoked
Mon Feb 11 10:31:26 2019 [Z0][ReM][D]: Req:9760 UID:2 one.grouppool.info result SUCCESS, "<GROUP_POOL><GROUP><..."
Mon Feb 11 10:31:27 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 8 -

Mon Feb 11 10:31:27 2019 [Z0][ReM][D]: Req:992 UID:2 one.userpool.info invoked
Mon Feb 11 10:31:27 2019 [Z0][ReM][D]: Req:992 UID:2 one.userpool.info result SUCCESS, "<USER_POOL><USER><ID..."
Mon Feb 11 10:31:27 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 7 -

Mon Feb 11 10:31:27 2019 [Z0][ReM][D]: Req:9568 UID:2 one.vmpool.info invoked , -2, 0, -200, -1
Mon Feb 11 10:31:27 2019 [Z0][ReM][D]: Req:9568 UID:2 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:37 2019 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 9 -

Mon Feb 11 10:31:37 2019 [Z0][ReM][D]: Req:240 UID:1 one.documentpool.info invoked , -2, -1, -1, 100
Mon Feb 11 10:31:37 2019 [Z0][ReM][D]: Req:240 UID:1 one.documentpool.info result SUCCESS, "<DOCUMENT_POOL></DOC..."
Mon Feb 11 10:31:43 2019 [Z0][InM][D]: Monitoring host vCenterName (20)
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:4672 UID:0 one.zone.raftstatus invoked
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:4672 UID:0 one.zone.raftstatus result SUCCESS, "<RAFT><SERVER_ID>-1<..."
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:6096 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:6096 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:4960 UID:0 one.vmpool.info invoked , -2, -1, -1, -1
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:4960 UID:0 one.vmpool.info result SUCCESS, "<VM_POOL></VM_POOL>"
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:6848 UID:0 one.host.info invoked , 20
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:6848 UID:0 one.host.info result SUCCESS, "<HOST><ID>20</ID><NA..."
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:1984 UID:0 one.system.config invoked
Mon Feb 11 10:31:43 2019 [Z0][ReM][D]: Req:1984 UID:0 one.system.config result SUCCESS, "<TEMPLATE><API_LIST_..."
Mon Feb 11 10:31:43 2019 [Z0][InM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/im/run_probes vcenter /var/lib/one//datastores 4124 20 20 vCenterName
Mon Feb 11 10:31:43 2019 [Z0][InM][I]: IM poll for vcenter cluster 20 failed due to "Error decrypting secret."
Mon Feb 11 10:31:43 2019 [Z0][InM][I]: ["/usr/lib/one/ruby/vcenter_driver/vi_client.rb:223:in `rescue in decrypt'", "/usr/lib/one/ruby/vcenter_driver/vi_client.rb:211:in `decrypt'", "/usr/lib/one/ruby/vcenter_driver/vi_client.rb:159:in `new_from_host'", "./poll:35:in `<main>'"]

Arne Ehmann 0 votes
Comment actions Permalink
0
Avatar

 IM poll for vcenter cluster 20 failed due to "Error decrypting secret."

 

This indicates an error with the one_key secret that vOneCloud generates by default. If possible, we suggest starting the process of installing vOneCloud from scratch

vOneCloud Support Team 0 votes
Comment actions Permalink
0
Avatar

Thank you for yoru response.

Sure, is there a specific way to uninstall or just delete the VM?

 

Regards,

 

Arne

Arne Ehmann 0 votes
Comment actions Permalink
0
Avatar

If referring to the vOneCloud appliance, you can just delete it from vCenter.

vOneCloud Support Team 0 votes
Comment actions Permalink
0
Avatar

Hello again,

 

so I deleted the Vm and reinstalled everything. Now I get this Error again when I add the Host. The VM is in the same net as the Vcenter Server Appliance so this shoulnt be a fw Problem.

Any suggestions ?

 

Kind regards,

 

Arne

Arne Ehmann 0 votes
Comment actions Permalink