Linux Consumption Python function apps don't provision keys or fire timers (host doesn't fully start) — only trivial apps work

Arkaitz Maroto 0 Puntos de reputación
2026-07-01T11:23:40.62+00:00

Environment: Azure Functions v4, Linux Consumption (Y1), Python 3.11, West Europe

and North Europe.

Since ~2026-06-26 my Consumption Linux Python apps that require a remote (Oryx)

build (requirements.txt with azure-storage-blob, openpyxl, etc.) index their

functions and serve anonymous HTTP on demand, BUT:

  • listkeys returns empty (masterKey / function keys never created)
  • the azure-webjobs-secrets container is never created in the storage account
  • timer triggers never fire (no timer status blob in azure-webjobs-hosts)

This happens on brand-new apps + brand-new storage accounts, with or without

AzureWebJobsSecretStorageType=blob, with or without HTTP routes.

Control: trivial single-file apps (requirements.txt = only azure-functions) created

the same way provision keys within ~25s and their timers fire normally. HTTP

on-demand works on all apps. Older apps that were created before this date and

already had their keys keep working.

Also: on the affected shared plan, POST .../syncfunctiontriggers returns

"Encountered an error (InternalServerError) from host runtime", and existing

timers stopped firing simultaneously on that date.

Already tried: recreate on fresh plan + fresh storage in another region,

AzureWebJobsSecretStorageType=blob, restarts, redeploys, syncfunctiontriggers,

fresh app names.

Questions:

  1. Is this a known issue where a Linux Consumption Python app with dependencies fails to complete host startup (no key provisioning, no timer scheduling)?
  2. How can I diagnose why the host indexes functions but never provisions keys or schedules timers, while trivial apps work fine?
  3. What logs/settings should I check (or is this a platform-side scale controller / secret provisioning problem)?
Azure Automation
Azure Automation

Un servicio de Azure que se usa para automatizar, configurar e instalar actualizaciones en entornos híbridos.

0 comentarios No hay comentarios

1 respuesta

Ordenar por: Lo más útil
  1. Dio Xavier 288.9K Puntos de reputación Moderador voluntario
    2026-07-05T23:20:27.77+00:00

    Hola

    Bienvenido a la comunidad Microsoft Azure.

    Buenas noches. Gracias por ponerte en contacto con nosotros y detallar tu situación.  Según lo anterior, el problema parece estar asociado a la inicialización del host de Azure Functions, no a los índices de las funciones. Sobre tus preguntas:

    1. No tenemos constancia de problemas ni documentación similares sobre este comportamiento. Dado que ocurre exclusivamente en aplicaciones con dependencias y persiste en nuevas funcionalidades, se recomienda encarecidamente investigar si ocurre un fallo en tiempo de ejecución o un incidente de plataforma.

    2. Revisa los registros de Application Insights y Log Stream y valida la configuración de AzureWebJjobsStorage, el resultado de rearchivo, las Funciones de Sincronización activan errores.  Si no hay fallos, es necesario abrir un ticket de soporte para una investigación en la plataforma

    Suerte y cuéntanos el resultado.

    Si la respuesta ayudó a resolver el problema o la pregunta, márcala como Respuesta Útil. Esta acción cierra el hilo, marca la solución correcta y ayuda a otros con la misma pregunta a encontrar la respuesta más fácilmente. Si aún necesitas apoyo o tienes nuevas preguntas, siéntete libre de usar esta misma publicación.

    ¿Le resultó útil esta respuesta?

    0 comentarios No hay comentarios

Su respuesta

Las respuestas pueden ser marcadas como Respuestas aceptadas por el autor de la pregunta, lo que indica a los usuarios que la respuesta resolvió su problema.