You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/04/11 00:02:15 UTC
[jira] [Created] (AMBARI-5433) Add Host failed on upgraded cluster
on Suse
Sumit Mohanty created AMBARI-5433:
-------------------------------------
Summary: Add Host failed on upgraded cluster on Suse
Key: AMBARI-5433
URL: https://issues.apache.org/jira/browse/AMBARI-5433
Project: Ambari
Issue Type: Bug
Affects Versions: 1.5.1
Reporter: Sumit Mohanty
Assignee: Sumit Mohanty
Fix For: 1.5.1
This is due to upgrade. We need to change it manually after upgrade:
//Now we have (redhat, suse, debian, other_detected_by_python)
vi /etc/ambari-server/conf/ambari.properties
(server.os_type=sles11) -->( server.os_type=suse11)
+restart the server
Should upgrade automatically deal with this?
old code:
{code}
os_info = platform.linux_distribution(
None, None, None, ['SuSE', 'redhat' ], 0
)
os_name = os_info[0].lower()
if os_name == 'suse':
os_name = 'sles'
os_version = os_info[1].split('.', 1)[0]
master_os_type = os_name + os_version
write_property(OS_TYPE_PROPERTY, master_os_type)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)