Skip to content

Conversation

@seamymckenna
Copy link
Contributor

We are seeing it quite regularly that it is taking over the 10min mark to provision all the vms for the compliance demo environment so have introduced an env var that can be used to account for this. Tested as shown below and working as expected;

POLL_ABS_TIMEOUT_SECONDS=30

Starting: plan comply_demo::demo_01_provision_machines
Starting: task provision::abs on localhost
Finished: task provision::abs with 1 failure in 37.03 sec
Finished: plan comply_demo::demo_01_provision_machines in 37.04 sec
Failed on localhost:
  Timeout: unable to get a 200 response in 30 seconds
Failed on 1 target: localhost

unset POLL_ABS_TIMEOUT_SECONDS

Starting: plan comply_demo::demo_01_provision_machines
Starting: task provision::abs on localhost
Finished: task provision::abs with 0 failures in 562.12 sec

POLL_DURATION_TIMOUT_SECONDS=900

Starting: plan comply_demo::demo_01_provision_machines
Starting: task provision::abs on localhost
Finished: task provision::abs with 0 failures in 664.98 sec

@seamymckenna seamymckenna requested a review from a team as a code owner February 20, 2023 11:28
@chelnak
Copy link
Contributor

chelnak commented Feb 20, 2023

@seamymckenna Just want to check that the original path still works for users that don't want to set that timeout?

@chelnak chelnak merged commit 4d16069 into main Feb 20, 2023
@chelnak chelnak deleted the add_env_for_abs_polling_duration branch February 20, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants