Skip to content
  • Stan Hu's avatar
    Gracefully handle blank CPU information · fa684b35
    Stan Hu authored
    On some platforms, such as a Raspberry Pi 4 on Ubuntu 22.04, Ohai does
    not properly parse the `lscpu` output
    (https://github.com/chef/ohai/issues/1760).
    
    If there is no node information, default to a single thread.
    
    Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6896
    
    Changelog: fixed
    fa684b35