Unable to setup log forwarding for running locally app without having IO Runtime namespace
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- cli
Línea de trabajo
Comienza reproduciendo el problema con aio app run --local, después invoca la acción local y ejecuta aio rt:activation:logs <activation_id> sin un espacio de nombres real de IO Runtime. Rastrea la configuración de reenvío de registros utilizada por estos comandos; se considera terminado cuando las activaciones locales exponen registros sin requerir credenciales de un espacio de nombres real.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- JavaScript
- Estrellas
- 28
- Forks
- 41
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 adobe/aio-cli-plugin-app
-
app:pack aborts when Node writes process warnings to api-mesh stderrPosiblemente ocupada @raj-prince587 la tomó hace 72 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
adobe/aio-cli-plugin-app#930 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
adobe/aio-cli-plugin-app#924 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
adobe/aio-cli-plugin-app#919 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
adobe/aio-cli-plugin-app#890 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
adobe/aio-cli-plugin-app#881 · 1 comentario ·
Todos los issues de adobe/aio-cli-plugin-app
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Billionmail/BillionMail#389 ·
-
beginner-friendly category:finding-titles community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Berserk-hub150/skillhawk#227 · 1 comentario ·
Los mantenedores suelen responder en 8 días
-
Remove responsibilities not working in Custom Roles & BadgesPosiblemente ocupada @thomasgwatson la tomó hoy. Abiertoagent-ready agent:needs-test
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
gkjohnson/three-mesh-bvh#933 ·
-
scope: curriculum status: waiting triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
freeCodeCamp/freeCodeCamp#71076 ·
Los mantenedores suelen responder en 1 día