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

Spoke will not boot after agent install with custom partition with error "Could not create partition"

XMLWordPrintable

    • Important
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When deploying a managed cluster with assisted installer using the ZTP workflow, the node fails to reboot when a custom partition is defined in the siteconfig. Parital error message is:
      
      disks: createPartitions: op(2) [failed] 
      [...]
      Err: exit status 4.
      
      See console screenshot for full error: https://drive.google.com/file/d/1ce_zUZBX5ewSK34jZ4j3BZgr9S403MXU/view?usp=drive_link

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

      hub cluster w/ 
      OCP 4.16-rc.2
      multicluster-engine.v2.6.0-103
      advanced-cluster-management.v2.11.0-86
      
      Installing managed cluster with OCP 4.16 rc.2
      
      

      How reproducible:

          

      Steps to Reproduce:

          1. Define custom partition in siteconfig. Example here: 
      http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/src/workers-4.16/siteconfig/worker-0.yaml#L46
          2. Deploy spoke cluster using ZTP workflow.
          3. Agent Cluster Install stuck on "installing-pending-user-action"
          4. Agent stuck "rebooting"
          5. Spole console shows "cannot mount /sysroot"

      Actual results:

       Agent Cluster Install stuck on "installing-pending-user-action"
       Agent stuck "rebooting"
       Spole console shows "cannot mount /sysroot"

      Expected results:

           Spoke should reboot successfully. 

      Additional info:

          

            oamizur Ori Amizur
            josclark@redhat.com Joshua Clark
            Michael Burman Michael Burman
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: