HPE Morpheus VM Essentials Software
1866381 Members
1555 Online
110493 Solutions
New Discussion

Re: VME create cluster when host install morpheus agent failed

 
aldenyang
Established Member

VME create cluster when host install morpheus agent failed

When I create a cluster done.I check the host status it show agent installation failed.I retry many times.How can I manaul install the morpheus agent?

agent failed.PNG

1 REPLY 1
ghç9
HPE Pro

Re: VME create cluster when host install morpheus agent failed

Hope this reply is not too late, in VME when the agent fails to install on the Host its a good to check the Morpheus UI current logs, located at /var/log/morpheus/morpheus-ui/current, it is very helpful when troubleshooting Agent installations.

Example of a failed agent installation on an HVM Host:
 
2026-07-28_20:35:18.35352 ''[2026-07-28 20:36:01,358] [http-nio-127.0.0.1-8080-exec-34] INFO  c.m.AuditLogService - CEF:0|MorpheusData|Morpheus|8.1.2|admin:servers#upgrade|server Updated|src=10.203.101.99 suid=1 suser=administrator request=http://vme-manager/infrastructure/servers/4/upgrade requestMethod=PUT cn1=4 cn1Label=Object ID cs1Label=Object Type cs1=server cn2=1 cn2Label=Account ID
2026-07-28_20:36:01.35840 ''[2026-07-28 20:36:06,375] [appJobNormal-14] INFO  c.m.o.LinuxOsService - installing morpheus vm agent on linux server
2026-07-28_20:36:06.37608 ''[2026-07-28 20:36:06,376] [appJobNormal-14] INFO  c.m.o.LinuxOsService - Determining Optimal Connection Path for SSH for Server 4
2026-07-28_20:36:06.37612 ''[2026-07-28 20:36:06,384] [appJobNormal-14] INFO  c.m.MorpheusComputeService - Starting determineSshRoute with hostList: [10.56.79.37]
2026-07-28_20:36:06.38497 ''[2026-07-28 20:36:06,384] [appJobNormal-14] INFO  c.m.MorpheusComputeService - Testing host: 10.56.79.37
2026-07-28_20:36:06.38499 ''[2026-07-28 20:36:06,385] [appJobNormal-14] INFO  c.m.MorpheusComputeService - Ssh Connectivity Found on ip 10.56.79.37
2026-07-28_20:36:06.38533 ''[2026-07-28 20:36:06,862] [appJobNormal-14] INFO  c.m.o.LinuxOsService - Successfully Determined Route opts: 10.56.79.37
2026-07-28_20:36:06.86313 ''[2026-07-28 20:36:06,863] [appJobNormal-14] INFO  c.m.o.LinuxOsService - Performing Reachability Test
2026-07-28_20:36:06.86319 ''[2026-07-28 20:36:07,343] [appJobNormal-14] INFO  c.m.o.LinuxOsService - reach test result: {success=false, results={success=false, auth=password, exitCode=1, data=/usr/bin/curl
2026-07-28_20:36:07.34405 curl: (6) Could not resolve host: vme-manager
2026-07-28_20:36:07.34406 , errorOutput=}}
2026-07-28_20:36:07.34406 ''[2026-07-28 20:36:07,348] [appJobNormal-14] WARN  c.m.o.LinuxOsService - host not reachable: https://vme-manager/
 
  • You can see that the logs show that SSH connection to HVM host was successful.
  • But the install looks to have failed due to a DNS issue.
  • When you check the targer host you can see that nothing was installed

 

root@host37:/home/hvadmin# ll /opt/morpheus-node
total 24
drwxr-xr-x  3 root root  4096 Nov 27  2025 ./
drwxr-xr-x 11 root root  4096 Nov 27  2025 ../
drwx------  2 root root 16384 Nov 27  2025 lost+found/
root@host37:/home/hvadmin#
 
 

In this case we are dealing witn a DNS issue, check the HVM node ect/hosts file it might show the DNS entries for the VME Manager not registered.

 

root@Host1:/home/hvadmin# cat /etc/hosts
127.0.0.1 localhost hv-ubuntu
::1 localhost

 

Manualy add the entry in ect/hosts

 

root@host37:/home/hvadmin# cat /etc/hosts
127.0.0.1 localhost hv-ubuntu
::1 localhost
10.56.79.1xx vme-manager

 

Now try to install the Agent again and it should be successfull

 

