Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

LXD cannot start containers after install and reboot

$
0
0
Hi,

I have a fresh build Ubuntu Server 14.04.03 LTS x64 hypervisor/file server with the following config

CIFs Shares
NFS shares
UFW
iscsi
NUT
static IP with network bridge (br0)
libvirt / kvm
lxd

I cannot seem to start lxd/lxc containers with kvm installed.

I managed to start a ubuntu trusty container as root (after sudo newgrp lxc) but then after reboot I get this message when trying to start a container:
~$ lxc start my-ubuntu
error: Error calling 'lxd forkstart my-ubuntu /var/lib/lxd/containers /var/log/lxd/my-ubuntu/lxc.conf': err='exit status 1'
Try `lxc info --show-log my-ubuntu` for more info

Install was based on the page https://linuxcontainers.org/lxd/getting-started-cli/

kvm/libvirt works fine. I got around the ufw / bridged network issue by modifying the UFW config DEFAULT_FORWARD_POLICY="ACCEPT".

Is it possible to run lxd containers on the same machine as kvm?

This feels more like a permissions issue as I did manage to start a container at the same time as a kvm guest although I did not get into the shell.

Thanks

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>