Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9029

Proper support to identify CentOS 7 version number on Host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.5.2
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • CenOS 7

    Description

      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'

      Attachments

        Activity

          People

            Unassigned Unassigned
            cfiguerola Carles Figuerola
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: