Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger KMS wont start after re-install

Ranger KMS wont start after re-install

Contributor

I removed Ranger KMS from the cluster using REST API and then re-installed it using Ambari Add Service option, however when I tried to start Ranger KMS server it is failing to come up ..

HDP 2.3.2/Ambari 2.1.2.1

Here is the error I see when I try to restart ..

 Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py", line 82, in <module>
    KmsServer().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 484, in restart
    self.start(env)
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py", line 55, in start
    enable_kms_plugin()
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py", line 277, in enable_kms_plugin
    get_repo_flag = get_repo(params.policymgr_mgr_url, params.repo_name, ambari_username_password_for_ranger)
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py", line 389, in get_repo
    raise Fail('Get repository failed, {0}'.format(str(e))) 
resource_management.core.exceptions.Fail: Get repository failed, HTTP Error 404: Not Found
1 REPLY 1
Highlighted

Re: Ranger KMS wont start after re-install

@rbalam

is your ranger started working fine ?

Can you please paste full stack trace here.

Don't have an account?
Coming from Hortonworks? Activate your account here