IBM Support

Installation: unexpected HTTP status: 500 Internal Server Error

Troubleshooting


Problem

ICP 2.1.0.3 fresh install using a CA signed certificate as described in Doc link

Docker login fails with:

unexpected HTTP status: 500 Internal Server Error

 

Symptom

kubectl logs -n kube-system image-manager-1 image-manager
time="2018-08-20T15:35:01Z" level=debug msg="main.main (main.go:34) Starting icp-image-manager ... "
time="2018-08-20T15:35:01Z" level=debug msg="main.main (main.go:57) Command line arguments: [/icp-image-manager serve --listen-address=0.0.0.0:8600 --private-key-path=/etc/icp-image-manager/tls.key --oidc-url=http://platform-identity-provider:4300 --registry-url=https://127.0.0.1:8500 --registry-server-name=vmh-lh-icp-master-prod.dcx.dlh.de:8500 --enable-https=true] "
time="2018-08-20T15:35:01Z" level=info msg="client.CreateApiserverClient (apiserverclient.go:70) Creating API server client for https://10.0.0.1:443 "
time="2018-08-20T15:35:01Z" level=info msg="main.serveAction (main.go:119) Starting to serve "
time="2018-08-20T15:48:01Z" level=info msg="authn.Anyauthenticator.Authenticate (any-authenticator.go:40) Failed to authenticate, error: Cannot authenticate by kubernetes "
time="2018-08-20T15:48:01Z" level=error msg="Failed to make token, error: unable to decode private key PEM: unable to get PrivateKey from PEM type: PRIVATE KEY"
time="2018-08-20T15:48:01Z" level=error msg="handler.AddRoutesHandlers.func1 (add-routes-handlers.go:41) Get token failed (GET /image-manager/api/v1/auth/token) "

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBS6K","label":"IBM Cloud Private"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF026","label":"Reliant UNIX"},{"code":"PF031","label":"Ubuntu"}],"Version":"2.1.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
22 August 2018

UID

ibm10728797