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

[NFV] [Bootstrap a cluster] [bootkube.service] Failed to create "mc-cgroupsv1.yml" nodes.v1.config.openshift.io/cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • +
    • None
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The bootkube.service which Bootstrap a Kubernetes cluster fails to create some manifests:

      "mc-cgroupsv1.yml": failed to create nodes.v1.config.openshift.io/cluster -n : Node.config.openshift.io "cluster" is invalid: spec.cgroupMode: Unsupported value: "v1": supported values: "v2", ""

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

      4.19    

      How reproducible:

      https://prow.ci.openshift.org/job-history/gs/test-platform-results/logs/periodic-ci-shiftstack-ci-release-4.19-e2e-openstack-nfv-intel 

      Steps to Reproduce:

      https://steps.ci.openshift.org/job?org=shiftstack&repo=ci&branch=release-4.19&test=e2e-openstack-nfv-intel 

      Actual results:

      OpenShift installer logs:
      level=error msg=Bootstrap failed to complete: timed out waiting for the condition266level=error msg=Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane  
      
      Due to (bootstrap VM - bootkube.service logs):
      Apr 23 08:45:22 flc4b9pj-91e2e-889l6bootstrap cluster-bootstrap[5190]: Failed to create "mc-cgroupsv1.yml" nodes.v1.config.openshift.io/cluster -n : Node.config.openshift.io "cluster" is invalid: spec.cgroupMode: Unsupported value: "v1": supported values: "v2", ""
      Apr 23 08:45:22 flc4b9pj-91e2e-889l6bootstrap bootkube.sh[5111]: Failed to create "mc-cgroupsv1.yml" nodes.v1.config.openshift.io/cluster -n : Node.config.openshift.io "cluster" is invalid: spec.cgroupMode: Unsupported value: "v1": supported values: "v2", ""  

      Expected results:

      OCP on OSP with NFV feauture installed    

      Additional info:

      https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/installing_on_openstack/installing-openstack-nfv-preparing#installing-openstack-nfv-preparing-tasks-sr-iov 

      cgroup v1 is a deprecated feature. Deprecated functionality is still included in OpenShift Container Platform and continues to be supported; however, it will be removed in a future release of this product and is not recommended for new deployments.For the most recent list of major functionality that has been deprecated or removed within OpenShift Container Platform, refer to the Deprecated and removed features section of the OpenShift Container Platform release notes.    

              emacchi@redhat.com Emilien Macchi
              rh-ee-mcarpio Miguel Carpio
              None
              None
              Itshak Brown Itshak Brown
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: