Activity

From 11/14/2010 to 12/13/2010

12/13/2010

09:27 pm Revision ccc6345b: Add ganeti-kvm-poweroff.initd to .gitignore
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:33 pm Revision 4b10fb65: More QA tests for group operations
This adds QA tests for the SetGroupParams operation, both for CLI and
RAPI. Additionally, it adds tests for add/renam...
Adeodato Simo
06:33 pm Revision 2bac48c4: Add some unit tests for ConfigWriter.AddNodeGroup()
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:33 pm Revision f18fab7d: Expose OpSetGroupParams in RAPI and RAPI client
This creates the /2/groups/<name>/modify resource; at the moment, only the
"alloc_policy" attribute can be modified.
...
Adeodato Simo
06:33 pm Revision 90e99856: Add the "alloc_policy" attribute to node groups
This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups...
Adeodato Simo
06:33 pm Revision 4da7909a: Add modification of node groups (OpCode/LU/CLI)
With this commit, only modification of the "ndparams" attribute is
supported.
Signed-off-by: Adeodato Simo <dato@goo...
Adeodato Simo
06:32 pm Revision 483be60d: Introduce OpAddGroup.ndparams and expose in CLI
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Adeodato Simo
06:32 pm Revision 907af698: Fix sorting bug in LUQueryGroups
In LUQueryGroups.Exec(), NiceSort was being applied to group UUIDs, and
not to group names. We use a temporary name t...
Adeodato Simo
05:21 pm Revision bd92fca1: cmdlib: Sort list of fields for QueryFields
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
05:21 pm Revision 0538c375: objects: Add custom de-/serializing code for query responses
… and use them in cmdlib.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@goo...
Michael Hanselmann
05:19 pm Revision 28b71a76: LUXI: Add Query and QueryFields functions
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
05:15 pm Revision 24d6d3e2: objects: Add definitions for query requests and responses
Also update description of QueryFieldDefinition.name.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
05:15 pm Revision 60cba7f8: qlang: Add function to build simple filter
This will be used in clients to build the filters for query2.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann
05:15 pm Revision 145bea54: query: Handle items missing timestamps
In upgraded configurations, some items might miss the “ctime” and/or
“mtime” values and need to be handled specially....
Michael Hanselmann
04:00 pm Revision 38f9d2cf: Add gnt-cluster modify --master-netdev
Although this might be a dangerous operation, it's still better to allow
it rather than requiring a hand-edit of the ...
Guido Trotter

12/10/2010

