You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/08/10 12:41:00 UTC
[jira] [Commented] (AMBARI-24456) Ambari server can not start on
latest Amazon Linux 2
[ https://issues.apache.org/jira/browse/AMBARI-24456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576215#comment-16576215 ]
Hudson commented on AMBARI-24456:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #138 (See [https://builds.apache.org/job/Ambari-branch-2.7/138/])
AMBARI-24456. Ambari server can not start on latest Amazon Linux 2 (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=853fa627eb00a17dbd32ffd796edce3786d812d7])
* (edit) ambari-common/src/main/python/ambari_commons/os_check.py
> Ambari server can not start on latest Amazon Linux 2
> ----------------------------------------------------
>
> Key: AMBARI-24456
> URL: https://issues.apache.org/jira/browse/AMBARI-24456
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.1
>
> Attachments: AMBARI-24456.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> On latest Amazon Linux 2 ambari-server cannot start with error message:
>
>
> [root@ip-10-0-222-155 cloudbreak]# ambari-server start
> Using python /usr/bin/python
> Starting ambari-server
> Traceback (most recent call last):
> File "/usr/sbin/ambari-server.py", line 37, in <module>
> from ambari_server.dbConfiguration import DATABASE_NAMES, LINUX_DBMS_KEYS_LIST
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", line 30, in <module>
> from ambari_server.serverConfiguration import decrypt_password_for_alias, get_ambari_properties, get_is_secure, \
> File "/usr/lib/ambari-server/lib/ambari_server/serverConfiguration.py", line 46, in <module>
> OS_VERSION = OSCheck().get_os_major_version()
> File "/usr/lib/ambari-server/lib/ambari_commons/os_check.py", line 322, in get_os_major_version
> return OSCheck.get_os_version().split('.')[0]
> File "/usr/lib/ambari-server/lib/ambari_commons/os_check.py", line 301, in get_os_version
> return OSCheck.get_alias(OSCheck._get_os_type(), OSCheck._get_os_version())[1]
> File "/usr/lib/ambari-server/lib/ambari_commons/os_check.py", line 313, in _get_os_version
> raise Exception("Cannot detect os version. Exiting...")
> Exception: Cannot detect os version. Exiting...
>
> Additional infos from the machine:
>
>
> [root@ip-10-0-222-155 cloudbreak]# cat /etc/system-release
> Amazon Linux 2
> [root@ip-10-0-222-155 cloudbreak]# cat /etc/*release
> NAME="Amazon Linux"
> VERSION="2"
> ID="amzn"
> ID_LIKE="centos rhel fedora"
> VERSION_ID="2"
> PRETTY_NAME="Amazon Linux 2"
> ANSI_COLOR="0;33"
> CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
> HOME_URL="https://amazonlinux.com/"
> Amazon Linux 2
> [root@ip-10-0-222-155 cloudbreak]#
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)