Uploaded image for project: 'openstack-k8s'
  1. openstack-k8s
  2. OSPK8-632

NUMATopologyFilter is not being incorporated by into controllers' nova.conf

XMLWordPrintable

    • False
    • None
    • False

      Env is titan131 :

      install dir : /root/pkomarov_dev-tools_hybrid_dpdk

      although there is a:  "parameter_defaults:     NovaSchedulerEnabledFilters:  - NUMATopologyFilter" <-- present in the deploy templates , the final nova.conf in the controllers don't have that param in the nova.conf  :

       

      [cloud-admin@openstackclient ~]$ ansible Controller -i ./ctlplane-ansible-inventory -mshell -b -a"grep enabled_filters  /var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf"
      172.22.0.102 | CHANGED | rc=0 >>
      #enabled_filters=AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
      172.22.0.101 | CHANGED | rc=0 >>
      #enabled_filters=AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
      172.22.0.100 | CHANGED | rc=0 >>
      #enabled_filters=AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter[cloud-admin@openstackclient ~]$ grep -ri  NUMATopologyFilter work/
      work/n566h5bch596hd7h656h5bbh65fh5dbh567hbbh589h67bh656h545hf4h5d5h8h5cfh56bh89hbfhb8h59fh57dh9ch99hcdh86h57h5dch687hd6q/playbooks/config-custom/nfv_dpdk.yaml:    - NUMATopologyFilter[root@titan131 pkomarov_dev-tools_hybrid_dpdk]# cat ansible/templates/osp/tripleo_heat_envs/features/16.2/nfv_dpdk/nfv_dpdk.yaml.j2
      ---
      parameter_defaults:    # The OVS logical->physical bridge mappings to use.
          NeutronBridgeMappings: "datacentre:br-ex"
          # Defines the flat networks to configure in neutron plugins.
          NeutronFlatNetworks: "datacentre"    NovaSchedulerEnabledFilters:
          - ComputeFilter
          - ComputeCapabilitiesFilter
          - ImagePropertiesFilter
          - NUMATopologyFilter
       oc get cm heat-env-config-deploy -o yaml
        nfv_dpdk.yaml: |
          ---
          parameter_defaults:        # The OVS logical->physical bridge mappings to use.
              NeutronBridgeMappings: "datacentre:br-ex"
              # Defines the flat networks to configure in neutron plugins.
              NeutronFlatNetworks: "datacentre"        NovaSchedulerEnabledFilters:
              - ComputeFilter
              - ComputeCapabilitiesFilter
              - ImagePropertiesFilter
              - NUMATopologyFilter
       

       

       

      This breaks any vm creation for dpdk :

      Exceeded maximum number of retries. Exhausted all hosts available for retrying bui
      ld failures for instance 97754d7c-0d55-4f74-84e8-5cef3d5cb85a
      
      /var/log/containers/nova/nova-compute.log:2022-09-13 19:41:26.336 7 DEBUG nova.compute.manager [req-ebc9b215-f804-47c2-a231-39ba9d0549d4 fb66b23f042f47628b72db4d48f670d0 5f4dc57c140c488196eed473f3ca541e - default default] [instance: 97754d7c-0d55-4f74-84e8-5cef3d5cb85a] Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology. _build_and_run_instance /usr/lib/python3.6/site-packages/nova/compute/manager.py:2500 

              Unassigned Unassigned
              pkomarov pini komarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: