Troubleshooting authentication issues
You can troubleshoot the common authentication issues for License Service Reporter.
Unable to sign in with the credentials using basic authentication
You can sign in to the License Service Reporter console with the credentials retrieved from the secret. If 401: Invalid Username or Password
error comes into view, complete the steps that follow:
-
Restart the operator pod with the following command. Update the
namespace
with the installation namespace of the License Service Reporter:kubectl delete pods -l app=app.kubernetes.io/instance=ibm-license-service-reporter-operator -n $NAMESPACE
-
Wait for sometime until the new operator pod is created.
-
Check the logs with the following command. Update the
namespace
with the installation namespace of the License Service Reporter:kubectl logs -l app.kubernetes.io/instance=ibm-license-service-reporter-operator -n $NAMESPACE
The similar log entry is displayed:
2023-06-29T11:52:01Z INFO Reconcile all done {"controller": "ibmlicenseservicereporter", "controllerGroup": "operator.ibm.com", "controllerKind": "IBMLicenseServiceReporter", "IBMLicenseServiceReporter": {"name":"instance","namespace":"ibm-licensing"}, "namespace": "ibm-licensing", "name": "instance", "reconcileID": "2f3eb70d-56c0-4042-b194-0f7408e8fd75", "resourceKind": "*v1alpha1.IBMLicenseServiceReporter", "resourceName": "instance"}
-
Delete the License Service Reporter pod to restart the application with the following command. Update the
namespace
with the installation namespace of the License Service Reporter:kubectl delete pods -l app=ibm-licensing-service-instance -n $NAMESPACE
-
After the application is active, you can log in with the credentials.
If the issue is still not resolved, contact IBM Support.