Activity

From 11/28/2010 to 12/27/2010

12/24/2010

12:16 pm Revision c4f10abb: LUInstanceRename: log result of name resolving
While the LU does return the final name, it's useful to log the actual
DNS resolving process (input and output) in or...
Iustin Pop

12/23/2010

05:52 pm Revision 54cffd50: Merge branch 'stable-0.2'
* stable-0.2:
Move man files to man/ subdirectory
Conflicts (all removed):
man/hail.1
man/hbal.1
...
Iustin Pop
05:38 pm Revision ab0521f9: Move man files to man/ subdirectory
This is just change on the 0.2 branch to synchronize with the master
branch. It allows automated builds to work bette...
Iustin Pop
05:17 pm Revision 50211c86: Merge branch 'stable-0.2'
* devel-0.2:
Update NEWS file for 0.2.8 release
hbal: return meaningful exit code for job failures
Change the b...
Iustin Pop
04:16 pm Revision d7f18640: Update NEWS file for 0.2.8 release
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
Iustin Pop
02:26 pm Revision 23448f82: hbal: return meaningful exit code for job failures
Currently, LUXI job failures only display a warning message, while
still returning a success exit code. We change hba...
Iustin Pop
02:25 pm Revision 4715711d: Change the balancing function
Currently the balancing function is a modified version of the standard
deviation (stddev divided by list length), due...
Iustin Pop
11:16 am Revision 949397c8: Move some tiered spec functionality to Cluster.hs
This splits out a bit of code from hspace.hs and moves it into its own
function in Cluster.hs.
Signed-off-by: Iustin...
Iustin Pop

12/21/2010

08:14 pm Revision c694367b: Fix QA for “list-fields” commands
The list of fields is not only sorted, but sorted in a nice way.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
08:14 pm Revision 0f9294f7: Remove utils.FormatTimestampWithTZ
Long story short: time.strftime("%Z", time.localtime()) doesn't work,
even though it's documented to be equivalent to...
Michael Hanselmann
08:14 pm Revision 9e691184: Ensure temp files from RunCmd tests are removed
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:23 pm Revision 3536c792: Allow customisation of the disk index separator
As per issue 124, some Xen versions (or packaging) don't deal nicely
with the colon being part of a disk name. Theref...
Iustin Pop
03:18 pm Revision 9f37f689: utils: Timezone fixes and tests
- Update docstrings to explicitely mention Epoch
- Fix timezone bug in FormatTimestampWithTZ, where it would
use GM...
Michael Hanselmann
03:18 pm Revision b60fcb6f: query: Add wrapper for creating response object
It'll be used for querying locks.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
03:18 pm Revision aa29e95f: Move QueryFields to query module
Also replace “sorted” with “utils.NiceSort” now that it supports a key
function.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann

12/20/2010

