Train -> Wallaby - FFU - Network-v2 idempotency not working

Bug #1970936 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Harald Jensås

Bug Description

In https://review.opendev.org/c/openstack/tripleo-ansible/+/783703 idempotency was change to use dns_domain instead of a neutron tag with the hostname because of neutron's limit on 60 chars per tag.

The dns_domain is not set in Train, so after undercloud FFU running pre-provision commands to create the environment file describing the baremetal deployment end up creating new ports instead of updateing/re-using the existing ports that where created when deploying the Train overcloud.

We need to backport - https://review.opendev.org/c/openstack/tripleo-heat-templates/+/715883 from Victoria to train.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/839911
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/b72fa565994c599dce10f61df46e1939d705e06f
Submitter: "Zuul (22348)"
Branch: stable/train

commit b72fa565994c599dce10f61df46e1939d705e06f
Author: Harald Jensås <email address hidden>
Date: Sat Mar 28 03:47:06 2020 +0100

    Set dns_name propery on ports and networks

    Neutron's dns_assignments field includes a nice pice of
    structured data. This is a prerequirement for Designate
    usage. (No plan's to use that, but being a bit ready
    does'nt hurt.)

      {"hostname": "my-vm",
       "ip_address": "192.0.2.16",
       "fqdn": "my-vm.example.org."}

    Enable for the undercloud:
     - dns_domain_ports ml2 extension driver

    Need to backport this to train because network-v2 idempotency
    rely on the dns_doman. In Ie326f30fcc3d93533f4269cdfec40d3634684e22
    idempotency was change to use dns_domain instead of a neutron tag
    with the hostname because of neutron's limit on 60 chars per tag.

    Without this change the provisioning workflow will create duplicate
    ports when FFU upgrade is performed.

    Conflicts:
      overcloud.j2.yaml

    Closes-Bug: #1970936
    Change-Id: I46eb9a24dd66821b27524fe4d1fdab617b6fa948
    (cherry picked from commit 679ecaada05768e96a1fcddb7aeb78fc6735809f)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates train-eol

This issue was fixed in the openstack/tripleo-heat-templates train-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.