Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-11730

sosreport to collect cgroup (sosreport -k cgroups=on) does not work in OCP4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.12.z
    • Containers
    • None
    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The following sosreport commands to include cgroup data does not work properly. It always use ocp preset and use "--skip-plugins cgroups".
      
      # sosreport -k cgroups=on -vv
      # sosreport -e cgroups -vv

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      $ oc debug no/master-2.testclusterdg1.example.com
      sh-4.4# chroot /host bash
      [root@master-2 /]# toolbox 
      [root@master-2 /]# sosreport -k cgroups=on -vv
      [root@master-2 /]# sosreport -e cgroups -vv

      Steps to Reproduce:

       

      Actual results:

       

      Expected results:

       

      Additional info:

      [root@master-2 /]# sosreport -k cgroups=on -vv
      Please note the 'sosreport' command has been deprecated in favor of the new 'sos' command, E.G. 'sos report'.
      Redirecting to 'sos report -k cgroups=on -vv'
      sosreport (version 4.5.1)
      set sysroot to '/host' (policy)
      Set default container runtime to 'crio'
      Network devices not enumerated by nmcli. Will attempt to manually compile list of devices.
      [sos.report:setup] executing 'sos report -k cgroups=on -vv'
      [sos.report:setup] using 'ocp' preset defaults (--container-runtime crio --log-size 100 --no-report --plugopts crio.timeout=600,networking.timeout=600,networking.ethtool_namespaces=False,networking.namespaces=200 --skip-plugins cgroups)
      [sos.report:setup] effective options now: --container-runtime crio --log-size 100 --no-report --plugopts cgroups=on --skip-plugins cgroups -vv
      WARNING: unable to set option for disabled or non-existing plugin (cgroups).
      
      
      [root@master-2 /]# sosreport -e cgroups -vv
      Please note the 'sosreport' command has been deprecated in favor of the new 'sos' command, E.G. 'sos report'.
      Redirecting to 'sos report -e cgroups -vv'sosreport (version 4.5.1)set sysroot to '/host' (policy)
      Set default container runtime to 'crio'
      Network devices not enumerated by nmcli. Will attempt to manually compile list of devices.
      [sos.report:setup] executing 'sos report -e cgroups -vv'
      [sos.report:setup] using 'ocp' preset defaults (--container-runtime crio --log-size 100 --no-report --plugopts crio.timeout=600,networking.timeout=600,networking.ethtool_namespaces=False,networking.namespaces=200 --skip-plugins cgroups)
      [sos.report:setup] effective options now: --container-runtime crio --enable-plugins cgroups --log-size 100 --no-report --plugopts crio.timeout=600,networking.timeout=600,networking.ethtool_namespaces=False,networking.namespaces=200 --skip-plugins cgroups -vv
      

              tsweeney@redhat.com Tom Sweeney
              rhn-support-dgupte Dhananjay Gupte
              David Darrah David Darrah (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: