Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-20115

All "nova-extra-config" configmap snippets from "Configuring the Compute service for instance creation" are broken in different way

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-workloads-compute
    • None
    • Important

      All "nova-extra-config" configmap snippets from "Configuring the Compute service for instance creation" are broken in different way. It is expected that "name" and "namespace" will be under "metadata" AND that each entry under data will have proper indentation + its content will be under it. Please find some practical examples below:

      Nova configuration data has wrong indentation:

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: nova-extra-config
        namespace: openstack
      data:
         <integer>-<service>-<feature>.conf: |
         [<section>]
         <config_option>=<value>

      name and namespace have wrong indentation:

      apiVersion: v1
      kind: ConfigMap
      metadata:
      name: nova-extra-config
      namespace: openstack
      data:
       25-nova-cpu-pinning.conf: | 
          [compute]
          cpu_shared_set = 2,6 
          cpu_dedicated_set = 1,3,5,7 
          [DEFAULT]
          reserved_huge_pages = node:0,size:4,count:131072 
          reserved_huge_pages = node:1,size:4,count:131072

      data has wrong indentation:

      apiVersion: v1
      kind: ConfigMap
      metadata:
      name: nova-extra-config
      namespace: openstack
      data:
      28-nova-huge-pages.conf: | 
          [default]
             reserved_huge_pages = node:0,size:2048,count:64
             reserved_huge_pages = node:1,size:1GB,count:1
          [libvirt]
             cpu_mode = custom
             cpu_models = Haswell-noTSX
             cpu_model_extra_flags = vmx, pdpe1gb, +pcid

      Bug impact
      Users are unable to follow guidelines as is

      Known workaround
      To fix indentation

              joflynn@redhat.com Joanne O'Flynn
              rhn-support-astupnik Alex Stupnikov
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: