Re: [lxc-users] Error: Error opening startup config file: "loading config file for the container failed" after upgrading to LXD 3.0.1

2018-07-03 Thread Simos Xenitellis
Hi! I suppose there is something specific to your installation that gives this issue. There is not enough information yet apart from the error message regarding the container configuration. You can lxc list ^webpagetest$ lxc config show --expanded webpagetest Also, you can append `--debug` to

[lxc-users] GUI apps in containers, updated guide

2018-06-26 Thread Simos Xenitellis
Hi All, I updated the guide on running GUI apps in LXD containers, https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ Now it is much more automated and easier to use. Especially, if you use the snap package of LXD, you can just

Re: [lxc-users] openvpn in container starts manually, but not via init script?

2018-06-25 Thread Simos Xenitellis
Most likely it is the limitNPROC issue. Specifically, there is a configuration option for limitNPROC to 10 in the configuration of OpenVPN. Normally, that should be fine because OpenVPN does not appear to launch more than 10 processes. However, the mere existence of the limit might be causing the

Re: [lxc-users] Macvlan explained

2018-05-04 Thread Simos Xenitellis
On Fri, May 4, 2018 at 10:34 AM, Michel Jansens wrote: > Hi, > > I just stumbled on this site and thought it would be nice to share: > > https://hicu.be/bridge-vs-macvlan > > It nicely explains how Macvlan work and how it compares with normal bridges. > In the case of

Re: [lxc-users] Inotify does not work in a privileged container

2018-04-21 Thread Simos Xenitellis
According to this, https://github.com/lxc/lxd/issues/2004 the "Failed to reset devices.list ..." can be ignored. There should be some additional lines earlier (not shown) that have a hint towards the real issue. This "InCronD" is probably using "inotify". Search for "inotify" at

Re: [lxc-users] How to get rid of pesky extra dhcp IP

2018-04-10 Thread Simos Xenitellis
These 192.168.111.x IP addresses are not LXD default private IP addresses. Have you configured a bridge or a macvlan? Simos On Sat, Apr 7, 2018 at 11:16 PM, jjs - mainphrame wrote: > Greetings, > > Running lxd-3.0.0 on ubuntu 18.04 beta > > I've set up a couple of new 16.04

Re: [lxc-users] LXD project status

2018-03-30 Thread Simos Xenitellis
that gets the .deb package and will keep having it until 2018+5=2023. Ubuntu 16.04 will keep having LXD 2.0.x from the deb repositories until 2016+5=2021. Is it such an issue to have the snap version of LXD? Simos > > On 3/29/2018 8:44 PM, Simos Xenitellis wrote: > > On Thu, Mar 29,

Re: [lxc-users] LXD project status

2018-03-29 Thread Simos Xenitellis
On Thu, Mar 29, 2018 at 4:32 AM, gunnar.wagner wrote: > > > On 3/28/2018 2:45 AM, Michel Jansens wrote: >> >> Does this means LXD 3.0 will be part of Ubuntu 18.04 next month? > > I guess (as LXD is using snap packages by default, right) it's not a matter > of

Re: [lxc-users] "ps auxf" always showing 0.0% for CPU usage in LXD container?

2018-03-28 Thread Simos Xenitellis
On Wed, Mar 21, 2018 at 7:03 PM, Tomasz Chmielewski wrote: > Let's run this in a LXD container: > > container# cat /dev/urandom|gzip - >/dev/null > > > Then see what CPU usage "ps auxf" shows (3rd column): > > container# ps auxf > USER PID %CPU %MEMVSZ RSS TTY

Re: [lxc-users] State of using docker in LXD

2017-11-01 Thread Simos Xenitellis
I got it running without doing something very special, according to https://blog.simos.info/how-to-run-docker-in-a-lxd-container/ There is the issue with the storage driver, being vfs. What storage backend do you have for your LXD installation? Simos On Fri, Oct 27, 2017 at 3:25 PM, Björn

