Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2031111

Summary: Long Role name and input parsing issue
Product: Red Hat OpenStack Reporter: Donghwi Cha <dcha>
Component: openstack-tripleo-heat-templatesAssignee: OSP Team <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: hjensas, mburns, owalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-10 14:50:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Donghwi Cha 2021-12-10 14:35:31 UTC
Description of problem:

>> There is an issue on Heat template which makes installation stop when using the default role name for Distributed compute, DistributedComputeHCIScaleOut. 

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

>> RHOSP 16.2, Train

How reproducible:
Steps to Reproduce:
1. Prepare templates for the distributedcomputescaleout role
2. Deploy it with director (tripleo)
3. Deployment stops always 

Actual results:

>> error code below 

dcn0.DistributedComputeHCIScaleOut.0.DistributedComputeHCIScaleOutOVNChassisMacPorts.0.OVNMacAddressPort:

  resource_type: OS::Neutron::Port

  physical_resource_id: d44d794c-a9df-4f8a-b06a-5f814508b46e

  status: CREATE_FAILED

  status_reason: |

    BadRequest: resources.OVNMacAddressPort: Invalid input for operation: 'tripleo_ovn_mac_port_name=DistributedComputeHCIScaleOut-ovn-mac-0' exceeds maximum length of 60.

    Neutron server returns request_ids: ['req-cef2a094-e938-4766-8d5c-27cf519ed28f']


Expected results:

>> successful resource creation 

Additional info:

Comment 1 Ollie Walsh 2021-12-10 14:50:05 UTC

*** This bug has been marked as a duplicate of bug 2031110 ***