Dmitry Lysnichenko created AMBARI-23893:
-------------------------------------------

             Summary: Using Configs.py throws <urlopen error [SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579) error
                 Key: AMBARI-23893
                 URL: https://issues.apache.org/jira/browse/AMBARI-23893
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko




{code}
[root@test ~]# /var/lib/ambari-server/resources/scripts/configs.py --port 8443 
--protocol https --action get --host localhost --cluster cl1 --config-type 
hive-site --key hive.exec.post.hooks
2018-05-16 13:23:06,375 INFO ### Performing "get" content:
Traceback (most recent call last):
File "/var/lib/ambari-server/resources/scripts/configs.py", line 368, in 
<module>
sys.exit(main())
File "/var/lib/ambari-server/resources/scripts/configs.py", line 354, in main
return get_properties(cluster, config_type, action_args, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 262, in 
get_properties
get_config(cluster, config_type, accessor, output)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 214, in 
get_config
properties, attributes = get_current_config(cluster, config_type, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 125, in 
get_current_config
config_tag = get_config_tag(cluster, config_type, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 95, in 
get_config_tag
response = accessor(DESIRED_CONFIGS_URL.format(cluster))
File "/var/lib/ambari-server/resources/scripts/configs.py", line 90, in 
do_request
raise Exception('Problem with accessing api. Reason: {0}'.format(exc))
Exception: Problem with accessing api. Reason: <urlopen error [SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)>
{code}





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to