Activity

From 11/13/2011 to 12/12/2011

12/12/2011

04:04 pm Revision 9475189d: Document DRBD dynamic resync params in man pages
Also, remove some spurious spaces in the documentation of other options
and uniform the style of the disk parameters ...
Andrea Spadaccini
04:04 pm Revision 8584e922: Add the remaining DRBD dynamic sync disk params
Add the c-plan-ahead, c-fill-target, c-delay-target, c-max-rate,
c-min-rate parameters; report errors while setting t...
Andrea Spadaccini
04:04 pm Revision f2f57b6e: Add the dynamic-resync DRBD disk parameter
constants.py, cmdlib.py:
- add the dynamic-resync parameter, both at DT and LD levels;
lib/bdev.py:
- change SetSync...
Andrea Spadaccini
04:04 pm Revision 5e83282b: Describe the dynamic-resync par. in the design doc
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Andrea Spadaccini
12:23 pm Revision cc120286: Makefile.am: fix permissions for Python scripts on install
Some Python scripts in /usr/lib/ganeti/ were getting the wrong permissions
(their 'x' bit was cleared). This patch f...
Bernardo Dal Seno
12:22 pm Revision 0f796800: devel/upload: Fix permissions for installed directories
Permissions for the directories created during install depended on the
umask of the user running the script. Now uma...
Bernardo Dal Seno

12/09/2011

05:48 pm Revision 04b8aebf: QA: init cluster changes ispecs
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Agata Murawska
05:48 pm Revision 195f90bf: Empty ipolicy fix
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Agata Murawska
05:47 pm Revision d6033c14: Man page for gnt-group
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Agata Murawska
05:47 pm Revision e37c5129: Man page for gnt-cluster
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Agata Murawska
05:47 pm Revision bf8647a3: Resource model design update
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Agata Murawska
05:47 pm Revision 6b9ff5e2: SimpleFillIpolicy corrected
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
05:47 pm Revision 4f725341: Change constants: ISPECS suffixes to prefixes
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
05:44 pm Revision 5959f75d: mem_count is now mem_size everywhere
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Agata Murawska

12/08/2011