07:28 pm Revision 46aae796: Rename “kind” to “what” for calls in query2 design
“kind” is already used in the field definition. “what” seems to
be a better fit for the calls (“what should be querie...
Michael Hanselmann
06:26 pm Revision 288d6440: QA: Improve tests for instance/node list
- Query all known fields
- Random combinations (using a PRNG with a fixed seed) of fields
- Order of result names
Si...
Michael Hanselmann
05:48 pm Revision fcdf575b: cmdlib: Convert instance query to new infrastructure
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:48 pm Revision 1c8addc6: query: Add definition for instance queries
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:13 pm Revision 5d9e167a: Script to gracefully power off KVM instances
When a node is running KVM instances and that node is rebooted or
shutdown, the gnt-noded daemon is finished and leav...
Miguel Di Ciurcio Filho

12/09/2010

05:36 pm Revision d41d07d4: Fix disk status verification in LUClusterVerify
Commit b8d26c6 added disk status verification, but it has two
(different) bugs for not healthy nodes.
For offline no...
Iustin Pop
05:14 pm Revision 31ed0b58: Merge branch 'devel-2.3'
* devel-2.3:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by:...
Guido Trotter
05:13 pm Revision d1a0ab50: Merge branch 'devel-2.2' into devel-2.3
* devel-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by:...
Guido Trotter
05:12 pm Revision be9f4904: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
Guido Trotter
05:11 pm Revision 5500ca1f: Merge branch 'stable-2.2' into stable-2.3
* stable-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
Guido Trotter
05:09 pm Revision 3721d2fe: Fix rename for file-backed instances
Currently the code wrongly changes the disk logical/physical id
component representing the path from "$storage_dir/$i...
Guido Trotter
05:03 pm Revision d0b98288: Check payload of OOB execution
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
05:03 pm Revision 9d5198ad: Replace GetOobProgram by GetNdParams
This was due to a older review which used GetOobProgram but then
changed to GetNdParams. Forgot to adjust this in the...
René Nussbaumer
05:03 pm Revision 1aa88d95: Ensure we just serialize JSON if there is data
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
05:03 pm Revision 0092d621: Adding missing timeout parameter to rpc interface
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:08 pm Revision dec88196: Improve error reporting for small clusters
When doing a two-node allocation on a cluster/group in which only one
node is online, or a one-node allocation withou...
Iustin Pop
04:08 pm Revision 9b1584fc: hail/allocate: implement multi-group support
This is a bit hackish. We add a new function that takes the input data,
splits it into groups, runs the original tryA...
Iustin Pop
04:08 pm Revision db4d9a9b: hail: remove the custom info message generation
Since the solutions are "self-annotated", we can remove the custom code
from hail, and just keep a very small process...
Iustin Pop
04:08 pm Revision 859fc11d: Add a 'log' attribute to allocation solutions
And also a couple of functions for describing a given solution; these
will be used in the future instead of the ones ...
Iustin Pop
04:08 pm Revision 85d0ddc3: Change AllocSolution from tuple to its own type
Tuples are good for two, three, at most four elements. Beyond that, the
continuous pattern matching and construction/...
Iustin Pop
02:38 pm Revision 46747143: qa: test same-name instance rename
Use the simplified command and rapi version to perform an instance
rename to the same name. This is performed anytime...
Guido Trotter
02:37 pm Revision e5c2accd: Simplify instance rename qa test
The current instance rename qa testing function can only perform
back-and-forth renames, both for command line and ra...
Guido Trotter
12:29 pm Revision 2db12a5a: Allow rename of instance to same name
This basically is a no-op in ganeti, but forces the execution of the
os-specific rename scripts.
Signed-off-by: Guid...
Guido Trotter

12/08/2010

09:45 pm Revision 75cf411a: Introduce constant for the name of the initial node group
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
09:45 pm Revision 7407c2d5: constants.py: fix tiny grammar issue in comment
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
09:45 pm Revision e6e88de6: objects.py: fix minor error in NodeGroup.SimpleFillND docstring
The defaults are filled in from the node group defaults, not cluster
defaults (presumably copy & paste error).
Signe...
Adeodato Simo
09:45 pm Revision 5c64fbc2: design-2.3.rst: fix whitespace
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
08:22 pm Revision 85661274: Node query: maintain order as requested
If the client requests certain names, their order should be maintained.
This is already done for instance queries. Mo...
Michael Hanselmann
08:00 pm Revision 89ce4acc: query: Improve error checking
- Show only field definition, not callback when a result row is
inconsistent
- Show list of duplicate titles if the...
Michael Hanselmann
08:00 pm Revision 70d8ccaf: constants: Clarify comment for QRFS_NODATA
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
Michael Hanselmann
08:00 pm Revision 949f5e86: cmdlib: Fix prototype for _QueryBase.DeclareLocks
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
Michael Hanselmann
04:59 pm Revision 66787da5: Group operations: add QA tests for add/remove/rename
This is a single function that tests all of of the following:
- creating groups
- creating groups that exist fai...
Adeodato Simo
02:27 pm Revision a268af8d: Group operations: update ganeti.rapi.client with all node group operations
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision 0dbaa9ca: Group operations: expose add/remove/rename in RAPI
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision 66e884e1: Group operations: CLI code for add/remove/rename a group
Also, minor update to the 2.3 design doc, which was indicating the remove
operation would be `gnt-group del` and not ...
Adeodato Simo
02:27 pm Revision 4fe5cf90: Group operations: OpCode and LU for renaming a group
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision 94bd652a: Group operations: OpCode and LU for removing a group
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision b1ee5610: Group operations: OpCode and LU for adding a group
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision 4edc512c: Expose new node group attributes in CLI and RAPI
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
02:27 pm Revision e11a1b77: config.py, objects.py: more node group support
In particular:
- add AddNodeGroup and RemoveNodeGroup in config.py
- refactor _UpgradeConfig to make use of _Un...
Adeodato Simo

12/07/2010

04:51 pm Revision eb64da59: Adding new OpCode for OOB
Register OpCode and Logical Unit in mcpu.py
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hans...
René Nussbaumer
04:51 pm Revision 445f735d: Adding new Logical Unit for OOB
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer

12/06/2010

11:22 pm Revision 1698503a: cmdlib: Don't sort list of nodes if names are given
This makes _GetWantedNodes consistent wit _GetWantedInstances.
Signed-off-by: Michael Hanselmann <hansmi@google.com>...
Michael Hanselmann
11:22 pm Revision 9f5a3645: utils: Add function to find duplicates in sequence
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
Michael Hanselmann
08:48 pm Revision 049383d9: hv_kvm.py: fix some lint issues introduced in 4b784cf
In particular:
- break as couple lines that were longer than 80 characters
- fix a couple "comma not followed by...
Adeodato Simo
02:59 pm Revision 819ca990: locking: add nodegroup lock level
This also changes masterd to initialize the ganeti's manager with the
current list of nodegroup uuids, and updates un...
Guido Trotter
02:59 pm Revision 1177d70e: Remove bridge NIC slot
This has been deprecated and unused since 2.1.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mich...
Guido Trotter

12/03/2010

05:48 pm Revision 3f2eba25: kvm: Make _GetKVMVersion() return integers
The current code returns the major, minor and rev portions of the version of
KVM as strings. Returning them as intege...
Miguel Di Ciurcio Filho
05:48 pm Revision 4b784cf8: kvm: Improve network syntax and tests
The current syntax when defining a NIC uses a pair of arguments, like this:
-net tap,vlan=0 -net nic,vlan=0,model=vi...
Miguel Di Ciurcio Filho

12/02/2010

05:58 pm Revision 3c8a73a4: Merge branch 'devel-2.3'
* devel-2.3:
locking: Clarify message for removed locks
Bump version for 2.3.1~rc1 release
impexpd: Disable Ope...
Michael Hanselmann
05:51 pm Revision 9a91d357: Merge branch 'stable-2.3' into devel-2.3
* stable-2.3:
Bump version for 2.3.1~rc1 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
05:44 pm Revision 800ac399: Make snapshots multi-vg aware
Currently, the Snapshot() function of LogicalVolume returns only the
logical volume path, with the assumption that we...
Iustin Pop
05:21 pm Revision e0f9ed64: config.py: add error code to OpPrereqError
This adds a errors.ECODE_NOENT for OpPrereqError in LookupNodeGroup.
Signed-off-by: Adeodato Simo <dato@google.com>
...
Adeodato Simo
05:20 pm Revision 913cc25e: config.py: replace "node group" with "nodegroup"
Though code uses "nodegroup" as data member name, strings that will be
read by the user should use "node group" (with...
Adeodato Simo
03:46 pm Revision 84d7e26b: Make rpc.call_lv_list() VG-aware
Changes to backend.GetVolumeList():
- now accepts a list of VGs instead of one VG
- returns LV names in the form "vg_...
Dmitry Chernyak
03:32 pm Revision d1b6262e: cmdlib: fix typos in the docstring for LogicalUnit
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:30 pm Revision bde8f481: opcodes: document OP_DSC_FIELD in OpCode and OpCode.Summary()
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mic...
Adeodato Simo

12/01/2010

09:45 pm Revision e1137eb6: locking: Clarify message for removed locks
Just being told that a lock doesn't exist can be confusing. One case
were this happens is when a job (e.g. instance m...
Michael Hanselmann
09:45 pm Revision 563d5e72: Bump version for 2.3.1~rc1 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
09:40 pm Revision 30131294: Querying node groups: add QA tests
This adds QA tests for both CLI and RAPI.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Iustin Pop <...
Adeodato Simo
09:31 pm Revision 0897dc97: Querying node groups: RAPI support
This implements /groups and /groups/%s RAPI end points.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by...
Adeodato Simo
09:31 pm Revision 667dbd6b: Querying node groups: add client/gnt_group.py
This implements `gnt-group list`.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Iustin Pop <iustin@g...
Adeodato Simo
09:31 pm Revision a79ef2a5: Querying node groups: add luxi.REQ_QUERY_GROUPS
This also updates masterd.py.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Iustin Pop <iustin@googl...
Adeodato Simo
09:31 pm Revision 70a6a926: Querying node groups: LU/Opcode
This adds opcodes.OpQueryGroups and cmdlib.LUQueryGroups.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-...
Adeodato Simo
07:08 pm Revision a334d536: Cleanup AllocSolution after AllocElement changes
Since we added the score to AllocElement, we don't need to wrap
AllocElement in yet another tuple, just to attach the...
Iustin Pop
07:08 pm Revision 7d3f4253: AllocElement: extend with the cluster score
AllocElement, a type used as a result of allocations, holds the status
of the nodes after the allocation. In most cas...
Iustin Pop
07:08 pm Revision 06fb841e: Add two utility functions for the Result type
Actually, this just moves the functions from the QC module to Types, and
removes a duplicate entry from Cluster.
Sig...
Iustin Pop
07:08 pm Revision 99b63608: Rework the types used during data loading
This improves on the previous change. Currently, the node and instance
lists shipped around during data loading are (...
Iustin Pop
07:08 pm Revision 2d0ca2c5: Loader functions: move from assoc lists to maps
When loading big clusters, the association lists become a bit slow, so
we'll replace this with a simple Map String In...
Iustin Pop
07:08 pm Revision 6ff78049: Convert some leftovers to NameAssoc
The type alias NameAssoc has been introduced a long time ago, but there
are some few not-yet-converted cases. In prep...
Iustin Pop
06:50 pm Revision 29e8788e: impexpd: Disable OpenSSL compression in socat if possible
This uses an option only available in patched socat versions. More
information is available from the INSTALL update i...
Michael Hanselmann
05:58 pm Revision cd22574b: Merge branch 'stable-2.3' into devel-2.3
* stable-2.3:
Bump version for 2.3.0
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
05:07 pm Revision 7c324b88: Bump version for 2.3.0
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:36 pm Revision 4f6014d4: Adding RPC infrastructure to call oob
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:36 pm Revision b2f29800: Adding backend functionality to call oob helper
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:36 pm Revision 6204ee71: Adding ndparams to gnt-cluster init|modify and man page
This is reverting the revert and adaption to fix the issue which caused
the revert
Signed-off-by: René Nussbaumer <r...
René Nussbaumer
03:14 pm Revision c033f259: Merge branch 'devel-2.3'
* devel-2.3:
Correct version check for release candidates
config.py: need explicit %-formatting in errors.OpPrere...
Michael Hanselmann
03:00 pm Revision 646aa028: hbal: implement handling of multi-group clusters
On a single-group cluster, we proceed as before. On multi-group
clusters, we require selection of the desired group (...
Iustin Pop
03:00 pm Revision f4161783: Add Cluster.splitCluster for node groups
This splits a top-level cluster information into the component node
groups. Instance go to the group of their primary...
Iustin Pop
03:00 pm Revision ae16cf83: Add the man html files to gitignore
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:00 pm Revision 5ef78537: Rework Container.hs and improve test coverage
Since some of the functions we export from Container.hs are 1:1
identical to IntMap, we can just export the originals...
Iustin Pop
03:00 pm Revision a423b510: Add new command-line option for group selection
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:00 pm Revision 32b8d9c0: Add two functions for checking cluster consistency
For now, we don't support instances allocated across two groups, and we
will reject such clusters. The isClusterConsi...
Iustin Pop
03:00 pm Revision d8bcd0a8: Add function for nodes to (nodgroup, nodes) split
Unittests included. The function will be needed for consistency checks
in the algorithms.
Signed-off-by: Iustin Pop ...
Iustin Pop
03:00 pm Revision c4d98278: Add a type alias for UUIDs
This is to pottentially allow easier changes later.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balaz...
Iustin Pop

11/30/2010

08:55 pm Revision 5d9f9cba: Merge branch 'devel-2.2' into devel-2.3
* devel-2.2:
Correct version check for release candidates
Fix version check
Add script to check version format
...
Michael Hanselmann
08:25 pm Revision cdb303ab: Correct version check for release candidates
The tilde needs to be escaped and I forgot the space which should be
used instead.
Signed-off-by: Michael Hanselmann...
Michael Hanselmann
06:15 pm Revision c49b0092: config.py: need explicit %-formatting in errors.OpPrereqError.
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
05:04 pm Revision 982ed68e: Trivial style fixes
Add missing closing brackets and fix a typo.
Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Iustin Po...
Adeodato Simo
05:03 pm Revision 7d88f255: Further cleanups on QA
This is more of an RFC. The patch attempts to address two issues:
- running conditional tests is ugly right now
- we...
Iustin Pop
03:57 pm Revision 42f539ee: Check for editor-specific settings at build time
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:57 pm Revision 88b02ee9: Remove editor-specific settings from cfgupgrade*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

11/29/2010

10:00 pm Revision aba8e78d: cmdlib: Add base for query classes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:00 pm Revision 72a84c96: LUQueryNodes: Convert to new query model
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:00 pm Revision 83f72637: Add OpQuery opcode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:00 pm Revision 8235fe04: Add node query definition
This includes a bunch of helper functions which can be helpful for other
queries, too. Unittests are included.
Signe...
Michael Hanselmann
10:00 pm Revision 4a917de6: Add query constants
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:00 pm Revision a123dc19: Add simple query filter parser
This parser reads only the format described by the query2
design document: either an empty filter or an OR operator
w...
Michael Hanselmann
10:00 pm Revision 4ca96421: Add utility class for definition-based data queries
While not immediately visible, using definition-based queries will allow
for a number of optimizations and simplifica...
Michael Hanselmann
10:00 pm Revision 435e4bd6: bootstrap: Set master node's {c,m}time on cluster init
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
08:26 pm Revision 49ceab21: QA: Fix upload of RAPI users file
After moving the users file to a directory, we must ensure the
directory exists.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
07:52 pm Revision c744425f: RAPI: Implement OS parameters for instance reinstallation
Dictionaries are hard to encode into query strings, therefore the
“/2/instances/[instance_name]/reinstall” resource i...
Michael Hanselmann
07:44 pm Revision 4f358f28: Revert "InitCluster support for ndparams"
This reverts commit fd7f5b411ca61be2e4eff638773ba6c0fac7eb32.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann
07:44 pm Revision 2b4701f4: Revert "Adding ndparams to gnt-cluster init|modify and man page"
This reverts commit cb1ef9736dec68d6786359bc7d019f0bbee48c61. QA was
broken by this commit.
Signed-off-by: Michael H...
Michael Hanselmann
05:14 pm Revision fdd9ac5b: Move “rapi_users” file into separate directory
This reduces the number of notifications in “ganeti-rapi”. Until now it
was notified for every change in …/lib/ganeti...
Michael Hanselmann
05:06 pm Revision 707f23b5: objects: Add QueryFieldDefinition
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:05 pm Revision dae91d02: Increase timeout for connection on remote import
The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default...
Michael Hanselmann
05:05 pm Revision ba5619c2: Use IPv6 for import/export
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:05 pm Revision 855d2fc7: backend: Add support for IPv6 in import/export
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:05 pm Revision 58bb385c: impexpd: Implement support for IPv6
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:02 pm Revision cb1ef973: Adding ndparams to gnt-cluster init|modify and man page
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:02 pm Revision 4e37f591: Adding ndparams to gnt-node add|modify and man page
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:01 pm Revision b74bf80c: Add node parameters to ganeti(7)
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:01 pm Revision fd7f5b41: InitCluster support for ndparams
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
03:37 pm Revision 2f4b4f78: Simplify QA commands
Currently, 95% of the QA commands are executed in the same way: on the
master, based on a command list and with expec...
Iustin Pop

11/28/2010

07:02 pm Revision e474b5b5: Also build HTML versions of man pages
Iustin Pop
05:37 pm Revision f394c0de: Fix typo in _ANS1_TIME_REGEX
Thanks Balasz!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
04:04 pm Revision f40ae421: Improve unittests for the utils module
This just a random collection of unittest improvements. Coverage
increases from 73% to 76%.
Signed-off-by: Iustin Po...
Iustin Pop
03:57 pm Revision 0b5303da: Move compilation of some regexes to init time
I have found a few regexes which are static and thus can be moved to
load time, rather than run time, creation.
Sign...
Iustin Pop

11/27/2010

07:51 pm Revision b7d82e40: Fix breakage from previous commit e695efb
Wrong file name in Makefile.am and wrong naming (.unittest vs
_unittest).
Signed-off-by: Iustin Pop <iustin@google.c...
Iustin Pop
07:29 pm Revision e695efbf: Add missing paramter and unittests for this case
While git-am'ing the blockdev_prefix patch, I modified the hv_xen.py
file but forgot to amend the patch :(, so here i...
Iustin Pop
06:11 pm Revision 525011bc: Adding blockdev_prefix to hypervisor options
Allows to install Red Hat based systems, for example Oracle Linux.
Tested with OEL.
The hypervisor by default offers...
Maciej Bliziński

11/26/2010

09:39 pm Revision cb6a0296: RPC call_node_info: change protocol
Currently, the call_node_info RPC does always check both the VG free
space and the hypervisor information. However, i...
Iustin Pop
06:36 pm Revision 84ce674e: asyncnotifier tests: simplify the setup code
First change is to replace "range(len(self.NOTIFIERS)))" with
self.NOTIFIERS, as range(len(range(N))) ≡ range(N).
Se...
Iustin Pop
06:36 pm Revision 88a32957: Cluster rename: skip offline nodes
This only tries to upload the ssh_known_hosts_file to the online nodes,
eliminating a timeout and warning for offline...
Iustin Pop
11:05 am Revision 3c2b6a98: The default value for ndparams should be None not {}
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
11:05 am Revision f6ffab5a: Fix missed CheckArguments on ndparams for SetNodeParams
In the previous patch where I modified LUSetNodeParams to take ndparams
into account I missed this additional check o...
René Nussbaumer

11/25/2010

06:00 pm Revision 38156f68: Fix per-vg checks in instance disk conversion
Since we now have just two possibilities (plaint to drbd or drbd to
plain), we can assume (+an assert) that we come f...
Iustin Pop
02:16 pm Revision 35576615: Fix version check
Don't ask … all I say is distcheck.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <i...
Michael Hanselmann
01:45 pm Revision 6180d6bb: Removed _CheckNodesFreeDisk function
Was substituted by _CheckNodesFreeDiskPerVG.
Signed-off-by: Dmitry Chernyak <dmi.chernyak@gmail.com>
Signed-off-by: ...
Dmitry Chernyak
01:41 pm Revision 03941a26: Make instance creation VG-aware
Also should work disk growing, instance moving and prerequisite checks.
Signed-off-by: Dmitry Chernyak <dmi.chernyak...
Dmitry Chernyak
01:28 pm Revision 10e2de91: Introduced VG-aware disk space checks
Implemented _CheckNodesFreeDiskPerVG and _ComputeDiskSizePerVG functions
for VG-aware iterations.
Signed-off-by: Dmi...
Dmitry Chernyak
01:21 pm Revision 7af3534e: Added "vg" argument to the --disk syntax
Added "vg" argument to the "gnt-instance ... --disk" syntax specification.
Now is ok to write:
gnt-instance add ... ...
Dmitry Chernyak

11/24/2010

09:29 pm Revision 96602be4: Add script to check version format
Only versions of the format “x.y.z” and “x.y.z~(rc|beta)N” (for N>0) are
allowed.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
07:12 pm Revision 0ae7d413: Merge branch 'devel-2.3'
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
07:02 pm Revision b6ac86e0: Merge branch 'devel-2.2' into devel-2.3
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:52 pm Revision 577b170b: Fix coverage reports
Currently, the coverage reports include the unittests themselves, and
this skewes unfairly the reports, as the covera...
Iustin Pop
05:18 pm Revision a535cef7: Adding --node-parameters command line flag
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:18 pm Revision 08a61d91: Adding ndparams to their OpCodes and LU calls
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
03:55 pm Revision b7b29191: RAPI: read the group UUID from the server
This depends on future support from Ganeti (2.4+).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs...
Iustin Pop
03:55 pm Revision 31463db5: IAlloc: read group uuid from the input message
This makes the code incompatible with JSON files from Ganeti pre-2.4.
Signed-off-by: Iustin Pop <iustin@google.com>
...
Iustin Pop
03:55 pm Revision b3707354: Text: read/save the node group UUID
Compatibility with old text files is kept by using the default UUID if
the file (or even some records) don't have a U...
Iustin Pop
03:55 pm Revision f5ed8632: Luxi: read the node uuid from the cluster
This makes the code incompatible with Ganeti pre-2.4.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bal...
Iustin Pop
03:55 pm Revision a68004b7: Node: add the node group's UUID
This is not used anywhere yet, and the backend are all just adding the
default UUID, not the real one.
The patch als...
Iustin Pop
03:54 pm Revision 9b9da389: Utils: add a default UUID
This will be used as a placeholder for the cases when we need a UUID
(any UUID), but we don't have one handy.
Signed...
Iustin Pop

11/23/2010

11:04 pm Revision 0a31dda0: Add consistency test for mcpu dispatch table
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:04 pm Revision 18e63b75: cmdlib: Use _POutputFields where possible
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:03 pm Revision 9189c902: Update query2 design document
While starting to implement this, I found a number of deficiencies:
- Drop regular expressions. As it turned out, on...
Michael Hanselmann
04:46 pm Revision a3e8da03: Merge branch 'devel-0.2' into master
Iustin Pop
02:33 pm Revision c300f9c9: Basic stuff to allocate disks on different VGs
Extend allocation functions to be aware of different vg names. Suppose,
vg_name is helded in disk.physical_id[0] (al...
Dmitry Chernyak
01:57 pm Revision 5768e6a6: Adding convenience getter for ndparams
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
01:01 pm Revision 04a8865b: RAPI: implement no_install during instance creation
Signed-off-by: Lance Albertson <ramereth@gmail.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin...
Lance Albertson
12:58 pm Revision 7570569e: Improve the standard deviation computation
This does just two passes, instead of three, over the list. This reduces
the overall runtime well enough (~25%) in so...
Iustin Pop
12:58 pm Revision 543e859d: hbal: change handling of signal
Currently, hbal does a one-two signal handling, where the first signal
causes graceful termination, and the second on...
Iustin Pop
12:01 pm Revision d05cf6fa: utils._RunCmdPipe: simplify the timeout logic
There are two issues: first, it's simpler to assign directly to pt
instead of via another local variable. Second, thi...
Iustin Pop
12:01 pm Revision a298fd5a: utils._RunCmdPipe: fix poller timeout usage
This patch makes a simple timeout test (e.g. testTimeoutKill) go from
13K poll syscalls to just 6. The code didn't ta...
Iustin Pop
12:01 pm Revision 815bf6d5: Fix utils unittest TestRunCmd.testTimeoutKill
Currently the test executes "/bin/sh -c 'trap "" TERM …" via the shell,
which means we have two shells involved (the ...
Iustin Pop

11/22/2010

09:11 pm Revision fd254195: RAPI: export the node group UUID in the node query
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:18 pm Revision 095e71aa: Adding oob_program in the same style as beparams
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer

11/19/2010

06:26 pm Revision 972a114f: Merge branch 'devel-2.3'
* devel-2.3:
Updates NEWS and configure.ac for 2.3.0~rc1
Update NEWS & configure.ac for the 2.2.2 release
Fix d...
Iustin Pop
06:24 pm Revision 7f81e2b9: Temporarily remove the interactive tests
make check < /dev/null breaks these tests. Until we have change RunCmd
to override stdin, we need to remove them.
Si...
Iustin Pop
05:19 pm Revision c74cda62: Support timeouts in RunCmd
Further investigations have to be done for merging some of these bits
together with import-export daemon which uses s...
René Nussbaumer
03:16 pm Revision ca6c2dcd: Updates NEWS and configure.ac for 2.3.0~rc1
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:06 pm Revision 2b613de4: Merge branch 'devel-2.2' into devel-2.3
* devel-2.2:
Update NEWS & configure.ac for the 2.2.2 release
Fix documentation regarding conversion to drbd
Con...
Iustin Pop
01:35 pm Revision 5e718042: Simu loader: move the loading to non-IO code
While we don't actually have IO code in the Simu loader, we do have the
same interface. So we move the code again to ...
Iustin Pop
01:08 pm Revision b3f0710c: Luxi loader: split parsing from loading
Iustin Pop
01:06 pm Revision 748bfcc2: Rapi loader: split parsing from loading
The change is similar to the text loader change. Iustin Pop
01:00 pm Revision 2596526d: Update NEWS & configure.ac for the 2.2.2 release
This imports the 2.1.8 NEWS entry and adds the 2.2.2 one, then updates the
configure.ac version.
Signed-off-by: Iust...
Iustin Pop
01:00 pm Revision dadfc261: Text loader: split parsing from loadData
This change, which will be followed by similar changes in the other
loaders, splits the parsing of the data from the ...
Iustin Pop
12:33 pm Revision a22eb33b: Fix documentation regarding conversion to drbd
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
12:29 pm Revision 3e039592: Fix documentation regarding conversion to drbd
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop

11/18/2010

03:03 pm Revision 9aacb199: Reinstall instance: disallow offline secondaries
Currently, reinstallation of a DRBD instance with the secondary node offline does:
node1# gnt-instance reinstall -f ...
Iustin Pop
03:03 pm Revision 89e8af70: QA: check that doubly modifying an OS state is OK
This would have prevented the bug fixed in the previous patch :(
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Iustin Pop
03:03 pm Revision e2334900: Fix breakage in OS state modify
I was using the feedback_fn function incorrectly (it doesn't
automatically expand the arguments).
Signed-off-by: Ius...
Iustin Pop

11/17/2010

05:45 pm Revision 86c340af: Merge branch 'devel-2.2' into devel-2.3
* devel-2.2:
QA: add tests for gnt-cluster modify -B
LUSetClusterParms: fix validation of beparams
Conflicts:
l...
Iustin Pop
02:14 pm Revision 9738ca94: QA: add tests for gnt-cluster modify -B
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:14 pm Revision 52b783c2: LUSetClusterParms: fix validation of beparams
Since the contents of the dict is validated via the ForceDictType, we can
simply require that it is a dict here. The ...
Iustin Pop

11/16/2010

05:19 pm Revision e6784773: Adding unittests for RunningTimeout
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:19 pm Revision 557838c1: Move locking.RunningTimeout to utils
As we need this functionality in other places than just locking it makes
sense to move it to utils rather than keepin...
René Nussbaumer

11/15/2010

07:34 pm Revision 56956bcb: Some further man tweaks
This fixes one non-defined @CUSTOM_@ entry, and replaces two hardcoded
paths with further configure-time variables.
...
Iustin Pop
07:34 pm Revision 18e2b6e4: Remove last vestiges of docbook
This patch removes the last traces of docbook.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussb...
Iustin Pop
07:34 pm Revision c2e818b6: Remove the SGML man sources
… finally!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 6be8e2bf: Switch man pages from SGML to RST
This patch changes the Makefile rules to build the man pages from the
RST sources instead of the SGML ones.
Note: pa...
Iustin Pop
07:34 pm Revision cc424a1d: Add RST version of ganeti man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 4db3647e: Add RST version of ganeti-os-interface man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 9896f38d: Add RST version of ganeti-cleaner man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision a6243496: Add RST version of ganeti-confd man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision f52cb680: Add RST version of ganeti-rapi man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 9aaab110: Add RST version of ganeti-noded man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision bae4b322: Add RST version of ganeti-watcher man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 4e53d886: Add RST version of ganeti-masterd man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 6165efb9: Add RST version of gnt-os man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision b3723c81: Add RST version of gnt-job man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 75561e6b: Add RST version of gnt-debug man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 28f3c2dd: Add RST version of gnt-backup man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 7db441e6: Add RST version of gnt-node man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 3cb9e1fe: Add RST version of gnt-cluster man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision 1b7f2c85: Add RST version of gnt-instance man page
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
07:34 pm Revision de8eea3e: Add a footer.rst
This is the conversion from footer.sgml. Will be used later for the
rst-to-man conversion.
Signed-off-by: Iustin Pop...
Iustin Pop
07:33 pm Revision 5208e732: Add pandoc to configure.ac
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
« Previous
Next »
 

Also available in: Atom