2026-07-28_20:36:07.34893 ''[2026-07-28 20:40:11,709] [http-nio-127.0.0.1-8080-exec-55] INFO c.m.AuditLogService - CEF:0|MorpheusData|Morpheus|8.1.2|admin:servers#upgrade|server Updated|src=10.203.101.99 suid=1 suser=administrator request=http://vme-manager/infrastructure/servers/4/upgrade requestMethod=PUT cn1=4 cn1Label=Object ID cs1Label=Object Type cs1=server cn2=1 cn2Label=Account ID
2026-07-28_20:40:11.70980 ''[2026-07-28 20:40:16,755] [appJobNormal-13] INFO c.m.o.LinuxOsService - installing morpheus vm agent on linux server
2026-07-28_20:40:16.75612 ''[2026-07-28 20:40:16,756] [appJobNormal-13] INFO c.m.o.LinuxOsService - Determining Optimal Connection Path for SSH for Server 4
2026-07-28_20:40:16.75622 ''[2026-07-28 20:40:16,766] [appJobNormal-13] INFO c.m.MorpheusComputeService - Starting determineSshRoute with hostList: [10.56.79.37]
2026-07-28_20:40:16.76648 ''[2026-07-28 20:40:16,766] [appJobNormal-13] INFO c.m.MorpheusComputeService - Testing host: 10.56.79.37
2026-07-28_20:40:16.76651 ''[2026-07-28 20:40:16,766] [appJobNormal-13] INFO c.m.MorpheusComputeService - Ssh Connectivity Found on ip 10.56.79.37
2026-07-28_20:40:16.76687 ''[2026-07-28 20:40:17,246] [appJobNormal-13] INFO c.m.o.LinuxOsService - Successfully Determined Route opts: 10.56.79.37
2026-07-28_20:40:17.24691 ''[2026-07-28 20:40:17,246] [appJobNormal-13] INFO c.m.o.LinuxOsService - Performing Reachability Test
2026-07-28_20:40:17.24695 ''[2026-07-28 20:40:17,731] [appJobNormal-13] INFO c.m.o.LinuxOsService - reach test result: {success=true, results={success=true, auth=password, exitCode=0, data=/usr/bin/curl
2026-07-28_20:40:17.73208 MORPHEUS PING, errorOutput=}}
2026-07-28_20:40:17.73209 ''[2026-07-28 20:40:18,091] [http-nio-127.0.0.1-8080-exec-55] INFO c.m.a.a.ServerScriptController - A remote server/vm has requested the install agent script for download. Server: host37
2026-07-28_20:40:18.09184 ''[2026-07-28 20:40:39,054] [grails.rabbit.exchange.flushAgentActions.container-2] INFO c.m.a.a.CommandService - Flushing Pending Commands for Server 3b46383b-348d-4376-83cc-8b56cac7d4a5 - 2
2026-07-28_20:40:39.05503 ''[2026-07-28 20:40:39,843] [appJobNormal-13] INFO c.m.o.LinuxOsService - successfully installed agent on server 4 - host37
root@vme-manager:/var/log/morpheus/morpheus-ui#

 

 On the HVM node you will see the agent now installed too 

 

root@host37:/home/hvadmin# ll /opt/morpheus-node
total 136
drwxr-xr-x 12 morpheus-node morpheus-node  4096 Jul 28 20:40 ./
drwxr-xr-x 11 root          root           4096 Nov 27  2025 ../
-rw-r--r--  1 morpheus-node root            170 Jul 28 20:40 .profile
drwx------  2 morpheus-node morpheus-node  4096 Jul 28 20:40 .ssh/
-rw-r--r--  1 root          root          38203 Apr 10 14:32 LICENSE
drwxr-xr-x  2 root          root          16384 Jul 28 20:40 LICENSES/
drwxr-xr-x  2 root          root           4096 Jul 28 20:40 bin/
drwxr-x---  2 morpheus-node morpheus-node  4096 Jul 28 20:40 conf/
drwxr-xr-x 13 root          root           4096 Jul 28 20:40 embedded/
drwxr-xr-x  2 root          root           4096 Jul 28 20:40 init/
drwxr-xr-x  3 root          root           4096 Jul 28 20:40 lib/
drwx------  2 root          root          16384 Nov 27  2025 lost+found/
drwxr-xr-x  2 root          root           4096 Jul 28 20:40 service/
drwxr-xr-x  3 root          root           4096 Jul 28 20:40 sv/
-rw-r--r--  1 root          root             40 Jul 28 20:40 trusted-certs-directory-hash
-rw-r--r--  1 root          root           8404 Apr 10 14:32 version-manifest.json
-rw-r--r--  1 root          root           3149 Apr 10 14:32 version-manifest.txt
root@host37:/home/hvadmin#

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo