UTAH failed to unmount ISO images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
High
|
Javier Collado |
Bug Description
As explained in #1, the problem was that there were not loop devices available
when trying to mount the image. This is a problem in UTAH's cleanup functions
that should take care of umounting everything when shutting down even if a
failure happened.
Example of jobs on 13/02/2012:
http://
http://
http://
http://
http://
We saw it as well twice on 12/02/2012.
The system reboots in busybox and so, everything is stalled.
Related branches
- Joe Talbott (community): Approve
- Max Brustkern (community): Needs Resubmitting
- Javier Collado (community): Approve
-
Diff: 47 lines (+12/-7)1 file modifiedutah/provisioning/baremetal/cobbler.py (+12/-7)
- Max Brustkern (community): Approve
- Javier Collado (community): Needs Resubmitting
-
Diff: 70 lines (+25/-2)3 files modifiedexamples/run_test_vm.py (+5/-1)
examples/run_utah_tests.py (+1/-1)
utah/run.py (+19/-0)
tags: | added: ue-desktop |
Changed in utah: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Javier Collado (javier.collado) |
status: | In Progress → Fix Committed |
Changed in utah: | |
status: | Fix Committed → Fix Released |
After some investigation it was found that the "Return code: 2" was because of ubuntu/ daily-live/ raring- desktop- i386.iso /tmp/dx- autopilot- nvidia_ Lqu3iq/ iso.d
a failure while mounting images like this:
sudo mount -o loop /data/iso/
The reason was that there were not enough available loop devices.
Looking at mount output, there were a few directories there that were left raring/ raring- desktop- i386.iso (deleted) on /tmp/ps- radeon- hd7850- he_NJzOa_ /iso.d type iso9660 (ro) raring/ raring- desktop- i386.iso (deleted) on /tmp/ps- intel-2500- le_JDNopn/ iso.d type iso9660 (ro) raring/ raring- desktop- i386.iso (deleted) on /tmp/ps- radeon- hd6870- he_45QNBz/ iso.d type iso9660 (ro) raring/ raring- desktop- i386.iso (deleted) on /tmp/ps- intel-4000- he_tNutl6/ iso.d type iso9660 (ro) raring/ raring- desktop- i386.iso (deleted) on /tmp/ps- radeon- hd7450- le_BV5KlQ/ iso.d type iso9660 (ro)
mounted by utah:
/data/ISOs/
/data/ISOs/
/data/ISOs/
/data/ISOs/
/data/ISOs/
After manually unmounting those directories, the loop devices were freed and
the job succeeded in mounting the images where it failed before.