Skip to content

Commit

Permalink
Override qdr::router_id defaults in stf-connectors (#487)
Browse files Browse the repository at this point in the history
Update the documentation to provide an override to the FQDN in the
qdr::router_id configuration to avoid hostnames longer than 61 chars.

Closes rhbz#2208020
  • Loading branch information
leifmadsen authored Sep 11, 2023
1 parent 4856eda commit b248a57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ resource_registry:
OS::TripleO::Services::Collectd: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/collectd-container-puppet.yaml
parameter_defaults:
ExtraConfig:
qdr::router_id: "%{::hostname}.cloud1"
MetricsQdrConnectors:
- host: default-interconnect-5671-service-telemetry.apps.infra.watch
port: 443
Expand Down Expand Up @@ -70,6 +73,7 @@ ifndef::include_when_13[]
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[].
ifdef::include_when_13,include_when_17[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ resource_registry:
OS::TripleO::Services::Collectd: /usr/share/openstack-tripleo-heat-templates/deployment/metrics/collectd-container-puppet.yaml
parameter_defaults:
ExtraConfig:
qdr::router_id: %{::hostname}.cloud1
MetricsQdrConnectors:
- host: default-interconnect-5671-service-telemetry.apps.infra.watch
port: 443
Expand Down Expand Up @@ -99,6 +102,7 @@ ifndef::include_when_13[]
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[].
ifdef::include_when_13,include_when_17[]
Expand Down

0 comments on commit b248a57

Please sign in to comment.