lp:~psusi/landscape-client/correct-free-mem
- Get this branch:
- bzr branch lp:~psusi/landscape-client/correct-free-mem
Branch merges
- Jerry Seutter (community): Approve
- Geoff Teale (community): Approve
-
Diff: 77 lines (+12/-10)4 files modifiedlandscape/lib/sysstats.py (+4/-2)
landscape/lib/tests/test_sysstats.py (+4/-4)
landscape/monitor/tests/test_memoryinfo.py (+3/-3)
landscape/sysinfo/tests/test_memory.py (+1/-1)
Related bugs
Bug #1075619: landscape-sysinfo reports wrong memory utilization | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 594. By Phillip Susi
-
landscape-sysinfo was reporting memory usage values that
were entirely incorrect. This was because it was calculating free
memory to be all memory not on the active list. Changed to use
free + cached + buffers, just like the free command does. - 593. By Thomas Herve
-
Merge hyper-v-detection [r=tealeg,ack] [f=1087185]
Update get_vm_info to be able to tell if the client is running as a guest of a
hyper-v machine. - 592. By Andreas Hasenack
-
Better regexp to change registration_
password to registration_key in
the config file. The previous one would also change the actual password
if it was "registration_password" :) [trivial] - 591. By Andreas Hasenack
-
"dh_clean -k" is deprecated in debhelper 7, using dh_prep instead.
See http://lintian. debian. org/tags/ dh-clean- k-is-deprecated .html [trivial] - 590. By Andreas Hasenack
-
Merged drop-gnupginterface [r=cglass,ack] [f=1045237]
This branch conditionally removes python-
gnupginterface from the list of
landscape-common dependencies for quantal or higher builds. Hardy, Lucid,
Oneiric and Precise will still get it. - 589. By Björn Tillenius
-
Merged disable-
apport- dpkg-crash [r=jseutter, tribaal] [f=1076150]. Prevent Apport from generating crash reports when dpkg returns an error.
When dpkg returns an error, a SystemError is raised and the error is
being caught and cleaned up in the Apt C binding. However, the Apport
hook was still being executed, generating a crash reports, even though
nothing crashed.Now we install a custom excepthook, which passes all errors to Apport,
except for SystemErrrors. We install the excepthook only in the child
process that executes dpkg after a fork. - 586. By Thomas Herve
-
Merge config-permissions [r=tealeg,ack] [f=1066042,1066116]
Complain when the config file can't be read by the landscape user, and enforce
permissions in postinst. - 585. By Björn Tillenius
-
Merged process-
state-key- error [r=jseutter,ack] [f=1062278]. Handle new process states in when getting process information.
The bug report was about "t (tracing stop)", but a bunch of other states
can occur as well that we don't handle. I've change the code to use the
one-character representation of the process state that the kernel uses,
instead of using our own mapping. This ensure that future state
additions will be handled as well. As a result, we now represent the
"tracing stop" state as "t" instead of "I", but as far as I can see, the
only state we're explicitly checking for in our code is Z, so that
change shouldn't cause a problem.I put in a special-case for "T (tracing stop)", since in Lucid you can
have both "T (stopped)" and "T (tracing stop)". I made it so that the
latter is represented by "t", since that's the way it is in releases
newer than Lucid.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~landscape/landscape-client/trunk