machines keep failing deployment due too FileNotFoundError: [Errno 2] No such file or directory: '/dev/disk/by-id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned | ||
curtin |
New
|
Undecided
|
Unassigned |
Bug Description
Maas machines keep failing deployment with error FileNotFoundError: [Errno 2] No such file or directory: '/dev/disk/by-id'
my setup is as follows
host machine is windows 10 and i am using virtualbox to run a guest vm of ubuntu desktop 18.04.4 LTS.
now in my ubuntu desktop guest virtual machine i have installed qemu/kvm/libvirt to virtualize two guest machines that will be deployed with maas. below i am creating an outline of my nested virtualized environment
-windows 10 running virtualbox
-ubuntu desktop 18.04.4 LTS (qemu/kvm/libvirt)
- guest ubuntu server 18.04.3 LTS running maas-region-
- 2 guest vm's to pxe boot from maas that are created from virtual machine manager in my ubuntu
for my 2 guest virtual machines i am using the virsh power-parameters which maas has control of. maas is able to power them on, commission, and enter them into rescue mode and exit rescue mode. these features also work from the maas cli.
my problem is that every time i deploy these hosts they keep failing deployment. I upgraded from maas 2.4.2 to 2.8.1 as well and it did not resolve this problem, had the same error from both versions of maas. can someone please help as i am tasked with creating a virtualized devops environment. are company uses maas in our production environment.
devsync happy - path /dev/vda now exists return volume path /dev/vda install_devices: ['/dev/vda'] Generating grub debconf_selections for devices=
The same issue happened on my MAAS.
MAAS : 2.6.2
I changed a disk bus type of the VM from virtio to SATA. The deployment gets success.