Bug 1613662 - Octavia- Dockers are unhealthy after adding Octavia to the cloud with re-executing the overcloud deployment command with Octavia env file
Summary: Octavia- Dockers are unhealthy after adding Octavia to the cloud with re-exec...
Keywords:
Status: CLOSED DUPLICATE of bug 1517500
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks: 1517500
TreeView+ depends on / blocked
 
Reported: 2018-08-08 05:57 UTC by Alexander Stafeyev
Modified: 2019-09-10 14:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-16 12:37:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Stafeyev 2018-08-08 05:57:19 UTC
Description of problem:
[root@overcloud-controller-1 ~]# docker ps | grep octa
1b13b1974797        registry.access.redhat.com/rhosp13/openstack-octavia-health-manager:latest   "kolla_start"            20 hours ago        Up 20 hours (unhealthy)                       octavia_health_manager
2c6502229b83        registry.access.redhat.com/rhosp13/openstack-octavia-api:latest              "kolla_start"            20 hours ago        Up 20 hours (unhealthy)                       octavia_api
5a08540e9372        registry.access.redhat.com/rhosp13/openstack-octavia-housekeeping:latest     "kolla_start"            20 hours ago        Up 20 hours (unhealthy)                       octavia_housekeeping
d47a8ded4b82        registry.access.redhat.com/rhosp13/openstack-octavia-worker:latest           "kolla_start"            20 hours ago        Up 20 hours (healthy)                         octavia_worker
[root@overcloud-controller-1 ~]# docker exec octavia_health_manager /openstack/healthcheck
There is no octavia-health- process with opened RabbitMQ ports (5671,5672) running in the container
[root@overcloud-controller-1 ~]# docker exec octavia_api /openstack/healthcheck
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"/openstack/healthcheck\": stat /openstack/healthcheck: no such file or directory"

[root@overcloud-controller-1 ~]# docker exec octavia_housekeeping /openstack/healthcheck
There is no octavia-houseke process with opened RabbitMQ ports (5671,5672) running in the container
[root@overcloud-controller-1 ~]# docker exec octavia_worker /openstack/healthcheck
172.17.1.17:5672 - users:(("octavia-worker:",pid=23,fd=8))


(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep openstack | grep trip | grep temp
openstack-tripleo-heat-templates-8.0.4-10.el7ost.noarch

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


How reproducible:
?


Steps to Reproduce:
1. Deploy cloud with out octavia
2. Add the following to the deployment command : 
/usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml
3.
After deployment go into the controller and execute:
# Docker ps | grep octavia

See if there are unhealthy dockers.
If there are please execute:
# docker exec DOCKERNAME /openstack/healthcheck

Actual results:

Expected results:
All dockers should be healthy (?)


Additional info:

More info will be provided.

Comment 1 Nir Magnezi 2018-08-08 13:49:24 UTC
Hi Alex,

How's that different from bug 1517500 that you verified?

Comment 2 Alexander Stafeyev 2018-08-08 13:52:43 UTC
(In reply to Nir Magnezi from comment #1)
> Hi Alex,
> 
> How's that different from bug 1517500 that you verified?

The RFE is to support health check - It does support Health check so I verified. 

This one is to check why unhealthy when the dockers should be healthy

Comment 3 Nir Magnezi 2018-08-16 12:37:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.