Skip to content

feat: improve timeout handling#279

Merged
rwaffen merged 1 commit intovoxpupuli:mainfrom
rwaffen:improve_timeouts
Mar 13, 2026
Merged

feat: improve timeout handling#279
rwaffen merged 1 commit intovoxpupuli:mainfrom
rwaffen:improve_timeouts

Conversation

@rwaffen
Copy link
Copy Markdown
Member

@rwaffen rwaffen commented Mar 12, 2026

No description provided.

@rwaffen rwaffen added the enhancement New feature or request label Mar 12, 2026
@rwaffen
Copy link
Copy Markdown
Member Author

rwaffen commented Mar 12, 2026

test run with updates

[root@puppet production]# bolt plan run os_patching::patch_group group=patching01 batch_size=2 run_health_check=false timeout=3600
Starting: plan os_patching::patch_group
patch_group.pp: Patching group: patching01
patch_group.pp: Targets in group: [puppet.priv.example.com, student3.priv.example.com, student4.priv.example.com, student2.priv.example.com, student1.priv.example.com]
patch_group.pp: Patching in batches is true
patch_group.pp: Patching in batches of size: 2
patch_group.pp: Patching batches created: [[puppet.priv.example.com, student3.priv.example.com], [student4.priv.example.com, student2.priv.example.com], [student1.priv.example.com]]
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [puppet.priv.example.com, student3.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on puppet.priv.example.com, student3.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 63.68 sec
Finished: plan os_patching::patch_batch in 1 min, 4 sec
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [student4.priv.example.com, student2.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on student4.priv.example.com, student2.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 66.03 sec
Finished: plan os_patching::patch_batch in 1 min, 6 sec
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [student1.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on student1.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 91.13 sec
Finished: plan os_patching::patch_batch in 1 min, 31 sec
Finished: plan os_patching::patch_group in 3 min, 41 sec
{
  "failed": [

  ],
  "health_check": false,
  "health_check_failed": [

  ],
  "no_patches": [
    "puppet.priv.example.com"
  ],
  "reboot_pattern": null,
  "reboot_required": [

  ],
  "targets": [
    "puppet.priv.example.com",
    "student3.priv.example.com",
    "student2.priv.example.com",
    "student4.priv.example.com",
    "student1.priv.example.com"
  ],
  "with_patches": [
    "student3.priv.example.com",
    "student4.priv.example.com",
    "student2.priv.example.com",
    "student1.priv.example.com"
  ]
}

@rwaffen
Copy link
Copy Markdown
Member Author

rwaffen commented Mar 12, 2026

test run without updates

[root@puppet production]# bolt plan run os_patching::patch_group group=patching01 batch_size=2 run_health_check=false timeout=3600
Starting: plan os_patching::patch_group
patch_group.pp: Patching group: patching01
patch_group.pp: Targets in group: [student2.priv.example.com, puppet.priv.example.com, student3.priv.example.com, student4.priv.example.com, student1.priv.example.com]
patch_group.pp: Patching in batches is true
patch_group.pp: Patching in batches of size: 2
patch_group.pp: Patching batches created: [[student2.priv.example.com, puppet.priv.example.com], [student3.priv.example.com, student4.priv.example.com], [student1.priv.example.com]]
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [student2.priv.example.com, puppet.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on student2.priv.example.com, puppet.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 31.55 sec
Finished: plan os_patching::patch_batch in 31.56 sec
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [student3.priv.example.com, student4.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on student3.priv.example.com, student4.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 34.04 sec
Finished: plan os_patching::patch_batch in 34.05 sec
Starting: plan os_patching::patch_batch
patch_batch.pp: Patching batch of nodes: [student1.priv.example.com]
patch_batch.pp: Health check is false.
Starting: task os_patching::patch_server on student1.priv.example.com
Finished: task os_patching::patch_server with 0 failures in 47.13 sec
Finished: plan os_patching::patch_batch in 47.14 sec
Finished: plan os_patching::patch_group in 1 min, 53 sec
{
  "failed": [

  ],
  "health_check": false,
  "health_check_failed": [

  ],
  "no_patches": [
    "student2.priv.example.com",
    "puppet.priv.example.com",
    "student3.priv.example.com",
    "student4.priv.example.com",
    "student1.priv.example.com"
  ],
  "reboot_pattern": null,
  "reboot_required": [

  ],
  "targets": [
    "puppet.priv.example.com",
    "student2.priv.example.com",
    "student3.priv.example.com",
    "student4.priv.example.com",
    "student1.priv.example.com"
  ],
  "with_patches": [

  ]
}

@rwaffen rwaffen merged commit c4fde3f into voxpupuli:main Mar 13, 2026
14 checks passed
@rwaffen rwaffen deleted the improve_timeouts branch March 13, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants