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

[enterprise-4.17] Issue in file machine_management/creating_machinesets/creating-machineset-azure.adoc

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      In the section "Enabling Azure boot diagnostics", the YAML provided is incorrect.    
      
      The current docs say to add the following property to enable Azure Managed Diagnostics:
      
      providerSpec:
        diagnostics:
          boot:
            storageAccountType: AzureManaged
      
      
      However, the diagnostics property is nested within a `value` property, so the above YAML should instead be:
      
      providerSpec:
        value:
          diagnostics:
            boot:
              storageAccountType: AzureManaged 
      
      
      The same change is necessary for the unmanaged storage account instructions. 
      
      Azure provider spec for reference: https://github.com/openshift/api/blob/1a7b90faeadfea580606b4d24ad6e290eaf0fefb/machine/v1beta1/types_azureprovider.go#L147 

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

      4.12   

      How reproducible:

      Attempt to enable boot diagnostics on an Azure cluster following the documented instructions

      Steps to Reproduce:

          1. Attempt to modify a MachineSet on an Azure cluster to enable diagnostics as documented (adding the diagnostics property directly to the providerSpec block instead of under "value")    

      Actual results:

      The change will not be accepted as it violates the machine/machineset spec

      Expected results:

      The change is applied and the machine/machineset will have boot diagnostics enabled

      Additional info:

          

              ocp-docs-bot OCP DocsBot
              rh-ee-tsatam Tanmay Satam
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: