MAAS permits assigning a disk device to mount to itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Low
|
Unassigned |
Bug Description
In the MAAS web UI, it's possible to assign a disk device to mount to itself -- for instance, to mount /dev/sda3 at /dev/sda3. When so configured, MAAS will deploy the node, and that deployment will seem to succeed; however, it will be inaccessible via SSH. The console, if accessible, will not show a "login:" prompt, but a bash root prompt ("root@
This situation is obviously the result of user error; however, the symptoms are rather mysterious, and MAAS could easily handle this better by refusing to accept a mount point inside /dev, or perhaps in other locations. (In a quick check, MAAS initially seemed to accept a mount point of /etc, but then quietly removed it from the list of filesystems, so perhaps there's already some logic to handle this for some mount points.)
Below is my MAAS version information. I'm also attaching the /var/log/maas directory tree from the server, although I don't think it's relevant. (I tested this on the server "brennan.")
$ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.2.2-6099-
ii maas-cert-server 0.2.30-
ii maas-cli 2.2.2-6099-
un maas-cluster-
ii maas-common 2.2.2-6099-
ii maas-dhcp 2.2.2-6099-
ii maas-dns 2.2.2-6099-
ii maas-proxy 2.2.2-6099-
ii maas-rack-
ii maas-region-api 2.2.2-6099-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.2.2-6099-
ii python3-maas-client 2.2.2-6099-
ii python3-
summary: |
- MAAS permits assigning a disk device to mount to itself + [2.3, UI] MAAS permits assigning a disk device to mount to itself |
Changed in maas: | |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → 2.4.x |
no longer affects: | maas/2.3 |
summary: |
- [2.3, UI] MAAS permits assigning a disk device to mount to itself + MAAS permits assigning a disk device to mount to itself |
Changed in maas: | |
milestone: | 2.4.x → none |
status: | Confirmed → Triaged |
This bug has not seen any activity in the last 6 months, so it is being automatically closed.
If you are still experiencing this issue, please feel free to re-open.
MAAS Team