Bug 1718962

Summary: Swift containers missing health checks
Product: Red Hat OpenStack Reporter: Martin Magr <mmagr>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: lnatapov, mabrams, mburns, pkilambi, sclewis, slinaber, tenobreg
Target Milestone: gaKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1488153 Environment:
Last Closed: 2019-06-11 13:14:19 UTC Type: ---
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: 1488153, 1718970, 1718971, 1718973, 1718976    
Bug Blocks: 1631705, 1631707    

Description Martin Magr 2019-06-10 15:56:29 UTC
+++ This bug was initially created as a clone of Bug #1488153 +++

Some containers does not have default container health check implemented. We should make all the containers covered.


--- Additional comment from Leonid Natapov on 2019-05-05 08:36:39 UTC ---

Back to assign.
Here is the list of containers that don't have healthcheck. Probably will be more as I will test different tripleo templates that could add additional containers that don't appear now.

<snip>
cb8c36f550b  192.168.24.1:8787/rhosp15/openstack-swift-object:20190426.1              dumb-init --singl...  3 days ago  Up 3 days ago         swift_rsync
545554d34396  192.168.24.1:8787/rhosp15/openstack-swift-object:20190426.1             dumb-init --singl...  3 days ago  Up 3 days ago         swift_object_updater
4e5c87924a04  192.168.24.1:8787/rhosp15/openstack-swift-object:20190426.1             dumb-init --singl...  3 days ago  Up 3 days ago         swift_object_replicator
fd4303729c7c  192.168.24.1:8787/rhosp15/openstack-swift-proxy-server:20190426.1       dumb-init --singl...  3 days ago  Up 3 days ago         swift_object_expirer
1bd6bf949f2a  192.168.24.1:8787/rhosp15/openstack-swift-object:20190426.1             dumb-init --singl...  3 days ago  Up 3 days ago         swift_object_auditor
bfcde16edcf0  192.168.24.1:8787/rhosp15/openstack-swift-container:20190426.1          dumb-init --singl...  3 days ago  Up 3 days ago         swift_container_updater
675b3e1eeeea  192.168.24.1:8787/rhosp15/openstack-swift-container:20190426.1          dumb-init --singl...  3 days ago  Up 3 days ago         swift_container_replicator
9bf2bcb63e9e  192.168.24.1:8787/rhosp15/openstack-swift-container:20190426.1          dumb-init --singl...  3 days ago  Up 3 days ago         swift_container_auditor
a5b47266cdb4  192.168.24.1:8787/rhosp15/openstack-swift-account:20190426.1            dumb-init --singl...  3 days ago  Up 3 days ago         swift_account_replicator
968ed3b91924  192.168.24.1:8787/rhosp15/openstack-swift-account:20190426.1            dumb-init --singl...  3 days ago  Up 3 days ago         swift_account_reaper
ad1655ced45d  192.168.24.1:8787/rhosp15/openstack-swift-account:20190426.1            dumb-init --singl...  3 days ago  Up 3 days ago         swift_account_auditor

-----------------------------------------------------

Above mentioned Swift containers were covered with health checks in following patches:

https://review.opendev.org/#/c/559737/
https://review.opendev.org/#/c/563874/

Please enable (or refactor and enable) health checks (or eventually close this) under your consideration. Example of enabled health check executuion:
https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/nova/nova-api-container-puppet.yaml#L429