Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-21 Thread Kevin LaTona
On Mar 21, 2016, at 2:26 AM, Andrey Repin wrote: Greetings, Mahesh Patade! > Hi, > here is simple and sweet how to on bridge networking. > > https://insights.ubuntu.com/2015/11/10/converting-eth0-to-br0-and-getting-all-your-lxc-or-lxd-onto-your-lan/ > Google is your

[lxc-users] Accessing LXD remote error --509: cannot validate certificate

2016-03-13 Thread Kevin LaTona
I built LXD for OS X and at one point had it working with some earlier tests back a few months ago, but not it’s choking on me. When I issue this call from a OS X terminal window lxc info host50:c1 I am getting this error: error: Get https://192.168.0.50:8443/1.0/containers/c1: x509: cannot

Re: [lxc-users] LXD 2.0.0.rc2 -- IP Tables -- Ubuntu 15.10 -- not responding

2016-03-12 Thread Kevin LaTona
In case some one comes upon this via a google search with the same problem in the future. The iptable rules shown do work The problem was a small typo I missed in one of them. -Kevin > On Mar 10, 2016, at 6:53 PM, Kevin LaTona <li...@studiosola.com> wrote: > > I jus t

[lxc-users] LXD 2.0.0.rc2 -- IP Tables -- Ubuntu 15.10 -- not responding

2016-03-10 Thread Kevin LaTona
I jus tried installing 15.10 on a 3 different test servers with LXD 2.0.0.rc2. The ip tables rules I had been using with 14.04 would not work. Here is an example: iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 8080 -j DNAT --to-destination 10.0.3.250:8080 iptables -A FORWARD -p tcp -d

Re: [lxc-users] lxd not providing port 8443

2015-08-11 Thread Kevin LaTona
Hey Mark, There was an issue like this back around 0.8 but it was fixed. See if this link gives you any clues. https://github.com/lxc/lxd/issues/550 Or go back through LXD list from around May 2015 as it sounds like the Unix socket is not running. -Kevin On Aug 11, 2015, at 9:16 PM, Mark

[lxc-users] Feature request -- LXC CLI output options

2015-08-07 Thread Kevin LaTona
A feature request allow the end user to config and decide whiter the output from a LXC CLI call returns either as a JSON dict or stdout text? -Kevin ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org

Re: [lxc-users] LXD + OS X

2015-08-01 Thread Kevin LaTona
On Aug 1, 2015, at 2:03 AM, Stéphane Graber stgra...@ubuntu.com wrote: On Fri, Jul 31, 2015 at 09:26:28PM -0700, Kevin LaTona wrote: I just tried to add a remote host as per the LXC docs like this lxc remote add host-a https://192.168.50.1:8443 It's now asking for a admin password

Re: [lxc-users] LXD + OS X

2015-07-31 Thread Kevin LaTona
I just tried to add a remote host as per the LXC docs like this lxc remote add host-a https://192.168.50.1:8443 It's now asking for a admin password. I give it my Ubuntu test server admin password and it choked. I looked around LXC docs to see if there some default admin password and did

Re: [lxc-users] LXD + OS X

2015-07-31 Thread Kevin LaTona
this… thanks. -Kevin On Jul 30, 2015, at 11:44 PM, Tycho Andersen tycho.ander...@canonical.com wrote: On Thu, Jul 30, 2015 at 03:27:44PM -0700, Kevin LaTona wrote: Thanks Bill, that got me closer but it still is not working. When I do a make I get back lxd kevin$ make go get -v -d

Re: [lxc-users] LXD + OS X

2015-07-31 Thread Kevin LaTona
is smoking along here and folks are slammed. But right now there is zero docs about how to make this happen make a LXC client run on a OS X machine. Any thoughts from anyone who has it running under OS X are welcomed. -Kevin On Jul 31, 2015, at 12:50 PM, Kevin LaTona li...@studiosola.com wrote

Re: [lxc-users] LXD + OS X

