[Bug]: Metrics and Logs are not showing
Describe the bug
Hi, while testing OCP express I noticed that the entire Metrics and Log pages are broken and they keep showing errors.
This error started to appear when I upgraded the OCP express to the latest version.
Environment
Simple cluster deployed via obd web deploy running on AlmaLinux 8.9. SELinux and firewalld are disabled.
Versions: obagent-4.2.1-100000142023121217.el8.x86_64.rpm obproxy-ce-4.2.1.0-11.el8.x86_64.rpm oceanbase-ce-4.2.1.3-103000032023122818.el8.x86_64.rpm oceanbase-ce-libs-4.2.1.3-103000032023122818.el8.x86_64.rpm ocp-express-4.2.1-100000282023122510.el8.x86_64.rpm java-1.8.0-openjdk-headless-1.8.0.392.b08-4.el8.x86_64
Fast reproduce steps
Use 'obd web' to deploy oceanbase with supporting tools
Expected behavior
Show metrics and logs collected by the agent.
Actual behavior
Broken pages.
Additional context
Agent is running
I did a tcpdump from the OCP and I can see that every single request for metrics or logs fails with error 401. The obd web deployer is set to auto configure and set passwords for obagent and metadb.
If you need more info let me know.