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.
275
questions
0
votes
1
answer
68
views
LXD with multiple GPUs
I'm playing around with LXD for the first time and my goal is to host three VMs each with a dedicated GPU. I am able to pass any one of the GPUs through to the guest VM (Windows) however when I start ...
0
votes
0
answers
20
views
Keep getting error on LXC preseed.yaml for profile and LVM configuration
I am trying to create a preseed.yaml for our LXD environment in which I can use a profile to setup VMs with an 80GB disk and have it pre-configured using LVM for the partitions. I have a preseed.yaml ...
0
votes
0
answers
91
views
Gluster i/o wait system freeze
I'm running Ubuntu 22.04.2 LTS on a supermicro system with the following configuration:
Intel Xeon Gold 6248R
256GB RAM
Samsung PM1735 NVMe SSD (6,4TB) // (currentfirmware: EPK98B5Q)
XFS filesystem
...
0
votes
0
answers
49
views
juju lxd machine pending
I used the "juju bootstrap" command to set up my juju-controller on localhost. Then, I created a model named "test" and tried to create a machine using "juju add-machine"....
1
vote
0
answers
208
views
LXD with Cloud-init, `cloud-init status --wait` is hanging or running forever
I followed the Quick-start tutorial with LXD, and it went well until cloud-init status --wait, it is running forever.
cloud-init status returned status: running.
But when I tried it with multipass, it ...
0
votes
1
answer
164
views
issue with ssh into lxd container using ansible
I have created a dynamic inventory which fetch the created lxd containers (so that I don have to type the name of container each time)
so here is the dynamic inventory
plugin: community.general.lxd
...
0
votes
0
answers
85
views
Storage pool unavailable
Hi I am trying to reinstall lxd because I messed up somewhere. Actually I tried to increase the zfs pool size, and closed the terminal abruptly. On restarting I created more problems, so I am trying ...
0
votes
1
answer
64
views
Nginx in LXD container: remote_addr showing host IP instead of client IP in logs
I used the command lxc config device add nginx-proxy hostport443 proxy listen=tcp:0.0.0.0:443 connect=tcp:127.0.0.1:443 to allow the nginx service within the "nginx-proxy" instance to ...
1
vote
2
answers
279
views
snapcraft stuck on instance status preparing
I'm trying to follow the snapcraft tutorial on Ubuntu 22.04.
I've installed and initialized lxd and snapcraft. When I run the snapcraft command it seems to hang on instance setup and eventually fails. ...
0
votes
1
answer
847
views
How to bridge an LXD network for internet access?
I'm using LXD 4.0.9 on Ubuntu 20.04, created a network, a profile, and added storage to a drone like the following ...
$ lxc network create drone_lan ipv4.address=none ipv6.address=none
$ lxc profile ...
0
votes
1
answer
203
views
lxd/lxc adding storage pool fails with "outside mount path"
I have installed two additional NVMe 7TB SDD as RAID1 with btrfs
(having an already running btrfs RAID1 with 1.8TB in an existing storage pool containing 7 containers)
Adding the 7TB RAID1 as a ...
0
votes
0
answers
54
views
WIN11 VM Does Not Start
I recently installed win11 vm using the method shown here https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd#1-overview.
I finished the installation up to end of step 3 where ...
0
votes
0
answers
118
views
Multipass with QEmu driver: how to access usb camera
on my Asus rog laptop with ubuntu 23.10 I installed the ROS (robot os) image from multipass, as explained in this official guide https://ubuntu.com//blog/ros-development-on-linux-windows-and-macos .
I ...
0
votes
0
answers
139
views
Troubleshooting lxc launch issues from custom image
There is an image exported from another system, about 5GiB in size (compressed), estimated 13GiB uncompressed.
root@cluster04:~# lxc launch testimg test-container --storage remote -d root,size=50GiB ...
0
votes
0
answers
195
views
How to specify a storage pool for images?
Let's say I have two storage pools configured. On the first one I want to deploy Ubuntu-based containers, and on the other, for example, Debian-based containers.
How to specify a pool when copying an ...