2015-07-31 Thread Kevin LaTona
version == 1.4 If the same steps don't work for you, please copy in the error message you're seeing and I'll try to help out. Thanks! -mike On Fri, Jul 31, 2015 at 1:12 PM, Kevin LaTona li...@studiosola.com wrote: I just walked through a bunch of path levels trying to see what

Re: [lxc-users] LXD + OS X

2015-07-30 Thread Kevin LaTona
wrong here? -Kevin On Jul 25, 2015, at 7:17 AM, Stéphane Graber stgra...@ubuntu.com wrote: On Fri, Jul 24, 2015 at 06:30:07PM -0700, Kevin LaTona wrote: This is the first release of LXD where the client may be built on operating systems other than Linux. At the moment, MacOS X has

Re: [lxc-users] LXD + OS X

2015-07-30 Thread Kevin LaTona
If anyone is running the client on OS X and has it working…… any insights would be helpful. Thanks -Kevin On Jul 30, 2015, at 12:57 PM, Bill Anderson bill.ander...@rackspace.com wrote: On Jul 30, 2015, at 2:23 PM, Kevin LaTona li...@studiosola.com wrote: Looking for any GO people

Re: [lxc-users] LXD + OS X

2015-07-25 Thread Kevin LaTona
On Jul 25, 2015, at 7:17 AM, Stéphane Graber stgra...@ubuntu.com wrote: On Fri, Jul 24, 2015 at 06:30:07PM -0700, Kevin LaTona wrote: This is the first release of LXD where the client may be built on operating systems other than Linux. At the moment, MacOS X has been confirmed to work

[lxc-users] LXD + OS X

2015-07-24 Thread Kevin LaTona
This is the first release of LXD where the client may be built on operating systems other than Linux. At the moment, MacOS X has been confirmed to work and Windows is known not to work, other Unix may work too but haven't been tested. I noticed this on the Linux Containers.org

[lxc-users] LXD server's HTTP header mime type appears to be incorrect

