Skip to content

Commit

Permalink
fix: add a troubleshooting update to the loadtesting docs (#26415)
Browse files Browse the repository at this point in the history
> no issue. something I ran into the last loadtest I ran.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Manual QA for all new/changed functionality
  • Loading branch information
jahzielv authored Feb 18, 2025
1 parent fc33df1 commit 6e3d6dd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions infrastructure/loadtesting/terraform/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,22 @@ provider "docker" {
}
[...]
```
If you are getting the following error when running `terraform apply`:
```sh
│ Error: Error building docker image: 1: The command '/bin/sh -c git clone -b $TAG --depth=1 --no-tags --progress --no-recurse-submodules https://github.com/fleetdm/fleet.git && cd /go/fleet/cmd/osquery-perf/ && go build .' returned a non-zero code: 1
│ with docker_registry_image.loadtest,
│ on ecr.tf line 46, in resource "docker_registry_image" "loadtest":
│ 46: resource "docker_registry_image" "loadtest" {
```
1. Check your Docker virtual machine settings. Open Docker Desktop, then open the settings (`cmd-,`
or the gear in the top right of the screen). Scroll down to the "Virtual Machine Options"
section.
2. If you currently have the "Apple virtualization framework" setting selected, select the "Docker
VMM" option instead. Click "Apply & restart" in the bottom right.
Once Docker has restarted, re-run `terraform apply` and you should be good to go!

0 comments on commit 6e3d6dd

Please sign in to comment.