<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Fail to install Ranger KMS in HDP2.5 sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172236#M54259</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311"&gt;@apappu&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am also facing the same error. I am trying to add Ranger-KMS service from Ambari and while deploying i am seeing the error as "/var/lib/ambari-server/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py" does not exist.&lt;/P&gt;&lt;P&gt;I checked the above mentioned path and script at above path does not exist. I have downloaded HDP 2.5 Sandbox for Virtualbox and both ambari-server and ambari-agent is running on localhost and both are working fine. I think this script should come as part of HDP 2.5. It seems to be a issue in Sandbox image.&lt;/P&gt;&lt;P&gt;Ambari Version 2.4.0.&lt;/P&gt;&lt;P&gt;Could you please suggest the solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 17:24:55 GMT</pubDate>
    <dc:creator>munnyrahul</dc:creator>
    <dc:date>2017-02-23T17:24:55Z</dc:date>
    <item>
      <title>Fail to install Ranger KMS in HDP2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172234#M54257</link>
      <description>&lt;P&gt;Hi, I am trying to install Ranger KMS in HDP 2.5 sandbox using following link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_KMS_Admin_Guide/content/ch02s01.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_KMS_Admin_Guide/content/ch02s01.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Getting following error message in ambari-agent.log file.&lt;/P&gt;&lt;PRE&gt;AgentException: 'Script /var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py does not exist'
WARNING 2017-02-13 11:48:03,902 FileCache.py:168 - Error occurred during cache update. Error tolerate setting is set to true, so ignoring this error and continuing with current cache. Error details: ('Can not invalidate cache directory {0}: {1}', '/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package', "[Errno 22] Invalid argument: '/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts'")
ERROR 2017-02-13 11:48:03,903 CustomServiceOrchestrator.py:232 - Caught an exception while executing custom service command: &amp;lt;class 'ambari_agent.AgentException.AgentException'&amp;gt;: 'Script /var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py does not exist'; 'Script /var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py does not exist'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 157, in runCommand
    script_path = self.resolve_script_path(base_dir, script)
  File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 305, in resolve_script_path
    raise AgentException(message)
AgentException: 'Script /var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py does not exist'
WARNING 2017-02-13 11:48:03,903 ActionQueue.py:554 - 'str' object has no attribute 'has_key'

&lt;/PRE&gt;&lt;P&gt;Can anyone please help me.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:36:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172234#M54257</guid>
      <dc:creator>java_etl_bigdat</dc:creator>
      <dc:date>2017-02-13T20:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to install Ranger KMS in HDP2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172235#M54258</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11710/javaetlbigdata.html"&gt;Prasanta Sahoo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;what is the Ambari version are you using? If you have Ambari 2.4.x then can you check &lt;/P&gt;&lt;P&gt;1. "/var/lib/ambari-server/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py" folder/file exist? if that does not exist then your Ambari-server is not installed properly. &lt;/P&gt;&lt;P&gt;2. if that file/folder is present then check for "/var/lib/ambari-agent/cache/common/services/RANGER_KMS/0.5.0.2.3/package/" at the Agent host. basically Ambari-server pushes this files/folders to Ambari-agents. so restart Agent once and then try to check.&lt;/P&gt;&lt;P&gt;Let me know your findings.&lt;/P&gt;&lt;P&gt;Let &lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 02:37:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172235#M54258</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-02-14T02:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to install Ranger KMS in HDP2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172236#M54259</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311"&gt;@apappu&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am also facing the same error. I am trying to add Ranger-KMS service from Ambari and while deploying i am seeing the error as "/var/lib/ambari-server/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py" does not exist.&lt;/P&gt;&lt;P&gt;I checked the above mentioned path and script at above path does not exist. I have downloaded HDP 2.5 Sandbox for Virtualbox and both ambari-server and ambari-agent is running on localhost and both are working fine. I think this script should come as part of HDP 2.5. It seems to be a issue in Sandbox image.&lt;/P&gt;&lt;P&gt;Ambari Version 2.4.0.&lt;/P&gt;&lt;P&gt;Could you please suggest the solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 17:24:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172236#M54259</guid>
      <dc:creator>munnyrahul</dc:creator>
      <dc:date>2017-02-23T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to install Ranger KMS in HDP2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172237#M54260</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15105/rahgulati.html" nodeid="15105"&gt;@rahul gulati&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This script/path comes with Ambari-server . if does not exist you can copy that path/files from other setup. these are static files and can be copied to/from every place.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 02:19:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fail-to-install-Ranger-KMS-in-HDP2-5-sandbox/m-p/172237#M54260</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-02-27T02:19:44Z</dc:date>
    </item>
  </channel>
</rss>

