XMLWordPrintable

      Error noticed with  org.onap.dcaegen2.services.heartbeat:2.4.1-SNAPSHOT-20220921T150104Z

      dev-dcae-heartbeat-74fcb44789-k5vr9                    0/1     CrashLoopBackOff   1 (11s ago)       80s
      dev-dcae-heartbeat-postgres-primary-69849b8b94-6kc7j   1/1     Running            0                 80s
      dev-dcae-heartbeat-postgres-replica-7474648d6b-tvklx   1/1     Running            0                 80s
      root@onap2-vv:~# kubectl logs -f -n onap dev-dcae-heartbeat-74fcb44789-k5vr9
      Defaulted container "dcae-heartbeat" out of: dcae-heartbeat, dcae-heartbeat-readiness (init), init-tls (init)
      Traceback (most recent call last):
        File "/app/bin/misshtbtd.py", line 46, in <module>
          import htbtworker as heartbeat
        File "/app/bin/htbtworker.py", line 28, in <module>
          import requests
        File "/usr/local/lib/python3.9/site-packages/requests/__init__.py", line 95, in <module>
          from urllib3.contrib import pyopenssl
        File "/usr/local/lib/python3.9/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
          import OpenSSL.SSL
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module>
          from OpenSSL import crypto, SSL
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1556, in <module>
          class X509StoreFlags(object):
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
          CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
      AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
      root@onap2-vv:~# kubectl logs -f -n onap dev-dcae-heartbeat-74fcb44789-k5vr9
      Defaulted container "dcae-heartbeat" out of: dcae-heartbeat, dcae-heartbeat-readiness (init), init-tls (init)
      Traceback (most recent call last):
        File "/app/bin/misshtbtd.py", line 46, in <module>
          import htbtworker as heartbeat
        File "/app/bin/htbtworker.py", line 28, in <module>
          import requests
        File "/usr/local/lib/python3.9/site-packages/requests/__init__.py", line 95, in <module>
          from urllib3.contrib import pyopenssl
        File "/usr/local/lib/python3.9/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
          import OpenSSL.SSL
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module>
          from OpenSSL import crypto, SSL
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1556, in <module>
          class X509StoreFlags(object):
        File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
          CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
      AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' 

            vv770d vv770d
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: