Unable to setup log forwarding for running locally app without having IO Runtime namespace
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- cli
Direzione di ricerca
Inizia riproducendo il problema con aio app run --local, quindi invoca l’azione locale ed esegui aio rt:activation:logs <activation_id> senza un namespace IO Runtime reale. Traccia la configurazione del forwarding dei log utilizzata da questi comandi; il lavoro è completato quando le attivazioni locali espongono i log senza richiedere credenziali per un namespace reale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
App builder allows running an application completely locally, including IO Runtime actions, by deploying them locally.
This approach assumes, that logs for the actions deployed locally will be available locally as well. However, right now AIO_runtime_ env vars should be set with "real" namespace even if the app is running completely locally, otherwise, the log forwarding configuration will not work and will show the following error:
$ aio app config set log-forwarding
? select log forwarding destination Adobe I/O Runtime
› Error: Could not update log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"DlMXORdeOVjkD2Yv1zoSBmVlYe5GEoXM","error":"The requested resource could not be found."}
Also, it's not possible to retrieve logs for actions deployed locally.
$ aio rt:activation:logs d12c132988974cc1ac13298897acc1d6
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}
To Reproduce
Steps to reproduce the behavior:
- Create a new App Builder app
- Create a simple action in this app
- Run the application locally
$ aio app run --local - Invoke the created action (the action should be deployed locally)
- Try to retrieve logs for the latest activation
- See the following error
$ aio rt:activation:logs <activation_id>
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}
Expected behavior
It should be possible to retrieve logs for an App Builder app that is completely running locally without configuring the "real" IO Runtime namespace and providing credentials for it.
- Lingua principale
- JavaScript
- Stelle
- 28
- Fork
- 41
- Merge medio
- 1g 15h
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 adobe/aio-cli-plugin-app
-
app:pack aborts when Node writes process warnings to api-mesh stderrForse già presa @raj-prince587 l’ha presa 63 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
adobe/aio-cli-plugin-app#930 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
adobe/aio-cli-plugin-app#924 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
adobe/aio-cli-plugin-app#919 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
adobe/aio-cli-plugin-app#890 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
adobe/aio-cli-plugin-app#881 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di adobe/aio-cli-plugin-app
Issue simili
-
`yarn vitest:update` (documented) throws locally; local Cypress scripts target an unserved portAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rescript-lang/rescript-lang.org#1415 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Deepak3699/Ai_Mentor#244 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
antithesishq/bombadil#361 ·
I maintainer di solito rispondono entro 1 giorno
-
ungroomed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dequelabs/axe-core#5455 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
DietrichGebert/ponytail#1072 ·
I maintainer di solito rispondono entro 3 giorni