build-bash-completion: reduce branches
The 'build-bash-completion' script has an enormousfunction which triggered a 'too many branches' linterror and was quite easily splittable in logicalsub-functions.
Signed-off-by: Helga Velroyen <helgav@google.com>...
Convert all the classes to new-style classes
... to make lint shut up.
Signed-off-by: Helga Velroyen <helgav@google.com>Reviewed-by: Jose Lopes <jabolopes@google.com>
Merge branch 'stable-2.9' into stable-2.10
Conflicts: src/Ganeti/Monitoring/Server.hs: trivial
Signed-off-by: Klaus Aehlig <aehlig@google.com>...
Improve haskell style
...by fixing lint warnings found by HLint v1.8.57. In particular,make sure 'make hlint' passes for this version of hlint.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>
Add --no-locks option to gnt-debug delay
Add the possibility to don't acquire locks during `gnt-debug delay`.This allows to run many delay jobs in parallel instead of havingthem run sequentially.
Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>...
Include design-performance-tests.rst in index
Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Document the --force-failover option
Extend the gnt-group man page by documenting the --force-failoveroption of the evacuation command.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Thomas Thrainer <thomasth@google.com>
Support group evacuation by failover
Support evacuating a node group not using migration.This can be useful if the group evacuated to has differenthardware.
Add an option --force-failover
...to be added to gnt-group evacuate forcing evacuation bymeans for failovers instead of migrations.
Extend OpGroupEvacuate by a ForceFailover paramter
Add a parameter to OpGroupEvacuate to force failovers to beused instead of migrations. This can be useful, if a groupis evacuated to another with different hardware.
Mark performance tests design as implemented
The performance tests are implemented as outlined in the design doc, somark the document as implemented.
check-man-warnings: use C.UTF-8 and set LC_ALL
check-man-warnings currently partially forces the en_US.UTF-8 locale bysetting LANG. This implicitly assumes that the locale exists, whichmight not be the case when building e.g. in chroot environments. If the...
openvswitch fix
Document the --sequential option
Document that group evacuation is usually run in parallel, butcan be made sequentially by providing an appropriate option.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Support sequential evacuation
Make gnt-group evacuate support the --sequential option,which causes all evacuation moves to be execuated sequentially.This can be used to avoid congestion on a possibly slow linkbetween the node groups.
Add an option --sequential
...which can be used to tell commands like gnt-group evacuate tosequentially perform their action to keep load away from the cluster.
Extend OpGroupEvacuate by a sequential paramter
...telling it to run all the evacuation jobs sequentially.This might be useful to avoid too much load that otherwisemight occur.
Fix passing of ispecs in cluster init during QA
The ispecs were previously passed as multiple parameters to gnt-clusterinit, which did not yield the desired result. This patch changes thisbehavior and passes the min/std/max values in one parameter.
Signed-off-by: Thomas Thrainer <thomasth@google.com>...
On expanding jobs, extend reason trail
Certain op-codes expand to a set of jobs. Forthose new jobs, extend their reason trail withthe reasons of the job that expanded to them.In this way, also for indirectly genreated jobsa complete trace back to the initiator can be...
Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>
Postpone 2.10.4 release to May 15th
Due to some tests not being completed by today, postpone the 2.10.4release to tomorrow.
Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Hrvoje Ribicic <riba@google.com>
Don't fail QA if submitting a job takes too long
Degrade a QA error which was triggered if job sumission take too long toa warning. This will prevent spurious QA failures.
Revision bump for the 2.10.4 release
Prepare NEWS file for 2.10.4 release
Preparing the NEWS file for the release of 2.10.4 on Wednesday.
Add LC_ALL=en_US.UTF-8 before running check-man-warnings
It will be fail if LC_ALL was set to non-utf8 locale(e.g, 'C') byfollowing error.
col: Invalid or incomplete multibyte or wide character man: command exited with status 1: col -b -p -x
Signed-off-by: Yuto KAWAMURA <kawamuray.dadada@gmail.com>...
Move QAThreadGroup to qa_job_utils.py
Move QAThreadGroup to the utils module so it can easily be used withQAThread.
Extract GetJobStatuses and use an unified version
Unify two very similar functions which query the ganeti cluster for jobstatuses during QA.
Run disk template specific tests only if possible
Only run disk template specific tests if the corresponding disk templateis really enabled. Also, move the (up to now wrong) check out ofqa_performance.py to ganeti-qa.py, so no no-time test runs are reported...
Test parallel instance ops and plain instances
Test various instance operations while another instance is created inparallel.Also enable a test which creates twice as many plain instances as thereare nodes in the cluster in parallel.
Test parallel creation of DRBD instances
Test the performance of parallel creation (and immediate removal) of DRBDbacked instances. Twice as many instances are created as there are nodesin the cluster.
This also required some refactoring of the test code in order to reduce...
Test parallel job submission performance
Submit 200 delay jobs and verify that the submission rate does not dropas more jobs are added to the queue. Also verify that a `gnt-clusterinfo` is not slowed down by a large number of jobs in the queue.
Test parallel instance query operations
For each created instance, a `gnt-instance info` is issued. In addition,`gnt-instance list` is issued as often as well.
Test parallel instance operations
Test parallel starting, stopping, rebooting and (if supported)reinstalling instances.
Test parallel instance modification
Submit modifications of backend parameters as well as OS parameters inparallel for the maximum amount of instances available.
Test parallel node-count instance creation
Test the parallel creation (and removal) of as many instances as thereare nodes in the cluster.
Test parallel instance creation and removal
This is the first performance related test. It creates as many instancesas available in the QA config in parallel and removes them (again inparallel) immediately after the creation succeeded.
In order to ease writing of additional tests, a lot of the logic is kept...
Fail in replace-disks if attaching disks fails
Previously, if attaching the new secondary during a replace-disksoperations failed, only a warning was emitted. The subsequent sync-disksoperation cannot finish in such a case, however.
Therefore, this patch changes the warning into an error. This way it's...
Conflicts: configure.ac # Taken both contributions
Signed-off-by: Hrvoje Ribicic <riba@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Add a basic test for --restricted-migration
Essentially verify that, in the given example, a solution is stillfound and that the original present failover is dropped.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Hrvoje Ribicic <riba@google.com>
Describe the --restricted-migration option
Add the --restricted-migration option to the man page together witha hint on the intended use case.
Support restricted migration
Make hbal support an option to disallow ReplacePrimary movesand restrict ReplaceAndFailover to instances where the primarynode is drained. If used in evacuation mode, the only migrationmoves will be off the drained nodes....
Add an option for restricted migration
This option will allow node evacuation with migrations onlyoff the nodes to be evacuated.
Add an example for node evacuation
The configuration shows an unbalanced cluster witha node being drained. The natural evacuation strategyincludes frf-moves.
KVM: set IFF_ONE_QUEUE on created tap interfaces
The IFF_ONE_QUEUE flag directs the kernel to only queue tap packets once(as opposed to queueing them twice, once for the device, and once for theqdisc), possibly avoiding interface stalls when one of the queues overruns....
Add configure option to pass GHC flags
Adding the HEXTRA option to make might not be practical for a changethat should be always applied, e.g., hiding a certain package. Thispatch allows the flags to be specified at the configure level.
Signed-off-by: Hrvoje Ribicic <riba@google.com>...
(grnet) Remove deprecated physical_id if found
In 2.8 disks have been added to runtime files for hotplug support.Back then physical_id slot existed. Remove this slot in the earlystage of Disk.FromDict() otherwise an exception will be raised.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Disable CheckFileStoragePathNotWritable test
..because it fails when runs as root.
(grnet) Upgrade runtime files
Each disk entry should include (disk dict, link name, disk uri).
When hotplug was backported in 2.8 access uri was not supported.Thus the relevant entry for each disk entry might be missing fromthe runtime files. Add an empty string in this case....
« Previous 1 2 3 4 ... 240 Next » (51-100/11958) | Per page: 25, 50, 100
Also available in: Atom