Por favor, podrán dejar aqui la salida del comando:

redis-cli keys "*"

En el momento de presentarse la falla.

    [root@omnileads ~]# redis-cli keys "*"
    1) "OML😮UTR:2"
    2) "OML:INR:112233"
    3) "OML:TRUNK:3"
    4) "OML:AGENT:1"
    5) "OML:AGENT:23"
    6) "OML:AGENT:17"
    7) "OML:AGENT:3"
    8) "OML:CUSTOMDST:1"
    9) "OML:AGENT:32"
    10) "OML:CAMP:13"
    11) "OML😛AUSE:2"
    12) "OML:TRUNK:1"
    13) "OML:AGENT:14"
    14) "OML:CAMP:4"
    15) "OML:AGENT:31"
    16) "OML:AGENT:12"
    17) "OML:AGENT:10"
    18) "OML:IVR:1"
    19) "OML:AGENT:13"
    20) "OML:AGENT:6"
    21) "OML:AGENT:29"
    22) "OML:AGENT:20"
    23) "OML:CAMP:2"
    24) "OML😛AUSE:4"
    25) "OML:AGENT:4"
    26) "OML😛AUSE:5"
    27) "OML:AGENT:22"
    28) "OML😛AUSE:6"
    29) "OML:AGENT:18"
    30) "OML:AGENT:21"
    31) "OML:AGENT:8"
    32) "OML:AGENT:19"
    33) "OML:CAMP:16"
    34) "OML:INR:777709"
    35) "OML:AGENT:9"
    36) "OML:AGENT:2"
    37) "OML:AGENT:24"
    38) "OML:SUPERVISOR:2"
    39) "OML:AGENT:28"
    40) "OML:AGENT:15"
    41) "OML:CAMP:17"
    42) "OML:TRUNK:4"
    43) "OML😛AUSE:3"
    44) "OML😛AUSE:1"
    45) "OML:AGENT:26"
    46) "OML:CAMP:15"
    47) "OML:CAMP:8"
    48) "OML:CAMP:20"
    49) "OML:SUPERVISOR:1"
    50) "OML:AGENT:34"
    51) "OML:AGENT:30"
    52) "OML:CAMP:19"
    53) "OML😛AUSE:7"
    54) "OML:INR:777710"
    55) "OML:AGENT:35"
    56) "OML:AGENT:27"
    57) "OML:AGENT:7"
    58) "OML:TRUNK:2"
    59) "OML:AGENT:33"
    60) "OML:AGENT:5"
    61) "OML😮UTR:1"
    62) "OML:SUPERVISOR:5"
    63) "OML:AGENT:16"
    64) "OML:SUPERVISION_CAMPAIGN:15"
    65) "OML:CAMP:18"
    66) "OML:CAMP:10"
    67) "OML:CAMP:3"
    68) "OML:AGENT:11"
    69) "OML😛AUSE:8"
    70) "OML:CAMP:12"
    71) "OML:AGENT:25"

      omnileads

      25286:C 25 Nov 2020 06:45:02.907 * DB saved on disk
      25286:C 25 Nov 2020 06:45:02.907 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 06:45:02.993 * Background saving terminated with success
      953:M 25 Nov 2020 06:55:03.850 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 06:55:03.850 * Background saving started by pid 26227
      26227:C 25 Nov 2020 06:55:03.854 * DB saved on disk
      26227:C 25 Nov 2020 06:55:03.854 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 06:55:03.951 * Background saving terminated with success
      953:M 25 Nov 2020 07:05:02.844 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:05:02.844 * Background saving started by pid 27178
      27178:C 25 Nov 2020 07:05:02.858 * DB saved on disk
      27178:C 25 Nov 2020 07:05:02.858 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:05:02.945 * Background saving terminated with success
      953:M 25 Nov 2020 07:15:03.867 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:15:03.868 * Background saving started by pid 28120
      28120:C 25 Nov 2020 07:15:03.888 * DB saved on disk
      28120:C 25 Nov 2020 07:15:03.888 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:15:03.969 * Background saving terminated with success
      953:M 25 Nov 2020 07:25:03.794 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:25:03.795 * Background saving started by pid 29060
      29060:C 25 Nov 2020 07:25:03.814 * DB saved on disk
      29060:C 25 Nov 2020 07:25:03.814 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:25:03.895 * Background saving terminated with success
      953:M 25 Nov 2020 07:35:03.825 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:35:03.825 * Background saving started by pid 29996
      29996:C 25 Nov 2020 07:35:03.838 * DB saved on disk
      29996:C 25 Nov 2020 07:35:03.839 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:35:03.925 * Background saving terminated with success
      953:M 25 Nov 2020 07:45:02.866 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:45:02.866 * Background saving started by pid 30936
      30936:C 25 Nov 2020 07:45:02.879 * DB saved on disk
      30936:C 25 Nov 2020 07:45:02.879 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:45:02.967 * Background saving terminated with success
      953:M 25 Nov 2020 07:55:02.869 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 07:55:02.869 * Background saving started by pid 31878
      31878:C 25 Nov 2020 07:55:02.883 * DB saved on disk
      31878:C 25 Nov 2020 07:55:02.883 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 07:55:02.969 * Background saving terminated with success
      953:M 25 Nov 2020 08:05:02.876 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:05:02.876 * Background saving started by pid 365
      365:C 25 Nov 2020 08:05:02.890 * DB saved on disk
      365:C 25 Nov 2020 08:05:02.890 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:05:02.976 * Background saving terminated with success
      953:M 25 Nov 2020 08:15:02.977 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:15:02.977 * Background saving started by pid 1378
      1378:C 25 Nov 2020 08:15:02.992 * DB saved on disk
      1378:C 25 Nov 2020 08:15:02.992 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:15:03.077 * Background saving terminated with success
      953:M 25 Nov 2020 08:25:03.087 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:25:03.088 * Background saving started by pid 2387
      2387:C 25 Nov 2020 08:25:03.102 * DB saved on disk
      2387:C 25 Nov 2020 08:25:03.102 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:25:03.188 * Background saving terminated with success
      953:M 25 Nov 2020 08:35:03.001 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:35:03.001 * Background saving started by pid 3322
      3322:C 25 Nov 2020 08:35:03.019 * DB saved on disk
      3322:C 25 Nov 2020 08:35:03.019 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:35:03.101 * Background saving terminated with success
      953:M 25 Nov 2020 08:40:04.028 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:40:04.028 * Background saving started by pid 3819
      3819:C 25 Nov 2020 08:40:04.031 * DB saved on disk
      3819:C 25 Nov 2020 08:40:04.031 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:40:04.129 * Background saving terminated with success
      953:M 25 Nov 2020 08:45:05.017 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:45:05.017 * Background saving started by pid 4381
      4381:C 25 Nov 2020 08:45:05.020 * DB saved on disk
      4381:C 25 Nov 2020 08:45:05.020 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:45:05.117 * Background saving terminated with success
      953:M 25 Nov 2020 08:50:06.073 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:50:06.073 * Background saving started by pid 4885
      4885:C 25 Nov 2020 08:50:06.076 * DB saved on disk
      4885:C 25 Nov 2020 08:50:06.077 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:50:06.174 * Background saving terminated with success
      953:M 25 Nov 2020 08:55:07.050 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 08:55:07.050 * Background saving started by pid 5366
      5366:C 25 Nov 2020 08:55:07.052 * DB saved on disk
      5366:C 25 Nov 2020 08:55:07.053 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 08:55:07.150 * Background saving terminated with success
      953:M 25 Nov 2020 09:00:08.075 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:00:08.075 * Background saving started by pid 5867
      5867:C 25 Nov 2020 09:00:08.078 * DB saved on disk
      5867:C 25 Nov 2020 09:00:08.078 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:00:08.176 * Background saving terminated with success
      953:M 25 Nov 2020 09:05:09.008 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:05:09.009 * Background saving started by pid 6397
      6397:C 25 Nov 2020 09:05:09.011 * DB saved on disk
      6397:C 25 Nov 2020 09:05:09.012 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:05:09.109 * Background saving terminated with success
      953:M 25 Nov 2020 09:10:10.082 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:10:10.082 * Background saving started by pid 6897
      6897:C 25 Nov 2020 09:10:10.085 * DB saved on disk
      6897:C 25 Nov 2020 09:10:10.085 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:10:10.183 * Background saving terminated with success
      953:M 25 Nov 2020 09:15:11.066 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:15:11.067 * Background saving started by pid 7377
      7377:C 25 Nov 2020 09:15:11.069 * DB saved on disk
      7377:C 25 Nov 2020 09:15:11.070 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:15:11.167 * Background saving terminated with success
      953:M 25 Nov 2020 09:20:12.097 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:20:12.098 * Background saving started by pid 7863
      7863:C 25 Nov 2020 09:20:12.100 * DB saved on disk
      7863:C 25 Nov 2020 09:20:12.101 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:20:12.198 * Background saving terminated with success
      953:M 25 Nov 2020 09:25:13.069 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:25:13.070 * Background saving started by pid 8328
      8328:C 25 Nov 2020 09:25:13.072 * DB saved on disk
      8328:C 25 Nov 2020 09:25:13.072 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:25:13.170 * Background saving terminated with success
      953:M 25 Nov 2020 09:30:14.011 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:30:14.012 * Background saving started by pid 8808
      8808:C 25 Nov 2020 09:30:14.014 * DB saved on disk
      8808:C 25 Nov 2020 09:30:14.014 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:30:14.112 * Background saving terminated with success
      953:M 25 Nov 2020 09:35:15.078 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:35:15.078 * Background saving started by pid 9271
      9271:C 25 Nov 2020 09:35:15.081 * DB saved on disk
      9271:C 25 Nov 2020 09:35:15.081 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:35:15.178 * Background saving terminated with success
      953:M 25 Nov 2020 09:40:16.099 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:40:16.100 * Background saving started by pid 9753
      9753:C 25 Nov 2020 09:40:16.102 * DB saved on disk
      9753:C 25 Nov 2020 09:40:16.103 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:40:16.200 * Background saving terminated with success
      953:M 25 Nov 2020 09:45:17.063 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:45:17.063 * Background saving started by pid 10220
      10220:C 25 Nov 2020 09:45:17.066 * DB saved on disk
      10220:C 25 Nov 2020 09:45:17.066 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:45:17.164 * Background saving terminated with success
      953:M 25 Nov 2020 09:50:18.001 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:50:18.001 * Background saving started by pid 10700
      10700:C 25 Nov 2020 09:50:18.004 * DB saved on disk
      10700:C 25 Nov 2020 09:50:18.004 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:50:18.102 * Background saving terminated with success
      953:M 25 Nov 2020 09:55:19.087 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 09:55:19.087 * Background saving started by pid 11173
      11173:C 25 Nov 2020 09:55:19.090 * DB saved on disk
      11173:C 25 Nov 2020 09:55:19.090 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 09:55:19.187 * Background saving terminated with success
      953:M 25 Nov 2020 10:00:20.061 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:00:20.061 * Background saving started by pid 11679
      11679:C 25 Nov 2020 10:00:20.064 * DB saved on disk
      11679:C 25 Nov 2020 10:00:20.064 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:00:20.162 * Background saving terminated with success
      953:M 25 Nov 2020 10:05:21.032 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:05:21.032 * Background saving started by pid 12216
      12216:C 25 Nov 2020 10:05:21.035 * DB saved on disk
      12216:C 25 Nov 2020 10:05:21.036 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:05:21.133 * Background saving terminated with success
      953:M 25 Nov 2020 10:10:22.097 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:10:22.097 * Background saving started by pid 12746
      12746:C 25 Nov 2020 10:10:22.100 * DB saved on disk
      12746:C 25 Nov 2020 10:10:22.100 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:10:22.197 * Background saving terminated with success
      953:M 25 Nov 2020 10:15:23.083 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:15:23.083 * Background saving started by pid 13341
      13341:C 25 Nov 2020 10:15:23.086 * DB saved on disk
      13341:C 25 Nov 2020 10:15:23.087 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:15:23.184 * Background saving terminated with success
      953:M 25 Nov 2020 10:20:24.049 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:20:24.050 * Background saving started by pid 14032
      14032:C 25 Nov 2020 10:20:24.052 * DB saved on disk
      14032:C 25 Nov 2020 10:20:24.053 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:20:24.150 * Background saving terminated with success
      953:M 25 Nov 2020 10:25:25.039 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:25:25.039 * Background saving started by pid 14613
      14613:C 25 Nov 2020 10:25:25.042 * DB saved on disk
      14613:C 25 Nov 2020 10:25:25.042 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:25:25.139 * Background saving terminated with success
      953:M 25 Nov 2020 10:30:26.014 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:30:26.014 * Background saving started by pid 15430
      15430:C 25 Nov 2020 10:30:26.017 * DB saved on disk
      15430:C 25 Nov 2020 10:30:26.018 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:30:26.114 * Background saving terminated with success
      953:M 25 Nov 2020 10:35:27.025 * 10 changes in 300 seconds. Saving...
      953:M 25 Nov 2020 10:35:27.025 * Background saving started by pid 16124
      16124:C 25 Nov 2020 10:35:27.027 * DB saved on disk
      16124:C 25 Nov 2020 10:35:27.028 * RDB: 0 MB of memory used by copy-on-write
      953:M 25 Nov 2020 10:35:27.125 * Background saving terminated with success
      Você tem mensagem nova de correio em /var/spool/mail/root

        Alguma novidade de uma release para corrigir eso?

        Obrigado.

          11 days later

          hola, hay alguna sugerencia ? o es preferible hacer un downgrade?

            Una consulta, uds están usando una integración con PBX ? o tienen OML directo conectado a un proveedor SIP ?

              fpignataro 2020-11-24 08:07:14,029 [ ERROR] django.request - Internal Server Error: /api/v1/supervision/agentes
              Traceback (most recent call last):
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
              response = get_response(request)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
              response = self.process_exception_by_middleware(e, request)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
              response = wrapped_callback(request, callback_args, **callback_kwargs)
              File "/usr/lib64/python3.6/contextlib.py", line 52, in inner
              return func(args, **kwds)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
              return view_func(request, args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
              return view_func(args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
              return self.dispatch(request, *args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
              response = self.handle_exception(exc)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
              self.raise_uncaught_exception(exc)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
              raise exc
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
              response = handler(request, *args, **kwargs)
              File "/opt/omnileads/ominicontacto/api_app/views/supervisor.py", line 98, in get
              for data_agente in agentes_parseados.obtener_agentes_activos():
              File "/opt/omnileads/ominicontacto/ominicontacto_app/services/asterisk/supervisor_activity.py", line 66, in obtener_agentes_activos
              agente_info['nombre'] = agente_info['NAME']
              KeyError: 'NAME'
              2020-11-24 08:07:21,752 [ ERROR] django.request - Internal Server Error: /api/v1/supervision/agentes
              Traceback (most recent call last):
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
              response = get_response(request)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
              response = self.process_exception_by_middleware(e, request)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
              response = wrapped_callback(request, callback_args, **callback_kwargs)
              File "/usr/lib64/python3.6/contextlib.py", line 52, in inner
              return func(args, **kwds)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
              return view_func(request, args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
              return view_func(args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
              return self.dispatch(request, *args, **kwargs)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
              response = self.handle_exception(exc)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
              self.raise_uncaught_exception(exc)
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
              raise exc
              File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
              response = handler(request, *args, **kwargs)
              File "/opt/omnileads/ominicontacto/api_app/views/supervisor.py", line 98, in get
              for data_agente in agentes_parseados.obtener_agentes_activos():
              File "/opt/omnileads/ominicontacto/ominicontacto_app/services/asterisk/supervisor_activity.py", line 66, in obtener_agentes_activos
              agente_info['nombre'] = agente_info['NAME']
              KeyError: 'NAME'
              2020-11-24 08:07:33,782 [WARNING] django.security.csrf - Forbidden (Referer checking failed - Referer is malformed.): /

                Está claro el error. Se trata de una inserción de Asterisk sobre Redis que deja corrupta la estructura.
                Vamos a mitigar la condición de carrera implementando un fix sobre el dialplan de Asterisk.

                https://gitlab.com/omnileads/ominicontacto/-/issues/76

                La semana que viene vamos a liberar pre-release-1.12 con dicho fix y asumo que a finales del mes estará disponible como release estable 1.12.

                Muchas gracias por su contribución.

                  Write a Reply...