RedisVirtualIP - Unable to find subnet with name or id > 'internal_api_subnet' when using custom name_lower

Bug #1832461 reported by Harald Jensås on 2019-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Harald Jensås

Bug Description

When using a custom name_lower for the InternalApi network the RedisVirtualIP resource fails:

Config:

- name: InternalApi
  name_lower: MyInternalApiNet
  service_net_map_replace: internal_api

Result:
overcloud.RedisVirtualIP:
   resource_type: OS::TripleO::Network::Ports::RedisVipPort
   physical_resource_id:
   status: CREATE_FAILED
   status_reason: |
     resources.RedisVirtualIP: Property error:
 resources.VipPort.properties.fixed_ips[0].subnet: Error validating
 value 'internal_api_subnet': Unable to find subnet with name or id
 'internal_api_subnet'

Fix proposed to branch: master
Review: https://review.opendev.org/664832

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress

Reviewed: https://review.opendev.org/664832
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2bd0012a6e1fc0decad9522ab1d50491f991cbe1
Submitter: Zuul
Branch: master

commit 2bd0012a6e1fc0decad9522ab1d50491f991cbe1
Author: Harald Jensås <email address hidden>
Date: Wed Jun 12 10:44:36 2019 +0200

    Fix RedisVirtualIP when overrdiing InternalApi name_lower

    When overriding RedisVirtualIP name_lower and using the
    service_net_map_replace the overridden name_lower is was
    not used in VipSubnetMapDefaults.

    Get name_lower from the _service_nets jinja2 variable
    which holds the replaced name_lower for the network when
    service_net_map_replace is used.

    Closes-Bug: #1832461
    Change-Id: I839474dcce749fc3a75ae0e1be16780ddb83f5b3

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/665033
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=46741fc85d33bba754305f49c2fea69e4e2ee1ed
Submitter: Zuul
Branch: stable/stein

commit 46741fc85d33bba754305f49c2fea69e4e2ee1ed
Author: Harald Jensås <email address hidden>
Date: Wed Jun 12 10:44:36 2019 +0200

    Fix RedisVirtualIP when overrdiing InternalApi name_lower

    When overriding RedisVirtualIP name_lower and using the
    service_net_map_replace the overridden name_lower is was
    not used in VipSubnetMapDefaults.

    Get name_lower from the _service_nets jinja2 variable
    which holds the replaced name_lower for the network when
    service_net_map_replace is used.

    Closes-Bug: #1832461
    Change-Id: I839474dcce749fc3a75ae0e1be16780ddb83f5b3
    (cherry picked from commit 2bd0012a6e1fc0decad9522ab1d50491f991cbe1)

tags: added: in-stable-stein

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

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

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

Other bug subscribers