07:24 pm Revision fb644e77: GroupSetParam supports instance policy changes
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:24 pm Revision 1f5d9bf8: AddGroup supports instance policy
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:24 pm Revision edd49f9b: Group query now calculates ipolicy
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:24 pm Revision 38c37a51: Verification of instance policy for gnt-cluster verify
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:24 pm Revision 81e3ab4f: Introduce instance policy on nodegroup level
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:24 pm Revision be499e31: Cluster-level instance policy - other
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:23 pm Revision e1a6850f: SetClusterParams supports instance policy changes
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:23 pm Revision 18bb6d28: InitCluster supports instance policy
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:23 pm Revision 32017174: Instance policy command line support
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
07:23 pm Revision 918eb80b: Introduce instance policy on cluster level
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
06:21 pm Revision 4958b41e: daemon.GenericMain: Don't generate backtrace on conflicting daemons
Instead, print a nicer error message. This should fix issue 200.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
06:21 pm Revision b6522276: utils.io.WritePidFile: Improve error reporting
If the PID file is already locked by another process, try to read
the content and report it as part of the error mess...
Michael Hanselmann
06:03 pm Revision fcf5b670: Add a balloon device to all kvm instances
This can be used to resize their memory (for now only manually, as
ganeti doesn't do the job yet)
Signed-off-by: Gui...
Guido Trotter
06:03 pm Revision 89da2ff3: kvm: get more accurate info from qmp, if possible
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:03 pm Revision fc84cd5d: kvm: make qmp connections more robust
Currently qmp fails at connect() time if there are socket errors. (eg.
if the instance was started without qmp). Add ...
Guido Trotter
06:03 pm Revision eb93b673: Move ErrnoOnStr backend function to utils
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:36 pm Revision a46b1883: Add documentation for disk parameters to man pages
Document the stripes parameter for the plain template and the
resync-rate, datastripes, metastripes, disk-barriers, m...
Andrea Spadaccini
01:36 pm Revision ad1dd4c7: Add net-custom and disk-custom DRBD parameters
Those parameters can be used to pass options directly to drbdsetup disk
and drbdsetup net.
Signed-off-by: Andrea Spa...
Andrea Spadaccini
01:36 pm Revision 8002e46b: Add the metavg DRBD disk parameter
This parameter represents the default metadata volume group for DRBD
disks. It can be overridden at instance creation...
Andrea Spadaccini
01:36 pm Revision ac00bf1b: Move LD parameters constants to the LDP_ namespace
Add the LDP_ prefix to the LD parameters-related constants, in order to
avoid pollution in the global constants names...
Andrea Spadaccini
01:32 pm Revision 23805716: Restore diskparams in the gnt-group options check
Commit a82823 accidentally removed opts.diskparameters from the list of
parameters that are checked for presence in g...
Andrea Spadaccini
12:42 pm Revision 2dbc6857: utils.ListVisibleFiles: Hide “lost+found” directories
If a “lost+found” directory is found at a filesystem's root path it is
ignored. In all other cases directory entries ...
Michael Hanselmann
12:03 pm Revision ba1260ba: Some small test simplifications
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:53 am Revision 42a769f9: Add tests for parameter "always_failover"
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Ius...
Bernardo Dal Seno
11:51 am Revision 11dc66f3: Add new back-end parameter "always_failover"
Instances that have this parameter is set to True are never migrated, but
instead they can only fail over. There are...
Bernardo Dal Seno
11:40 am Revision 1cdc9dbb: manpages: Fix small errors in documentation
Mostly typos, except for the output of "gnt-instance migrate" in an
example, which has been updated to the current ve...
Bernardo Dal Seno
10:48 am Revision 2da9f556: gnt-cluster: Allow modify disk/hv state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:48 am Revision a8282327: gnt-group: Allow modify disk/hv state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:48 am Revision 0ec2ce46: gnt-node: Allow modify disk/hv state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:48 am Revision 0ba177e2: cmdlib: Adding hv/disk state dict helper functions
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:48 am Revision 38f29a36: cli: Add common command flags for hv/disk state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:48 am Revision 784cd737: cmdlib: Adding _UpdateAndVerifySubDict helper
This helps with 2 dimensional dicts.
For example the hv_state and the disk_state dicts.
Signed-off-by: René Nussbaum...
René Nussbaumer
10:00 am Revision 3603605a: Cleanup hlint errors
First, we update the recommended hlint version to what I used to get a
clean output (1.8.15). Most of the changes are...
Iustin Pop
10:00 am Revision 2f9198be: Abstract some common hspace code into a function
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>
Iustin Pop
10:00 am Revision 255f55a9: Abstract some common Cluster.hs code into a function
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>
Iustin Pop

12/07/2011

10:57 pm Revision c12adead: Add DRBD dynamic resync speed params to design doc
* Expand the Name column of the table (for c-delay-target)
* Add the c-* DRBDparameters to the table containing the d...
Andrea Spadaccini
12:00 pm Revision a1505857: Convert opcode TH code to the use of Field type
This makes more explicit the field behaviour - previously an optional
field was detected via a "Maybe" constructor, a...
Iustin Pop
12:00 pm Revision 656a7fdf: Unify some file lists in Makefile.am
These were repeated needlessly; I hope I grouped them correctly.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Iustin Pop

12/06/2011

06:34 pm Revision 8a69b3a8: Add DRBD barriers disk parameters
Add the disk-barriers and meta-barriers parameters described in the
design doc.
constants.py:
* add the needed LD an...
Andrea Spadaccini
02:12 pm Revision 8bec868e: Style fixes on confd-client
Oops, forgot to check this before initial commit, sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
12:01 pm Revision a591e210: NEWS: Add missing space
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
11:38 am Revision 6bd26f00: htools: small change in error message in THH.hs
We should also display the value we can't parse, otherwise debugging
is very hard.
Signed-off-by: Iustin Pop <iustin...
Iustin Pop
11:38 am Revision 706f7f51: htools: improvements to JSON deserialisation
This fixes two problems:
- first, when we deserialise a big object, showing its value is not
useful, as it will hi...
Iustin Pop
11:37 am Revision 879273e3: htools: add new template haskell system
This system based on explicit types instead of ad-hoc rules
(e.g. instead of deducing from "Maybe Int" an optional fi...
Iustin Pop
10:48 am Revision 4ef0399b: Add a small confd client
This can be used to test live servers; currently there's not direct
way to interact with a confd server, except for b...
Iustin Pop
10:48 am Revision 530b64e6: A few updates to the confd design (2.1)
While the 2.1 design is old and should be “immutable”, I can't find
documentation about the confd protocol anywhere e...
Iustin Pop

12/02/2011

06:55 pm Revision 406a9c91: cmdlib: Make use of cluster's new “primary_hypervisor” property
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:55 pm Revision 0fbedb7a: objects.Cluster: Add property for primary hypervisor
This is useful for working with a node's hypervisor state, where only
the primary hypervisor will be authoritative.
...
Michael Hanselmann
06:29 pm Revision 43e11798: LV stripes parameters for plain and drbd
configure.ac:
* change the documentation of --with-lvm-stripecount parameter to
reflect the change
doc/design-reso...
Andrea Spadaccini

12/01/2011

01:04 pm Revision 6e9814a1: Add DRBD8 static resync speed disk parameter
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Andrea Spadaccini
01:04 pm Revision 5e99141b: Use disk parameters in Logical Units
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Andrea Spadaccini
01:04 pm Revision 94dcbdb0: Use disk parameters in noded
* add the params attribute to BlockDev, and add the corresponding
parameter to all the BlockDev classes;
* change t...
Andrea Spadaccini
01:03 pm Revision 13d2e231: qa: add gnt-cluster tests related to disk params
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Andrea Spadaccini
01:03 pm Revision bc5d0215: Add basic support for disk parameters
objects.py:
* add disk parameters to Disk, Cluster, NodeGroup.
constants.py:
* add dictionaries that will hold t...
Andrea Spadaccini
12:38 pm Revision 1e89a135: More fixes after commit 78519c106
A quick QA run successfully finished with these changes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann

11/30/2011

03:52 pm Revision ff3be305: Fix “node_info” RPC result
Commit 78519c106 broke everything. Here's the fix.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
03:18 pm Revision fbd55434: Fix race condition in test for *FileID functions
In this test the “file ID” of a temporary file is compared against the
file ID gathered via an open file descriptor t...
Michael Hanselmann
01:57 pm Revision 54ac87c0: query: Add fields for node's disk/hv state
These fields just return the node attribute's contents. They will be
used by the watcher to detect out of date node s...
Michael Hanselmann
01:57 pm Revision 16ca6243: hv_xen: Report memory used by hypervisor
- Report memory used by hypervisor (“mem_hv” as per resource model
design document, “xmem” in htools)
- Also report...
Michael Hanselmann
01:57 pm Revision 1d60fec6: hv_xen: Export number of CPUs for Dom0
This will be stored in the node object and used for calculations.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
01:57 pm Revision 5f06ce5e: Add objects for disk/hv state
- Data objects
- Serialization/deserialization
- Unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
12:28 pm Revision 634d30f4: objects.Node: Add static hv/disk state
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:28 pm Revision 18bf85b1: hv_xen: Use constant for “Domain-0” name
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:26 pm Revision 78519c10: Change “node_info” RPC to accept multiple VGs/hypervisors
Keeping the node state up to date will require information from multiple
VGs and hypervisors. Instead of requiring mu...
Michael Hanselmann
12:16 pm Revision c6a622cf: locking: Allow checking if lock is owned in certain mode
With this patch the “LockSet” and “GanetiLockManager” classes have a new
function to check if a single or a group of ...
Michael Hanselmann
12:11 pm Revision b39d17b1: Add UnescapeAndSplit unittest for multi-escapes
This would have caught the bug in the first place. Argh,
hand-generated test cases!
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
11:37 am Revision 997f690f: Fix a bug in command line option parsing code
Fix bug affecting command line options of "keyval" type. Although
escaping commands with \ is supported, it is is not...
Nikos Skalkotos

11/24/2011

04:11 pm Revision c1ef933c: Merge branch 'devel-2.5'
* devel-2.5:
ConfigWriter: Fix epydoc error
ConfigWriter: Fix epydoc error
Signed-off-by: Michael Hanselmann <ha...
Michael Hanselmann
03:59 pm Revision 53f75d02: Merge branch 'devel-2.4' into devel-2.5
* devel-2.4:
ConfigWriter: Fix epydoc error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ren...
Michael Hanselmann
02:22 pm Revision 1df43aa3: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
ConfigWriter: Fix epydoc error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: An...
Michael Hanselmann
02:11 pm Revision 1d4930b9: ConfigWriter: Fix epydoc error
The parameter is called “mods”, not “modes”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andr...
Michael Hanselmann
02:07 pm Revision 1730d4a1: ConfigWriter: Fix epydoc error
The parameter is called “mods”, not “modes”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andr...
Michael Hanselmann
12:31 pm Revision 75191077: Merge branch 'devel-2.5'
* devel-2.5:
LUGroupAssignNodes: Fix node membership corruption
LUGroupAssignNodes: Fix node membership corruptio...
Michael Hanselmann
11:50 am Revision a0d39c8f: Merge branch 'devel-2.4' into devel-2.5
* devel-2.4:
LUGroupAssignNodes: Fix node membership corruption
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
11:04 am Revision 2b9245ff: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
LUGroupAssignNodes: Fix node membership corruption
Fix pylint warning on unreachable code
LUNodeE...
Michael Hanselmann
10:39 am Revision 54c31fd3: LUGroupAssignNodes: Fix node membership corruption
Note: This bug only manifests itself in Ganeti 2.5, but since the
problematic code also exists in 2.4, I decided to f...
Michael Hanselmann
10:32 am Revision 218f4c3d: LUGroupAssignNodes: Fix node membership corruption
Note: This bug only manifests itself in Ganeti 2.5, but since the
problematic code also exists in 2.4, I decided to f...
Michael Hanselmann
10:32 am Revision 9c4f4dd6: Fix pylint warning on unreachable code
Commit c50452c3186 added an exception when all instances should be
evacuated off a node, but did so in a way which ma...
Michael Hanselmann

11/23/2011

03:25 pm Revision c50452c3: LUNodeEvacuate: Disallow migrating all instances at once
There is a design issue in the iallocator interface which prevents us
from doing this.
Signed-off-by: Michael Hansel...
Michael Hanselmann
03:03 pm Revision cb92e7a1: Separate OpNodeEvacuate.mode from iallocator
Until now the iallocator constants for node evacuation
(IALLOCATOR_NEVAC_*) were also used for the opcode. However, i...
Michael Hanselmann
03:03 pm Revision 50722bfd: LUNodeEvacuate: Locking fixes
When evacuating a node, only an assertion without informative text was
used to check if the necessary node locks had ...
Michael Hanselmann
11:51 am Revision d05326fc: Fix error when removing node
ConfigWriter.GetAllInstancesInfo returns a dictionary, not a list.
Removing a node would fail with “too many values t...
Michael Hanselmann

11/22/2011

07:55 pm Revision 8ccbbe4b: qa: use maximum and minimum memory
test modification of either parameter, but also both at once.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re...
Guido Trotter
07:55 pm Revision 63c55458: cmdlib: use MAXMEM for all operations
Since for now we can only start instances at their maximum memory, we
modify all checks to use that value. When we'll...
Guido Trotter
07:55 pm Revision 861610e9: unittests: use max/min memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:55 pm Revision 37036867: burnin: use mem_size as max and min
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:55 pm Revision b2e233a5: Remove BE_MEMORY from beparams but keep compatibility
Queries are already compatible (be/memory is an alias for be/maxmem) and
import/exports work. This patch patch fixes ...
Guido Trotter
07:55 pm Revision 2e1a6024: constants: reindent a few dicts
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:55 pm Revision 90bb3fe1: manpages: update beparams explanations
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:53 pm Revision f5a4b9ce: hypervisors: use maximum memory for all operations
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:53 pm Revision 1db993d5: ImportExport: use max and min memory params
Import uses the old "memory" parameter to populate the two new ones, if
they're not overridden already.
FinalizeExpo...
Guido Trotter
04:52 pm Revision 31d1791a: Query: allow query on maximum and minimum memory
be/memory is kept as an alias.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@g...
Guido Trotter
04:52 pm Revision b5ef2316: ShowInstanceConfig: show max and min memory
The old "memory" value is kept as maxmem, for now, for
retrocompatibility.
Signed-off-by: Guido Trotter <ultrotter@g...
Guido Trotter
04:52 pm Revision 3fa222b4: instance hooks: pass maximum and minimum memory
Also pass the "memory" value for retrocompatibility, for now.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re...
Guido Trotter
04:52 pm Revision 8c72ab2b: beparams: add min/max memory values
For now the new "memory" parameter stays there, but it will be removed
later. The new values are just taken from the ...
Guido Trotter

11/21/2011

12:54 pm Revision 5d40c988: design-resource-model: update disk params section
Simplify design by moving all the parameters to disk template level,
explaining why this is sub-optimal. Add notes ab...
Andrea Spadaccini
12:04 pm Revision d529599f: Set DRBD sync speed in DRBD8.Assemble
Instead of relying on clients of the class for setting the device speed
(and, in general, the DRBD parameters), move ...
Andrea Spadaccini
11:59 am Revision 99cafe0f: build-rpc: Fail if call is defined more than once
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:52 am Revision edea391e: Reapply commit 2a6de57 after merge
In the last merge I erroneously discarded the changes introduced by
commit 2a6de57 "Check the results of master IP RP...
Andrea Spadaccini
10:45 am Revision f73e5568: Fix QA breakage caused by merge 0e82dcf9
Patch tested and confirmed to work by Andrea Spadaccini
<spadaccio@google.com>.
Signed-off-by: Michael Hanselmann <h...
Michael Hanselmann
09:36 am Revision 2d6b5414: daemon: Support clean daemon shutdown
Instead of aborting the main loop as soon as a fatal signal (SIGTERM or
SIGINT) is received, additional logic allows ...
Michael Hanselmann
09:36 am Revision cb4d3314: masterd: Initialize job queue only after RPC client
Otherwise jobs started after an unclean master shutdown will fail as
they depend on the RPC client.
Signed-off-by: M...
Michael Hanselmann
09:36 am Revision 5483fd73: masterd: Shutdown only once running jobs have been processed
Until now, if masterd received a fatal signal, it would start shutting
down immediately. In the meantime it would han...
Michael Hanselmann
09:36 am Revision e0545ee9: daemon: Use counter instead of boolean for mainloop abortion
Also log a message when a fatal signal was received and use dict.items.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
09:36 am Revision ef52306a: workerpool: Export function to check for running tasks
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
09:36 am Revision 6d5ea385: jqueue: Add code to prepare for queue shutdown
Doing so will prevent job submissions (similar to a drained queue),
but won't affect currently running jobs. No furth...
Michael Hanselmann
09:36 am Revision f5acf5d9: daemon: Allow custom maximum timeout for scheduler
This is needed in case the scheduler user (daemon.Mainloop in this case)
has other timeouts at the same time. Needed ...
Michael Hanselmann

11/18/2011

07:20 pm Revision 7345b69b: htools: adjust imports for newer compilers
While testing with ghc 7.2, I saw that some imports we are using are
very old (from ghc 6.8 time), even though curren...
Iustin Pop
01:48 pm Revision 0e82dcf9: Merge branch 'devel-2.5'
* devel-2.5: (24 commits)
LUInstanceCreate: Release unused node locks
htools: rework message display construction...
Andrea Spadaccini
12:41 pm Revision 0c1441eb: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
htools: rework message display construction
hbal: handle empty node groups
Document OpNodeMigrate...
Michael Hanselmann
12:05 pm Revision 05c2e624: Merge branch 'devel-2.4' into devel-2.5
* devel-2.4:
Ensure unused ports return to the free port pool
Re-wrap a paragraph to eliminate a sphinx warning
...
Michael Hanselmann

11/17/2011

05:24 pm Revision bafb5067: Man page update: online/offline state of instance
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Agata Murawska
05:24 pm Revision 754cc530: Backwards compatibity - added admin_up to query
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Agata Murawska
05:24 pm Revision 555d5304: NEWS update - offline instance state
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
05:24 pm Revision edc282ad: admin.rst update regarding offline state of the instance
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:49 pm Revision cd8b0072: Add toggle for enabling/disabling confd
Doesn't do anything yet.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@googl...
Iustin Pop
03:49 pm Revision b99d1638: Fix unittest bug related to offline instances
Currently, the code in Node.hs is overly strict: once a node's free
memory reaches 0, it will refuse to add any insta...
Iustin Pop
03:49 pm Revision db3780f9: Prevent runnning of confd tests in burnin
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision aa224134: Adapt watcher for ENABLE_CONFD
If confd is disabled, do not automatically restart it. Furthermore, we
can't run maintenance actions if it is disable...
Iustin Pop
03:49 pm Revision c4e5d11e: Adapt daemon-util to ENABLE_CONFD
We still allow explicit shutdown of confd, but we prevent manual
or automatic start-up.
Signed-off-by: Iustin Pop <i...
Iustin Pop
03:49 pm Revision 10d3f678: Add small node in admin.rst about confd disabling
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision d29036c1: Warn if we enable maintain-node-health without confd
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision 9fc18384: htools: finish re-indenting Cluster.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision ebf38064: htools: reindent the rest of the files
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision d5dfae0a: htools: re-indent QC.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision cd08cfa4: htools: reindent CLI.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision 2ba17362: htools: reindent hbal
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision 3c3690aa: htools: reindent hspace
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision 00dd69a2: htools: re-indent IAlloc.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:49 pm Revision fd7a7c73: htools: re-indent Node.hs
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:39 pm Revision e8a701f6: masterd: Don't pass mainloop to server class
It is not used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:39 pm Revision 27caa993: workerpool: Allow processing of new tasks to be stopped
This is different from “Quiesce” in the sense that this function just
changes an internal flag and doesn't wait for t...
Michael Hanselmann
03:39 pm Revision 2db05c94: workerpool: Use loop to ignore spurious notifications
This saves us from returning to the worker code when there is no
task to be processed.
Signed-off-by: Michael Hansel...
Michael Hanselmann
03:39 pm Revision c8d0be94: jqueue: Factorize code checking for drained queue
This is in preparation for a clean(er) shutdown of masterd.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re...
Michael Hanselmann
03:31 pm Revision ac2c8bc0: LUInstanceCreate: Release unused node locks
After iallocator ran we can release any unused node locks. Since they
must be in exclusive mode this should improve p...
Michael Hanselmann
01:04 pm Revision 69f0340a: cmdlib.TLReplaceDisks: Use itertools.count
… instead of a variable which needs to be incremented for every step.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann

11/16/2011

04:01 pm Revision bdd8c739: htools: rework message display construction
While diagnosing some (unrelated) memory usage in htools, I've
stumbled upon some very bad behaviour in checkData: ma...
Iustin Pop
04:01 pm Revision 2072221f: hbal: handle empty node groups
This patch changes an internal assert (which can only be triggered
when a node group is empty) into properly handling...
Iustin Pop
03:59 pm Revision f23f21c3: Start converting the indentation to 2-chars
… also do some other small style cleanups.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter ...
Iustin Pop
03:16 pm Revision e1bf27bb: htools: Nicer arbitrary instantiation
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:16 pm Revision 61bbbed7: htools: change behaviour for offline instances
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:16 pm Revision 8a8ed513: htools: remove 'running' from instance options
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 7dd14211: htools: change runSt type to InstanceStatus
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 3771d104: htools: create InstanceStatus ADT
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 57de31c0: Transition into and out of offline instance state
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 2e04d454: Introduce admin_state as 3-values data type
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 9ca8a7c5: Rename admin_up to admin_state
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
03:15 pm Revision 34598551: Fixed typo in _VerifyResultRow
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Agata Murawska
10:41 am Revision 9c709b31: algo: Make a dict from an flat list
This is in preparation to take deeper dict constructs from the command
line. You can feed the optionslist directly co...
René Nussbaumer

11/15/2011

03:50 pm Revision ee2b99e3: locking: Make some aliased methods public
Some methods, such as “_is_owned” and “list_owned”, have been aliased to
make them public for a while now. This patch...
Michael Hanselmann
03:00 pm Revision 63e6a7f6: cmdlib._ReleaseLock: Do nothing if no locks are owned
The locking library doesn't like it when “release()” is called on
a lockset or lock which isn't held by the current t...
Michael Hanselmann
11:52 am Revision 4d4eae2a: Use resource lock when setting node parameters
Also acquire instance and resource locks in shared mode (see comment).
Signed-off-by: Michael Hanselmann <hansmi@goo...
Michael Hanselmann
11:52 am Revision 42828156: Use node resource lock for replacing instance disks
If early-release is not used, the resource lock is kept while waiting
for disks to sync.
Signed-off-by: Michael Hans...
Michael Hanselmann
11:52 am Revision 63742d78: Hold node resource locks while setting instance parameters
Important for when disks are converted. Release locks once they're not
needed anymore. Make liberal use of assertions...
Michael Hanselmann
11:52 am Revision c57add7e: Hold node resource lock while moving instance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:51 am Revision d3986702: Acquire node resource lock when removing instance
Removing an instance affects available disk space and memory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann
11:51 am Revision 6a752efc: Use node resource lock when recreating instance disks
Recreating disks conflicts with other disk operations, therefore the
node resource lock must be acquired.
Signed-off...
Michael Hanselmann
11:51 am Revision a4e588b7: LUClusterRepairDiskSizes: Use node resource locks
Since this doesn't really touch the node, but it conflicts with e.g.
growing a disk, the resource lock must be acquir...
Michael Hanselmann
11:51 am Revision 0c3c965a: LUInstanceGrowDisk: Use node resource lock
Also add one more feedback line. Downgrade instance lock to shared mode
while we're only waiting for disks to sync. T...
Michael Hanselmann
11:51 am Revision eaee9e3b: LUInstanceCreate: Hold node resource lock
The node resource lock is released once the disks are in sync (that is,
after wiping).
Signed-off-by: Michael Hansel...
Michael Hanselmann
11:19 am Revision d9d9e0d9: LUNodeQueryvols: Acquire all locks in shared mode
Nothing is being written to.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@g...
Michael Hanselmann
11:19 am Revision efcb184e: LUNodeQueryStorage: Acquire all locks in shared mode
Nothing is written to.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google....
Michael Hanselmann
11:19 am Revision aefb66c0: cmdlib: Share lock in LUInstanceConsole
No writes are being done.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
Michael Hanselmann
08:13 am Revision 65c9591c: Document OpNodeMigrate's result for RAPI
- Commit b7a1c8161 changed the LU to generate jobs
- Mention documented results in NEWS
Signed-off-by: Michael Hanse...
Michael Hanselmann
08:13 am Revision d1ad741e: LUNodeQuery: Call implementation's DeclareLocks function
Just in case we ever add locks for querying nodes. Currently
_NodeQuery's DeclareLocks is a no-op function.
Signed-o...
Michael Hanselmann

11/14/2011

05:18 pm Revision 702eff21: Use master IP address setup script in backend
Replace the code in backend.ActivateMasterIp and
backend.DeactivateMasterIp with the master IP address setup script,
...
Andrea Spadaccini
05:18 pm Revision 57c7bc57: Change master IP address RPCs for external script
Change the master IP address RPC call chain to accept the
use_external_master_ip_script parameter. Introduces an unus...
Andrea Spadaccini
05:18 pm Revision 17b0b812: Update cluster verify to check IP address scripts
Update cluster-verify to check the integrity of the default master IP
address setup script and the presence and execu...
Andrea Spadaccini
05:18 pm Revision bf689b7a: Add --use-external-mip-script flag
- add a command line flag to gnt-cluster init and modify to change the
value of the cluster parameter use_external_...
Andrea Spadaccini
05:17 pm Revision 33be7576: Add use_external_mip_script cluster parameter
Add the use_external_mip_script cluster parameter, that represents
whether the master IP address turnup/turndown proc...
Andrea Spadaccini
05:17 pm Revision d9eefcfa: Add the default master-ip-setup script
Add a shell script that will be the default replacement for the body of
backend.ActivateMasterIp and backend.Deactiva...
Andrea Spadaccini
11:03 am Revision f396ad8c: Ensure unused ports return to the free port pool
Ensure ports previously allocated by calling ConfigWriter's AllocatePort() are
returned to the pool of free ports whe...
Vangelis Koukis
11:03 am Revision ca8f5622: Re-wrap a paragraph to eliminate a sphinx warning
This just makes sure that the paragraph doesn't contains lines that
start with :, which make Sphinx (1.0.7) complain....
Iustin Pop
08:23 am Revision db859c7d: check-python-code: Detect old-style pylint disable-msg lines
Commit b459a848d was supposed to replace all, but one was missed. Add a
check to autotools/check-python-code.
Signed...
Michael Hanselmann
« Previous
Next »
 

Also available in: Atom