Activity

From 12/01/2010 to 12/30/2010

12/30/2010

07:51 pm ganeti-local Revision 2466c0fd: cli: Change “<…>” in query output to “(…)”
This should reduce the amount of damage in case of accidential copy &
paste.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
07:51 pm Revision 2466c0fd: cli: Change “<…>” in query output to “(…)”
This should reduce the amount of damage in case of accidential copy &
paste.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
07:51 pm Revision da7e44ee: Initial import of listrunner
This tool was used and worked on internally for quite a long time. We
decided to include it in Ganeti.
Known issues:...
Michael Hanselmann
07:51 pm ganeti-local Revision da7e44ee: Initial import of listrunner
This tool was used and worked on internally for quite a long time. We
decided to include it in Ganeti.
Known issues:...
Michael Hanselmann
03:56 pm Revision cb0c77ff: Container: remove fromAssocList
Container.fromAssocList is just a re-export of IntMap.fromList; it
makes sense to remove it and simply export the ori...
Iustin Pop
03:56 pm ganeti-local Revision cb0c77ff: Container: remove fromAssocList
Container.fromAssocList is just a re-export of IntMap.fromList; it
makes sense to remove it and simply export the ori...
Iustin Pop
03:56 pm Revision a3eee4ad: Parallelize the balancing computations
This small patch changes the balancing computation to work in
parallel, if possible.
While the normal linking is aga...
Iustin Pop
03:56 pm ganeti-local Revision a3eee4ad: Parallelize the balancing computations
This small patch changes the balancing computation to work in
parallel, if possible.
While the normal linking is aga...
Iustin Pop
03:46 pm ganeti-local Revision d5ccec02: Allocation routines: return list of resource stats
Currently, the allocation routines (iterateAlloc and tieredAlloc)
return only the final state of the cluster and the ...
Iustin Pop
03:46 pm Revision d5ccec02: Allocation routines: return list of resource stats
Currently, the allocation routines (iterateAlloc and tieredAlloc)
return only the final state of the cluster and the ...
Iustin Pop
03:43 pm Revision f52dadb2: Fix updating of available (V)CPUs in CStats
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:43 pm ganeti-local Revision f52dadb2: Fix updating of available (V)CPUs in CStats
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:43 pm Revision fd3fe74d: RAPI: implement backwards compat with Ganeti 2.3
This is a cheap way to get back compatibility with Ganeti 2.3 (and
lower) in the RAPI backend. It is however not very...
Iustin Pop
03:43 pm ganeti-local Revision fd3fe74d: RAPI: implement backwards compat with Ganeti 2.3
This is a cheap way to get back compatibility with Ganeti 2.3 (and
lower) in the RAPI backend. It is however not very...
Iustin Pop
03:42 pm ganeti-local Revision a083e855: Document Utils.tryFromObj
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:42 pm Revision a083e855: Document Utils.tryFromObj
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
03:41 pm Revision 6bc39970: Add 'Read' instances for most objects
This allows a cluster structure to be easily serialized via "read";
together with the already existing instances of S...
Iustin Pop
03:41 pm ganeti-local Revision 6bc39970: Add 'Read' instances for most objects
This allows a cluster structure to be easily serialized via "read";
together with the already existing instances of S...
Iustin Pop
11:51 am Revision 6eaa7bb8: hspace: abstract the listing of the allocation map
Just another cleanup of duplicate code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <lecz...
Iustin Pop
11:51 am ganeti-local Revision 6eaa7bb8: hspace: abstract the listing of the allocation map
Just another cleanup of duplicate code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <lecz...
Iustin Pop
11:49 am ganeti-local Revision 33e44f0c: Add maybePrintInsts for the instance listing
This again abstracts a bit the instance listing. Due to the fact that
I don't want to import Cluster.hs in CLI.hs, we...
Iustin Pop
11:49 am Revision 33e44f0c: Add maybePrintInsts for the instance listing
This again abstracts a bit the instance listing. Due to the fact that
I don't want to import Cluster.hs in CLI.hs, we...
Iustin Pop
11:49 am ganeti-local Revision 417f6b50: Add maybePrintNodes for abstracting the node list
Since this bit of code (including the “when (isJust …)” is used in
multiple places, let's abstract it in a function t...
Iustin Pop
11:49 am Revision 417f6b50: Add maybePrintNodes for abstracting the node list
Since this bit of code (including the “when (isJust …)” is used in
multiple places, let's abstract it in a function t...
Iustin Pop
11:48 am Revision 4188449c: Add maybeSaveData for cluster state saving
This functionality was replicated in multiple places (hbal & hspace),
so we abstract it for better clarity.
Addition...
Iustin Pop
11:48 am ganeti-local Revision 4188449c: Add maybeSaveData for cluster state saving
This functionality was replicated in multiple places (hbal & hspace),
so we abstract it for better clarity.
Addition...
Iustin Pop
11:45 am ganeti-local Revision 86ea20e8: Simplify the codeflow in hscan.hs
We change processData to just load the data, and return a simpler
type.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
11:45 am Revision 86ea20e8: Simplify the codeflow in hscan.hs
We change processData to just load the data, and return a simpler
type.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
11:45 am Revision c0e31451: Convert Text.serializeCluster to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:45 am ganeti-local Revision c0e31451: Convert Text.serializeCluster to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:44 am Revision f4f6eb0b: Convert the rest of the pipeline to ClusterData
This patch converts the backends and mergeData to the new ClusterData
type.
Signed-off-by: Iustin Pop <iustin@google...
Iustin Pop
11:44 am ganeti-local Revision f4f6eb0b: Convert the rest of the pipeline to ClusterData
This patch converts the backends and mergeData to the new ClusterData
type.
Signed-off-by: Iustin Pop <iustin@google...
Iustin Pop
11:44 am ganeti-local Revision 017a0c3d: Move part of the loader pipeline to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:44 am Revision 017a0c3d: Move part of the loader pipeline to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:40 am ganeti-local Revision 34c00528: Convert Loader.RqType to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:40 am Revision 34c00528: Convert Loader.RqType to ClusterData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:38 am Revision 7b6e99b3: Add a new type ClusterData
This will be used to hold all the disparate uses of the cluster data:
we have either tuples with these four elements,...
Iustin Pop
11:38 am ganeti-local Revision 7b6e99b3: Add a new type ClusterData
This will be used to hold all the disparate uses of the cluster data:
we have either tuples with these four elements,...
Iustin Pop
11:38 am ganeti-local Revision 45cb5963: Ajust hspace manpage for the new simulation syntax
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:38 am Revision 45cb5963: Ajust hspace manpage for the new simulation syntax
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
11:38 am ganeti-local Revision 6c7448bb: Simulation backend: read the allocation policy too
This patch moves the allocation policy from hardcoded to be read from
the given specification, and extends the error ...
Iustin Pop
11:38 am Revision 6c7448bb: Simulation backend: read the allocation policy too
This patch moves the allocation policy from hardcoded to be read from
the given specification, and extends the error ...
Iustin Pop
11:36 am Revision 9983063b: Simulation backend: allow multiple node groups
This patch changes the behaviour of the --simulation option to be an
incremental option, where each new use defines a...
Iustin Pop
11:36 am ganeti-local Revision 9983063b: Simulation backend: allow multiple node groups
This patch changes the behaviour of the --simulation option to be an
incremental option, where each new use defines a...
Iustin Pop

12/29/2010

05:48 pm ganeti-local Revision 30c945d0: jqueue: Fix cancelling while in waitlock in queue
Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back i...
Michael Hanselmann
05:48 pm Revision 30c945d0: jqueue: Fix cancelling while in waitlock in queue
Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back i...
Michael Hanselmann

12/24/2010

12:16 pm ganeti-local 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: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:52 pm ganeti-local 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:38 pm ganeti-local 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
05:17 pm ganeti-local 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
04:16 pm ganeti-local 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:41 pm Revision 649cb0c9: Fix typo in _ComputeInstanceData
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
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:26 pm ganeti-local 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 ganeti-local 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
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
11:16 am ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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: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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local Revision bb2dc35a: Prepare 2.3.1 release
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 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 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 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 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 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 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 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 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 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 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 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 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 ganeti-local 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 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 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 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:23 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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 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
02:20 pm ganeti-local 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 ganeti-local 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 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:51 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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:50 pm ganeti-local 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 ganeti-local 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
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 ganeti-local 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: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:47 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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
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 ganeti-local 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
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
03:59 pm ganeti-local 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 ganeti-local 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 ganeti-local 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
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 ganeti-local 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
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
06:50 pm ganeti-local 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:35 pm ganeti-local 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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local Revision ebb2a2a3: Improve jqueue unittests
- Verify job file updates
- Ensure queue lock is released while executing opcode
Signed-off-by: Michael Hanselmann <...
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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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 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
03:23 pm ganeti-local 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:54 pm ganeti-local 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 ganeti-local 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
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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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
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 ganeti-local 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
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
06:26 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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: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:14 pm ganeti-local 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:13 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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
05:03 pm ganeti-local 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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
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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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: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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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
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 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 ganeti-local 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:22 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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 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
11:22 pm ganeti-local 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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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
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 ganeti-local 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 ganeti-local 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
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 ganeti-local 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: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:51 pm ganeti-local 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:44 pm ganeti-local 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 ganeti-local 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: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
05:20 pm ganeti-local 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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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 ganeti-local 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 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 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 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 ganeti-local 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
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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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
07:08 pm ganeti-local 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 ganeti-local 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
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
06:24 pm Revision 13383602: LUMigrateInstance: add slot types
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
06:24 pm Revision c6f81a23: LUMigrateNode: add slot type
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
06:24 pm Revision b1e1abff: Migration cleanup: shared storage fixes
Skip DRBD operations during migration cleanup for shared storage instances.
Signed-off-by: Apollon Oikonomopoulos <a...
Apollon Oikonomopoulos
06:24 pm Revision f4a042a2: IAllocator changes to work with shared storage
Make cmdlib.IAllocator shared-storage-aware. IAllocator requires secondary
nodes only on DTS_NET_MIRROR disk template...
Apollon Oikonomopoulos
06:24 pm Revision 953a274d: Migration/failover: add iallocator and target_node slots
Add iallocator and target_node slots to OpMigrateInstance and
OpFailoverInstance to facilitate shared-storage-backed ...
Apollon Oikonomopoulos
06:24 pm Revision 4e3347c5: CLI changes to facilitate shared storage migration/failover
Add DST_NODE_OPT to cli.py to use for directly specifying the target node
during migration/failover.
gnt-instance fa...
Apollon Oikonomopoulos
06:24 pm Revision 6c7b0145: Shared storage instance migration
Modify LUMigrateInstance and TLMigrateInstance to allow instance migrations for
instances with DTS_EXT_MIRROR disk te...
Apollon Oikonomopoulos
06:24 pm Revision db463204: Shared storage node migration
Modify LUNodeMigrate to provide node migration for nodes with instances using
shared storage. gnt-node migrate has to...
Apollon Oikonomopoulos
06:24 pm Revision ed61e1b4: Shared storage instance failover
Modify LUFailoverInstance to enable shared storage instances to failover.
Shared storage instance failover requires e...
Apollon Oikonomopoulos
06:24 pm Revision 3f4ca865: TLMigrateInstance: Use default cluster iallocator
Use the cluster's default iallocator when no iallocator or target node is
manually specified.
Signed-off-by: Apollon...
Apollon Oikonomopoulos
06:24 pm Revision 0d67854c: LUFailoverInstance: use cluster-wide iallocator
LUFailoverInstance uses the cluster-wide default iallocator when no iallocator
or target node is specified manually.
...
Apollon Oikonomopoulos
06:24 pm Revision 071fa2cb: KVM: use cache=none when disk template is in DTS_EXT_MIRROR
Disable host cache for externally mirrored disks to avoid cache incoherency.
Without this, migrations between the sam...
Apollon Oikonomopoulos
06:24 pm Revision 31023e8f: Shared file support for tools/burnin
Make burnin work with -t sharedfile.
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Apollon Oikonomopoulos
06:24 pm Revision a27d73d5: LUFailoverInstance: Add slot types
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr> Apollon Oikonomopoulos
06:24 pm Revision 648c3d71: Allow KVM to boot from HTTP
New versions of KVM support booting from HTTP-hosted ISO
images, via libcurl. This patch adds a proper check to
allow...
Apollon Oikonomopoulos
06:24 pm Revision 3cdef667: Implemented vnc random password generation for KVM
Added OpCode, Logical unit, and remote api calls to
randomize the VNC password for KVM. This can be used
for providin...
Apollon Oikonomopoulos
06:24 pm Revision f8136385: Add shared file storage design doc
Add doc/design-shared-storage.rst to document the proposed changes and update
Makefile.am respectively.
Signed-off-b...
Apollon Oikonomopoulos
06:24 pm Revision b556099a: Core shared file storage support
This patch introduces core file storage support, consisting of the following:
A configure-time switch for enabling/...
Apollon Oikonomopoulos
06:24 pm Revision e77a5390: Shared file storage initialization code
Add shared file storage handling during cluster initialization.
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.g...
Apollon Oikonomopoulos
06:24 pm Revision b1bf2d8c: Add DTS_MIRRORED frozenset
Use DTS_MIRRORED to indicate mirrored disk templates that allow
migrations/failover.
DTS_MIRRORED is the union of DT...
Apollon Oikonomopoulos
06:24 pm Revision dc9a8301: Add bdev_list RPC call
Add bdev_list RPC call to return all block devices under constants.BLOCKDEV_DIR
and their sizes on multiple nodes. By...
Apollon Oikonomopoulos
06:24 pm Revision 742c81da: Shared block storage support
This patch introduces basic shared block storage support.
It introduces a new storage backend, bdev.PersistentBlockD...
Apollon Oikonomopoulos
05:58 pm ganeti-local 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: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 ganeti-local 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
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 ganeti-local 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 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 ganeti-local 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 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 ganeti-local 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: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 ganeti-local 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: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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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
03:00 pm ganeti-local 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
« Previous
Next »
 

Also available in: Atom