You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2014/04/18 17:11:15 UTC

[jira] [Created] (AMBARI-5509) "Check Falcon" failed after disable security without pre-configurated kerberos

Antonenko Alexander created AMBARI-5509:
-------------------------------------------

             Summary: "Check Falcon" failed after disable security without pre-configurated kerberos
                 Key: AMBARI-5509
                 URL: https://issues.apache.org/jira/browse/AMBARI-5509
             Project: Ambari
          Issue Type: Task
          Components: client
    Affects Versions: 1.6.0
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 1.6.0


*STR:*
- deploy 3-node cluster
- enable security without setup kerberos script
- disable security

*Result:*
{code}stderr:   /var/lib/ambari-agent/data/errors-485.txt

2014-04-11 13:45:13,156 - 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 106, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/package/scripts/service_check.py", line 36, 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 '/usr/lib/falcon/bin/falcon admin -version' returned 255. Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
{code}
{code}stdout:   /var/lib/ambari-agent/data/output-485.txt

2014-04-11 13:44:27,104 - Execute['/usr/lib/falcon/bin/falcon admin -version'] {'logoutput': True, 'tries': 3, 'user': 'ambari-qa', 'try_sleep': 20}
2014-04-11 13:44:29,271 - Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
2014-04-11 13:44:29,271 - Retrying after 20 seconds. Reason: Execution of '/usr/lib/falcon/bin/falcon admin -version' returned 255. Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
2014-04-11 13:44:50,911 - Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
2014-04-11 13:44:50,911 - Retrying after 20 seconds. Reason: Execution of '/usr/lib/falcon/bin/falcon admin -version' returned 255. Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
2014-04-11 13:45:13,150 - Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
2014-04-11 13:45:13,156 - 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 106, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/package/scripts/service_check.py", line 36, 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 '/usr/lib/falcon/bin/falcon admin -version' returned 255. Error: Could not authenticate, Authentication failed, status: 503, message: Service Unavailable
{code}

All we need to do is add:
*.falcon.authentication.type=simple
*.falcon.http.authentication.type=simple



--
This message was sent by Atlassian JIRA
(v6.2#6252)