11:23 pm Revision cd4c86a8: cli: Extend message for LUXI timeouts
Point out that jobs already submitted continue to run.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
11:23 pm Revision 28e3e216: Fix timeout handling in LUXI client
If the socket can't be read in time, it raises “socket.timeout”, for
which there is special handling code. Unfortunat...
Michael Hanselmann
04:42 pm Revision 82d25bbb: Merge branch 'devel-2.3'
* devel-2.3:
Prepare 2.3.1 release
Fix disk status verification in LUClusterVerify
Conflicts:
NEWS: Trivial
Si...
Michael Hanselmann
04:33 pm Revision 43217ac7: Merge branch 'stable-2.3' into devel-2.3
* stable-2.3:
Prepare 2.3.1 release
Fix disk status verification in LUClusterVerify
Signed-off-by: Michael Hanse...
Michael Hanselmann
04:18 pm Revision a8c68e44: Add QA scripts to checked Python code
pylint is not yet included as the code needs some work for that.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:18 pm Revision 930e77d1: ganeti-qa: Wrap lines longer than 80 chars
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:22 pm Revision bb2dc35a: Prepare 2.3.1 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:23 pm Revision aec636b9: hail: display group names in info messages
This patch switches from the group index to the group name for the
informational messages in the hail results.
Signe...
Iustin Pop
02:23 pm Revision e4d8071d: Text.hs: also save the group data when serialising
This should have been in the previous patches, but sent separate for
clarity.
The live-test script is updated to rea...
Iustin Pop
02:23 pm Revision e0c85e08: hbal: display the group name in the multi-group case
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
02:23 pm Revision 10ef6b4e: Change the Node.group attribute
Currently, the Node.group attribute is the UUID of the group, as until
recently Ganeti didn't export the node group p...
Iustin Pop
02:23 pm Revision 748d5d50: Generalise the sepSplit function
Currently it works on splitting strings by individual chars, but we
can generalise it to split lists by list elements...
Iustin Pop
02:23 pm Revision a604456d: Text.hs: change to use sepSplit
The new sepSplit function can split based on empty lines, so we remove
the hackish text splitting from before and sim...
Iustin Pop
02:23 pm Revision 73206d0a: IAllocator: respect the alloc_policy for groups
This patch changes the allocate mode to respect the alloc_policy for
groups. It does this by changing the sort key fr...
Iustin Pop
02:23 pm Revision 716c6be5: Text.hs: serialize cluster tags when writing data
This is the complement to the reading part. Now the live-test works
correctly against clusters with configured exclus...
Iustin Pop
02:23 pm Revision 1a3cc8ad: live-test: support multi-group clusters
Since currently hbal can only work on single groups at a time, we need
to be able to specify the target group when ru...
Iustin Pop
02:23 pm Revision b2ba4669: Implement a JSON instance for AllocPolicy
This will allow reading this attribute via the Rapi/Luxi backends.
Signed-off-by: Iustin Pop <iustin@google.com>
Rev...
Iustin Pop
02:23 pm Revision 2ddabf4f: Rapi: read the allocation policy from the cluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
02:23 pm Revision c4c37257: Luxi: read the allocation policy from the cluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
02:23 pm Revision f4c7d37a: Text: read/write the allocation policy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
02:23 pm Revision 01fec0a1: hail: allow overriding cluster data from requests
Currently, it's not easy to generate “fake” IAllocator request files
for hail. As such, testing on simulated clusters...
Iustin Pop
02:23 pm Revision afcd5a0b: Text.hs: also read cluster tags from the data file
This means that a file with the correct information is as accurate as
the other backends (Luxi, Rapi). Serialization ...
Iustin Pop
02:23 pm Revision a679e9dc: Rework the data loader pipelines to read groups
This (invasive) patch changes all the loader pipelines to read the node
groups data from the cluster, via the various...
Iustin Pop
02:22 pm Revision f4531f51: Add lookupGroup utility function
This will be used in the various backends similar to the lookupNode
function.
Signed-off-by: Iustin Pop <iustin@goog...
Iustin Pop
02:20 pm Revision 0dc1bf87: Add a new Group.hs module describing node groups
This is not yet used by the rest of the code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz...
Iustin Pop
02:20 pm Revision edd0a48f: Add the new OpQueryGroups opcode definition
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop

12/17/2010

06:51 pm Revision abb24834: Adapt QA for change in behaviour
As we can't test this on master anymore (if we flag the node offline we
would change master role on master) we use th...
René Nussbaumer
06:51 pm Revision dd94e9f6: gnt-node modify: Adding --node-powered=yes|no
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
06:50 pm Revision 0ecef64c: LUSetNodeParams: Add support for powered state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
06:50 pm Revision 78758f1e: LUSetNodeParams/LUOobCommand respect offline/powered
This patch makes sure we cross verify the state the node is
in with our view:
power off -> Node has to be set offlin...
René Nussbaumer
06:50 pm Revision d363797e: gnt-node power: Mark also offline when powering off
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael...
René Nussbaumer
06:42 pm Revision 1ef6e776: Merge branch 'devel-2.3'
* devel-2.3:
QA: Run cluster-verify as part of all instance tests
QA: Fix typo and add “not”
ensure-dirs: Speed...
Michael Hanselmann
05:51 pm Revision 153533f3: utils.NiceSort: Use sorted(), add keyfunc, unittests
This patch changes utils.NiceSort to use the built-in “sorted()” and
gets rid of the intermediate list. Instead of wr...
Michael Hanselmann
05:47 pm Revision d27150a9: QA: Run cluster-verify as part of all instance tests
“gnt-cluster verify” looks at some per-instance information as well, so
it should be run for each instance type QA te...
Michael Hanselmann
05:45 pm Revision 65924a12: QA: Fix typo and add “not”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:36 pm Revision 7c2e922e: ShutdownInstanceDisks: accept offline secondaries
For secondary node that is offline, we should not consider that the
disk shutdown has failed, as it can never succeed...
Iustin Pop
03:00 pm Revision 2c0f74f2: RpcResult: simplify some asserts
data ≫ code, eom.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop

