Skip to content

Update-IcingaServiceUser freezes for 20 mins #394

@bibbs

Description

@bibbs

Hi,
when issuing the command Install-IcingaComponent -name [service|agent] I am reproducibly experiencing a significant "freeze" within the subsequently called Update-IcingaServiceUser --> Get-IcingaWindowsInformation at the following line:

DEBUG: 24948+ >>>> $CimData = (Get-CimInstance @Arguments -ErrorAction Stop)

After about 21 mins of waiting execution always continues without any issues.

The involved call stack is as follows
Get-CimInstance
Get-IcingaWindowsInformation (line 58)
Test-IcingaManagedUser (line 15)
Update-IcingaServiceUser (line 9)
Install-IcingaComponent -name service (line 264)

While looking at the Install-IcingaComponent's code, I am unsure If Update-IcingaServiceUser is needed in section "service", since the ServiceUser is already set before within the previous called Install-IcingaforWindowsService's return clause - without such issue ... ?

Despite seeing my install script successfully completing it feels hard to accept these 40 mins when installing Service + Agent ...

my Environment:
IcingaforWindows Framework1.6.1
WindowsPowershell 5.1.14393
Windows Server 2016

Metadata

Metadata

Assignees

Labels

PerformancePerformance issue while using the solution

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions