[BUG] Subscription override warning message (ephemeral storage)
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
- azure, powershell
- Área
- cloud
Línea de trabajo
Comience con el flujo de inicio de Cloud Shell que se autentica con Azure y emite las advertencias de suscripción; después, reproduzca el comportamiento de la sesión efímera mediante el comando documentado Update-AzConfig. Se considera completado cuando la suscripción predeterminada persiste durante la sesión o se suprime la advertencia de sobrescritura cuando la persistencia no está disponible, sin eliminar la advertencia sobre varias suscripciones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
To Reproduce
- Follow the steps in https://learn.microsoft.com/en-us/azure/cloud-shell/get-started/ephemeral?tabs=powershell
- Use the command in the supplied warning message (
Update-AzConfig -DefaultSubscriptionForLogin) to set the default subscription to the desired subscription - Restart the shell
Observed Behavior
Requesting a Cloud Shell.Succeeded.
Connecting terminal...
Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session.
MOTD: SqlServer has been updated to Version 22!
VERBOSE: Authenticating to Azure ...
WARNING: TenantId '{my tenant id}' contains more than one active subscription. First one will be selected for further use. To select another subscription, use Set-AzContext.
WARNING: To override which subscription Connect-AzAccount selects by default, use `Update-AzConfig -DefaultSubscriptionForLogin 00000000-0000-0000-0000-000000000000`. Go to https://go.microsoft.com/fwlink/?linkid=2200610 for more information.
VERBOSE: Building your Azure drive ...
Expected behavior
Ideally, I would love the default subscription configuration to persist through the ephemeral session.
That being said, I understand that there are limitations to the ephemeral cloud shell. If the setting cannot be persisted, the override warning should be suppressed as to not misdirect ephemeral cloud shell users. (That warning and the message about "no files or system changes" appear to be at odds)
Is this specific to Cloud Shell?
Not sure how to answer this question, since it seems to be an edge case interaction between Azure Powershell and Azure Cloud Shell. I don't believe that this issue would make sense in the Azure Powershell repo (as it is a specific quirk of the ephemeral implementation of Azure Cloud Shell).
Interface information
How are you accessing Cloud Shell - portal.azure.com
If a browser, which Operating System and browser are you using? Firefox on Windows 11
Additional context
I know this is maybe a minor gripe, but it's definitely confusing, especially as a new user, to be prompted with a warning whose instructions do not resolve the issue.
I have no issue with the first warning message (re: multiple subscriptions), and I definitely think that the first warning is important to have regardless of whether this issue is resolved by suppressing the second warning or incorporating some way to persist the default subscription selection.
- Lenguaje dominante
- PowerShell
- Estrellas
- 273
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Azure/CloudShell
-
bug Triage-needed
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Azure/CloudShell#655 ·
-
Blood TestAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 5/100
Azure/CloudShell#654 · 2 comentarios ·
-
bug Triage-needed
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
Azure/CloudShell#653 ·
-
bug Triage-needed
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
Azure/CloudShell#649 · 2 comentarios ·
-
[BUG] Bash session falls back to ephemeral (“Failed to mount the Azure file share”) after $HOME image is attached; intermittent across 5 file shares, 3 storage accounts, 2 subscriptionsPosiblemente ocupada @priyaananthasankar la tomó hace 21 días. Abiertobug
Azure/CloudShell#648 · 1 comentario · 1 asignado ·
Todos los issues de Azure/CloudShell
Issues similares
-
[BUG] serviceenvupdater filter does not update KUBERNETES_SERVICE_HOST/PORT in init containersPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openyurtio/openyurt#2845 ·
Los mantenedores suelen responder en 7 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Enable "remote"' featureAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-constructs/cdk-terrain#547 ·
Los mantenedores suelen responder en 1 día