Bug 2019808

Summary: [octavia] composable octavia role deployment fails
Product: Red Hat OpenStack Reporter: Mauro Oddi <moddi>
Component: tripleo-ansibleAssignee: Gregory Thiemonge <gthiemon>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: gthiemon, tkajinam
Target Milestone: z3Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20220201005252.2718509.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 16:02:31 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: 2027296    
Bug Blocks:    

Description Mauro Oddi 2021-11-03 11:35:54 UTC
Description of problem:
When trying to deploy octavia in a separated composable role the deployment fails to create the octavia_65 flavor because it cannot reach the nova API.



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

How reproducible:
always

Steps to Reproduce:
1.Create octavia composable role with composable services:

OS::TripleO::Services::OctaviaDeploymentConfig
OS::TripleO::Services::OctaviaHealthManager
OS::TripleO::Services::OctaviaHousekeeping
OS::TripleO::Services::OctaviaWorker


2. Only leave in Controller role the following Octavia composable services:
OS::TripleO::Services::OctaviaDeploymentConfig
OS::TripleO::Services::OctaviaApi

3. Deploy with -e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml


Actual results:
Deployment fails with
Error:

Use 'puppet module list --tree' to see information about modules\\n   (file & line not available)\n<13>Oct 18 09:36:40 puppet-user: Warning: Scope(Oslo::Db[octavia_config]): The idle_timeout parameter is deprecated. Please use connection_recycle_time instead.\n<13>Oct 18 09:36:40 puppet-user: Notice: Compiled catalog for XXXXXXXX.localdomain in environment production in 0.33 seconds\n<13>Oct 18 09:40:12 puppet-user: Error: Failed to apply catalog: Command: 'openstack [\"flavor\", \"list\", \"--quiet\", \"--format\", \"csv\", [\"--long\", \"--all\"]]' has been running for more than 40 seconds (tried 4, for a total of 170 seconds)\n<13>

Expected results:
Deployment succeeds

Additional info:

After creating octavia_65 flavor manually and forcing octavia.conf to use endpoints pointing to internalURL the deployment succeeds.

Comment 16 errata-xmlrpc 2022-06-22 16:02:31 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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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-2022:4793