IBM Cloud Pak for Security

Cloud Pak for Security

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  CP4S installation issue (cloudctl login step)

    Posted Thu November 26, 2020 07:50 AM
    Hello.
    I get the following issue when trying to install CP4S 1.4. How to solve this issue?

    + cloudctl login -a cp-console.apps.os1.oc.local -u admin -p EhngJ7EBDsLUgV3D6Jn8kqEG6mPiTPTf -n cp4s --skip-ssl-validation
    Could not parse server version: <nil>. Error: Invalid Semantic Version
    preparing to make request to import config: &{GET https://cp-console.apps.os1.oc.local/api/v1/config map[Accept:[application/json] Accept-Language:[]] map[] map[] map[] <nil>}
    Authenticating...
    preparing to make request to get token: &{POST https://cp-console.apps.os1.oc.local/idprovider/v1/auth/identitytoken map[Accept:[application/json] Accept-Language:[] Content-Type:[application/x-www-form-urlencoded;charset=UTF-8]] map[] map[grant_type:[password] password:[PRIVATE DATA HIDDEN]] scope:[openid] username:[admin]] map[] <nil>}
    getting user resources with url: https://cp-console.apps.os1.oc.local/idmgmt/identity/api/v1/teams/resources?resourceType=namespace
    failed to get user namespaces, response: &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Access-Control-Allow-Credentials:[true] Date:[Tue, 24 Nov 2020 16:01:50 GMT] Set-Cookie:[216e0656bf423cdec8034bfb2e97e3c1=8376c7bb0991bc9bfab8e86d7547aa2c; path=/; HttpOnly; Secure] Strict-Transport-Security:[max-age=15552000; includeSubDomains] Vary:[Origin] X-Content-Type-Options:[nosniff] X-Dns-Prefetch-Control:[off] X-Download-Options:[noopen] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[1; mode=block]] Body:0xc00040c180 ContentLength:-1 TransferEncoding:[chunked] Close:false Uncompressed:false Trailer:map[] Request:0xc0002c0900 TLS:0xc00003a9a0}
    Failing with error: Error response from server. Status code: 400; message:
    Error response from server. Status code: 400; message:
    FAILED
    + err_exit 'Failure on Common Services Login. Exiting.'
    + echo '[ERROR] Failure on Common Services Login. Exiting.'
    [ERROR] Failure on Common Services Login. Exiting.
    + exit 1

    ------------------------------
    Igor Volkov
    ------------------------------


  • 2.  RE: CP4S installation issue (cloudctl login step)

    Posted Tue May 10, 2022 10:55 AM

    Not sure if this is still needed, but appears the authentication is failing. Perhaps the service isn't up accepting connections.

    https://www.ibm.com/docs/en/cpfs?topic=cloudctl-installing



    ------------------------------
    JOHN HANDROP
    ------------------------------