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:

  1. 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
    
  2. Wait for sometime until the new operator pod is created.

  3. 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"}
    
  4. 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
    
  5. After the application is active, you can log in with the credentials.

If the issue is still not resolved, contact IBM Support.