summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalloZup <dmaiocchi@suse.com>2017-11-05 13:20:53 +0100
committerFlavio Castelli <flavio@castelli.me>2017-11-07 18:04:56 +0100
commita6f137024b0e61e2d6c67c7cb0195493a38d3815 (patch)
treeb61c6a336a3fdd29174f66f5501d3b094bc5aca2
parentd3156d4b640c4605dec49fb1c1075d72dc2d7301 (diff)
downloadterraform-provider-libvirt-a6f137024b0e61e2d6c67c7cb0195493a38d3815.tar
terraform-provider-libvirt-a6f137024b0e61e2d6c67c7cb0195493a38d3815.tar.gz
Add note about latest golang version required
-rw-r--r--README.md1
-rw-r--r--doc/TROUBLESHOOTING.md11
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5d41a367..180092cc 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ servers on a [libvirt](https://libvirt.org/) host via [Terraform](https://terraf
## Requirements
* libvirt 1.2.14 or newer on the hypervisor
+* latest golang version
The provider uses `virDomainInterfaceAddresses` which was added in 1.2.14. If you need a stable server distribution with a recent libvirt version, try [openSUSE Leap](https://www.opensuse.org/) or [Ubuntu](http://www.ubuntu.com/server) (from version 15.10 Wily Werewolf on).
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