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

Bug 1772306

Summary: recon middleware is not configured for swift account/container server
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: openstack-tripleo-heat-templatesAssignee: Takashi Kajinami <tkajinam>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: cschwede, mburns, mgarciac
Target Milestone: z11Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.4.1-38.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 11:23:19 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:

Description Takashi Kajinami 2019-11-14 04:59:05 UTC
Description of problem:

When we deploy overcloud with swift enabled, we have filter:recon section
defined in account/container/object-server.conf.
However, only object-server.conf has recon middleware added in pipeline
which means that we can't use recon for account server or container server.

There is no apparent reason why we don't disable recon for account/container server,
and it is very useful to have recon enabled because we can monitor some metrics
about swift via it.

How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud with swift enabled

Actual results:
recon middleware is not enabled in account server and container server

Expected results:
recon middleware is enabled in account server and container server

Additional info:

Comment 5 Mike Abrams 2020-02-17 06:55:07 UTC
(undercloud) [stack@undercloud-0 ~]$ for i in `cat controllers` ; do echo "=== $i"; ssh -t heat-admin@$i "sudo docker exec -it swift_account_server sh -c 'grep ^pipeline /etc/swift/account-server.conf'"; done
=== 192.168.24.6
Warning: Permanently added '192.168.24.6' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.6 closed.
=== 192.168.24.22
Warning: Permanently added '192.168.24.22' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.22 closed.
=== 192.168.24.19
Warning: Permanently added '192.168.24.19' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.19 closed.
(undercloud) [stack@undercloud-0 ~]$ 
(undercloud) [stack@undercloud-0 ~]$ for i in `cat controllers` ; do echo "=== $i"; ssh -t heat-admin@$i "sudo docker exec -it swift_container_server sh -c 'grep ^pipeline /etc/swift/account-server.conf'"; done
=== 192.168.24.6
Warning: Permanently added '192.168.24.6' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.6 closed.
=== 192.168.24.22
Warning: Permanently added '192.168.24.22' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.22 closed.
=== 192.168.24.19
Warning: Permanently added '192.168.24.19' (ECDSA) to the list of known hosts.
pipeline = healthcheck recon account-server
Connection to 192.168.24.19 closed.
(undercloud) [stack@undercloud-0 ~]$ rhos-release -L
Installed repositories (rhel-7.7):
  13
  ceph-3
  ceph-osd-3
  rhel-7.7
(undercloud) [stack@undercloud-0 ~]$ cat /var/lib/rhos-release/latest-installed 
13  -p 2020-02-14.1
(undercloud) [stack@undercloud-0 ~]$

Comment 7 errata-xmlrpc 2020-03-10 11:23:19 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