Skip to content

Commit

Permalink
Merge branch 'master' into stf-1493/architecture-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leifmadsen committed Nov 2, 2023
2 parents 5a63bb7 + c8386ab commit 872e4f5
Show file tree
Hide file tree
Showing 21 changed files with 147 additions and 159 deletions.
5 changes: 3 additions & 2 deletions common/global/rhosp_attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

:osp_long: Red Hat OpenStack Platform
:osp_acro: RHOSP
:osp_curr_ver: 17.1-Beta
:osp_curr_ver: 17.1
:osp_curr_ver_no_beta: 17.1
:osp_z_stream: 0

Expand All @@ -29,5 +29,6 @@
:defaultURL: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/{osp_curr_ver}/html
:defaultCephURL: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/{CephVernum}/html

:setup-tlse: {defaultURL}/hardening_red_hat_openstack_platform/assembly_securing-rhos-with-tls-and-pki_security_and_hardening#proc_implementing-tls-e-with-ansible_encryption-and-key-management[Implementing TLS-e with Ansible]
// Specific links

:setup-tlse: {defaultURL}/hardening_red_hat_openstack_platform/assembly_securing-rhos-with-tls-and-pki_security_and_hardening#proc_implementing-tls-e-with-ansible_encryption-and-key-management[Implementing TLS-e with Ansible]
16 changes: 10 additions & 6 deletions common/global/stf-attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ ifeval::[{vernum} >= 17.0]
:include_when_17:
endif::[]

ifeval::[{vernum} == 17.1]
:include_when_17_1:
endif::[]

ifeval::[{ProductVersion} < 1.5]
:include_before_stf15:
endif::[]
Expand All @@ -45,24 +49,24 @@ ifeval::["{build}" == "upstream"]
:Project: Service{nbsp}Telemetry{nbsp}Framework
:ProjectShort: STF
:MessageBus: Apache{nbsp}Qpid{nbsp}Dispatch{nbsp}Router
:SupportedOpenShiftVersion: 4.10
:NextSupportedOpenShiftVersion: 4.12
:CodeReadyContainersVersion: 2.6.0
:SupportedOpenShiftVersion: 4.12
:NextSupportedOpenShiftVersion: 4.14
:CodeReadyContainersVersion: 2.19.0
endif::[]

ifeval::["{build}" == "downstream"]
:OpenShift: Red{nbsp}Hat{nbsp}OpenShift{nbsp}Container{nbsp}Platform
:OpenShiftShort: OCP
:OpenStack: Red{nbsp}Hat{nbsp}OpenStack{nbsp}Platform
:OpenStackShort: RHOSP
:OpenStackVersion: 17.0
:OpenStackVersion: 17.1
:OpenStackLong: {OpenStack}{nbsp}{OpenStackVersion}
:OpenStackInstaller: director
:OVirt: Red{nbsp}Hat{nbsp}Virtualization
:OVirtShort: RHV
:Project: Service{nbsp}Telemetry{nbsp}Framework
:ProjectShort: STF
:MessageBus: AMQ{nbsp}Interconnect
:SupportedOpenShiftVersion: 4.10
:NextSupportedOpenShiftVersion: 4.12
:SupportedOpenShiftVersion: 4.12
:NextSupportedOpenShiftVersion: 4.14
endif::[]
2 changes: 1 addition & 1 deletion doc-Service-Telemetry-Framework/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif

all: html

html: html-latest html171 html170 html162 html13
html: html-latest html171 html162

html-latest: prepare $(IMAGES_TS) $(DEST_HTML)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ endif::include_when_16[]
include::../modules/con_dashboards.adoc[leveloffset=+1]
include::../modules/proc_setting-up-grafana-to-host-the-dashboard.adoc[leveloffset=+2]
ifdef::include_when_16[]
include::../modules/proc_overriding-the-default-grafana-container-image.adoc[leveloffset=+2]
//TODO: Add dashboards back when we have working code for OSP13
// TODO: either rewrite or drop this procedure. We now provide the preferred downstream RHEL Grafana workload image in the deployment procedure.
//include::../modules/proc_overriding-the-default-grafana-container-image.adoc[leveloffset=+2]
include::../modules/proc_importing-dashboards.adoc[leveloffset=+2]
endif::include_when_16[]
include::../modules/proc_retrieving-and-setting-grafana-login-credentials.adoc[leveloffset=+2]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ include::../modules/proc_configuring-red-hat-openstack-platform-overcloud-for-st
ifdef::include_when_13,include_when_17[]
include::../modules/proc_getting-ca-certificate-from-stf-for-overcloud-configuration.adoc[leveloffset=+2]
endif::include_when_13,include_when_17[]
include::../modules/proc_retrieving-the-qdr-password.adoc[leveloffset=+2]
include::../modules/proc_retrieving-the-qdr-route-address.adoc[leveloffset=+2]
include::../modules/proc_creating-the-base-configuration-for-stf.adoc[leveloffset=+2]
include::../modules/proc_configuring-the-stf-connection-for-the-overcloud.adoc[leveloffset=+2]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ endif::[]
include::../modules/con_deploying-stf-to-the-openshift-environment.adoc[leveloffset=+1]

include::../modules/proc_deploying-observability-operator.adoc[leveloffset=+2]

ifeval::[{SupportedOpenShiftVersion} < 4.12]
include::../modules/proc_deploying-certificate-manager-for-openshift-operator.adoc[leveloffset=+2]
endif::[]
include::../modules/proc_deploying-service-telemetry-operator.adoc[leveloffset=+2]


