Apply changes to the TAS / TPCF / EART tile fails during the execution of the metric_registrar_smoke_test errand showing the following error message:
Timeline >>
STEP:waiting for the Metric Registrar monitor to have a result and return a status of 200
STEP: getting the result from the Metric Registrar monitor
STEP: unmarshaling the result from Metric Registrar monitor
STEP: ensuring there has been at least one endpoint test attempt
[FAILED] - /var/vcap/data/compile/smoke_test/smoke/smoke_test.go:62
<< Timeline
[FAILED] Monitor could not detect metrics emitted from the registered endpoint.
Expected
<int>: 0
to be >
<int>: 0
In at: /var/vcap/data/compile/smoke_test/smoke/smoke_test.go:62
------------------------------
Summarizing 2 Failures:
[FAIL]DeploymentValidation receives metrics from converted structured logs
/var/vcap/data/compile/smoke_test/smoke/smoke_test.go:40
[FAIL]DeploymentValidation receives metrics scraped from metric endpoints
/var/vcap/data/compile/smoke_test/smoke/smoke_test.go:62
In the TAS / TPCF / EART tile there is a section to configure Metric Registrar. There is an option that can be enabled or disabled to deploy Metric Registrar.
If this option is disabled, the job metric_registrar_orchestrator will not run. The screenshot below shows the result of executing monit summary on a clock_global VM where the option to Deploy Metric Registrar is disabled.
When Deploy Metric Registrar is enabled, metric_registrar_orchestrator will be present:
In order to resolve the failing errand, go to the TAS / TPCF / EART tile. On the left hand panel, find the Metric Registrar section and make sure to enable the Deploy Metric Registrar option. Scroll to the bottom of the screen and click the Save button.
Apply Changes to the tile and make sure to select the Metric Registrar Smoke Test Errand for testing.
If you do not want to enable Deploy Metric Registrar option, make sure to also disable the Metric Registrar Smoke Test Errand when you Apply Changes. This will avoid Apply Changes failure.