12/16/2010

04:20 pm Revision 196d70fa: ensure-dirs: Speed up when using big queues
The “ensure-dirs” script as included in Ganeti 2.3 is very slow when
working with big queues requiring a change of pe...
Michael Hanselmann
03:59 pm Revision 4c3ac53a: LUAddNode: default ndparams to empty dict when not provided
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
09:57 am Revision a1de4b18: QA: Add some basic OOB tests
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
09:57 am Revision b9955569: QA: Allow upload of string data
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer

12/15/2010

08:18 pm Revision 4f5c2533: Fix gnt-cluster verify with diskless instances
`gnt-cluster verify` was failing with KeyError if there was any
diskless instance in the cluster. This was because _C...
Adeodato Simo
06:50 pm Revision 861a296e: Fix N+1 error message
The error contained a typo and is slightly cumbersome. It changes from:
- ERROR: node a: not enough memory on to acc...
Miguel Di Ciurcio Filho
05:35 pm Revision 792af3ad: Rename (Op|LU)OutOfBand to (Op|LU)OobCommand
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
05:30 pm Revision 50d54091: Merge branch 'devel-2.3'
* devel-2.3:
jqueue: Keep jobs in “waitlock” while returning to queue
Improve jqueue unittests
Update manpages ...
Michael Hanselmann
03:42 pm Revision 5fd6b694: jqueue: Keep jobs in “waitlock” while returning to queue
Iustin Pop reported that a job's file is updated many times while it
waits for locks held by other thread(s). After a...
Michael Hanselmann
03:42 pm Revision ebb2a2a3: Improve jqueue unittests
- Verify job file updates
- Ensure queue lock is released while executing opcode
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
12:54 pm Revision 133f1791: Update hscolour usage
This patch fixes two issues related to coloured sources generation.
First, recent hscolour has changed the css file (...
Iustin Pop
12:47 pm Revision abefdcff: Adding gnt-node power * commands
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:47 pm Revision 1b386c69: Do the expanding of the node name in ExpandNames
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

12/14/2010

05:21 pm Revision a36f605d: client.gnt_node: Remove unnecessary lambda
Pylint complained that the “lambda may not be necessary”. Turns out it
was right.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
03:23 pm Revision 2214cf14: QA: Extend unittests for query operations, add tests for list-fields
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:23 pm Revision d7a08491: Update NEWS for new query infrastructure
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:23 pm Revision b82c5ff5: Convert “gnt-instance list” to query2
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:23 pm Revision 7f5443a0: Convert “gnt-node list” to query2
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:23 pm Revision ee3aedff: cli: Add infrastructure for query2
A new function for formatting the query results is added,
``FormatTable``. This was determined to be easier and safer...
Michael Hanselmann
01:54 pm Revision e7441f80: Update manpages to display version 2.3
Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Miguel Di Ciurcio Filho
01:51 pm Revision e61ae2cc: iallocator: Export node group allocation policy
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Balazs Lecz
12:32 pm Revision d2881c71: Adding --node-powered command line flag
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
12:32 pm Revision 4a19bdc0: Set powered to True for added nodes
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
12:32 pm Revision b528a12d: Set recorded powered state for OOB calls
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
12:32 pm Revision 25124d4a: Add new Node attribute powered
This is just a state of record field and does not necessary
reflect the reality.
Signed-off-by: René Nussbaumer <rn@...
René Nussbaumer

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
« Previous
Next »
 

Also available in: Atom