summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDario Maiocchi <dmaiocchi@suse.com>2017-11-07 20:05:41 +0100
committerMalloZup <dmaiocchi@suse.com>2017-11-08 11:04:09 +0100
commita5c950c527e451c843840378242fa38754994388 (patch)
tree82105d8c382b828b1c98b58d92860994eeba045d /doc
parenta6f137024b0e61e2d6c67c7cb0195493a38d3815 (diff)
downloadterraform-provider-libvirt-a5c950c527e451c843840378242fa38754994388.tar
terraform-provider-libvirt-a5c950c527e451c843840378242fa38754994388.tar.gz
Use the right markdown for doc troublesh.
Diffstat (limited to 'doc')
-rw-r--r--doc/TROUBLESHOOTING.md30
1 files changed, 17 insertions, 13 deletions
diff --git a/doc/TROUBLESHOOTING.md b/doc/TROUBLESHOOTING.md
index 07388105..dc9d1127 100644
--- a/doc/TROUBLESHOOTING.md
+++ b/doc/TROUBLESHOOTING.md
@@ -26,29 +26,33 @@ apt install libvirt-dev
## Bug in libvirt
-* There is a [bug in libvirt](https://bugzilla.redhat.com/show_bug.cgi?id=1293804) that seems to be causing
- problems to unlink volumes. Tracked [here](https://github.com/dmacvicar/terraform-provider-libvirt/issues/6).
+There is a [bug in libvirt](https://bugzilla.redhat.com/show_bug.cgi?id=1293804) that seems to be causing
+problems to unlink volumes. Tracked [here](https://github.com/dmacvicar/terraform-provider-libvirt/issues/6).
- If you see something like:
+If you see something like:
- ```console
- cannot unlink file '/var/lib/libvirt/images/XXXXXXXXXXXX': Permission denied
- ```
- It is probably related and fixed in libvirt 1.3.3 (already available in openSUSE Tumbleweed).
+```console
+cannot unlink file '/var/lib/libvirt/images/XXXXXXXXXXXX': Permission denied
+```
+
+It is probably related and fixed in libvirt 1.3.3 (already available in openSUSE Tumbleweed).
## Selinux on Debian distros
-* 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.
+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)
+## cannot find the "context" package (when building from src)
-When trying to build the pkg from source, you get **cannot find package "context"
-´´´console
+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