You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Daniel Horak (JIRA)" <ji...@apache.org> on 2015/01/22 12:13:34 UTC
[jira] [Created] (AMBARI-9258) Task "Check GLUSTERFS" is sometime
performed on *non* glusterfs server and fails
Daniel Horak created AMBARI-9258:
------------------------------------
Summary: Task "Check GLUSTERFS" is sometime performed on *non* glusterfs server and fails
Key: AMBARI-9258
URL: https://issues.apache.org/jira/browse/AMBARI-9258
Project: Ambari
Issue Type: Bug
Affects Versions: 1.6.1
Environment: HDP 2.1 on RHEL 6 with 2.1.GlusterFS stack.
Reporter: Daniel Horak
Task *Check GLUSTERFS* (from _Start All Services_ task) is on some installations performed on *non* glusterfs server (on server where is YARN Master and other master services, but no data, no NodeManager, etc.)
It apply also for *GLUSTERFS Service Check* (from _GLUSTERFS-Service Actions_ tab-button).
The task fails with following errors in log, which make sense, because on the "master" server are only glusterfs client libraries (glusterfs-server is only on storage nodes).
{noformat}
stdout: /var/lib/ambari-agent/data/output-384.txt
2015-01-22 10:50:15,211 - Execute['env GLUSTERFS_LOG_DIR=/var/log/glusterfs GLUSTERFS_PID_DIR=/var/run/glusterfs glusterd --version'] {'logoutput': True, 'tries': 3, 'try_sleep': 20}
2015-01-22 10:50:15,263 - env: glusterd: No such file or directory
2015-01-22 10:50:15,264 - Retrying after 20 seconds. Reason: Execution of 'env GLUSTERFS_LOG_DIR=/var/log/glusterfs GLUSTERFS_PID_DIR=/var/run/glusterfs glusterd --version' returned 127. env: glusterd: No such file or directory
2015-01-22 10:50:35,335 - env: glusterd: No such file or directory
2015-01-22 10:50:35,336 - Retrying after 20 seconds. Reason: Execution of 'env GLUSTERFS_LOG_DIR=/var/log/glusterfs GLUSTERFS_PID_DIR=/var/run/glusterfs glusterd --version' returned 127. env: glusterd: No such file or directory
2015-01-22 10:50:55,392 - env: glusterd: No such file or directory
2015-01-22 10:50:55,393 - Error while executing command 'service_check':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 111, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/package/scripts/service_check.py", line 33, in service_check
try_sleep = 20
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 239, in action_run
raise ex
Fail: Execution of 'env GLUSTERFS_LOG_DIR=/var/log/glusterfs GLUSTERFS_PID_DIR=/var/run/glusterfs glusterd --version' returned 127. env: glusterd: No such file or directory
{noformat}
If the *Check GLUSTERFS* task is performed on one of the storage nodes (on some installations), it pass well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)