kpm diagnostic tool fails when there are no records in the tenant_kvs table with certain keys
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia con il flusso diagnostico di kpm in tenant_config.rb, diagnostic_file.rb e tasks.rb, utilizzando il comando diagnostico kpm indicato per riprodurre il fallimento. Traccia come vengono gestite le chiavi tenant_kvs mancanti e verifica che la diagnostica venga completata quando quei record sono inattivi o assenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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>'
- Lingua principale
- Ruby
- Stelle
- 68
- Fork
- 94
- Merge medio
- 5g 29m
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di killbill/killbill-cloud
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
killbill/killbill-cloud#265 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
killbill/killbill-cloud#302 ·
-
Support for Maven Central Aperta
killbill/killbill-cloud#291 · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
killbill/killbill-cloud#283 · 1 commento ·
-
enhancement KPM
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
killbill/killbill-cloud#282 ·
Tutte le issue di killbill/killbill-cloud
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Please Drop ruby 3.2 support Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
googleapis/google-api-ruby-client#28001 · 5 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100