~comcloudway/ansible-srht

1dbd721c528876bf551d8652202e568bd9b277f1 — Jakob Meier 1 year, 17 days ago 10cca97
Added additional troubleshooting steps
1 files changed, 8 insertions(+), 2 deletions(-)

M docs/TROUBLESHOOTING.md
M docs/TROUBLESHOOTING.md => docs/TROUBLESHOOTING.md +8 -2
@@ 22,8 22,14 @@ Example log output:
qemu-system-x86_64: terminating on signal 15 from pid 1261 (/bin/sh)
```

This might be related to modules not being loaded on the host.
For me modprobing `ext4` solved this issue.
This might happen when running on slower systems, and your qemu VM takes longer than two minutes to become ready.
So far your only option is cloning the [builds.sr.ht](https://git.sr.ht/~sircmpwn/builds.sr.ht/) repo and manually changing it.
Afterwards edit the following line in the [worker/tasks.go]() file:
> timeout, cancel := context.WithTimeout(ctx.Context, 120*time.Second)
For example you could increase the timeout to 5 minutes:
> timeout, cancel := context.WithTimeout(ctx.Context, 5*60*time.Second)
Now rebuild the runner using `go build` in the `worker` directory and copy the generated executable to `/usr/bin/builds.sr.ht-worker`
and restart the worker.

### ssh builds@runner or git@git asks for a password
This implies that the playbook was unable reset the password for the given account.