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

BZ#2247835 [FFU][13->16.2] prepare fails with custom network containing underscore (_)

XMLWordPrintable

      Description of problem:

      During prepare step, FFU fails with the following.

      overcloud.Networks.Test_ANetwork:
      resource_type: OS::TripleO::Network::Test_A
      physical_resource_id: 94e93bfc-a068-4866-9ff3-8c14fd8081af
      status: UPDATE_FAILED
      status_reason: |
      resources.Test_ANetwork: Property error: resources.Test_ANetwork.properties.dns_domain: Error validating value 'Test_a.domain.': 'Test_a.domain.' not in valid format. Reason: Name 'Test_a' must be 1-63 characters long, each of which can only be alphanumeric or a hyphen.

      Looking at the THT templates, this dns_domain is created from CloudDomain + network.name.lower; however just changing name_lower (along with neutron network and subnet names) does not work as name_lower also sets network property: "provider:physical_network" which cannot be changed and produces new failure.

      resources:
      {{network.name}}Network:
      type: OS::Neutron::Net
      condition: manage_networks

      {%- if network.external_resource_network_id|default('') %}

      external_id: {{ network.external_resource_network_id }}

      {%- endif %}

      properties:
      admin_state_up: {get_param: {{network.name}}NetAdminStateUp}
      name: {get_param: {{network.name}}NetName}
      dns_domain:
      list_join:

      • '.'
      • - network.name.lower()
      • {get_param: CloudDomain}

      Looking for a way to fix or work-around this issue and continue the FFU.

      Version-Release number of selected component (if applicable):
      16.2 current

      How reproducible:
      100%

      Steps to Reproduce:
      1. see above description
      2.
      3.

      Additional info:
      In private comments

              rhn-support-bshephar Brendan Shephard
              jira-bugzilla-migration RH Bugzilla Integration
              Archana Singh Archana Singh
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: