Bug 1756474

Summary: [OSP 13] bug back-port request - OctaviaFlavorId should be type string
Product: Red Hat OpenStack Reporter: Matt Flusche <mflusche>
Component: openstack-tripleo-heat-templatesAssignee: Gregory Thiemonge <gthiemon>
Status: CLOSED ERRATA QA Contact: Michael Johnson <michjohn>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: aschultz, bbonguar, cgoncalves, gthiemon, jschluet, mburns, michjohn, njohnston
Target Milestone: z11Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.4.1-21.el7ost Doc Type: Bug Fix
Doc Text:
Cause: OctaviaFlavorId parameter accepted only number as value. Consequence: If a user specifies a string as OctaviaFlavorId, deployment or update would fail. Fix: OctaviaFlavorId is now a "string", allowing any alphanumeric values. Result: Users can specify strings or numbers as parameters in OctaviaFlavorId.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 11:22:02 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:
Bug Depends On: 1800847    
Bug Blocks:    

Description Matt Flusche 2019-09-27 17:37:58 UTC
Please back-port into OSP 13:

https://review.opendev.org/#/c/628215/

update datatype for "OctaviaFlavorId" Currently, heat templates will expect “OctaviaFlavorId” value to "number". But, if a user specifies alphanum value, the deployment fails. Hence, updating datatype of "OctaviaFlavorId" to "string"

https://bugs.launchpad.net/ubuntu/+source/tripleo-heat-templates/+bug/1810415

Comment 6 Michael Johnson 2020-02-18 01:42:28 UTC
Verified that the OctaviaFlavorId is now of type string in this fix:

/usr/share/openstack-tripleo-heat-templates/puppet/services/octavia-controller.yaml

  OctaviaFlavorId:
    default: '65'
    description: Nova flavor ID to be used when creating the nova flavor for
                 amphora.
    type: string

Comment 9 errata-xmlrpc 2020-03-10 11:22:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0760