We are trying to do a offline install of DX APM 21.3 in Openshift 4.7 as namespace administrators and the namespace we are trying to install in is called "dxapm".
We get to the question "Specify your custom prefix for docker images or press enter to use the default prefix." and after that the install is interrupted by a java error:
[cluster-info] ConfigMap dxi-cluster-info not found in dxapm namespace
Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleEntryPoint': Invocation of init method failed; nested exception is com.ca.dxi.exception.ClusterAccessException: Cluster user doesn't have cluster level access and cache not available in selected namespace
The full exchange below:
[[email protected] dxapm]# CUSTOM_ENV_VARIABLES="-e PRIVILEGED_CONTAINERS_DISABLED=true" ./AIOpsManagement.sh --install
Offline mode detected.
Preparing runners.
Loaded image: java-runner:3.0
Runners ready.
Copied kubeconfig file from /root/.kube/config to /nfshome/66112564/share/dxapm/config
Welcome to the DX Platform
*********LICENSE*********
The Software you are about to install is licensed to you under the terms and conditions contained in the license file(s) located at [<installer directory>/eula.pdf]. Respond 'Yes' to acknowledge that you have reviewed, understand, and accept these terms and conditions. (Y/N) [Y]:
The installer can create PV’s for your convenience if the selected application platform user has the “storage admin” role right. By default, the installer WILL NOT create the PV’s and this needs to be created manually ahead of time. If you select yes here, but the user given does not have the storage admin role right, the installation will not be successful. Would you like the installer to create the PVs? (Y/N) [N]:
Do you want to use local storage? (Y/N) [N]:
./ocVersion.txt (No such file or directory)
The installer identified cluster is running Openshift.
Unable to retrieve OpenShift Version null
Specify the namespace for installation. [dxi]: dxapm
[namespaceSyntax-validate] [ OK ] Namespace syntax validated successfully.
[create-namespace] Namespace dxapm already exists. It will be used by installer
[emptyNameSpace-validate] [ OK ] Namespace: dxapm is empty
Specify your custom prefix for docker images or press enter to use the default prefix. [%ns%/]: repository/docker-internal/dxapm/
[image-prefix-validate}] [ OK ] Image prefix has been successfully validated.
[cluster-info] ConfigMap dxi-cluster-info not found in dxapm namespace
Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleEntryPoint': Invocation of init method failed; nested exception is com.ca.dxi.exception.ClusterAccessException: Cluster user doesn't have cluster level access and cache not available in selected namespace
DX APM 21.3
Openshift 4.7
The user used for installing was missing some required cluster privileges, after setting it up accordingly the problem was addressed.
Assign Permissions and SCC to the User
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-platform-on-premise/21-3/installing/Installation-Scenarios-2131/Install-as-a-Namespace-Administrator/OpenShift---Pre-installation-Task-Namespace-Admin.html#concept.dita_5d474bbc-1cac-497e-8963-1144ab13cdc9_AssignPermissions