[jira] [Commented] (AMBARI-24456) Ambari server can not start on latest Amazon Linux 2

2018-08-10 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/AMBARI-24456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576324#comment-16576324
 ] 

Hudson commented on AMBARI-24456:
-

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9793 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/9793/])
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=7301ffc6506025495b6d59b5190dede336cd8404])
* (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 
> from ambari_server.dbConfiguration import DATABASE_NAMES, 
> LINUX_DBMS_KEYS_LIST
>   File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", 
> line 30, in 
> 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 
> 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)


[jira] [Commented] (AMBARI-24456) Ambari server can not start on latest Amazon Linux 2

2018-08-10 Thread Hudson (JIRA)


[ 
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 
> from ambari_server.dbConfiguration import DATABASE_NAMES, 
> LINUX_DBMS_KEYS_LIST
>   File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", 
> line 30, in 
> 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 
> 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)