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

ASF GitHub Bot commented on CLOUDSTACK-9029:
--------------------------------------------

GitHub user Carles-Figuerola opened a pull request:

    https://github.com/apache/cloudstack/pull/1033

    CLOUDSTACK-9029: Proper support to identify CentOS 7 version number

    https://issues.apache.org/jira/browse/CLOUDSTACK-9029

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Carles-Figuerola/cloudstack 
centos-7-redhat-release

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1033.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1033
    
----
commit 3ce420c367363202cac4e4f5f59aac23d32defc7
Author: Carles Figuerola <[email protected]>
Date:   2015-11-04T17:21:47Z

    CLOUDSTACK-9029: Proper support to identify CentOS 7 version number

----


> 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)

Reply via email to