Created 10-01-2015 09:13 PM
2015-10-01 21:00:14,475 - File['/etc/ranger/kms/rangerkms.jceks'] {'owner': 'kms', 'group': 'kms'} 2015-10-01 21:00:14,476 - XmlConfig['dbks-site.xml'] {'group': 'kms', 'conf_dir': '/usr/hdp/current/ranger-kms/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'kms', 'configurations': ...} 2015-10-01 21:00:14,494 - Generating config: /usr/hdp/current/ranger-kms/conf/dbks-site.xml 2015-10-01 21:00:14,495 - File['/usr/hdp/current/ranger-kms/conf/dbks-site.xml'] {'owner': 'kms', 'content': InlineTemplate(...), 'group': 'kms', 'mode': 0644, 'encoding': 'UTF-8'} 2015-10-01 21:00:14,505 - Writing File['/usr/hdp/current/ranger-kms/conf/dbks-site.xml'] because contents don't match 2015-10-01 21:00:14,506 - XmlConfig['ranger-kms-site.xml'] {'group': 'kms', 'conf_dir': '/usr/hdp/current/ranger-kms/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'kms', 'configurations': ...} 2015-10-01 21:00:14,520 - Generating config: /usr/hdp/current/ranger-kms/conf/ranger-kms-site.xml 2015-10-01 21:00:14,520 - File['/usr/hdp/current/ranger-kms/conf/ranger-kms-site.xml'] {'owner': 'kms', 'content': InlineTemplate(...), 'group': 'kms', 'mode': 0644, 'encoding': 'UTF-8'} 2015-10-01 21:00:14,527 - Writing File['/usr/hdp/current/ranger-kms/conf/ranger-kms-site.xml'] because contents don't match 2015-10-01 21:00:14,527 - XmlConfig['kms-site.xml'] {'group': 'kms', 'conf_dir': '/usr/hdp/current/ranger-kms/conf', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'kms', 'configurations': ...} 2015-10-01 21:00:14,541 - Generating config: /usr/hdp/current/ranger-kms/conf/kms-site.xml 2015-10-01 21:00:14,541 - File['/usr/hdp/current/ranger-kms/conf/kms-site.xml'] {'owner': 'kms', 'content': InlineTemplate(...), 'group': 'kms', 'mode': 0644, 'encoding': 'UTF-8'} 2015-10-01 21:00:14,556 - Writing File['/usr/hdp/current/ranger-kms/conf/kms-site.xml'] because contents don't match 2015-10-01 21:00:14,556 - File['/usr/hdp/current/ranger-kms/conf/kms-log4j.properties'] {'content': ..., 'owner': 'kms', 'group': 'kms', 'mode': 0644}
2015-10-01 21:01:17,660 - Error : [Errno 110] Connection timed out
Created 10-02-2015 04:21 PM
You showed this error:
Error : [Errno 110] Connection timed out
That means the Ranger KMS services cannot reach the Ranger Admin service (http://rangeradminhost:6080).
Verify that "External URL" is set properly for Ranger & Ranger KMS. Typically it's `http://hostnameofrangeradmin:6080`
Common mistakes I've seen:
Created 10-02-2015 10:55 AM
Don't see an error here. Can you check logs in /var/log/ranger/kms/?
Created 10-02-2015 04:22 PM
Error is:
2015-10-01 21:01:17,660 - Error : [Errno 110] Connection timed out
Created 10-02-2015 04:21 PM
You showed this error:
Error : [Errno 110] Connection timed out
That means the Ranger KMS services cannot reach the Ranger Admin service (http://rangeradminhost:6080).
Verify that "External URL" is set properly for Ranger & Ranger KMS. Typically it's `http://hostnameofrangeradmin:6080`
Common mistakes I've seen:
Created 10-02-2015 09:35 PM
The KMS is also backed by a DB. Make sure kms db user/host combination has been granted permissions in MySQL (if that's what you're using).