Skip to content
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

Discovery Does Not Register with Metrics Service (tested on Zowe 2.14 and 2.16) #3556

Open
timgerstel opened this issue May 22, 2024 · 0 comments
Labels
bug Verified defect in functionality Priority: Low size/M

Comments

@timgerstel
Copy link
Contributor

Describe the bug
Using the metrics-service web UI, it appears only the gateway and caching-service are able to register with the metrics service but not the discovery service.
image

Potentially related:

Job output is polluted with the following error:
[35m<ZWEAMS1:InstanceMonitor:33751477> [31mERROR[0;39m [36m(c.n.t.m.i.InstanceMonitor)[0;39m Could not initiate connection to host, giving up: [{"messages":[{"messageType":"ERROR","messageNumber":"ZWEAS105E","messageContent":"Authentication is required for URL '/apicatalog/application/hystrixstream'","messageAction":"Provide valid authentication.","messageReason":"Authentication is required.","messageKey":"org.zowe.apiml.security.authRequired"}]}]

Adding components.api-catalog.apiml.metrics.enabled: true in YAML does not remove this error.

Steps to Reproduce

Following this doc: https://docs.zowe.org/stable/user-guide/api-mediation-metrics-service/

  1. Set components.metrics-service.enabled: true in YAML
  2. Set components.caching-service.apiml.metrics.enabled: true in YAML
  3. Set components.discovery.apiml.metrics.enabled: true in YAML
  4. Set components.gateway.apiml.metrics.enabled: true in YAML

Expected behavior
Discovery service registers with metrics service, and catalog if required to remove the above error.

Details

  • Version and build number: Version 2.16.2 build Security options stauts on GW homepage #191
  • Test environment: [either defined Zowe test environment: Marist (1, 2, 3), River, or your own environment: z/OS version and z/OSMF version]

Willingness to help
If you are willing to help with debugging and reproducing the problem or
with fixing the problem, please state your willingness to assist in the created issue.

https://github.com/zowe/api-layer/wiki/Issue-management

@timgerstel timgerstel added bug Verified defect in functionality new New issue that has not been worked on yet labels May 22, 2024
@EvaJavornicka EvaJavornicka added Priority: Low size/M and removed new New issue that has not been worked on yet labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified defect in functionality Priority: Low size/M
Projects
Status: Unplanned Bugs
Development

No branches or pull requests

2 participants