Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15836

On debian7 UI shows 'os not supported' in processor info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      This is caused by platform python module not able to get processor
      architecture.

      >>> import platform
      >>> platform.processor()
      ''

      We should use a more reliable way to do that.
      That is by using lsof.

      root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '

      { print $2 }

      '
      x86_64

      Attachments

        1. AMBARI-15836.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: