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

Bug 2096853

Summary: [RHOSP 17.1][Documentation] Document how to disable OSP components used with STF via director
Product: Red Hat OpenStack Reporter: Leif Madsen <lmadsen>
Component: documentationAssignee: Leif Madsen <lmadsen>
Status: CLOSED CURRENTRELEASE QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact: Joanne O'Flynn <joflynn>
Priority: medium    
Version: 17.1 (Wallaby)CC: joflynn, yocha
Target Milestone: gaKeywords: Documentation, TestOnly, Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 14:54:04 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: 2097963    
Bug Blocks:    

Description Leif Madsen 2022-06-14 12:39:26 UTC
Description of problem: There is no documented procedure to disable OSP telmetry components that are enabled when using STF. It should be possible for someone to do a clean up of OSP components when STF is no longer in use.


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


Additional Info:

There is an email thread title "" which contains the following content. None of this is tested and needs to be verified prior to publishing documentation.

mrunge:

~~~

no, you need to actively set the services to none. (the following is untested!)

OS::TripleO::Services::CeilometerAgentCentral: OS::Heat::None
OS::TripleO::Services::CeilometerAgentNotification: OS::Heat::None
OS::TripleO::Services::CeilometerAgentIpmi: OS::Heat::None
OS::TripleO::Services::ComputeCeilometerAgent: OS::Heat::None
OS::TripleO::Services::Redis: OS::Heat::None
OS::TripleO::Services::Collectd: OS::Heat::None
OS::TripleO::Services::MetricsQdr: OS::Heat::None

in an environment file. If a service is not explicitly named/changed,
director won't touch it.

~~~

tkajinam:

~~~

While ceilometer/collectd/qdr service would be removed by just disabling these services
(although you might need some manual clean up tasks like removing logs, dropping db, ...)
you need some caution about Redis.

Redis by default is managed by pacemaker and disabling the service would NOT remove
pacemaker resources afair. so you should disable/delete the pacemaker resource manually
before you run that deployment.
Maybe it'd be better to stop the service and disable/delete the redis then try updating overcloud.

DISCLAIMER: I've never tested the actual scenario

~~~

Comment 6 Leif Madsen 2022-11-28 15:26:28 UTC
*** Bug 2097963 has been marked as a duplicate of this bug. ***

Comment 9 Leif Madsen 2022-12-12 13:46:29 UTC
Testing should include validation that the instructions result in the services being stopped. There is no implementation in the automation components (puppet, ansible) to perform clean up. We make use of the tooling available to us via THT to disable the services required, while permitting a re-enablement of services should they need to be used for other items.

Known issue is that configurations are not removed, so there could be some additional work required in the future to remove any conflicting configurations should a service be re-enabled.