liupinyi / cp4d401

0 stars 0 forks source link

error when create DB2U opereator catalog source #1

Open liupinyi opened 3 years ago

liupinyi commented 3 years ago

When create DB2U opereator catalog source:

cloudctl case launch --case ${OFFLINEDIR}/ibm-db2uoperator-4.0.3.tgz --inventory db2uOperatorSetup --namespace openshift-marketplace --action install-catalog --args "--inputDir ${OFFLINEDIR} --recursive"

You will received following error messages:

[FINE]: JSON path resolver logic to evaluate: {"and":["/case/prereqs/k8sResources/db2uscc", "/case/prereqs/client/oc"]}
Required prereqs result: OK
Checking user permissions...
No user rules specified.
[✓] Cluster and Client Prerequisites have been met for the CASE
Running the CASE db2uOperatorSetup launch script with the following action context: installCatalog
Executing inventory item db2uOperatorSetup, action installCatalog : launch.sh
Checking arguments for install catalog action
/usr/bin/env: ‘python’: No such file or directory
File /tmp/extractedCASELauncher790946734/ibm-db2uoperator/inventory/db2uOperatorSetup/resources.yaml does not contain image operator-catalog
[✓] CASE launch script completed successfully
OK
liupinyi commented 3 years ago

You didn't install python2 or you didn't link python2 to python.