ambari-issues mailing list archives

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

             Summary: mpack install fails when using https links
                 Key: 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

We have https enabled on our public repo's. For customers that want to use https links mpack
install fails

[root@arpit-1 ~]# ambari-server install-mpack \
> --mpack=
> --purge \
> --verbose
Using python  /usr/bin/python
Installing management pack
INFO: Loading properties from /etc/ambari-server/conf/
INFO: Installing management pack
INFO: Loading properties from /etc/ambari-server/conf/
INFO: Download management pack to temp location /var/lib/ambari-server/data/tmp/hdf-ambari-mpack-
INFO: Downloading
to /var/lib/ambari-server/data/tmp/hdf-ambari-mpack-
Traceback (most recent call last):
  File "/usr/sbin/", line 941, in <module>
  File "/usr/sbin/", line 911, in mainBody
    main(options, args, parser)
  File "/usr/sbin/", line 863, in main
  File "/usr/sbin/", line 78, in execute
    self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/ambari_server/", line 896, in install_mpack
    (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path) = _install_mpack(options,
  File "/usr/lib/python2.6/site-packages/ambari_server/", line 691, in _install_mpack
    tmp_archive_path = download_mpack(mpack_path)
  File "/usr/lib/python2.6/site-packages/ambari_server/", line 140, in download_mpack
    download_file(mpack_path, tmp_archive_path)
  File "/usr/lib/python2.6/site-packages/ambari_commons/", 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/", line 126, in force_download_file
    response = urllib2.urlopen(request)
  File "/usr/lib64/python2.6/", line 126, in urlopen
    return, data, timeout)
  File "/usr/lib64/python2.6/", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/", line 1198, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib64/python2.6/", 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 ~]#

[root@arpit-1 ~]# rpm -qa | grep ambari
[root@arpit-1 ~]#

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

View raw message