Landscape causes mount storm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Chris Glass |
Bug Description
Under Ubuntu 12.04, landscape-client causes all autofs-managed mount points to become mounted every five minutes (during compilation of mount information snapshots). This places an undue burden on network and fileservers. It also prevents the mounts being unmounted automatically.
This behaviour is due to patch 5c8a0fbba543d94
Two possible fixes come to mind:
- Add filtering into the get_mount_info function (landscape/
- Have the patch reverted from the kernel.
This bug is currently holding me back from rolling out Ubuntu 12.04; we have a large number of autofs-managed NFS mounts.
Related branches
- Geoff Teale (community): Approve
- Thomas Herve (community): Approve
-
Diff: 155 lines (+41/-29)3 files modifiedlandscape/lib/disk.py (+10/-4)
landscape/lib/tests/test_disk.py (+24/-11)
landscape/sysinfo/disk.py (+7/-14)
Changed in landscape-client: | |
importance: | Undecided → High |
assignee: | nobody → Chris Glass (tribaal) |
Changed in landscape-client: | |
milestone: | none → 12.10 |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Thanks a lot for your detailed bug report!
We will work on the issue and figure out what the best way to deal with monitoring unmounted autofs mounts, but the fix might take a little while to be packaged and included in the official repositories for 12.04.
In the mean time, one way to work around the problem is to specify the list of monitor plugins to use in your landscape client config file (/etc/landscape /client. conf):
monitor_plugins = ActiveProcessInfo, ComputerInfo, HardwareInventory, LoadAverage, MemoryInfo, ProcessorInfo, Temperature, PackageMonitor, UserMonitor, RebootRequired, AptPreferences, NetworkActivity, NetworkDevice
For reference, this is the complete list of plugins, with the "MountInfo" plugin removed.
This furthermore made us realize some config options (such as this one) are missing from the man page - this is now tracked in #1045426