Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E20318A20 for ; Mon, 9 Nov 2015 15:56:12 +0000 (UTC) Received: (qmail 98173 invoked by uid 500); 9 Nov 2015 15:56:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 98072 invoked by uid 500); 9 Nov 2015 15:56:11 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 97888 invoked by uid 500); 9 Nov 2015 15:56:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 97846 invoked by uid 99); 9 Nov 2015 15:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 15:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 339EE2C1F58 for ; Mon, 9 Nov 2015 15:56:11 +0000 (UTC) Date: Mon, 9 Nov 2015 15:56:11 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9029) Proper support to identify CentOS 7 version number on Host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996759#comment-14996759 ] ASF subversion and git services commented on CLOUDSTACK-9029: ------------------------------------------------------------- Commit ca860348dcdcc532f18d608acc6de3bef2e6f6d2 in cloudstack's branch refs/heads/master from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ca86034 ] Merge pull request #1033 from Carles-Figuerola/centos-7-redhat-release CLOUDSTACK-9029: Proper support to identify CentOS 7 version numberhttps://issues.apache.org/jira/browse/CLOUDSTACK-9029 * pr/1033: CLOUDSTACK-9029: Proper support to identify CentOS 7 version number Signed-off-by: Remi Bergsma > Proper support to identify CentOS 7 version number on Host > ---------------------------------------------------------- > > Key: CLOUDSTACK-9029 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9029 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.5.2 > Environment: CenOS 7 > Reporter: Carles Figuerola > Priority: Minor > > CentOS 7's /etc/redhat-relase doesn't have the same format as 5 or 6 and it makes cloudstack report the wrong version on the api. > centos5: > [cfiguerola@cent5 ~]$ cat /etc/redhat-release > CentOS release 5.7 (Final) > [cfiguerola@cent6 ~]$ cat /etc/redhat-release > CentOS release 6.6 (Final) > [cfiguerola@cent7~]$ cat /etc/redhat-release > CentOS Linux release 7.1.1503 (Core) > This makes the version on the api be: > u'Host.OS.Version': u'release' instead of {u'Host.OS.Version': u'7.1.1503' -- This message was sent by Atlassian JIRA (v6.3.4#6332)