Kubernetes Web Interface Issues
This article contains troubleshooting steps related to the Kubernetes web interface.
Symptom | Logs to collect/Diagnostic steps |
Web interface hangs.
The browser may be present with various errors. For example:
|
If platform High Availability is enabled, verify that you are attempting to access the correct Controller host via either the cluster IP address or the IP address of a Gateway host. It is possible that there was a failover and that you are trying to connect to the wrong Controller host.
Validate that the same problem occurs from command line. Verify that the API service is running. On the Controller host, execute the following command:
or
Expect to receive a "Could not resolve host" message.
If this
command works, then the management server is working properly, and the
problem is in either the web browser or the connection to the Controller
host.
It is possible that nothing is listening on port 8080. To
verify:
Double-check that the HPE Ezmeral Runtime Enterprise Controller host is running. On the Controller host, verify that the HPE Ezmeral Runtime Enterprise Controller service is up. If it is down, then you
need to start it up. See Manually
Restarting Services. If the bds-controller service is enabled
and active, then proceed to the next step. Verify that the HPE Ezmeral Runtime Enterprise management service is
responding. Run a basic CLI command to verify that the
management service is active and responding.
Check if the Apache Server
has encountered an issue. Look for obvious issues in the following files
on the Controller host: You may need to search online for
solutions based on any significant errors. If you suspect this is an
Apache httpd transient problem or need to reproduce an
Apache error, then check the httpd status.
Consider restarting
httpd :
If there
is no obvious sign of an Apache httpd server error,
then proceed to next step. If the web interface was configured to use
SSL connections, then the problem may be due to SSL error(s). Look for
any error in the following logs:
Look for a possible SSL error
or RSA certificate ID mismatch error. For example:
Check if the certificate has changed and/or needs additional credential
(e.g. PassPhrase). You may need to search online for solutions based on
the errors listed in the ssl_error_log and
ssl_access_log files. If there is no obvious sign
of an SSL-related problem, then proceed to the next step. If SELinux is
enabled, it is possible that SELinux is blocking Apache from loading
content. It is possible that the SELinux setting has changed when
HPE Ezmeral Runtime Enterprise was installed. To check if
this is the case, temporarily set SELinux to permissive mode.
Now try to access the web
interface. If that works, then consult your IT department to configure
the SELinux policy to allow the web interface to allow proper access.
Click here for guidance (link opens
an external website in a new browser tab/window). If this is not an
SELinux policy issue, then proceed to the next step. Check if there
is erlang web. Either clear the cache or try another browser.
There is a known issue where a cookie value got the Django (web
framework) to hang. Check to see whether “Service Unavailable” or
“WSGI” error is caused by an unreadable Apache runtime
directory.Click here for more information (link opens an external website in a new browser tab/window).
Make sure that the ownership of the
folder
For example, if you see this:
Then you need to change permission/ownership to
apache :
Make sure the directory /etc/httpd/run has
permission:
Try the following fix:
HPE Ezmeral Runtime Enterprise invokes erlang mochiweb internally to handle web service. It is possible that this thread is hanging.
On the
Controller host, see
Look
for a
HPE Ezmeral Runtime Enterprise uses the
mochiweb acceptor processes. If the acceptor
process is either blocked or has died, then the web interface will not
respond. If this error exists, then restart the web service by executing
the following command on the Controller:
Check if the erlang engine is running in the BDS
management service. On the Controller, execute the following
command:
If you receive a pong reply, then the
erlang service is running. If you do not receive a
pong reply, then the erlang engine
is down and it needs to be restarted. To restart it, you must restart
the bds-controller service In
bds-mgmt.log , check to see whether the Controller
is getting an RPC to fetch Network Params failed error:
If this is the case, then there is likely either a network problem, or
the cluster IP address is not up. hypervisor:
/var/log/bluedata/pl_ha/log.0 ha_info Run
systemctl status network-target.online to get the
network status.
Restart the network and see if the problem goes away.
If none of the above steps is able to resolve the problem, then contact HPE Technical Support. |
Unable to download the Kubectl plug-in from the Kubnernetes Dashboard screens. | You may be using an unsupported browser. See Browser Requirements. |
General error or hang in the UI. | Collect Apache logs On the Controller:
Collect diagnostic data from browser Turn on Developer Mode. (On
the Chrome browser, right click, and then select Inspect.)
|