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

Bug 1697794

Summary: octavia_api is not available after overcloud deployment - stuck in restarting state
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-containersAssignee: Carlos Goncalves <cgoncalves>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: urgent Docs Contact: Andrew Burden <aburden>
Priority: urgent    
Version: 14.0 (Rocky)CC: cgoncalves, ihrachys, jschluet, lpeer, majopela, m.andre, scohen
Target Milestone: z2Keywords: Regression, Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-octavia-api-container-14.0-102 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 20:00:35 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: 1702918    
Bug Blocks: 1689674, 1699612    

Description Itzik Brown 2019-04-09 06:21:42 UTC
Description of problem:
After deployment of overcloud Ocativa is not responsive.
$ openstack loadbalancer list
Service Unavailable (HTTP 503)

It seems that the octavia_api is stuck
# docker ps |grep octavia_api
86b2554d2b75        192.168.24.1:8787/rhosp14/openstack-octavia-api:2019-03-28.1                 "kolla_start"            About an hour ago   Restarting (126) 10 minutes ago                       octavia_api

The logs of octavia_api show:
++ cat /run_command
+ CMD='/usr/bin/octavia-api --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/api.log --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-api'
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ set -o errexit
++ OCTAVIA_LOG_DIR=/var/log/kolla/octavia
++ [[ ! -d /var/log/kolla/octavia ]]
+++ stat -c %a /var/log/kolla/octavia
++ [[ 2755 != \7\5\5 ]]
++ chmod 755 /var/log/kolla/octavia
++ . /usr/local/bin/kolla_octavia_extend_start
+++ [[ -n '' ]]
++++ whoami
+++ [[ octavia == \r\o\o\t ]]
+++ /var/lib/octavia
/usr/local/bin/kolla_octavia_extend_start: line 22: /var/lib/octavia: Is a directory


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Carlos Goncalves 2019-04-09 07:53:35 UTC
Thank you, Itzik!

This was a regression introduced in https://review.openstack.org/#/q/I72e0a44f081747ebaec25fd5049db83ea6f418ff and fixed already upstream in https://review.openstack.org/#/q/I53610f1c9e3d10bb6b532dd7d43139854c0861b7

Comment 5 Jon Schlueter 2019-04-15 16:09:30 UTC
fix was included in openstack-octavia-api-container-14.0-102 container image build

Comment 10 errata-xmlrpc 2019-04-30 20:00:35 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/RHEA-2019:0951