-
-
Save sombrafam/2cedd405755baca0a185bfe689f12426 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@buneary:/home/ubuntu# lxc init --vm ubuntu:focal maas --profile maas_server_vm | |
Creating maas | |
root@buneary:/home/ubuntu# lxc config device override maas root size=50GB | |
Device root overridden for maas | |
root@buneary:/home/ubuntu# lxc start maas | |
Error: Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 -- /snap/lxd/22525/bin/qemu-system-x86_64 -S -name maas -uuid 8eefac31-8684-4c74-b38c-e157ce3039d6 -daemonize -cpu host -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -readconfig /var/snap/lxd/common/lxd/logs/maas/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/snap/lxd/common/lxd/logs/maas/qemu.spice -pidfile /var/snap/lxd/common/lxd/logs/maas/qemu.pid -D /var/snap/lxd/common/lxd/logs/maas/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas lxd: char device redirected to /dev/pts/0 (label console) | |
: Process exited with non-zero value 1 | |
Try `lxc info --show-log maas` for more info | |
root@buneary:/home/ubuntu# lxc info --show-log maas | |
Name: maas | |
Status: STOPPED | |
Type: virtual-machine | |
Architecture: x86_64 | |
Created: 2022/03/09 20:26 UTC | |
Log: | |
qemu-system-x86_64:/var/snap/lxd/common/lxd/logs/maas/qemu.conf:310: The device is not writable: Permission denied | |
root@buneary:/home/ubuntu# snap --version | |
snap 2.54.2+20.04ubuntu2 | |
snapd 2.54.2+20.04ubuntu2 | |
series 16 | |
ubuntu 20.04 | |
kernel 5.4.0-104-generic | |
root@buneary:/home/ubuntu# lxc --version | |
4.23 | |
root@buneary:/home/ubuntu# qemu --version | |
Command 'qemu' not found, did you mean: | |
command 'aqemu' from deb aqemu (0.9.2-2.3build1) | |
Try: apt install <deb name> | |
root@buneary:/home/ubuntu# qemu- | |
qemu-img qemu-make-debian-root qemu-pr-helper qemu-system-x86_64 | |
qemu-io qemu-nbd qemu-system-i386 qemu-system-x86_64-spice | |
root@buneary:/home/ubuntu# qemu-system-x86_64 --version | |
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.21) | |
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers | |
root@buneary:/home/ubuntu# cat /etc/*release* | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=20.04 | |
DISTRIB_CODENAME=focal | |
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS" | |
NAME="Ubuntu" | |
VERSION="20.04.3 LTS (Focal Fossa)" | |
ID=ubuntu | |
ID_LIKE=debian | |
PRETTY_NAME="Ubuntu 20.04.3 LTS" | |
VERSION_ID="20.04" | |
HOME_URL="https://www.ubuntu.com/" | |
SUPPORT_URL="https://help.ubuntu.com/" | |
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" | |
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" | |
VERSION_CODENAME=focal | |
UBUNTU_CODENAME=focal | |
root@buneary:/home/ubuntu# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment