Skip to content

[BUG] WSSD Agent Service service will fail to start due a malformed paramater string #265

@ohault

Description

@ohault

Describe the bug
A fresh install of either AksEdge-K8s-1.31.5-1.11.247.0.msi or AksEdge-K3s-1.31.6-1.11.247.0.msi will end up with a non starting WSSD Agent Service service

This is due to a malformed parameter string to start the Windows service, where two space characters are present between "wssdagent.exe and" "--service" in the windows Registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wssdagent

ImagePath

C:\AksEdge\wssdagent.exe --service --basedir "C:\ProgramData\wssdagent" --dotfolderpath "C:\ProgramData\wssdagent" --nodeagentfqdn PCWIN11OHA --objectdatastore "registry" --wssdproviderspec hcs

that should become the following with a single place.

C:\AksEdge\wssdagent.exe --service --basedir "C:\ProgramData\wssdagent" --dotfolderpath "C:\ProgramData\wssdagent" --nodeagentfqdn PCWIN11OHA --objectdatastore "registry" --wssdproviderspec hcs

Quick fix
Change this registry key and restart the service.

Root cause and fix
The msi files for k8s and k3s have the malformed argument string starting with a blank space that should be deleted.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions