kpm diagnostic tool fails when there are no records in the tenant_kvs table with certain keys
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Comienza con el flujo de diagnóstico de kpm en tenant_config.rb, diagnostic_file.rb y tasks.rb, utilizando el comando de diagnóstico de kpm indicado para reproducir el fallo. Traza cómo se gestionan las claves tenant_kvs que faltan y verifica que el diagnóstico finaliza cuando esos registros están inactivos o no existen.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The kpm diagnostic tool fails when there are no records in the tenant_kvs table with the following keys:
PLUGIN_CONFIG PUSH_NOTIFICATION_CB PER_TENANT_CONFIG PLUGIN_PAYMENT_STATE_MACHINE CATALOG OVERDUE_CONFIG INVOICE_TRANSLATION CATALOG_TRANSLATION INVOICE_TEMPLATE INVOICE_MP_TEMPLATE
Steps to reproduce:
- Create a new tenant. This will insert a record in the
tenant_kvstable with the keyCATALOG - Mark the record from the
tenant_kvstable as in_active (Runupdate tenant_kvs set is_active=0 where tenant_record_id=<id here>;) - Run the kpm diagnostic tool as follows:
kpm diagnostic --killbill-api-credentials=<api key> <api secret> --account-export=<account id> --killbill-url http://localhost:8080
- This displays the following error:
I, [2024-04-05T14:12:08.319099 #28696] INFO -- : Retrieving tenant configuration
E, [2024-04-05T14:12:11.075882 #28696] ERROR -- : Data for key_prefix= not found
E, [2024-04-05T14:12:11.077854 #28696] ERROR -- : D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/kpm-0.11.1/lib/kpm/tenant_config.rb:44:in `export'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/kpm-0.11.1/lib/kpm/diagnostic_file.rb:85:in `retrieve_tenant_config'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/kpm-0.11.1/lib/kpm/diagnostic_file.rb:47:in `export_data'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/kpm-0.11.1/lib/kpm/tasks.rb:577:in `diagnostic'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
D:/Software/Ruby27-x64/lib/ruby/gems/2.7.0/gems/kpm-0.11.1/bin/kpm:8:in `<top (required)>'
D:/Software/Ruby27-x64/bin/kpm:23:in `load'
D:/Software/Ruby27-x64/bin/kpm:23:in `<main>'
- Lenguaje dominante
- Ruby
- Estrellas
- 68
- Forks
- 94
- Merge medio
- 5 d 2 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de killbill/killbill-cloud
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
killbill/killbill-cloud#265 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 50/100
killbill/killbill-cloud#302 ·
-
Support for Maven CentralQuizá libre de nuevo @tungleduyxyz la tomó hace 395 días y no hay ningún pull request abierto. Abierto
killbill/killbill-cloud#291 · 1 asignado ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
killbill/killbill-cloud#283 · 1 comentario ·
-
enhancement KPM
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
killbill/killbill-cloud#282 ·
Todos los issues de killbill/killbill-cloud
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Homebrew/homebrew-cask#293134 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
notch8/iiif_print#430 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
ActionText::Content#to_markdown: <br> in a table cell and empty <tr> produce malformed Markdown tablesPosiblemente ocupada @azmi2409 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día