<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div><br></div><div><br></div><div>Whew…… Tycho Thanks……...okay now it's making some progress for me….. got it going so far.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>This is what I found out over the last few days in case anyone else ends up on the same path I was trying to get LDX going.</div><div><br></div><div><br></div><div>Following these notes did not work for me <b><a href="https://www.stgraber.org/2015/04/21/lxd-getting-started/">https://www.stgraber.org/2015/04/21/lxd-getting-started/</a>     </b>so far.</div><div><br></div><div>Maybe I missed something along the way, but after numerous tries all I got was errors with 15.04 + LXC 0.8.1  as of earlier today</div><div><br></div><div><br></div><div><br></div><div>When I found these notes today <b> <a href="https://linuxcontainers.org/lxd/getting-started-cli/">https://linuxcontainers.org/lxd/getting-started-cli/</a></b></div><div><br></div><div><br></div><div style="font-size: 14px; "><b>It appeared changing over to ppa:ubuntu-lxc/lxd-git-master was what was needed to get me going again.</b></div><div><br></div><div><br></div><div><br></div><div><br></div><div>But as it was downloading using<b> lxd-images import lxc ubuntu trusty amd64 --alias ubuntu</b></div><div><br></div><div><b>I got this traceback message </b></div><div><br></div><div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/lxd-images", line 410, in <module></div><div>    args.func(parser, args)</div><div>  File "/usr/bin/lxd-images", line 361, in import_lxc</div><div>    if fingerprint in lxd.images_list():</div><div>  File "/usr/bin/lxd-images", line 99, in images_list</div><div>    status, data = self.rest_call("/1.0/images")</div><div>  File "/usr/bin/lxd-images", line 70, in rest_call</div><div>    self.lxd.request(method, path, data)</div><div>  File "/usr/lib/python3.4/http/client.py", line 1088, in request</div><div>    self._send_request(method, url, body, headers)</div><div>  File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request</div><div>    self.endheaders(body)</div><div>  File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders</div><div>    self._send_output(message_body)</div><div>  File "/usr/lib/python3.4/http/client.py", line 922, in _send_output</div><div>    self.send(msg)</div><div>  File "/usr/lib/python3.4/http/client.py", line 857, in send</div><div>    self.connect()</div><div>  File "/usr/bin/lxd-images", line 55, in connect</div><div>    sock.connect(self.path)</div><div>ConnectionRefusedError: [Errno 111] Connection refused</div></div><div><br></div><div><br></div><div>I still had no idea why it did that, but it put me dead in the water trying to figure out best next step to take.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>Tycho's suggestion of      service lxd start        seemed to kick start it again.</b></div><div><br></div><div><br></div><div>lxc launch images:ubuntu/trusty/i386 ubuntu-32</div><div><br></div><div><div>Creating container...done</div><div>Starting container...done</div><div><br></div><div><br></div><div><br></div><div><br></div><div>lxc list</div><div>+-----------+---------+------------+------+-----------+-----------+</div><div>|   NAME    |  STATE  |    IPV4    | IPV6 | EPHEMERAL | SNAPSHOTS |</div><div>+-----------+---------+------------+------+-----------+-----------+</div><div>| ubuntu-32 | RUNNING | 10.0.3.226 |      | NO        | 0         |</div><div>+-----------+---------+------------+------+-----------+-----------+</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>A few days ago I kept trying to grab images from the <a href="http://linuxcontainers.org">linuxcontainers.org</a> server and was getting errors all the time.</div><div><br></div><div><div>lxc remote add images <a href="http://images.linuxcontainers.org">images.linuxcontainers.org</a></div><div># error: remote images exists as <<a href="https://images.linuxcontainers.org:8443">https://images.linuxcontainers.org:8443</a>></div></div><div><br></div><div><br></div><div><br></div><div>After one last attempt were I got this</div><div><div>ConnectionRefusedError: [Errno 111] Connection refused</div><div><br></div><div><br></div><div><br></div><div>I used curl to try and manually download the image,.</div><div><br></div><div>That server which seems like it was bandwidth challenged at the time killed the download with 4MB's to go after 10 minutes of downloading.</div><div><br></div><div>curl <a href="https://images.linuxcontainers.org:8443/images/ubuntu/trusty/amd64/default/20150503_03:49/lxd.tar.xz">https://images.linuxcontainers.org:8443/images/ubuntu/trusty/amd64/default/20150503_03:49/lxd.tar.xz</a> -o lxd.tar.xz</div><div>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current</div><div>                                 Dload  Upload   Total   Spent    Left  Speed</div><div> 93 64.6M   93 60.1M    0     0   110k      0  0:09:57  0:09:15  0:00:42 33762curl: (18) transfer closed with 4739984 bytes remaining to read</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Hopefully others don't use those other document links for images unless I missed something on them.</div><div><br></div><div><b>When I found this link today <a href="https://linuxcontainers.org/lxd/getting-started-cli/">https://linuxcontainers.org/lxd/getting-started-cli/</a>  </b>as it stands right now it seems likes a better source for a first time test install on LXD.</div><div><br></div><div><br></div><div><br></div><div>I wish there was only one source location for all documents on how to get going with LXD.</div><div><br></div><div>While it's still so early and not much else on the web yet via google to find on the topic.</div><div><br></div><div>But having blog notes and even notes on Ubuntu's site seems like not the best place or way to get folks going on the code if it's old and outdated calls all ready.</div><div><br></div><div>No better way to burn out any one is to have documents from what one assumes is one of authority and for it not to work and then have no idea how else to get it going.</div><div><br></div><div><br></div><div>Well that's might thoughts on it.</div><div><br></div><div>Personally LXC to me just seems like the right way to solve this problem vs all the other ideas that are now floating about.</div><div><br></div><div><br></div><div><br></div><div><b>Finally I did just located this <a href="https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md">https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md</a></b></div><div><br></div><div>Which for anyone looking for the command calls list here they are.</div><div><br></div><div><br></div><div>Hopefully this is making some sense and I am happy to pass along what I found out as I first time installer on LDX as I have about 8 pages of notes from the steps I tried.</div><div><br></div><div><br></div><div>Honestly I figured maybe part of the time I might of been missing some key call some and then it choked no idea for sure right now.</div><div><br></div><div><br></div><div> But in these Wild, West early days that's darn easy to do and soild good docs to follow when the guys are cranking on getting the code out at the same time is tough.</div><div><br></div><div><br></div><div>-Kevin</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On May 8, 2015, at 5:06 PM, Tycho Andersen <<a href="mailto:tycho.andersen@canonical.com">tycho.andersen@canonical.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Fri, May 08, 2015 at 12:35:54PM -0700, Kevin LaTona wrote:<br><blockquote type="cite"><br>So far LXD is not working for me, is it working for you?<br><br>In a nutshell I downloaded new Ubuntu 15.04 server.<br><br>Installed this on fresh clean server, nothing else is on this machine.<br><br>I followed Stephane's blog post here line by line<br><br><a href="https://www.stgraber.org/2015/04/21/lxd-getting-started/">https://www.stgraber.org/2015/04/21/lxd-getting-started/</a><br><br>After several days of attempts I get nothing but errors.<br><br><br>This is an example of the last attempt.<br><br>lxc launch images:ubuntu/trusty/i386 ubuntu-32<br>Creating container...error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connection refused<br></blockquote><br>Looks like LXD isn't running. What if you start it and try again?<br><br>sudo service lxd start<br><br>Tycho<br><br><blockquote type="cite"><br><br>So my question is not that I am looking for direct answers to the problem.<br><br>Rather what I am looking for what now is.<br><br>Has anyone else taken a clean server and installed 15.04 and LDX on it using the current apt-get calls.<br><br><br>If you are getting it to work under this kind of install, can you point me to any web based docs that shows how you did that?<br><br><br>Thanks<br>-Kevin<br><br>_______________________________________________<br>lxc-users mailing list<br><a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>http://lists.linuxcontainers.org/listinfo/lxc-users<br></blockquote>_______________________________________________<br>lxc-users mailing list<br><a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>http://lists.linuxcontainers.org/listinfo/lxc-users</blockquote></div><br></body></html>