Bug 1588190
Summary: | character conversion error when calling '/logs' on foreman-proxy | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Duryee <cduryee> |
Component: | Foreman Proxy | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.1 | CC: | brian.bresina.ctr, cduryee, ddolguik, inecas, jhutar |
Target Milestone: | Unspecified | Keywords: | FieldEngineering, PrioBumpField, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-14 12:20:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chris Duryee
2018-06-06 21:40:17 UTC
It should match the `/var/log/foreman-proxy/proxy.log`. I tried to simulate adding 'ü' to the buffer, but the server was handling this properly. I guess there was some binary data logged into the log, that caused the trouble: the log file should help us identify what the data were and act accordingly. How do you get that issue (given I have that to-be-uploaded broken "/var/log/foreman-proxy/proxy.log")? I have tried to access: https://sat640snap7.example.com/logs but it says "The page you were looking for doesn't exist.", adding port ":8008" gives me "Secure Connection Failed". Using the details of the proxy.log I was able to reproduce the issue: 1. enable http port on proxy (gets enabled when using the templates plugin) - in /etc/foreman-proxy/settings.yml uncomment `:http_port: 8000` and restart foreman-proxy 2. curl -k --cert /etc/foreman-proxy/foreman_ssl_cert.pem --key /etc/foreman-proxy/foreman_ssl_key.pem https://localhost:8000 - note using https with http port 3. go to the capsule details in UI and in the logs tab This produces ASCII-8BIT to UTF-8 errors in /var/log/foreman-proxy/proxy.log. Upstream bug assigned to inecas Upstream bug assigned to inecas *** This bug has been marked as a duplicate of bug 1615439 *** |