You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/03/23 16:26:52 UTC
[GitHub] [ozone] symious opened a new pull request #3228: HDDS-6497. S3gateway throw exception when checking jmx or prom pages from browser
symious opened a new pull request #3228:
URL: https://github.com/apache/ozone/pull/3228
## What changes were proposed in this pull request?
When checking the JMX or Prometheus or other pages of S3g from browser, the following error was throw from S3g. (From docker container, might be different from local service)
```
2022-03-23 15:32:57,281 [qtp124888672-18] INFO ozone.OmUtils: ozone.om.internal.service.id is not defined, falling back to ozone.om.service.ids to find serviceID for OzoneManager if it is HA enabled cluster
2022-03-23 15:32:57,282 [qtp124888672-18] INFO ozone.OmUtils: No OzoneManager ServiceID configured.
Mar 23, 2022 3:32:57 PM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 1
javax.ws.rs.WebApplicationException: User doesn't have the right to access this resource.
```
The reason for this issue is when trying to send request from browser, the browser will send another request like "http://localhost:9878/favicon.ico", which would be treated as a request to bucket of "favicon.ico", as a result a new OzoneClient was to inject for this request.
This ticket is to fix this issue.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6497
## How was this patch tested?
Manually test: Error logs disappears when calling "http://localhost:9878/jmx".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai merged pull request #3228: HDDS-6497. S3gateway throw exception when checking jmx or prom pages from browser
Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #3228:
URL: https://github.com/apache/ozone/pull/3228
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] symious commented on pull request #3228: HDDS-6497. S3gateway throw exception when checking jmx or prom pages from browser
Posted by GitBox <gi...@apache.org>.
symious commented on pull request #3228:
URL: https://github.com/apache/ozone/pull/3228#issuecomment-1076910558
@adoroszlai Thanks for the review.
I updated the commit a bit to return an actual icon, could you help to check?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] symious commented on pull request #3228: HDDS-6497. S3gateway throw exception when checking jmx or prom pages from browser
Posted by GitBox <gi...@apache.org>.
symious commented on pull request #3228:
URL: https://github.com/apache/ozone/pull/3228#issuecomment-1076498171
@adoroszlai @elek Could you help to check this PR?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org