Re: [lxc-users] Is there a reference manual about LXD ?

2017-10-25 Thread Simos Xenitellis
On Sat, Oct 21, 2017 at 3:34 AM, Pierre Couderc wrote: > Sorry, I have not fount it. > > I have installed LXD on stretch following Stéphane > https://stgraber.org/2017/01/18/lxd-on-debian. > > Fine ! an infinite progress after my successful install of lxc on jessie, > it

Re: [lxc-users] Need help to reinstall lxd

2017-09-25 Thread Simos Xenitellis
Hi Vincent, You may find of help the following blog post, https://blog.simos.info/how-to-initialize-lxd-again/ It talks about reinstalling LXD and how to deal with common issues. I did not notice a "error: Invalid version format: Dnsmasq" before. LXD installs and uses the package "dnsmasq-base".

Re: [lxc-users] Forwarding DNS requests to the host /etc/hosts file

2017-05-31 Thread Simos Xenitellis
On Wed, May 31, 2017 at 1:46 PM, Adil Baig wrote: > I have several containers running on host machines. The host machine is part > of a LAN network. Each host has an update /etc/hosts file with domain names > to other LAN entities. > > My problem is I cannot use the

Re: [lxc-users] HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

2017-05-20 Thread Simos Xenitellis
d these commands to the turorial! Simos > Regards, > Max > > On 4 May 2017 at 18:56, Simos Xenitellis <simos.li...@googlemail.com> wrote: >> >> On Thu, May 4, 2017 at 10:52 AM, Lago Gonzalez, Diego >> <diego.lago-gonza...@hp.com> wrote: >> > &g

Re: [lxc-users] HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

2017-05-04 Thread Simos Xenitellis
ese things. There should be bugs and issues waiting to be discovered and reported. Simos > — > Diego Lago > > > -Original Message- > From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On > Behalf Of Simos Xenitellis > Sent: jueves, 04 de mayo de 20

Re: [lxc-users] HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

2017-05-04 Thread Simos Xenitellis
On Thu, May 4, 2017 at 10:56 AM, T.C 吳天健 wrote: > Per my previous mail mentioned 'chrome working but not gain 3d acceleration' > was documented and shared as > https://docs.google.com/presentation/d/1DcxNYlXgYLIWKQG8sbg8POk-uxl9I1Kgi9W3ti_1MbQ/edit?usp=sharing > > The report

[lxc-users] HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

2017-05-03 Thread Simos Xenitellis
Hi All, I completed the tutorial on how to run graphics-accelerated GUI apps in (local) LXD containers, https://blog.simos.info/how-to-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ Compared to the previous post, this one has sound and also shows how to create a

Re: [lxc-users] How to run GUI apps in an LXD container (with graphics acceleration)

2017-05-02 Thread Simos Xenitellis
On Tue, May 2, 2017 at 5:09 PM, <sjo...@sjomar.eu> wrote: > May 2, 2017 1:19 PM, "Simos Xenitellis" <simos.li...@googlemail.com> wrote: > >> Hi All! >> >> I wrote the following on how to run GUI apps in an LXD container, >> https://blog.simos

[lxc-users] How to run GUI apps in an LXD container (with graphics acceleration)

2017-05-02 Thread Simos Xenitellis
Hi All! I wrote the following on how to run GUI apps in an LXD container, https://blog.simos.info/how-to-run-wine-graphics-accelerated-in-an-lxd-container-on-ubuntu/ The common case is when we run already Ubuntu desktop and we want to get a GUI app to run in a container and the window to appear

Re: [lxc-users] Running LXD on those new ARM64 cloud servers by Scaleway

2017-05-01 Thread Simos Xenitellis
On Sat, Apr 29, 2017 at 10:41 AM, Fajar A. Nugraha <l...@fajar.net> wrote: > On Fri, Apr 28, 2017 at 8:20 PM, Simos Xenitellis > <simos.li...@googlemail.com> wrote: >> >> Hi All, >> >> I've put together my notes about running LXD on those new ARM64 c

