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

Data Plane Deployment failing when using unprovisioned nodes

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • openstack-ansible-ee-container-1.0.12-5
    • openstack-ansible-ee-container-1.0.12-5
    • rhos-dfg-nfv
    • None
    • Hide
      .Fixes `edpm_network_config_nonconfigured_cleanup` parameter issue

      The flag `edpm_network_config_nonconfigured_cleanup: true` was introduced as default in Feature Release 2 and caused some new deployments to fail.

      With this update, appropriate use of the flag `edpm_network_config_nonconfigured_cleanup: true` no longer causes deployment failures.

      You can now set `edpm_network_config_nonconfigured_cleanup: true` when you do the following configurations:

      * Use unprovisioned or pre-provisioned nodes with a VLAN-tagged interface using either the ifcfg or nmstate provider.
      * Have multiple dataplanes with separate namespaces and a tagged VLAN on the control plane interface.

      Set `edpm_network_config_nonconfigured_cleanup: false` when you do the following configurations:

      * Use unprovisioned or pre-provisioned physical interface with a flat network or bond using either the ifcfg or nmstate provider.
      * Perform network updates or RHOSO minor updates.
      * Perform a data plane adoption.
      * Have multiple data planes with separate namespaces and a flat network on the control plane interface.
      Show
      .Fixes `edpm_network_config_nonconfigured_cleanup` parameter issue The flag `edpm_network_config_nonconfigured_cleanup: true` was introduced as default in Feature Release 2 and caused some new deployments to fail. With this update, appropriate use of the flag `edpm_network_config_nonconfigured_cleanup: true` no longer causes deployment failures. You can now set `edpm_network_config_nonconfigured_cleanup: true` when you do the following configurations: * Use unprovisioned or pre-provisioned nodes with a VLAN-tagged interface using either the ifcfg or nmstate provider. * Have multiple dataplanes with separate namespaces and a tagged VLAN on the control plane interface. Set `edpm_network_config_nonconfigured_cleanup: false` when you do the following configurations: * Use unprovisioned or pre-provisioned physical interface with a flat network or bond using either the ifcfg or nmstate provider. * Perform network updates or RHOSO minor updates. * Perform a data plane adoption. * Have multiple data planes with separate namespaces and a flat network on the control plane interface.
    • Bug Fix
    • Done
    • Bugs Pending Verification
    • 1
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. Create the BMH with a secret pointed in `preprovisioningNetworkDataName`. The secret contains the necessary to configure the ctlplane as a vlan interface.
      2. During the deployment two interfaces are present:
        vlanXXXX
        ifname.XXXX
        Both of them conflict and make the node unreachable, causing the deployment to fail after the network configuration phase.

      Expected behavior

      • Only one interface configures the ctlplane network as a vlan. The other one should be cleaned.
      • Deployment successful.

      Bug impact

      • Two cases from different accounts are showing the same behavior. One of them is heavily escalated.

      Known workaround

      • Manually deleting the vlanXXXX interface makes the deployment succeed.

      Additional context

      • It's weird that the cloud-init configuration does not correspond with the expected one:

      links:

      • name: ens21f0np0
        id: ens21f0np0
        type: vif
      • name: ens21f0np0.202
        id: ens21f0np0.202
        type: vlan
        vlan_id: 202
        vlan_link: ens21f0np0
        vlan_mac_address: null
        networks:
      • link: ens21f0np0.202
        id: ens21f0np0.202
        type: ipv4
        ip_address: 10.66.0.72
        netmask: "255.255.252.0"
        routes:
      • network: 0.0.0.0
        netmask: 0.0.0.0
        gateway: 10.66.0.1
        services:
      • type: dns-nameserver
        address:
      • 10.67.1.114
        search:
      • ctlplane.ae-auh1-1.core42.systemsversus

      dns-resolver:
      config:
      server:

      • 10.67.225.11
      • 10.96.137.36
      • 10.97.137.36
        interfaces:
      • name: ens21f0np0
        type: ethernet
        state: up
        ipv4:
        enabled: false
      • name: vlan202
        type: vlan
        state: up
        vlan:
        base-iface: ens21f0np0
        id: 202
        ipv4:
        enabled: true
        address:
      • ip: 10.66.0.73
        prefix-length: 22
        routes:
        config:
      • destination: 0.0.0.0/0
        next-hop-address: 10.66.0.1
        next-hop-interface: vlan202

              vcandapp@redhat.com Vijayalakshmi Candappa
              rhn-support-jmarti Juan Pablo MartĆ­
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: