@N SLooks like you are trying to deploy your "Custom Servicve" MNM Service.
Also the strange thing i see in the output is "stackInfo=HDP-9.8" What is 9.8? From where did you get this information?
Looks like your Custom Service "MNM Service" has some issue. As I do not see any such Stack "HDP-9.8" (the latest HDP stack version is 3.1)
The Stack version in your case seems to be abnormal ? From where did you get this ?
Can you please share the complete "ambari-server.log" and the Operational Log where yoiu see the complete failure?
Also please share the output of the following dir:
# ls -l /var/lib/ambari-server/resources/stacks/HDP/
total 8
drwxr-xr-x. 4 root root 82 Jan 13 23:44 2.0
drwxr-xr-x. 6 root root 4096 Jan 13 23:44 2.0.6
drwxr-xr-x. 4 root root 82 Jan 13 23:44 2.0.6.GlusterFS
drwxr-xr-x. 5 root root 99 Jan 13 23:44 2.1
drwxr-xr-x. 5 root root 99 Jan 13 23:44 2.1.GlusterFS
drwxr-xr-x. 5 root root 102 Jan 13 23:44 2.2
drwxr-xr-x. 5 root root 97 Jan 13 23:44 2.3
drwxr-xr-x. 4 root root 82 Jan 13 23:44 2.3.ECS
drwxr-xr-x. 5 root root 102 Jan 13 23:44 2.3.GlusterFS
drwxr-xr-x. 5 root root 97 Jan 13 23:44 2.4
drwxr-xr-x. 5 root root 97 Jan 13 23:44 2.5
drwxr-xr-x. 5 root root 100 Jan 13 23:44 2.6
drwxr-xr-x. 7 root root 4096 Jan 13 23:44 3.0
drwxr-xr-x. 5 root root 67 Jan 14 00:28 3.1
.