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

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

Github user Carles-Figuerola commented on the pull request:

    https://github.com/apache/cloudstack/pull/1033#issuecomment-155095658
  
    @wido The problem with that is that lsb_release doesn't come preinstalled 
in base centos installs:
    [cfiguerola@cent6 ~]$ lsb_release -r
    -bash: lsb_release: command not found
    
    [cfiguerola@cent7 ~]$ lsb_release -r
    -bash: lsb_release: command not found
    
    https://kenno.wordpress.com/2012/10/21/centos-lsb_release-command-not-found/


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

Reply via email to