Fix burnin problems when using http checks
The urllib2 module has very bad error handling. This patch changes to urllibwhich is simpler, and we derive a custom class from the FancyURLopener. Burningis no longer keeping sockets in CLOSE_WAIT state with this patch....
burnin: only call self.GrowDisks() if needed
In case we pass --disk-grow 0[,0..] then we should not call GrowDisks as itprints confusing log lines.
Reviewed-by: imsnah
burnin: add option to not remove instances
This patch adds a burnin option to keep instances at the end, so thatdebugging after a burnin failure is easier.
Also, we reorder the command line parsing and client query so that onecan use ./tools/burnin --help even on non-ganeti machines....
burnin: update migration to latest log formatting
Reviewed-by: ultrotter
Forward port of the burnin migration
This is again a copy of the latest 1.2 burnin code related to migration.
burnin: redo the output formatting
Since we added many more tests in burnin, the output became almostunreadable. This patch changes the output to an indented one, so thatthe different phases and operations of burnin are more easilyunderstood.
Reviwed-by: ultrotter
burnin: move start_stop at the end
Traditionally the start/stop test was the last, so move it back to there(added as last option in commit 854).
Reviewed-by: amishchenko
burnin: introduce instance alive checks
This patch adds instance alive checks after most start operations. Thecheck is done in a custom way: - the instance is expected to have an http server up and running - and it should server the '/hostname.txt' resource containing the...
burnin: Add tests for add/remove disks and NICs
This patch adds testing of add/remove disks and NICs to the burnin.
burnin: Add activate/deactivate disks
View revisions
Also available in: Atom