[2.1 UI] Failed to mount a partition and it doesn't surface error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager |
Bug Description
1. Commissioned a machine.
2. Umounted the root filesystem. 'sda-part1' from 'File systems'
3. Under 'available disks & partitions' select the 'Edit' button of 'sda-part1' to mount it.
4. Select a mount point to '/' & click save.
5. MAAS /appears/ to have finished successfully:
5.1. sda-part1 is listed under 'File Systems'
5.2. Error message shown: "Mount the root '/' filesystem to be able to deploy this node."
5.3. You see the traceback below.
6. If you press F5, 'sda-part1' goes back to 'Available disks & Partitions'.
2016-10-06 20:57:47 [-] Error on request (130) machine.
lock device with a partition table.<
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
raise HandlerError(
partition table.<
Related branches
- Blake Rouse (community): Approve
- Mike Pontillo (community): Approve
-
Diff: 769 lines (+186/-59)14 files modifiedsrc/maasserver/static/js/angular/controllers/node_details_storage.js (+9/-3)
src/maasserver/static/js/angular/controllers/tests/test_node_details_storage.js (+22/-15)
src/maasserver/static/js/angular/factories/nodes.js (+14/-0)
src/maasserver/static/js/angular/factories/tests/test_nodes.js (+30/-0)
src/maasserver/websockets/handlers/config.py (+2/-1)
src/maasserver/websockets/handlers/device.py (+1/-1)
src/maasserver/websockets/handlers/dhcpsnippet.py (+5/-4)
src/maasserver/websockets/handlers/general.py (+3/-2)
src/maasserver/websockets/handlers/machine.py (+49/-25)
src/maasserver/websockets/handlers/node.py (+1/-0)
src/maasserver/websockets/handlers/packagerepository.py (+4/-3)
src/maasserver/websockets/handlers/staticroute.py (+4/-3)
src/maasserver/websockets/handlers/tests/test_machine.py (+39/-0)
src/maasserver/websockets/handlers/user.py (+3/-2)
Changed in maas: | |
milestone: | none → 2.1.0 |
summary: |
- [2.1] Failed to format & mount a partition and it doesn't surface erro + [2.1] Failed to format & mount a partition and it doesn't surface error |
Changed in maas: | |
importance: | Undecided → Critical |
summary: |
- [2.1] Failed to format & mount a partition and it doesn't surface error + [2.1] Failed to mount a partition and it doesn't surface error. |
summary: |
- [2.1] Failed to mount a partition and it doesn't surface error. + [2.1 UI] Failed to mount a partition and it doesn't surface error. |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello Andres, or anyone else affected,
Accepted maas into yakkety-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ maas/2. 1.0+bzr5480- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!