Bug 1823250 - Redis should be disabled by default because telemetry is no longer enabled by default [NEEDINFO]
Summary: Redis should be disabled by default because telemetry is no longer enabled by...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ga
: 17.1
Assignee: OSP Team
QA Contact: dabarzil
URL:
Whiteboard:
: 2025451 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-13 02:22 UTC by Takashi Kajinami
Modified: 2023-08-16 01:10 UTC (History)
13 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20221205221200.957cb5d.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:09:23 UTC
Target Upstream Version:
Embargoed:
astillma: needinfo? (rhos-maint)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1872645 0 None None None 2020-04-14 13:53:56 UTC
OpenStack gerrit 420578 0 None MERGED Update contributing.rst 2022-12-21 07:53:05 UTC
OpenStack gerrit 818055 0 None MERGED Check that redis is removed prior to FFU 2022-12-21 07:53:04 UTC
Red Hat Issue Tracker OSP-5427 0 None None None 2021-11-25 16:18:07 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:10:54 UTC

Description Takashi Kajinami 2020-04-13 02:22:05 UTC
Description of problem:

In RHOSP16.0, legacy Telemetry services (ceilometer, gnocchi and panko) are no more deployed by default.
However, we still see Redis is enabled by default, though there are no components using it.

~~~
[heat-admin@controller-0 ~]$ sudo pcs status
...

Full list of resources:

 ...
 Container bundle set: redis-bundle [cluster.common.tag/rhosp16-openstack-redis:pcmklatest]
   redis-bundle-0	(ocf::heartbeat:redis):	Slave controller-0
   redis-bundle-1	(ocf::heartbeat:redis):	Master controller-1
   redis-bundle-2	(ocf::heartbeat:redis):	Slave controller-2
 ...
 ip-172.17.1.85	(ocf::heartbeat:IPaddr2):	Started controller-2
~~~

~~~
$ sudo podman ps | egrep -e ceilometer -e gnocchi -e aodh -e redis
525342a3909c  undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-redis:20200226.1               /bin/bash /usr/lo...  6 minutes ago  Up 6 minutes ago         redis-bundle-podman-0
~~~

/var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg
~~~
listen redis
  bind 172.17.1.85:6379 transparent
  balance first
~~~

~~~
/var/lib/config-data/puppet-generated/redis/etc/redis.conf.puppet:dir /var/lib/redis
[heat-admin@controller-0 ~]$ sudo grep -r redis /var/lib/config-data/puppet-generated/* | egrep -v -e ":#" 
/var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg:listen redis
/var/lib/config-data/puppet-generated/redis/etc/security/limits.d/redis.conf:redis soft nofile 10240
/var/lib/config-data/puppet-generated/redis/etc/security/limits.d/redis.conf:redis hard nofile 10240
/var/lib/config-data/puppet-generated/redis/etc/redis.conf:pidfile /var/run/redis/redis.pid
/var/lib/config-data/puppet-generated/redis/etc/redis.conf:unixsocket /var/run/redis/redis.sock
/var/lib/config-data/puppet-generated/redis/etc/redis.conf:logfile /var/log/redis/redis.log
/var/lib/config-data/puppet-generated/redis/etc/redis.conf:dir /var/lib/redis
/var/lib/config-data/puppet-generated/redis/etc/redis.conf.puppet:pidfile /var/run/redis/redis.pid
/var/lib/config-data/puppet-generated/redis/etc/redis.conf.puppet:unixsocket /var/run/redis/redis.sock
/var/lib/config-data/puppet-generated/redis/etc/redis.conf.puppet:logfile /var/log/redis/redis.log
/var/lib/config-data/puppet-generated/redis/etc/redis.conf.puppet:dir /var/lib/redis
~~~

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


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud with the default templates
2. Check whether redis, redis vip and telemetry services are enabled

Actual results:
Redis and its vip is enabled while telemtry services are disabled

Expected results:
Redis, its vip and temeletry services are all disabled

Additional info:

Comment 7 Takashi Kajinami 2020-04-14 07:28:12 UTC
I updated bug title because it sounds like an another issue to disable redis vip when redis is disabled.
I think it's better to deal with redis itself in this bug, and address vip in another bz.

Comment 8 Luca Miccini 2021-06-24 08:15:41 UTC
let's retarget this to 17 and see how to best tackle it.

Comment 21 dabarzil 2023-04-24 13:21:28 UTC
verified:
[stack@undercloud-0 ~]$ rpm -qa |grep heat-templates
openstack-tripleo-heat-templates-14.3.1-1.20230224221431.eef23eb.el9ost.noarch
[root@controller-0 ~]# podman ps | egrep -e ceilometer -e gnocchi -e aodh -e redis
[root@controller-0 ~]#
[root@controller-0 ~]# pcs status|grep redis
[root@controller-0 ~]#

Comment 26 Luca Miccini 2023-07-24 05:18:52 UTC
*** Bug 2025451 has been marked as a duplicate of this bug. ***

Comment 31 errata-xmlrpc 2023-08-16 01:09:23 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 17.1 (Wallaby)), 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-2023:4577


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