Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host ID collisions in placeholder mode? #10579

Open
jeremy-skippen-jbhifi opened this issue Oct 29, 2024 · 1 comment
Open

Host ID collisions in placeholder mode? #10579

jeremy-skippen-jbhifi opened this issue Oct 29, 2024 · 1 comment

Comments

@jeremy-skippen-jbhifi
Copy link

jeremy-skippen-jbhifi commented Oct 29, 2024

Issue description

I've recently updated a dotnet-isolated function deployment to add a staging slot. Both the production and the staging slot share a storage account and have host ids set explicitly. Since then, periodically the following error has been reported in the portal:

A collision for Host ID 'functionsv4x64dotnetisolated8pla' was detected in the configured storage account. For more information, see https://aka.ms/functions-hostid-collision.

Feeling is that this is happening when both slots are started in placeholder mode, possibly because of something happening in the platform outside of the host. E.g. 1 occurrence happened at 12AM UTC. IIS app pool recycle?

Assuming the placeholder function that's being started is called functionsv4x64dotnetisolated8placeholdertemplatesite based on some other reports:

Configuration

App Service plan

  • SKU: Y1
  • Operating System: Windows
  • Location: Australia East

Host

  • Host version: 4.36.0.23246 / 4.1036.3.23284

Stack settings

  • Runtime version: ~4
  • Stack: .NET
  • .NET Version: .NET 8 Isolated

Platform settings

  • Platform: 64 Bit
  • Managed pipeline version: Integrated

Possible solutions

  • Don't do host id validation when in placeholder mode (src\WebJobs.Script\Host\ScriptHostIdProvider.cs@GetHostIdAsync)
  • Use shorter function names for placeholder functions
@liliankasem
Copy link
Member

Just to clarify for triage, this isn't having any production impact on your application, right? It's just extra noise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants