ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21167) mpack install fails when using https links
Date Thu, 01 Jun 2017 13:45:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-21167:
---------------------------------------
    Attachment: AMBARI-21167.patch

> mpack install fails when using https links
> ------------------------------------------
>
>                 Key: AMBARI-21167
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21167
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.1
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21167.patch
>
>
> We have https enabled on our public repo's. For customers that want to use https links
mpack install fails
> {code}
> [root@arpit-1 ~]# ambari-server install-mpack \
> > --mpack=https://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.1.3.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.1.3.0-6.tar.gz
\
> > --purge \
> > --verbose
> Using python  /usr/bin/python
> Installing management pack
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> INFO: Installing management pack https://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.1.3.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.1.3.0-6.tar.gz
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> INFO: Download management pack to temp location /var/lib/ambari-server/data/tmp/hdf-ambari-mpack-2.1.3.0-6.tar.gz
> INFO: Downloading https://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.1.3.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.1.3.0-6.tar.gz
to /var/lib/ambari-server/data/tmp/hdf-ambari-mpack-2.1.3.0-6.tar.gz
> Traceback (most recent call last):
>   File "/usr/sbin/ambari-server.py", line 941, in <module>
>     mainBody()
>   File "/usr/sbin/ambari-server.py", line 911, in mainBody
>     main(options, args, parser)
>   File "/usr/sbin/ambari-server.py", line 863, in main
>     action_obj.execute()
>   File "/usr/sbin/ambari-server.py", line 78, in execute
>     self.fn(*self.args, **self.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 896, in
install_mpack
>     (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path)
= _install_mpack(options, replay_mode)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 691, in
_install_mpack
>     tmp_archive_path = download_mpack(mpack_path)
>   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 140, in
download_mpack
>     download_file(mpack_path, tmp_archive_path)
>   File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 58, in download_file
>     force_download_file(link, destination, chunk_size, progress_func = progress_func)
>   File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 126, in
force_download_file
>     response = urllib2.urlopen(request)
>   File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib64/python2.6/urllib2.py", line 391, in open
>     response = self._open(req, data)
>   File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
>     '_open', req)
>   File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
>     result = func(*args)
>   File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
>     return self.do_open(httplib.HTTPSConnection, req)
>   File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error [Errno 1] _ssl.c:492: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3
alert handshake failure>
> [root@arpit-1 ~]#
> {code}
> {code}
> [root@arpit-1 ~]# rpm -qa | grep ambari
> ambari-server-2.5.1.0-146.x86_64
> [root@arpit-1 ~]#
> {code}
> Marked it for 2.5.1 will let ambari team make call on if this can make it in or not.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message