[lxc-users] Running LXD on those new ARM64 cloud servers by Scaleway

2017-04-28 Thread Simos Xenitellis
Hi All, I've put together my notes about running LXD on those new ARM64 cloud servers by Scaleway. tl;dr: 1. These are inexpensive cloud servers. Not baremetal, but KVM. On ARM64 (Cavium ThunderX) hardware. 2. The Linux kernel lacks ZFS support, thus requires to compile it by hand. Takes time

Re: [lxc-users] lxd init - howto

2017-04-28 Thread Simos Xenitellis
On Sat, Apr 22, 2017 at 5:11 AM, gunnar.wagner <gunnar.wag...@netcologne.de> wrote: > hi Simos, > > On 4/21/2017 7:47 PM, Simos Xenitellis wrote: >> >> On Fri, Apr 21, 2017 at 1:33 PM, gunnar.wagner >> <gunnar.wag...@netcologne.de> wrote: >>> >&

Re: [lxc-users] Short howto re lxd-container-on-LAN for impatient dummies?

2017-04-23 Thread Simos Xenitellis
On Sat, Apr 22, 2017 at 6:52 PM, Dan Kegel wrote: > TL;dr: > > For Ubuntu 16.04 users who have lxd-2.0.9 from xenial-updates, > what is the fast path towards simple lxd container-on-the-lan happiness? > (Extra credit: allow ssh between the host and the guest, also part of > Things

Re: [lxc-users] lxd init - howto

2017-04-21 Thread Simos Xenitellis
On Fri, Apr 21, 2017 at 1:33 PM, gunnar.wagner wrote: > is there any how-to about which options to choose and why during the 'lxd > init' process available anywhere? > I am interested in writing something up about this. I have a draft on my blog.. What I would

Re: [lxc-users] change 'lxc [cmd]' to 'lxd [comd]' (for LXD)

2017-04-18 Thread Simos Xenitellis
On Tue, Apr 18, 2017 at 11:34 AM, gunnar.wagner wrote: > just saw it again > > 'lxc-[cmd]' (LXC Containers) vs > 'lxc [cmd]' (LXD Containers) > > it would be so much less confusing whether LXD would just use 'lxd [cmd]' > instead of 'lxc [cmd]' syntax

Re: [lxc-users] Resolve .lxc domain with Ubuntu 17.04

2017-04-17 Thread Simos Xenitellis
step, or tell me that all have been completed successfully (so we can go through the fourth step). Simos > > Thanks! > > Regards, > Norberto > > > > > 2017-04-17 8:42 GMT-03:00 Simos Xenitellis <simos.li...@googlemail.com>: >> On Thu, Apr 13, 2017 at

Re: [lxc-users] Resolve .lxc domain with Ubuntu 17.04

2017-04-17 Thread Simos Xenitellis
On Thu, Apr 13, 2017 at 10:49 PM, Norberto Bensa <nbensa+lxcus...@gmail.com> wrote: > Hello Simos, > > 2017-04-13 10:44 GMT-03:00 Simos Xenitellis <simos.li...@googlemail.com>: >> I got stuck with this issue (Ubuntu Desktop with NetworkManager) and >> wrot

Re: [lxc-users] Resolve .lxc domain with Ubuntu 17.04

2017-04-13 Thread Simos Xenitellis
I got stuck with this issue (Ubuntu Desktop with NetworkManager) and wrote about it at https://www.mail-archive.com/lxc-users@lists.linuxcontainers.org/msg07060.html I do not have a fresh Ubuntu machine handy; doesn't "lxd init" populate automatically the appropriate directory (whether it is for

Re: [lxc-users] Am I misusing LXCs?

2017-03-30 Thread Simos Xenitellis
On Thu, Mar 30, 2017 at 8:53 PM, John Lewis wrote: > I build an LXC network on my VPS to separate all of my personal service > from each other how similar they are to each other while not having to > buy more VPS that I don't utilize intensely. Both my containers and my > host

[lxc-users] Making sure that you can actually "dig mycontainer.lxd" from the server, etc.

2017-03-30 Thread Simos Xenitellis
Hi All, I just figured out that it is possible, and available by default, to use the domain names of the LXD containers FROM the server. It has been quite confusing, and could not get it working, so I am documenting this here. Let's get a list of the containers and try to access by DNS the

Re: [lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Simos Xenitellis
First of all, now it's working as Stéphane wrote earlier. On Thu, Mar 30, 2017 at 4:55 PM, Sergiusz Pawlowicz <sergi...@pawlowicz.name> wrote: > On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis > <simos.li...@googlemail.com> wrote: >> Hi All, >> >> I just tri

Re: [lxc-users] user 'ubuntu' does not exist within LXD container

2017-03-30 Thread Simos Xenitellis
he container. If it has not been created yet, you can "sleep 1", and check again. Keep checking until the account gets created. Simos > Francesco > > > On Thu, Mar 23, 2017 at 12:32 PM, Simos Xenitellis > <simos.li...@googlemail.com> wrote: >> >> On

[lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Simos Xenitellis
Hi All, I just tried "lxc image list ubuntu:" and I do not see any 16.04 images. (i.e. lxc launch ubuntu:x mycontainer fails). I attach the output of "lxc image list ubuntu:". I suppose it is a temporary issue, just logging it here. Simos image-list-no-x.txt.gz Description: GNU Zip

Re: [lxc-users] user 'ubuntu' does not exist within LXD container

2017-03-23 Thread Simos Xenitellis
On Thu, Mar 23, 2017 at 12:41 PM, Francesco Longo wrote: > Hi all, > I'm playing with Raspberry Pi virtualization, i.e., in few words, creating > LXD containers on top of a Raspberry Pi and attaching to them a couple of > FUSE filesystems mirroring the GPIO /sys/class/gpio

Re: [lxc-users] Questions on how to "lxd init" again, reinstall, upgrade and downgrade

2017-03-15 Thread Simos Xenitellis
On Tue, Mar 14, 2017 at 2:11 AM, Simos Xenitellis <simos.li...@googlemail.com> wrote: > Hi All, > > I am writing a post on LXD and > 1. how to run "lxd init" again (keeping the ZFS allocated space) > 2. how to run "lxd init" again (clearing up the ZFS all

Re: [lxc-users] Failed upgrade lxd 2.8 to 2.11 on ubuntu 16.04lts via ppa

2017-03-13 Thread Simos Xenitellis
On Mon, Mar 13, 2017 at 7:18 PM, MonkZ wrote: > hi, > > i have storage issues after an upgrade: > > from lxd 2.8 to lxd 2.11, using ppa on ubuntu 16.04LTS. > > Apparently zfs.img moved to disks/lxd.zfs in /var/lib/lxd/ causing zfs > to fail to start via zfs-import-cache.service. >

Re: [lxc-users] DHCP or static ip address?

2017-03-13 Thread Simos Xenitellis
On Sun, Mar 5, 2017 at 7:13 AM, Marat Khalili wrote: >> The other way is to leave in /var/lib/lxc/NAME/config only [...] and have: >> [...] in /var/lib/lxc/NAME/rootfs/etc/network/interfaces. Then everything >> works. > >> Which way is better? > > I also stumbled on nameservers issue

Re: [lxc-users] lxc stop / lxc reboot hang

2017-03-13 Thread Simos Xenitellis
On Wed, Mar 1, 2017 at 1:56 PM, Tomasz Chmielewski wrote: > Again seeing this issue on one of the servers: > > - "lxc stop container" will stop the container but will never exit > - "lxc restart container" will stop the container and will never exit > > > # dpkg -l|grep lxd > ii

Re: [lxc-users] Experience with large number of LXC/LXD containers

2017-03-13 Thread Simos Xenitellis
On Sun, Mar 12, 2017 at 11:28 PM, Benoit GEORGELIN - Association Web4all wrote: > Hi lxc-users , > > I would like to know if you have any experience with a large number of > LXC/LXD containers ? > In term of performance, stability and limitation . > > I'm wondering

[lxc-users] Questions on how to "lxd init" again, reinstall, upgrade and downgrade

2017-03-13 Thread Simos Xenitellis
Hi All, I am writing a post on LXD and 1. how to run "lxd init" again (keeping the ZFS allocated space) 2. how to run "lxd init" again (clearing up the ZFS allocated space, allocate fresh space) 3. how to upgrade to the latest (currently 2.11) version 4. how to downgrade Here is how I plan to

Re: [lxc-users] ustuehler's lxc-desktop package

2016-09-05 Thread Simos Xenitellis
On Sat, Sep 3, 2016 at 5:05 PM, brian mullan wrote: > Dan > > I'd seen that same github on the lxc-desktop by Uwe Stuehler and tried to > figure out how to contact him but had no luck (his email isn't on his github > page). > > So I added some info to one of my "issues"

Re: [lxc-users] Xenial images used to be about 140MB, now went up to 315MB

2016-08-30 Thread Simos Xenitellis
ad to the wrong fingerprint being reported (that of the tarball > instead of squashfs). > > On Mon, Aug 29, 2016 at 05:20:55PM +0300, Andrey Repin wrote: >> Greetings, Simos Xenitellis! >> >> > Hi All, >> >> > Until a few weeks ago, the Xenial image (&

[lxc-users] How to resolve the *.lxd hostnames from LXD (i.e. outside of the containers)

2016-08-29 Thread Simos Xenitellis
Hi All, If you are in a container, you can access the other containers through their *.lxd hostnames. For example, you can root@c1:~# ping c2.lxd PING c2.lxd (10.60.113.13) 56(84) bytes of data. 64 bytes from oag.lxd (10.60.113.13): icmp_seq=1 ttl=64 time=0.064 ms However, if you are outside

[lxc-users] Xenial images used to be about 140MB, now went up to 315MB

2016-08-29 Thread Simos Xenitellis
Hi All, Until a few weeks ago, the Xenial image ("ubuntu:x" for x86_64), as reported by lxc image list ubuntu: used to be around 140MB. See, for example, https://simos.info/blog/playing-around-with-lxd-containers-lxc-on-ubuntu/ (138.23MB) However, if you run now the same command, the size of

Re: [lxc-users] I think terminology of LXD & LXC still confuses newcomers

2016-08-02 Thread Simos Xenitellis
On Mon, Aug 1, 2016 at 5:19 PM, brian mullan wrote: > Long time users of LXC and now LXD understand the difference & difference of > purpose. > > However, it seems to me that for newcomers to LXD the continuance of > reference to LXC seems to cause confusion for those

[lxc-users] How to set up multiple secure (SSL/TLS, Qualys SSL Labs A+) websites using LXD containers

2016-07-31 Thread Simos Xenitellis
Hi All, I have written a few articles on LXD containers and here is the latest, https://simos.info/blog/how-to-set-up-multiple-secure-ssltls-qualys-ssl-labs-a-websites-using-lxd-containers/ It's about putting websites in different containers, and getting them accessed through HAProxy (also in a

Re: [lxc-users] Desktop Environment in LXD

2016-06-17 Thread Simos Xenitellis
On Fri, Jun 17, 2016 at 1:02 PM, Rahul Rawail wrote: > Hi, > > We have read some posts in LXC-Users group, honestly we are not very > proficient with ubuntu or linux itself but we know a bit. > > We have been able to start the LXD container but we have a simple >