Unable to install OpenShift IA agent
search cancel

Unable to install OpenShift IA agent

book

Article ID: 144307

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

Trying to install the OpenShift Monitor in our 3.11 OpenShift environment. 

Here is the output from the step where importing the image from Red Hat.

[root@broadcomtest101 u109760]# oc import-image my-ca/apm-openshiftmonitor --from=registry.connect.redhat.com/ca/apm-openshiftmonitor --confirm
error: tag latest failed: Internal error occurred: Get https://registry.connect.redhat.com/v2/ca/apm-openshiftmonitor/manifests/latest: unauthorized: Invalid username or password
imagestream.image.openshift.io/apm-openshiftmonitor imported with errors

Name:                   apm-openshiftmonitor
Namespace:              caapm
Created:                2 months ago
Labels:                 <none>
Annotations:            openshift.io/image.dockerRepositoryCheck=2019-11-19T20:37:35Z
Docker Pull Spec:       docker-registry.default.svc:5000/caapm/apm-openshiftmonitor
Image Lookup:           local=false
Unique Images:          0
Tags:                   1

latest
  tagged from registry.connect.redhat.com/ca/apm-openshiftmonitor

  ! error: Import failed (InternalError): Internal error occurred: Get https://registry.connect.redhat.com/v2/ca/apm-openshiftmonitor/manifests/latest: unauthorized: Invalid username or password

Environment

Release : 10.7.0

Component : APM Agents

Cause

Per DX APM Engineering, this is due to an issue with Red Hat:

Red Hat confirms (1) that 172.17.0.0/16 is the default CIDR used by the docker daemons, and (2) that this CIDR can be configured in /etc/docker/daemon.json on each cluster node.

Version 3.11 Openshift PODs couldn't connect to the MOM.  This is because OpenShift by default uses 172.17 as the default CIDR for the docker daemons. 

Red Hat provided the steps to alter the default CIDR.

 

Resolution

Change the CIDR per Red Hat guidance.

Additional Information

More on CIDR  https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing