<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">On Ubutu 15.04 i did the following as par the instructions from <a href="http://linuxcontainers.org">linuxcontainers.org</a><br><br><pre>apt-get update
apt-get install lxd<br><br></pre><pre><span style="font-family:arial,helvetica,sans-serif">When i try to import an image</span><br><br>lxd-images import lxc ubuntu trusty amd64 --alias ubuntu<br><br></pre><pre><span style="font-family:arial,helvetica,sans-serif">I get the following message</span><br></pre><pre>LXD isn't running!<br></pre><pre><span style="font-family:arial,helvetica,sans-serif">So i think the instructions need to be updated to state that the daemon has to be manually <br>started like the old times.</span><br><br></pre><pre><span style="font-family:arial,helvetica,sans-serif">But after starting the daemon i am now getting the following error</span><br></pre><pre>Downloading the image: <a href="https://images.linuxcontainers.org/images/ubuntu/trusty/amd64/default/20150523_03:49/lxd.tar.xz">https://images.linuxcontainers.org/images/ubuntu/trusty/amd64/default/20150523_03:49/lxd.tar.xz</a><br>Validating the GPG signature of /tmp/tmp04sp57ye/ubuntu-trusty-amd64-default-20150523_03:49.tar.xz.asc<br>Traceback (most recent call last):<br> File "/usr/bin/lxd-images", line 410, in <module><br> args.func(parser, args)<br> File "/usr/bin/lxd-images", line 361, in import_lxc<br> if fingerprint in lxd.images_list():<br> File "/usr/bin/lxd-images", line 99, in images_list<br> status, data = self.rest_call("/1.0/images")<br> File "/usr/bin/lxd-images", line 70, in rest_call<br> self.lxd.request(method, path, data)<br> File "/usr/lib/python3.4/http/client.py", line 1088, in request<br> self._send_request(method, url, body, headers)<br> File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request<br> self.endheaders(body)<br> File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders<br> self._send_output(message_body)<br> File "/usr/lib/python3.4/http/client.py", line 922, in _send_output<br> self.send(msg)<br> File "/usr/lib/python3.4/http/client.py", line 857, in send<br> self.connect()<br> File "/usr/bin/lxd-images", line 55, in connect<br> sock.connect(self.path)<br>PermissionError: [Errno 13] Permission denied<br></pre><pre><span style="font-family:arial,helvetica,sans-serif">And eventhough i below to the lxd group (and i did newgrp) i had to repeat the above command with sudo and then <br>the permission error went away.<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Can the page be updated with this info also please. Let me know if did something wrong.<br></span><br></pre><pre>Regards,<br></pre><br></div></div>