Hi, I'm trying to install cp4d cli from my MAC into an ibmcloud openshift cluster and getting the following error:
$ ./cpd-cli adm --accept-all-licenses --repo ./repo.yaml --assembly ${ASSM} --namespace ${PROJ}
[INFO] [2020-09-29 15:33:29-0066] Arch override not found. Assuming default architecture x86_64
[ERROR] [2020-09-29 15:33:30-0139] Cannot get the current oauth access token - error: no token is currently in use for this session
$ oc get oauthaccesstoken
NAME USER NAME CLIENT NAME CREATED EXPIRES REDIRECT URI SCOPES
6_#######-pdX9xexC3fxh3g IAM#
mjdonati@us.ibm.com openshift-challenging-client 2020-09-29T15:19:55Z 2020-09-30 15:19:55 +0000 UTC
https://XXXXXX.containers.cloud.ibm.com:30651/oauth/token/implicit user:full
9s#####rNoRAjoR_ZvAkj_N8 IAM#
mjdonati@us.ibm.com openshift-challenging-client 2020-09-29T16:27:36Z 2020-09-30 16:27:36 +0000 UTC
https://XXXXXX.containers.cloud.ibm.com:30651/oauth/token/implicit user:full
$oc whoami
system:admin
repo.yaml:
registry:
- url: hyc-cp4d-team-bootstrap-docker-local.artifactory.swg-devops.com
username:
xxxxti@us.ibm.comapikey: xxxxxxxxSk9DH6VkCbhwaXX3SSh4
namespace: ""
name: base-registry
fileservers:
- url:
http://icpfs1.svl.ibm.com/zen/cp4d-builds/3.5.0/dev/components/lite/230Which token am I missing?
Any thoughts?
------------------------------
Mike Donati
Advisory Software Engineer
IBM Rational
LIttleton MA
978 899 4712
------------------------------
#CloudPakforDataGroup