Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lxd]

The LXD tag is for questions relating to the LXD daemon based on liblxc, providing REST API, command line tool and OpenStack integration plugin for LXC.

0
votes
0answers
83 views

Lxd preventing 18.04-18,10 upgrade in WSL

Because lxs is now only installed from the snap store, and I have some problem with the snap store, my do-release-upgrade won't complete. How do I tell apt to stop trying to install lxd so it can ...
0
votes
1answer
29 views

Testing openstack with conjure-up (novalxc) neutron-gateway fails to start

Followed this doc to test openstack: https://www.ubuntu.com/openstack/install#workstation-deployment edit: This is running on ubuntu 16.04 After the conjure-up step, everything eventually starts ...
0
votes
0answers
39 views

Add routes on LXD interface up

I have an LXD's bridge interface lxdbr0 And I need to add routes when it brings up. The interface configured with lxc network create So how to make it work?
0
votes
1answer
66 views

Failed container creation: LXD doesn't have a uid/gid allocation

I'm trying to lauch an lxd container, but I get this: lxc launch ubuntu:16.04 A criar o contentor Error: Failed container creation: LXD doesn't have a uid/gid allocation. In this mode, only ...
1
vote
1answer
31 views

LXD ZFS snapshot creation slows down as number of snapshots increases

Ubuntu 18.04 LTS - LXD Ubuntu launch using loopback ZFS (about 400MB) # lxc launch ubuntu:16.04 test -s ianzfspool (I have one other idle multi-GB container using the same ianzfspool.) I have lots ...
0
votes
0answers
20 views

“lxc list” is not showing containers list of bootstraped juju controller and its deployed machines on localhost (lxd cloud)

usama@usama-HP-EliteBook-8470p:~$ juju bootstrap Clouds aws aws-china aws-gov azure azure-china cloudsigma google joyent localhost oracle rackspace Select a cloud [localhost]: localhost Enter a name ...
0
votes
0answers
40 views

How to auto mount fstab inside container

My Ubuntu is 16.04 and LXD 3.0.1 Inside the container, my /etc/fstab is shown below. LABEL=cloudimg-rootfs / ext4 defaults 0 0 /dev/zd0 /home2 ext4 defaults,usrjquota=aquota.user,...
0
votes
0answers
45 views

Unable to run conjure-up and choose “openstack with NovaLXD” spell

Trying to run conjure-up with the "OpenStack with NovaLXD" spell. As soon as I make that choice, the .cache/conjure-up/conjure-up.log shows a lot of entries like this (specifically, the "permission ...
0
votes
0answers
57 views

add a LXD Host on MAAS

this is my lab: 1 SVR IBM system x3650 M4 with Ubuntu 18.04 and MAAS 2 SVR IBM system x3650 M4 with Ubuntu 18.04 as hypervisor Installing KVM and virt on NODEs I can manage the VM via MAAS, if I ...
0
votes
0answers
66 views

Openstack NovaLXD Magnum

I would like to install Magnum with Openstack for the purpose of managing kubernetes clusters. I have installed Openstack NovaLXD successfully using conjure-up on localhost with LXD. Storage, compute ...
0
votes
1answer
145 views

LXD Connect to a container on public ip

So I've setup a Ubuntu server 18.04.01 64bit can connect to it and all that with SSH. Installed LXD/LXC I also created a bridge br0 in netplan with DHCP at first an to connect to the containers with ...
0
votes
2answers
184 views

Conjure-up Kubernetes installation failed because of “/proc/sys/net/core/somaxconn” does not exist,

When I had been installing Kubernetes via conjure-up in my workstation, ended up with somaxconn does not exist and some mongo error. VM Configuration 2 vCPU,8 GB vRAM and 100 GB vDisk and it is fresh ...
0
votes
0answers
66 views

LXD containers can't use my corporate DNS server

Bridge setup. The hosts like server.myorg.local aren't resolved inside a container. The nslookup server.myorg.local 192.0.0.2 (specifying the IP of the DNS server) works inside a container. I've ...
0
votes
1answer
115 views

LXD: Running an image with a foreign architecture

I want to use LXD to bootstrap a root filesystem for deployment on an embedded ARM system from my AMD64 host running ubuntu 16.04. Previously, I've done this with a script and the chroot command, but ...
0
votes
2answers
143 views

ubuntu-desktop in lxc with ubuntu server as the host

I've recently installed Ubuntu 18.04 server and would like to use it as a desktop without interfering too much with the server part. This should be possible using linux containers (lxd). The problem ...
0
votes
1answer
153 views

18.04 zfs+lxd causes container host to reboot under heavy load?

Spent a few days struggling with this and I guess 18.04 just aint ready for production. 18.04 server w/ lxd over zfs on raw block devices just reboots itself randomly. No panic or output. I have ...
0
votes
0answers
100 views

Landscape server quickstart and lxd problem

A bit leading up to my problem. I had a landscape server for personal use running on one server with nfs for my home directory. Was getting parts to upgrade that server and thought I would move the ...
0
votes
1answer
432 views

LXD - How to execute a script inside a container from host

I wrote a github pull script inside the running container so that the container can get the updated codes. But how can I call this script from the host machine? I have tried with something like this ...
0
votes
2answers
183 views

LXC & OverlayFS

Goal - To configure/install a webapp on Host & make sure its accessible through an lxc container. Why - To isolate the host yet provide access to the web app and ssh access to our clients. ...
1
vote
1answer
394 views

LXDe in Lubuntu 18.04

Translation by Google: I would like to know in Lubuntu 18.04 the LXDe shell will be installed by default or will it have to be installed before? And tell me how to install it should be installed in ...
0
votes
1answer
244 views

How do I copy a file/directory from host into a LXD container?

I have a file/directory on the host that I want to copy into the LXD container. What is the command to copy the host -> container?
0
votes
1answer
134 views

Quota inside LXD container

I want to enable quota inside LXD container so as to limit each user to 10GB storage. However I got the following error: root@test:~# quotacheck -avug quotacheck: Cannot find filesystem to check or ...
1
vote
1answer
289 views

How to enable hostname resolution (dns) for lxd containers from the lxd host?

How to enable lxd hostname resolution from the lxd host? After creating the below container: >>> lxc launch ubuntu: container Creating container Starting container >>> lxc list +--...
0
votes
0answers
85 views

LXC/LXD Container in ERROR State

I have a Ubuntu 16.04 LTS system where i created 3 LXD containers. They where working fine. The system was reseted without stopping the containers by accident. Now they are in a ERROR state and I ...
1
vote
2answers
403 views

lxd init fails on Ubuntu 16.04 Xenial Xerus

When I use lxd, it fails on lxd init . $ snap install lxd lxd 3.0.0 from 'canonical' installed $ lxd init Error: Failed to connect to local LXD: Get http://unix.socket/1.0: dial unix /var/snap/lxd/...
0
votes
0answers
27 views

Getting error message when configuring openstack applications

While trying to deploy Conjure-up, I get an Error message: 'ConnectionError' object has no attribute 'message' when trying to "configure" the Openstack-novalxd applications. How should I proceed?
0
votes
1answer
38 views

LXD Cannot Bridge network device

I'm trying, (and failing) to use LXD and MaaS on my home machine to create a Pod. I commisioned and deploy a machine via MaaS on my local network. When I ssh into it I install LXD and bridge-utils. ...
0
votes
2answers
903 views

External DHCP with LXD 2.3+

I am trying out LXD. It seems the default way to set up networking is to have the host provide DHCP and NAT for all the guests, but I'd like to omit NAT and allow the guests to use the same DHCP ...
0
votes
1answer
179 views

Publicly Available Containers via Ubuntu 18.04 — help question

First off, let me start by saying I am no expert in server talk. I've been teaching myself as I go along, and I really only know entry level basics to server management. I am trying to consolidate ...
1
vote
1answer
123 views

SNAP out of control [closed]

I'm running many LXD containers inside a specific developer area , this morning I found some container stuck and I turned out that SNAP has updated the LXD at the version 3 automatically. As far as I'...
0
votes
1answer
365 views

Unable to locate package qt5-default in LXD container

I am trying to install Qt in a LXD container but the qt5-default seems to be missing. The LXD container is Ubuntu 18.04 based and I already installed the rest of the packages. Any ideeas? Thank you. ...
0
votes
0answers
139 views

How to start/stop Openstack on Ubuntu

I am a new user of Openstack on Ubuntu and I just re-installed OpenStack with NovaLXD on my machine. However, since the all lxd, lxc and my OS updated recently, I cannot use the way I usually did to ...
0
votes
0answers
227 views

Bridge network in LXD on Ubuntu 16.04

I've been trying to build a bridge network so my LXD containers can communicate with my LAN. So far, I have managed to get the IP address of the LAN for the container, but it does not communicate ...
0
votes
1answer
247 views

Juju add-machine does not start LXD container

Juju agent version 2.3.4 MAAS version: 2.3.1 (6470-g036d646-0ubuntu1~16.04.1 I seem to be experiencing the symptoms akin to the ones here. With MAAS nodes in 'Ready' state, adding a machine #juju ...
2
votes
0answers
186 views

sudo snap install conjure-up --classic fails with configuring hook

I am trying to run kubernetes on lxd following the instructions taken from https://kubernetes.io/docs/getting-started-guides/ubuntu/local/. However, I get following error message: $ sudo snap ...
0
votes
0answers
116 views

LXD Installation Not Working with Snapcraft

I installed LXD with all the defaults, but when I get an error: $ snapcraft cleanbuild Something seems to be wrong with your installation of LXD. Refer to the documentation at https://linuxcontainers....
0
votes
0answers
122 views

LXD: Getting DHCP IP but no ping outside

So I setup a clean VM in VirtualBox. I setup bridge devices as described by several tutorials. I create a VM, I get a DHCP address. But after that I got no ping from the container to any IP on the ...
0
votes
0answers
60 views

Setup containers

I have ubuntu 17.10 and i'm trying to setup containers that people can ssh into from outside my network. I tried installing LXD containers and had a friend try to ssh into it but it says connection ...
0
votes
1answer
202 views

Problem installing Ubuntu SDK IDE on MATE 16.04

I'm trying to install Ubuntu SDK and SDK IDE on Ubuntu MATE 16.04, but every time I run it, I get this error: Stopping containers: All containers stopped. Creating default network bridge ..... FAILED ...
0
votes
2answers
215 views

How do I enable image auto-updating in LXD?

When I installed LXD, I disabled image auto-updating since I knew I was going to be traveling and using slow internet connections for a week or so. Now that I'm back home with a fast connection, I'd ...
0
votes
1answer
217 views

Creating a network with lxd on xenial-backports

I want to start using lxc container on an Ubuntu 16.04 Xenial machine. I am using lxd 2.21 from the xenial-backports repository. It works fine up to the point where I want to give my containers ...
2
votes
1answer
900 views

Netplan-configured LXD host doesn't restore network config on reboot

I have 17.10 server with LXD installed via snap (2 containers). I've configured host to have static IP and let containers be accessible from LAN. My 01-netcfg.yaml in /etc/netplan: network: ...
0
votes
2answers
333 views

How to migrate vm´s from oracle virtualbox hypervisor to LXD or Docker Containers

Thinking about to run virtual maschines on LXD as LXD guests instead on virtualbox installed on this ubuntu 16.04.3 LTS server: How to migrate existing vm's? Simply export as OVA and and import them? ...
3
votes
1answer
4k views

Configuration of a bridge with a static IP with the netplan to be used with linux container

Summary: how to configure the netplan on a host machine to create a bridge (with a static IP address) that would be used on guest virtual machine (shall be accessible from a local lan). I am using ...
0
votes
1answer
68 views

LXD 2.0 - lxd.migration to snap hang waiting for lxd process to start - /var/lib/lxd directory gone

As the title said migration to snap went wrong and I lost all the /var/lib/lxd directory except for the storage_pool and images which were symbolic links. Obviously I lost all configurations but I ...
1
vote
1answer
301 views

Ubuntu 14.04: LXD PPA no longer available

It appears the LXD PPA for Ubuntu 14.04 was removed at the end of 2017. Unfortunately there's no migration path for a 14.04 as I'm not seeing how to get snaps installed for 14.04. I'm not sure how to ...
1
vote
0answers
249 views

LXD PPA remove requires lxd.migrate to snap, but what about my network bridge and ZFS pool?

Ubuntu 16.04.3 LTS During the latest batch of updates I was informed that the LXD PPA packages were being removed in favor of just installing as a snap. │ LXD PPAs to go away by end of year ...
0
votes
1answer
140 views

reconfigure LXD subnet for canonical-kubernetes on Ubuntu 16.04 with LXD

We have set up canonical-kubernetes and got a private docker registry running with self signed certificates and an ingress. Now we would like to make this cluster available on our corporate network. ...
0
votes
0answers
47 views

chroot showing more cores that allowed in lxd container

I have a server with 4 cores (8 threads) and 32GB Ram. I have installed lxd, and with lxd create a container. I limited the container to use 2 cores and 7GB Ram. When I enter to container and open ...
1
vote
1answer
1k views

How can I create a secondary lxd bridge?

I want try to create a network infrastructure with containers, but how can I configure another lxd (eg.: lxcbr1) bridge for my lxc container? on the host I type: sudo brctl addbr lxcbr1 but when I ...