[Bug 1462139] [NEW] curtain fails with "Device is busy" error during unmount
Launchpad Bug Tracker
1462139 at bugs.launchpad.net
Mon Jun 22 14:43:10 UTC 2015
You have been subscribed to a public bug:
Here's the relevant part of the curtin output:
Installing for i386-pc platform.
Installation finished. No error reported.
umount: /tmp/tmpM4R1dI/target/dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Unexpected error while running command.
Command: ['umount', '/tmp/tmpM4R1dI/target/dev']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
I spoke with Scott Moser on IRC about this, and he suggested the
attached patch, which fixed the problem 100%.
I checked the installation output of a few of my MAAS nodes, and didn't
see any lsof output. So I assume the "udevadm settle" command is the
fix.
(Thanks Scott! I hope we can land this in time for MAAS 1.8.)
** Affects: curtin
Importance: Undecided
Status: Fix Committed
** Affects: curtin (Ubuntu)
Importance: Medium
Status: Confirmed
--
curtain fails with "Device is busy" error during unmount
https://bugs.launchpad.net/bugs/1462139
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu.
More information about the Ubuntu-server-bugs
mailing list