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

[edpm-ansible][edpm_ovn] tenant_ip should not be mandatory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • edpm-ansible
    • None
    • Neutron Quark 3
    • 1
    • Moderate

      Related to OSPRH-26038. Some patches/PRs have been proposed to cleanup BGP CI job configurations from unused networks.

      The tenant network is not used at all with BGP because the bgpmainnet network has to be used instead for the geneve tunnels between computes and networkers.

      However, the tenant network should still be included in NetConfig because it is set as required:

      https://github.com/openstack-k8s-operators/edpm-ansible/blob/d1fc8a352d8885a73b6d463ec9b6578b447532ec/roles/edpm_ovn/meta/argument_specs.yml#L119-L122

       

      To Reproduce Steps to reproduce the behavior:

      1. Remove tenant network from the NetConfig CR because it is not really used in RHOSO BGP environments.
      2. Configure compute and networker nodesets with `edpm_ovn_encap_ip: '{{ bgpmainnet_ip }}'`
      3. Apply the dataplane nodesets and dataplane deployment CRs.
      4. The deployment of the ovn service fails:
      [zuul@controller-0 ~]$ oc logs ovn-edpm-deployment-r0-compute-nodes-2ffqf | grep -B1 FAILED
      TASK [osp.edpm.edpm_ovn : Validating arguments against arg spec 'main' - The main entry point for the edpm_ovn role.] ***
      fatal: [r0-compute-0]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'tenant_ip' is undefined. 'tenant_ip' is undefined. 'tenant_ip' is undefined. 'tenant_ip' is undefined"}

      Expected behavior

      • Dataplane deployment should not fail.

      Bug impact

      • The tenant network should be included in NetConfig and dataplane nodeset CRs, despite being useless with BGP.

      Known workaround

      • The tenant network should be included in NetConfig and dataplane nodeset CRs, despite being useless with BGP.

       

              eolivare Eduardo Olivares Toledo
              eolivare Eduardo Olivares Toledo
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: