-
Notifications
You must be signed in to change notification settings - Fork 8
Add procedure to disable services on OSP side #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
64fcabb
Add procedure to disable services on OSP side
leifmadsen 223deb2
Add warning to not use procedure with gnocchi
leifmadsen 16b2eb2
Apply suggestions from code review
JoanneOFlynn2018 3d443fa
Update doc-Service-Telemetry-Framework/modules/proc_disabling-opensta…
leifmadsen 3b3956a
Update doc-Service-Telemetry-Framework/modules/proc_disabling-opensta…
leifmadsen 6c2456e
Update doc-Service-Telemetry-Framework/modules/proc_disabling-opensta…
leifmadsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
...elemetry-Framework/modules/proc_disabling-openstack-services-used-with-stf.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[id="disabling-openstack-services-used-with-stf_{context}"] | ||
= Disabling {OpenStack} services used with {Project} | ||
|
||
[role="_abstract"] | ||
Disable the services used when deploying {OpenStack} ({OpenStackShort}) and connecting it to {Project} ({ProjectShort}). There is no removal of logs or generated configuration files as part of the disablement of the services. | ||
|
||
[WARNING] | ||
Do not use this procedure when also using the xref:sending-metrics-to-gnocchi-and-to-stf_assembly-completing-the-stf-configuration[] procedure because the `gnocchi-connectors.yaml` does not contain all dependencies required. If you want to remove {ProjectShort}-related services on {OpenStackShort}, ensure that you update your environment to enable data collection and data storage dependencies. | ||
|
||
.Procedure | ||
|
||
. Log in to the {OpenStackShort} undercloud as the `stack` user. | ||
|
||
. Source the authentication file: | ||
+ | ||
[source,bash] | ||
---- | ||
[stack@undercloud-0 ~]$ source stackrc | ||
|
||
(undercloud) [stack@undercloud-0 ~]$ | ||
---- | ||
|
||
. Create the `disable-stf.yaml` environment file: | ||
+ | ||
[source,yaml,options="nowrap"] | ||
---- | ||
(undercloud) [stack@undercloud-0]$ cat > $HOME/disable-stf.yaml <<EOF | ||
--- | ||
resource_registry: | ||
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 | ||
EOF | ||
---- | ||
|
||
. Remove the following files from your {OpenStackShort} {OpenStackInstaller} deployment: | ||
+ | ||
* `ceilometer-write-qdr.yaml` | ||
* `qdr-edge-only.yaml` | ||
* `enable-stf.yaml` | ||
* `stf-connectors.yaml` | ||
|
||
. Update the {OpenStackShort} overcloud. Ensure that you use the `disable-stf.yaml` file early in the list of environment files. By adding `disable-stf.yaml` early in the list, other environment files can override the configuration that would disable the service: | ||
+ | ||
// this one is actually a valid use of subs +quotes. We want the underbars to result in emphasis when generated. | ||
+ | ||
[source,bash,options="nowrap",subs="+quotes"] | ||
---- | ||
(undercloud) [stack@undercloud-0 ~]$ openstack overcloud deploy _<other_arguments>_ | ||
--templates /usr/share/openstack-tripleo-heat-templates \ | ||
--environment-file /home/stack/disable-stf.yaml | ||
--environment-file _<other_environment_files>_ \ | ||
---- |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.