Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3332

[7.2.x] openshift-migrate.sh terminates with Max retries exceeded with url: /management

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • EAP72 7.2.3.GA
    • EAP72 7.2.3.GA
    • EAP7

      When the '/opt/eap/bin/openshift-migrate.sh' at the start of migration, the following error is produced:

      INFO [Mon Jul 22 13:28:19 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO [Mon Jul 22 13:28:19 UTC 2019] Finished migration check cycle, pausing for 30 seconds before resuming
      CRITICAL:osquery:Cannot query OpenShift API for "https://openshift.default.svc/api/v1/namespaces/mjurc-namespace/pods/eap-app-migration-1-747pc/log?timestamps=true&tailLines=1 "
      Traceback (most recent call last):
        File "/opt/partition/queryosapi.py", line 120, in <module>
          queryResult = getLog(podName, sinceTime, tailLine)
        File "/opt/partition/queryosapi.py", line 83, in getLog
          .format(osquery.OpenShiftQuery.getNameSpace(), podName, sinceTimeParam, tailLineParam))
        File "/opt/partition/osquery.py", line 55, in queryApi
          return urllib.request.urlopen(request, cafile = OpenShiftQuery.CERT_FILE_PATH).read()
        File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen
          return opener.open(url, data, timeout)
        File "/usr/lib64/python3.6/urllib/request.py", line 532, in open
          response = meth(req, response)
        File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response
          'http', request, response, code, msg, hdrs)
        File "/usr/lib64/python3.6/urllib/request.py", line 570, in error
          return self._call_chain(*args)
        File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
          result = func(*args)
        File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default
          raise HTTPError(req.full_url, code, msg, hdrs, fp)
      urllib.error.HTTPError: HTTP Error 400: Bad Request
      INFO [Mon Jul 22 13:28:49 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO [Mon Jul 22 13:28:49 UTC 2019] Finished migration check cycle, pausing for 30 seconds before resuming
      INFO [Mon Jul 22 13:29:20 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO [Mon Jul 22 13:29:20 UTC 2019] Finished migration check cycle, pausing for 30 seconds before resuming
      INFO [Mon Jul 22 13:29:50 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO [Mon Jul 22 13:29:50 UTC 2019] Finished migration check cycle, pausing for 30 seconds before resuming
      INFO [Mon Jul 22 13:30:21 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO [Mon Jul 22 13:30:21 UTC 2019] Finished migration check cycle, pausing for 30 seconds before resuming
      INFO [Mon Jul 22 13:30:51 UTC 2019] Examining existence of living pod 'eap-app-1-nqnsv'
      INFO Processing broker(0): eap-app-amq7=MQ
      INFO Configuring JGroups discovery protocol to dns.DNS_PING
      INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT.
      WARN Detected missing JGroups encryption configuration, the communication within the cluster WILL NOT be encrypted.
      Using PicketBox SSL configuration.
      WARN Missing SSO_URL. Unable to properly configure SSO-enabled applications
      INFO Access log is disabled, ignoring configuration.
      Running jboss-eap-7-tech-preview/eap-cd-openshift-rhel8 image, version 17.0
      -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
      {
          "probe.eap.dmr.EapProbe": "Error sending probe request: HTTPConnectionPool(host='localhost', port=9990): Max retries exceeded with url: /management (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6930a2c6d8>: Failed to establish a new connection: [Errno 111] Connection refused',))",
          "probe.eap.dmr.HealthCheckProbe": "Error sending probe request: HTTPConnectionPool(host='localhost', port=9990): Max retries exceeded with url: /management (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6930a2ce48>: Failed to establish a new connection: [Errno 111] Connection refused',))"
      }
      

      This is a regression compared to registry.access.redhat.com/jboss-eap-7-tech-preview/eap-cd-openshift:16.0.

              kwills@redhat.com Ken Wills
              mjurc@redhat.com Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: