monasca-thresh service failing

asked 2017-02-10 00:29:43 -0500

Pavithrar gravatar image

Am trying to install monasca devstack . And its failing with the below error. Kindly help in resolving.

2017-01-26 21:58:20.177 | ++ /opt/stack/monasca-api/devstack/plugin.sh:start_monasca_services:234 : is_service_enabled monasca-thresh

2017-01-26 21:58:20.191 | ++ functions-common:is_service_enabled:2073 : return 0

2017-01-26 21:58:20.193 | ++ /opt/stack/monasca-api/devstack/plugin.sh:start_monasca_services:235 : start_service monasca-thresh

2017-01-26 21:58:20.195 | ++ functions-common:start_service:2305 : '[' -x /bin/systemctl ']'

2017-01-26 21:58:20.198 | ++ functions-common:start_service:2306 : sudo /bin/systemctl start monasca-thresh

2017-01-26 21:58:32.665 | Job for monasca-thresh.service failed because the control process exited with error code. See "systemctl status monasca-thresh.service" and "journalctl -xe" for details.

2017-01-26 21:58:32.670 | ++ /opt/stack/monasca-api/devstack/plugin.sh:start_monasca_services:235 : restart_service monasca-thresh

2017-01-26 21:58:32.672 | ++ functions-common:restart_service:2282 : '[' -x /bin/systemctl ']'

2017-01-26 21:58:32.675 | ++ functions-common:restart_service:2283 : sudo /bin/systemctl restart monasca-thresh **2017-01-26 21:58:45.559 | Job for monasca-thresh.service failed because the control process exited with error code. See "systemctl status monasca-thresh.service" and "journalctl -xe" for details.

*Found the below error on seeing the status:*

root@ManualInstall-Ubuntu1604-x8664:/home/stack# systemctl status monasca-thresh.service

  • monasca-thresh.service - LSB: Monitoring threshold engine running under storm

    Loaded: loaded (/etc/init.d/monasca-thresh; bad; vendor preset: enabled)

    Active: failed (Result: exit-code) since Fri 2017-02-10 01:13:16 EST; 9s ago

    Docs: man:systemd-sysv-generator(8)

    Process: 183713 ExecStart=/etc/init.d/monasca-thresh start (code=exited, status=1/FAILURE)

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 monasca-thresh[183713]: File "/opt/storm/current/bin/storm.py", line 768, in main

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 monasca-thresh[183713]: (COMMANDS.get(COMMAND, unknown_command))(*ARGS)

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 monasca-thresh[183713]: File "/opt/storm/current/bin/storm.py", line 248, in jar

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 monasca-thresh[183713]: os.remove(tmpjar)

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 monasca-thresh[183713]: OSError: [Errno 2] No such file or directory: '/tmp/fe9cc0d8ef5711e6b40c246e9630df24.jar'

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 sudo[183906]: pam_unix(sudo:session): session closed for user mon-thresh

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 systemd[1]: monasca-thresh.service: Control process exited, code=exited status=1

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 systemd[1]: Failed to start LSB: Monitoring threshold engine running under storm.

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 systemd[1]: monasca-thresh.service: Unit entered failed state.

Feb 10 01:13:16 ManualInstall-Ubuntu1604-x8664 systemd[1]: monasca-thresh.service: Failed with result 'exit-code'.

edit retag flag offensive close merge delete

Comments

Hi Pavithrar, I got the same error. Did you find the way to fix this?

Shayne gravatar imageShayne ( 2017-03-21 11:56:20 -0500 )edit

The file "/opt/storm/current/bin/storm.py" is a part of Apache Storm, did you manually specify a version?

rbrndt gravatar imagerbrndt ( 2017-03-21 12:19:09 -0500 )edit