summaryrefslogtreecommitdiff
path: root/doc/TROUBLESHOOTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/TROUBLESHOOTING.md')
-rw-r--r--doc/TROUBLESHOOTING.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/TROUBLESHOOTING.md b/doc/TROUBLESHOOTING.md
index b16b3431..07388105 100644
--- a/doc/TROUBLESHOOTING.md
+++ b/doc/TROUBLESHOOTING.md
@@ -41,3 +41,14 @@ apt install libvirt-dev
* On Debian distros SELinux is enforced by qemu even if it is disabled globally, this might cause unexpected `Could not open '/var/lib/libvirt/images/<FILE_NAME>': Permission denied` errors. Double check that `security_driver = "none"` is uncommented in `/etc/libvirt/qemu.conf` and issue `sudo systemctl restart libvirt-bin` to restart the daemon.
+## Cannot get terraform (building from src)
+
+When trying to build the pkg from source, you get **cannot find package "context"
+´´´console
+go build
+../../go/src/github.com/dmacvicar/terraform-provider-libvirt/vendor/github.com/hashicorp/terraform/terraform/context.go:4:2: cannot find package "context" in any of:
+ ...
+´´´
+Install the latest golang version.
+
+https://github.com/hashicorp/terraform/issues/12470