Expand Down
12 changes: 6 additions & 6 deletions doc-Service-Telemetry-Framework/master.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Service Telemetry Framework 1.5
OpenStack Documentation Team <rhos-docs@redhat.com>
:imagesdir: images
:vernum: 17.0
:vernum: 17.1
:toc: left
:toclevels: 3
:icons: font
Expand Down Expand Up @@ -32,9 +32,9 @@ include::assemblies/assembly_installing-the-core-components-of-stf.adoc[leveloff
include::assemblies/assembly_completing-the-stf-configuration.adoc[leveloffset=+1]

ifeval::["{build}" == "downstream"]
ifdef::include_when_16_2[]
ifdef::include_when_16_2,include_when_17_1[]
include::assemblies/assembly_completing-the-stf-configuration-using-director-operator.adoc[leveloffset=+1]
endif::include_when_16_2[]
endif::include_when_16_2,include_when_17_1[]
endif::[]

//advanced features
Expand All @@ -46,7 +46,7 @@ include::assemblies/assembly_renewing-the-amq-interconnect-certificate.adoc[leve
// removing
include::assemblies/assembly_removing-stf-from-the-openshift-environment.adoc[leveloffset=+1]

//collectd plugins

// upgrading to 1.5
include::assemblies/assembly_upgrading-service-telemetry-framework-to-version-1-5.adoc[leveloffset=+1]
// NOTE: this is no longer being rendered because the expectation is to move from STF 1.4 on OCP 4.8 to STF 1.5 on OCP 4.10, both of which are EOL now.
// if this affects you, please open a customer case to help manage the upgrade, or simply perform a greenfield deployment of STF 1.5 on OCP 4.14.
//include::assemblies/assembly_upgrading-service-telemetry-framework-to-version-1-5.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ When you deploy the {OpenStack} ({OpenStackShort}) overcloud deployment using di
.Procedure

// NOTE: not required until available for RHOSP 17.1
//ifdef::include_when_13,include_when_17[]
//. xref:getting-ca-certificate-from-stf-for-overcloud-configuration_assembly-completing-the-stf-configuration[]
//endif::include_when_13,include_when_17[]
ifdef::include_when_13,include_when_17[]
. xref:getting-ca-certificate-from-stf-for-overcloud-configuration_assembly-completing-the-stf-configuration[]
endif::include_when_13,include_when_17[]

. xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[Retrieving the {MessageBus} route address]
. xref:creating-the-base-configuration-for-director-operator-for-stf_assembly-completing-the-stf-configuration-using-director-operator[Creating the base configuration for director Operator for {ProjectShort}]
Expand All @@ -23,7 +23,11 @@ When you deploy the {OpenStack} ({OpenStackShort}) overcloud deployment using di


.Additional resources
* For more information about deploying an OpenStack cloud using director Operator, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/{vernum}/html/rhosp_director_operator_for_openshift_container_platform/index
ifdef::include_when_16_1[]
* To collect data through {MessageBus}, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/{vernum}/html/operational_measurements/collectd-plugins_assembly#collectd_plugin_amqp1[the amqp1 plug-in].
endif::include_when_16_1[]
ifdef::include_when_16_2[]
* For more information about deploying an OpenStack cloud using director Operator, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/rhosp_director_operator_for_openshift_container_platform/index
* To collect data through {MessageBus}, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/operational_measurements/collectd-plugins_assembly#collectd_plugin_amqp1[the amqp1 plug-in].
endif::[]
ifdef::include_when_17_1[]
* For more information about deploying an OpenStack cloud using director Operator, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/deploying_an_overcloud_in_a_red_hat_openshift_container_platform_cluster_with_director_operator/index
* To collect data through {MessageBus}, see https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/managing_overcloud_observability/collectd-plugins_assembly#collectd_plugin_amqp1[the amqp1 plug-in].
endif::[]
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ As part of the {OpenStack} ({OpenStackShort}) overcloud deployment using directo
ifdef::include_when_13,include_when_17[]
. xref:getting-ca-certificate-from-stf-for-overcloud-configuration_assembly-completing-the-stf-configuration[]
endif::include_when_13,include_when_17[]
. xref:retrieving-the-qdr-password_assembly-completing-the-stf-configuration[Retrieving the {MessageBus} password]
. xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[Retrieving the {MessageBus} route address]
. xref:creating-the-base-configuration-for-stf_assembly-completing-the-stf-configuration[Creating the base configuration for {ProjectShort}]
. xref:configuring-the-stf-connection-for-the-overcloud_assembly-completing-the-stf-configuration[Configuring the {ProjectShort} connection for the overcloud]
. xref:deploying-the-overcloud_assembly-completing-the-stf-configuration[Deploying the overcloud]
. xref:validating-clientside-installation_assembly-completing-the-stf-configuration[Validating client-side installation]

.Additional resources
ifdef::include_when_16_2[]
* For more information about deploying an OpenStack cloud using director, see link:{defaultURL}/director_installation_and_usage/index[Director Installation and Usage].
ifdef::include_when_16_1[]
* To collect data through {MessageBus}, see link:{defaultURL}/operational_measurements/collectd-plugins_assembly#collectd_plugin_amqp1[the amqp1 plug-in].
endif::include_when_16_1[]
endif::[]
ifdef::include_when_17_1[]
* For more information about deploying an OpenStack cloud using director, see link:{defaultURL}/installing_and_managing_red_hat_openstack_platform_with_director/index[Installing and managing Red Hat OpenStack Platform with director].
* To collect data through {MessageBus}, see link:{defaultURL}/managing_overcloud_observability/collectd-plugins_assembly#collectd_plugin_amqp1[the amqp1 plug-in].
endif::[]
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For more information about available parameters for `snmpTraps`, see xref:config

You can create alerts that are configured for delivery by SNMP traps by adding labels that are parsed by the prometheus-webhook-snmp middleware to define the trap information and delivered object identifiers (OID). Adding the `oid` or `severity` labels is only required if you need to change the default values for a particular alert definition.

NOTE:: When you set the oid label, the top-level SNMP trap OID changes, but the sub-OIDs remain defined by the global `trapOidPrefix` value plus the child OID values `.1.1.1` through `.1.1.9`. For more information about the MIB definition, see xref:overview-of-the-mib-definition_{context}[].
NOTE: When you set the oid label, the top-level SNMP trap OID changes, but the sub-OIDs remain defined by the global `trapOidPrefix` value plus the child OID values `.1.1.1` through `.1.1.9`. For more information about the MIB definition, see xref:overview-of-the-mib-definition_{context}[].

.Procedure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ data:
role: edge
verifyHostname: false
sslProfile: sslProfile
saslUsername: guest@default-interconnect
saslPassword: pass:<password_from_stf>
MetricsQdrSSLProfiles:
- name: sslProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ To configure the {Project} ({ProjectShort}) connection, you must create a file t
ifdef::include_when_13,include_when_17[]
* Retrieve the CA certificate from the {MessageBus} deployed by {ProjectShort}. For more information, see xref:getting-ca-certificate-from-stf-for-overcloud-configuration_assembly-completing-the-stf-configuration[].
endif::include_when_13,include_when_17[]
* Retrieve the {MessageBus} password. For more information, see xref:retrieving-the-qdr-password_assembly-completing-the-stf-configuration[].
* Retrieve the {MessageBus} route address. For more information, see xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[].

// The following configuration should match the contents in modules/proc_creating-openstack-environment-file-for-multiple-clouds.adoc. If you have changes to make, please make the same changes to both files.
Expand Down Expand Up @@ -41,6 +42,8 @@ parameter_defaults:
role: edge
verifyHostname: false
sslProfile: sslProfile
saslUsername: guest@default-interconnect
saslPassword: pass:<password_from_stf>
MetricsQdrSSLProfiles:
- name: sslProfile
Expand All @@ -67,11 +70,11 @@ endif::[]

* The `qdr::router_id` configuration is to override the default value which uses the fully-qualified domain name (FQDN) of the host. In some cases the FQDN can result in a router ID length of greater than 61 characters which results in failed QDR connections. For deployments with shorter FQDN values this is not necessary.
* The `resource_registry` configuration directly loads the collectd service because you do not include the `collectd-write-qdr.yaml` environment file for multiple cloud deployments.
* Replace the `host` parameter with the value that you retrieved in xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[].
* Replace the `host` sub-parameter of `MetricsQdrConnectors` with the value that you retrieved in xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[].
* Replace the `<password_from_stf>` portion of the `saslPassword` sub-parameter of `MetricsQdrConnectors` with the value you retrieved in xref:retrieving-the-qdr-password_assembly-completing-the-stf-configuration[].
ifdef::include_when_13,include_when_17[]
* Replace the `caCertFileContent` parameter with the contents retrieved in xref:getting-ca-certificate-from-stf-for-overcloud-configuration_assembly-completing-the-stf-configuration[].
endif::include_when_13,include_when_17[]
* Replace the `host` sub-parameter of `MetricsQdrConnectors` with the value that you retrieved in xref:retrieving-the-qdr-route-address_assembly-completing-the-stf-configuration[].
* Set `topic` value of `CeilometerQdrMetricsConfig.topic` to define the topic for Ceilometer metrics. The value is a unique topic identifier for the cloud such as `cloud1-metering`.
* Set `CollectdAmqpInstances` sub-parameter to define the topic for collectd metrics. The section name is a unique topic identifier for the cloud such as `cloud1-telemetry`.
ifndef::include_when_13[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ To configure the duration of the TLS certificates to use with {Project} ({Projec

* You didn't deploy an instance of Service Telemetry Operator already.

NOTE:: When you create the `ServiceTelemetry` object, the required certificates and their secrets for {ProjectShort} are also created.
For more information about how to modify the certificates and the secrets, see: xref:assembly-renewing-the-amq-interconnect-certificate_assembly[]
NOTE: When you create the `ServiceTelemetry` object, the required certificates and their secrets for {ProjectShort} are also created.
For more information about how to modify the certificates and the secrets, see: xref:assembly-renewing-the-amq-interconnect-certificate_assembly[].
The following procedure is valid for new {ProjectShort} deployments.

.Procedure

To edit the duration of the TLS certificate, you can set the QDR `caCertDuration`, for example `87600h` for 10 years:
. To edit the duration of the TLS certificate, you can set the QDR `caCertDuration`, for example `87600h` for 10 years:
+
[source,yaml,options="nowrap",role="white-space-pre"]
----
Expand All @@ -41,4 +41,4 @@ EOF
----
$ oc get secret default-interconnect-selfsigned -o jsonpath='{.data.tls\.crt}' | base64 -d | openssl x509 -in - -text | grep "Not After"
Not After : Mar 9 21:00:16 2033 GMT
----
----
Loading

0 comments on commit 872e4f5

Please sign in to comment.