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

The bootDiagnostics field does not take effect on Azure Stack Hub

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Specified bootDiagnostics type to UserManaged or Disabled in install-config as following:
      ===================
      platform:
        azure:
          region: mtcazs
          baseDomainResourceGroupName: os4-common
          cloudName: AzureStackCloud
          clusterOSImage: https://vhdsaqe.blob.mtcazs.wwtatc.com/vhd/rhcos-9.6.20250523-0-azurestack.x86_64.vhd
          armEndpoint: https://management.mtcazs.wwtatc.com
          defaultMachinePlatform:
            bootDiagnostics:
              type: UserManaged
              resourceGroup: jima-test-rg
              storageAccountName: jimatestsa
      Or
      ===================
      platform:
        azure:
          region: mtcazs
          baseDomainResourceGroupName: os4-common
          cloudName: AzureStackCloud
          clusterOSImage: https://vhdsaqe.blob.mtcazs.wwtatc.com/vhd/rhcos-9.6.20250523-0-azurestack.x86_64.vhd
          armEndpoint: https://management.mtcazs.wwtatc.com
          defaultMachinePlatform:
            bootDiagnostics:
              type: Disabled
      
      Created manifests and checked ClusterAPI machine manifests, regardless of install-config used, boot diagnostics type is always set to UserManaged and its URI is set to installer storage account blob URI.
      
      ===========
      $ cat 10_inframachine_jimaash28a-n5lq6-bootstrap.yaml 
      apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
      kind: AzureMachine
      <......>
        diagnostics:
          boot:
            storageAccountType: UserManaged
            userManaged:
              storageAccountURI: https://jimaash28an5lq6sa.blob.mtcazs.wwtatc.com
      <......>
      
      

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

          4.19.0-rc.3

      How reproducible:

          Always

      Steps to Reproduce:

          1. Prepare install-config and set bootDiagnostics type to UserManaged or Disabled
          2. Create manifests
          3. 
          

      Actual results:

          ClusterAPI machine manifests are not set to expected value for bootDiagnostics based on install-config

      Expected results:

          ClusterAPI machine manifests have expected setting for bootDiagnostics based on install-config

      Additional info:

          

              padillon Patrick Dillon
              jinyunma Jinyun Ma
              None
              None
              Jinyun Ma Jinyun Ma
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: