maas could not deploy a kvm-based vm via virsh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Invalid
|
Undecided
|
Unassigned | ||
uvtool |
Incomplete
|
Undecided
|
Unassigned | ||
curtin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
maas (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Curtin process failed during MaaS deployment. The infrastructure worked well until ~3 weeks ago.
[Steps to Reproduce]
1. Enlist and commission a KVM-based VM in MaaS 2.8.2 (8577-g.a3e674063)
2. Deploy the VM node
- Reproducing environment: nodes named after "scalebot-
- Those vm were created (via virsh command), enlisted (via maas web UI), and commissioned (via maas web UI) manually. They are not created via MaaS pod controlling flow.
[Expected Result]
1. The VM is deployed
[Actual Result]
Curtin failed during the deployment
Here is the error message:
Generating grub debconf_selections for devices=
finish: cmd-install/
finish: cmd-install/
finish: cmd-install/
Traceback (most recent call last):
File "/curtin/
ret = args.func(args)
File "/curtin/
File "/curtin/
File "/curtin/
File "/curtin/
link = block.disk_
File "/curtin/
mapping = get_dev_disk_byid()
File "/curtin/
return _get_dev_
File "/curtin/
for path in os.listdir(prefix)]
[Errno 2] No such file or directory: '/dev/disk/by-id'
VM kernel: Linux scalebot-
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: curtin (not installed)
ProcVersionSign
Uname: Linux 4.15.0-117-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
Date: Thu Sep 17 04:38:32 2020
SourcePackage: curtin
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
More logs from curtin and /var/log