Installation failed with exception: Unexpected error while running command.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
Fix Released
|
High
|
Unassigned |
Bug Description
dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 1.7.3+bzr3363-
ii maas-cli 1.7.3+bzr3363-
ii maas-cluster-
ii maas-common 1.7.3+bzr3363-
ii maas-dhcp 1.7.3+bzr3363-
ii maas-dns 1.7.3+bzr3363-
ii maas-proxy 1.7.3+bzr3363-
ii maas-region-
ii maas-region-
ii python-django-maas 1.7.3+bzr3363-
ii python-maas-client 1.7.3+bzr3363-
ii python-
I'm trying to install 14.04 onto UCS B-Series blade. I've done over a dozen blades w/o any issues. But this one particular blade is having problems and gives this in the install.log.
list index out of range
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: 'list index out of range\n'
Stderr: ''
I grep'd on 'block-meta' and 'simple' in /etc/maas/preseeds and I can't find where this is being ran (I do have a custom curtin installer for another host -- but I moved it just in case, and no longer exists (it was doing something similar to the above block)).
It's not clear how to troubleshoot this, and/or how to enable more verbose logging to shed light on the cause of the problem.
Any insight would be greatly appreciated!
Changed in curtin: | |
status: | Triaged → Fix Committed |
tags: | added: curtin-sru |
The actual command that performs this operation is built into curtin in the partitioning_ commands. Curtin by default will call "curtin block-meta simple". The command searches for a disk to perform the installation on, the error you are seeing is because your system has no disks that curtin can install to. Make sure that the system you are deploying to has a disk that is writeable.
If you system does have a disk present, this most likely means that the kernel is unable to enumerate this storage device. You can try a hardware enablement kernel to see if drivers for your device are available in a newer kernel. Set the architecture on a node to "amd64/hwe-u" or higher to get a newer kernel. If this still does not work then it means your need some other driver enablement to allow the curtin to be able to install to your device.