2015-06-13 Thread Kevin LaTona
Typically when a JSON object is being returned it should be set as Content-Type: application/json and not set to text/plain as some client code may flag it as an error even though one can still read it. ('HTTP/1.0 200 OK\r\nDate: Sat, 13 Jun 2015 23:00:34 GMT\r\nContent-Length:

Re: [lxc-users] LXD newbie question

2015-05-29 Thread Kevin LaTona
to verfiy LDX is running in terminal do a: ps aux | grep lxd this example shows LXD us running if you are not seeing some thing like than it's not running root 783 0.0 0.2 436592 19584 ?Ssl May26 0:15 /usr/bin/lxd --group lxd --tcp [::]:8443 this will tell what version

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-29 Thread Kevin LaTona
On May 22, 2015, at 9:39 PM, Tycho Andersen tycho.ander...@canonical.com wrote: On Fri, May 22, 2015 at 09:32:05PM -0700, Kevin LaTona wrote: On May 22, 2015, at 9:13 PM, Tycho Andersen tycho.ander...@canonical.com wrote: On Fri, May 22, 2015 at 05:14:06PM -0700, Kevin LaTona wrote

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-28 Thread Kevin LaTona
After chasing down all kind of SSL errors coming from every which way and as it turns out for the most part not from the LDX server . This shift to using TLSv1.2 in LDX server is a big deal at the OS level on older machines. Save yourself loads of time and run ( openssl version ) in terminal.

[lxc-users] How to remove old trusted certs from LXD server

2015-05-28 Thread Kevin LaTona
I tried the lxc config trust remove call and it's not working for me. This is how I sent in some test calls to delete past cert's. lxc config trust remove 40 8b 09 af a6 c7 75 41 ff 97 5c 97 79 61 75 39 75 47 3a 57 b6 10 c7 96 52 04 7a f0 76 a3 d6 60 It did nothing so I removed the spaced and

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-26 Thread Kevin LaTona
On May 26, 2015, at 4:37 PM, Tycho Andersen tycho.ander...@canonical.com wrote: Hi Kevin, On Mon, May 25, 2015 at 07:38:12PM -0700, Kevin LaTona wrote: On May 25, 2015, at 12:16 PM, Kevin LaTona li...@studiosola.com wrote: The simplest way I found so far to connect from a Mac running

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-25 Thread Kevin LaTona
If one is using Mac OS X 10.8.5, Python 2.7.9, Requests or Curl, unless you can get them config'd to work with TLS1_2, the LXD rest server is not going to work for you. The simplest way I found so far to connect from a Mac running 10.8.5 to the LDX 0.9 rest server is using a Python

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-23 Thread Kevin LaTona
can do this by: lxc config set password foo lxc remote add local 127.0.0.1:8443 wget --no-check-certificate https://127.0.0.1:8443/1.0/finger --certificate=$HOME/.config/lxc/client.crt --private-key=$HOME/.config/lxc/client.key -O - -q 2015-05-23 21:13 GMT+02:00 Kevin LaTona li

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-23 Thread Kevin LaTona
. -Kevin 2015-05-23 7:53 GMT+02:00 Kevin LaTona li...@studiosola.com: On May 22, 2015, at 10:33 PM, Kevin LaTona li...@studiosola.com wrote: Ok, but you are testing with a curl that does not support TLS. That is why you cannot connect to that particular LXD instance. Depending

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-23 Thread Kevin LaTona
I am still sorting out issues with OS X SSL certs OS things. In between that I just ran a test from a LXC container running on my local Vivid host. Earlier today I re-ran the lxc remote add lxc-org images.linuxcontainers.org call replacing all files at /root/.config/lxc with new in case

Re: [lxc-users] using lxc to run untrusted code

2015-05-22 Thread Kevin LaTona
. -Kevin On May 22, 2015, at 6:23 PM, Kevin LaTona li...@studiosola.com wrote: Alex, I would say yes, depending on you final needs it is possible to do what you are asking for. Back at PyCon 2013 during a Lighting talk when Docker was first shown publicly what you are asking for kind

Re: [lxc-users] LXC shell argument -- what, what and how

2015-05-22 Thread Kevin LaTona
Cool …. never had I need to do something like that before now. Thanks…. -Kevin On May 22, 2015, at 8:25 PM, Mark Constable ma...@renta.net wrote: On Fri, 22 May 2015 08:06:13 PM Kevin LaTona wrote: Can any one clue me in on what the -- is used for in the lxc exec call? It's a shell

[lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-22 Thread Kevin LaTona
This past week or so I ran into an issue of not being able to connect a test LXD rest server on my local network. I've tested this problem out from pretty much every angle I can think of. Every thing from fresh OS, server, SSL lib installs to upgrades of current running apps on my machines.

[lxc-users] LXC shell argument -- what, what and how

2015-05-22 Thread Kevin LaTona
Can any one clue me in on what the -- is used for in the lxc exec call? So far I can't seem to find anything about it in the docs. Not sure if it is a LDX thing or Shell thing or a Linux thing. -Kevin ___ lxc-users mailing list

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-22 Thread Kevin LaTona
On May 22, 2015, at 10:33 PM, Kevin LaTona li...@studiosola.com wrote: Ok, but you are testing with a curl that does not support TLS. That is why you cannot connect to that particular LXD instance. Depending on the OS and distribution, other LXD instances may still support SSL. I

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-22 Thread Kevin LaTona
accepts SSL. Op 23 mei 2015 02:14 schreef Kevin LaTona li...@studiosola.com: This past week or so I ran into an issue of not being able to connect a test LXD rest server on my local network. I've tested this problem out from pretty much every angle I can think of. Every thing from fresh OS

Re: [lxc-users] What is the best way to report bug issues with LXD rest server?

2015-05-22 Thread Kevin LaTona
to that particular LXD instance. Depending on the OS and distribution, other LXD instances may still support SSL. Op 23 mei 2015 07:12 schreef Kevin LaTona li...@studiosola.com: Thanks… but I actually have no plans to use Curl. It was the only tool I had that I could test all the various connections

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
Can I ask is any one else on this list using the LXD rest api calls yet? If yes, is it working for you? If yes, what OS and App are you using to do this with? Thanks -Kevin ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
rest server is having issues right now. From all I've read it seems more like a server problem and less of a client problem happening here. But by no means am I SSL expert on the finer points of SSL issues deep under the hood. Thanks -Kevin On May 20, 2015, at 8:50 AM, Kevin LaTona li

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
On May 20, 2015, at 11:56 AM, Tycho Andersen tycho.ander...@canonical.com wrote: Hi Kevin, On Wed, May 20, 2015 at 09:59:33AM -0700, Kevin LaTona wrote: New twist I would of assumed that using a browser would get some kind of response from LXD rest server. Safari would not connect

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
On May 19, 2015, at 5:28 PM, Tycho Andersen tycho.ander...@canonical.com wrote: LXD requires TLS 1.2, it looks like perhaps the build of ssl your python-requests is linked against doesn't provide it. So far from what I have been able to find and read this makes LDX Rest APi a show

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
:11PM -0700, Kevin LaTona wrote: Here is the last bits of test….. best I know from requests docs this should work to get some kind of a response. So far no matter how I try to connect to my LDX rest server I can't get past a ping… so at least it's running at some level is a start. Any

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
On May 19, 2015, at 3:07 PM, Tycho Andersen tycho.ander...@canonical.com wrote: On Tue, May 19, 2015 at 01:05:08PM -0700, Kevin LaTona wrote: Better yet any one on the list is doing this using the Python Requsts module? Hate to waste time drilling down into requests, if it's a LXD api

[lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
Right now when I am try sending in a test request call to the LXD rest api using the Python Requests library and it blows up. At this point no idea if what is going on is a Request library error or the LXD api webserver is choking here. Any one on this list using the LXD rest API yet? If

Re: [lxc-users] LXD can ping from container out, but not in from outside network

2015-05-16 Thread Kevin LaTona
both the local and outside network. Maybe I've looked at this to long now . -Kevin On May 16, 2015, at 9:00 PM, Mark Constable ma...@renta.net wrote: On Sat, 16 May 2015 08:03:26 PM Kevin LaTona wrote: With a LXD based LXC container what iptables magic does one need to be able to access

Re: [lxc-users] LXD assigning static IP's at start tp containers

2015-05-16 Thread Kevin LaTona
appreciated. -Kevin On May 15, 2015, at 10:54 PM, Kevin LaTona li...@studiosola.com wrote: I was reading about ways in legacy LXC of being able to have the DHCP server assign static IP's to containers at startup based upon container name. If one is using Ubuntu 15.04, systemd and LXD

[lxc-users] LXD can ping from container out, but not in from outside network

2015-05-16 Thread Kevin LaTona
With a LXD based LXC container what iptables magic does one need to be able to access these 10.0.3.x containers from outside that local network? So far I got it so I log into a 10.0.3.x based container and ping the outside world. But right now I am not able to go the other way. Spent a fair

Re: [lxc-users] LXD + Snappy Core

2015-05-14 Thread Kevin LaTona
On May 14, 2015, at 3:35 PM, Stéphane Graber stgra...@ubuntu.com wrote: On Thu, May 14, 2015 at 09:24:40AM -0600, Tycho Andersen wrote: On Wed, May 13, 2015 at 11:25:00PM -0700, Kevin LaTona wrote: I'm assuming LXD at some point will be running Snappy Core. Not trying to be pushy here

[lxc-users] LXD + Snappy Core

2015-05-14 Thread Kevin LaTona
I'm assuming LXD at some point will be running Snappy Core. Not trying to be pushy here, rather more curious if anyone has heard what the timeline of when a snappy core build might show up for LXD. Or if it's still too far out to worry about yet. Thanks -Kevin

Re: [lxc-users] LXD filepath of image tar ball stored on local server

2015-05-13 Thread Kevin LaTona
On May 13, 2015, at 6:19 AM, Tycho Andersen tycho.ander...@canonical.com wrote: On Tue, May 12, 2015 at 03:45:27PM -0700, Kevin LaTona wrote: Can anyone tell me what the ubuntu image tar ball filepath is on a local server after being downloaded ? /var/lib/lxd/images Thanks some

[lxc-users] LXD filepath of image tar ball stored on local server

2015-05-12 Thread Kevin LaTona
Can anyone tell me what the ubuntu image tar ball filepath is on a local server after being downloaded ? Thanks -Kevin ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] At startup LXD unix socket is not starting

2015-05-10 Thread Kevin LaTona
Maybe this is not the right place to ask this question but here goes. With a fresh install of ubuntu 15.04 server it appears to me that systemd is run by default at boot up time now. I would have assumed that as systemd is run, that the LXD and LXC scripts would auto run at boot time as well

Re: [lxc-users] Do you have LXD working with Ubuntu 15.04 server?

2015-05-08 Thread Kevin LaTona
PM, Tycho Andersen tycho.ander...@canonical.com wrote: On Fri, May 08, 2015 at 12:35:54PM -0700, Kevin LaTona wrote: So far LXD is not working for me, is it working for you? In a nutshell I downloaded new Ubuntu 15.04 server. Installed this on fresh clean server, nothing else

Re: [lxc-users] Thrilled to announce the the launch of Flockport.com to this list

2014-09-09 Thread Kevin LaTona
On Sep 9, 2014, at 12:49 PM, Tobby Banerjee to...@flockport.com wrote: Hi LXC users, I am extremely excited to announce the launch of Flockport.com to this list, its home so to speak. Sure looks like a great idea, that has appeared at the right moment in LXC's timeline. Have to think

Re: [lxc-users] Config settings and Python LXC Api calls

2014-08-28 Thread Kevin LaTona
is in there. Some days one just has to ask to verify. Nice work on this Python plugin by the way…. hard to believe more folks are not using it. -Kevin On Aug 28, 2014, at 6:10 PM, Stéphane Graber stgra...@ubuntu.com wrote: On Thu, Aug 28, 2014 at 05:56:29PM -0700, Kevin LaTona wrote: On Aug 27

Re: [lxc-users] Good current blog post about LXC

2014-08-28 Thread Kevin LaTona
://translate.google.com/translate?sl=frtl=enjs=yprev=_thl=enie=UTF-8u=http%3A%2F%2Fdelloye.org%2Flinux%2Flxc.htmledit-text=act=url On Aug 28, 2014, at 5:59 PM, Kevin LaTona li...@studiosola.com wrote: A few other blog links I wish I had found when I was first looking at LXC's that are not listed on https

[lxc-users] API docs for LXC Python calls

2014-08-22 Thread Kevin LaTona
I was looking for docs on the Python LXC API calls…... but it appears the link is not currently working. https://qa.linuxcontainers.org/master/current/doc/api/ https://linuxcontainers.org Any one know of any other links to other current Python API docs ? I've been reading and working through

Re: [lxc-users] Setting up LXC on Ubuntu 14.04

2014-08-11 Thread Kevin LaTona
or are setting up the /etc/network/interfaces doc? Thanks -Kevin On Aug 10, 2014, at 9:38 AM, Fajar A. Nugraha l...@fajar.net wrote: On Sun, Aug 10, 2014 at 10:15 PM, Kevin LaTona li...@studiosola.com wrote: Ranjib, Thanks for your ideas and yes I think it would be great if at some

Re: [lxc-users] Setting up LXC on Ubuntu 14.04

2014-08-11 Thread Kevin LaTona
On Aug 11, 2014, at 3:33 AM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, Aug 11, 2014 at 5:12 PM, Kevin LaTona li...@studiosola.com wrote: If you use a new bridge you don't need lxcbr0. If I create a config some thing like this on the Host. auto lo iface lo inet loopback