-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Issue
I have a problem where tasks occasionally get stuck when updating:
I'm thinking the issue occurs when cleaning up the app pool fails for any reason. It's possibly to manually remove the app pool and site, but the nomad status is still stuck in running. Might be related to #41?
IIS/VM state
Contents of \?\C:\inetpub\temp\apppools\b5f132be-a977-3106-ef71-b936ad90c24b\b5f132be-a977-3106-ef71-b936ad90c24b.config
<!-- ERROR: There's been an error reading or processing the applicationhost.config file. Line number: 0 Error message: Cannot read configuration file -->
Logs
Output from nomad alloc status b5f132be-a977-3106-ef71-b936ad90c24b
ID = b5f132be-a977-3106-ef71-b936ad90c24b
Eval ID = 698c9204
Name = xxx.xxx[0]
Node ID = 1b82983e
Node Name = VMSDFWIN00000E
Job ID = xxx
Job Version = 26
Client Status = running
Client Description = Tasks are running
Desired Status = stop
Desired Description = alloc is being updated due to job update
Created = 1d1h ago
Modified = 17h4m ago
Deployment ID = 7338489c
Deployment Health = unhealthy
Replacement Alloc ID = 0a3dac7b
Allocation Addresses
Label Dynamic Address
*xxx yes 11.0.2.4:28248
Task "setup" (prestart) is "dead"
Task Resources
CPU Memory Disk Addresses
10 MHz 10 MiB 300 MiB
Max: 500 MiB
Task Events:
Started At = 2022-01-26T07:03:18Z
Finished At = 2022-01-26T07:03:25Z
Total Restarts = 0
Last Restart = N/A
Recent Events:
Time Type Description
2022-01-26T16:21:15+01:00 Killing Sent interrupt. Waiting 5s before force killing
2022-01-26T08:03:24+01:00 Terminated Exit Code: 0
2022-01-26T08:03:18+01:00 Started Task started by client
2022-01-26T08:01:20+01:00 Downloading Artifacts Client is downloading artifacts
2022-01-26T08:01:16+01:00 Task Setup Building Task Directory
2022-01-26T08:01:16+01:00 Received Task received by client
Task "xxx" is "running"
Task Resources
CPU Memory Disk Addresses
0/100 MHz 0 B/200 MiB 300 MiB
Max: 500 MiB
Task Events:
Started At = 2022-01-26T15:10:00Z
Finished At = N/A
Total Restarts = 2
Last Restart = 2022-01-26T15:08:50Z
Recent Events:
Time Type Description
2022-01-26T16:21:15+01:00 Killing Sent interrupt. Waiting 5s before force killing
2022-01-26T16:10:00+01:00 Started Task started by client
2022-01-26T16:08:50+01:00 Restarting Task restarting in 1m9.801230412s
2022-01-26T16:08:50+01:00 Terminated Exit Code: 0
2022-01-26T15:52:48+01:00 Started Task started by client
2022-01-26T15:51:43+01:00 Restarting Task restarting in 1m4.151514396s
2022-01-26T08:03:29+01:00 Started Task started by client
2022-01-26T08:03:25+01:00 Task Setup Building Task Directory
2022-01-26T08:01:16+01:00 Received Task received by client
Output from nomad alloc status 0a3dac7b-8377-d0f2-8eb6-9b85bd0c6d39
ID = 0a3dac7b-8377-d0f2-8eb6-9b85bd0c6d39
Eval ID = 187ba4e3
Name = xxx.xxx[0]
Node ID = 1b82983e
Node Name = VMSDFWIN00000E
Job ID = xxx
Job Version = 32
Client Status = pending
Client Description = <none>
Desired Status = run
Desired Description = <none>
Created = 17h7m ago
Modified = 18m41s ago
Deployment ID = 7338489c
Deployment Health = unset
Allocation Addresses
Label Dynamic Address
*xxx yes 11.0.2.4:2829
Metadata
Metadata
Assignees
Labels
No labels