cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carles Figuerola (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-9029) Proper support to identify CentOS 7 version number
Date Wed, 04 Nov 2015 17:24:27 GMT
Carles Figuerola created CLOUDSTACK-9029:
--------------------------------------------

             Summary: Proper support to identify CentOS 7 version number
                 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)

Mime
View raw message