Activity
From 12/15/2011 to 01/13/2012
01/13/2012
- 04:58 pm Revision 7806125e: Fix very slow unit-test data generation in some cases
- Learning, learning. It turns out that for objects with even just five
fields, generating them and filtering can be co... - 04:58 pm Revision 746b7aa6: Fix one bad unit-test data generation case
- It could happen that the node is generated with 0 disk available, in
which case the operation will fail due to disk i... - 03:24 pm Revision 6a855aaa: Extend node evacuation unittests
- Currently they only check for change secondary, via iallocator's
relocate method. We add two separate unittests that ... - 03:24 pm Revision 96bc2003: Add a unit-test helper function
- … instead of always using "printTestCase … False".
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N... - 03:24 pm Revision aa1d552d: Further JSON unit-tests for various Types.hs types
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:24 pm Revision a2a0bcd8: Fix a few issues in unittest data generation
- This patch fixes two ugly but non-critical issues:
- the getFQDN wrongly generated only the first component as
lim... - 03:24 pm Revision 57dc299a: Further fixes to instance policy validation
- As a followup from "Remove extraneous check in policy creation", there
are more places where we build an ipolicy, and... - 03:24 pm Revision 3074ccaf: Fix another data generation issue in tests
- Another "good" seed value manages to generate nodes with identical
names, which of course makes the sets be of smalle... - 03:24 pm Revision 16670b57: Remove some dead code
- While wondering why Cluster.tryReloc is not unit-tested, I realised
that this is no longer uses. Apparently, last sum... - 03:24 pm Revision d6f9f5bd: Add a help function for generating test nodes
- This abstracts the concept of "give an sane, online node" in a single
place, rather than spread around the tests. We ... - 03:24 pm Revision e73c5fe2: Generate clusters with unique node names in tests
- Nothing breaks otherwise in the cluster routines, but serialisation
to/from text gets confused otherwise.
Signed-off... - 03:24 pm Revision dce9bbb3: Add a complex allocation/serialisation/load test
- This is unfortunately a complex test that checks if:
- starting from a empty cluster
- allocating a few instances on... - 03:24 pm Revision bcd17bf0: Further unittests for ipolicy/ispec text serialisation
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:24 pm Revision b37f4a76: Implement saving/restoring of policies in Text backend
- This adds a new optional (so we're backwards-compat) section to the
cluster data so that we can reliably save/restore... - 03:23 pm Revision 55bd1414: Fix a couple of bugs in handling offline instances
- The addition of the offline state for instances has introduced a few
bugs related to their handling. The current code... - 03:17 pm Revision 9cd6c325: Add a helper function for 'not offline' instances
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:17 pm Revision 00b70680: Unittests for the instance policy checks on allocation
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:17 pm Revision 1f5635a9: Show explicit message when hspace fails to alloc
- Currently, in the human-readable mode, hspace doesn't show any
messages when no instances can be allocated in tiered-... - 03:17 pm Revision aa5b2f07: Obey instance policy in allocation routines
- This currently checks the minimum/maximum sizes and the disk
template. Unittests will come later.
Signed-off-by: Ius... - 03:17 pm Revision d6eec019: Set group policy on nodes
- In order to be able to use the group policy during allocation, we have
a few choices:
- pass the group policy as a s... - 03:17 pm Revision cdbab531: A trivial optimisation in Loader.mergeData
- During loading, we can eliminate some intermediate data
structures. This only matters for big clusters, and even ther... - 03:17 pm Revision 74c35f2f: Trivial performance optimisation
- This is not in the hot-path, but still, no sense in doing O(n) instead
of O(1).
Signed-off-by: Iustin Pop <iustin@go... - 03:17 pm Revision 6cff91f5: Add ipolicy attribute to group objects
- This is straightforward; as before, so far the text and simu backends
have no way to use a non-default ipolicy.
Furt... - 03:17 pm Revision 3c3c796e: Enable Eq instances for TH-built objects
- This is needed for the next patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@go... - 03:16 pm Revision 9fdd3d0f: Switch hspace to read the disk template from the cluster
- The default disk template is the first enabled template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ... - 03:16 pm Revision fc42a408: Read the disk templates part of the ipolicy
- The default value is badly defined (hardcoded defaults)…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ... - 03:16 pm Revision 89c758c6: Move DiskTemplate definition around
- This is needed since we'll need the DiskTemplate definition in the
IPolicy one.
Signed-off-by: Iustin Pop <iustin@go... - 03:16 pm Revision 2cc673a3: Add new disk_templates parameter to instance policy
- This is a bit more complex patch, as it requires changing the
assumption that all keys in the policy dict points to v... - 03:16 pm Revision 45f8b50d: Remove extraneous check in policy creation
- The values are already checked in CreateIPolicy, no need to manually
check them again.
Signed-off-by: Iustin Pop <iu... - 03:16 pm Revision 0ce212e5: Move the instance specs options to cli.py
- Currently these are defined twice, instead of a single time in
cli.py. Also adds the new disk_templates option to the... - 03:16 pm Revision 12c3d3f6: Add a new disk-template ipolicy option
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:16 pm Revision 499eb088: Add a new CLI option type 'list'
- This simply splits the value in the option parser, instead of needing
to do it in the client code.
Signed-off-by: Iu... - 03:16 pm Revision 363c0106: Fix handling of errors from InstancePolicy.Check...
- This code raises a configuration error, but we need to transform it
into a prereq error (or possibly exec error), dep... - 03:16 pm Revision be468da0: Switch hspace defaults to the cluster policy
- This changes from the current hardcoded defaults to the cluster
policy. The command line options now override the def... - 03:16 pm Revision 304f9292: Add a helper function converting ispecs to rspecs
- The rspec type is simpler than the ispec one; most likely it should be
deprecated later.
Signed-off-by: Iustin Pop <... - 03:16 pm Revision 8564fb47: Abstract creation of instance from a spec
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:16 pm Revision df5d5433: Load cluster ipolicy via Rapi
- This requires changing from querying the /tags resource to the /info
resource.
Signed-off-by: Iustin Pop <iustin@goo... - 03:16 pm Revision 135f64a3: Update memory/maxmem reading in Rapi backend
- Recent changes to the instance beparams have replaced memory with
maxmem in Rapi bulk queries. Until this is either r... - 03:16 pm Revision e77bc89b: Load cluster ipolicy via Luxi
- Also show it in hbal's verbose output (helpful for debugging).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe... - 03:16 pm Revision 71375ef7: Extend ClusterData with the cluster instance policy
- This attribute is always initialised to the default, and is not (yet)
read/saved in the various backends.
Signed-off... - 03:16 pm Revision d02f941e: Add default ipolicy declarations
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:16 pm Revision 26fce8df: Add support for RE patterns to convert constants
- This is a trivial conversion.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.... - 03:16 pm Revision cf57f778: Add support for lists/frozensets in convert-constants
- Unfortunately, we only support lists of simple types, and not even
lists of tuples. If we actually needed those, it w... - 03:16 pm Revision 2325bfcf: Add support for tuples in convert-constants
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:16 pm Revision df41d855: More improvements to convert-constants
- This prepares for tuple and other conversions.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussb... - 03:16 pm Revision 8751c041: Improve convert-constants to handle dictionaries
- The two main drawbacks for convert-constants are the fact that it
can't handle sets/frozensets (mainly due to the fac... - 03:16 pm Revision a07343b2: Add object definitions for the ispec and ipolicy
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:16 pm Revision b69be409: Stop exporting JSON functionality from Utils.hs
- This completes the Utils/JSON split started in commit f047f90f. The
import graph should be cleaner now.
Signed-off-b... - 03:16 pm Revision f3f76ccc: More reshuffling of code
- Following the split Types/BasicTypes, we can remove the last
JSON-related stuff from Utils.hs, and do some more clean... - 03:15 pm Revision 0c37d1e4: htools: split parts of HTools/Types.hs into BasicTypes.hs
- The 'Result' type is common and:
- might be used outside of HTools-specific code too
- is better split as we need th...
01/12/2012
- 02:31 pm Revision 50761ebd: Fix acquisition of node lock in LUInstanceGrowDisk
- Ensure node level locks are recalculated properly
in LUInstanceGrowDisk.
Signed-off-by: Constantinos Venetsanopoulos...
01/11/2012
- 01:13 pm Revision 4b97458c: Fix cluster ispecs on upgrade
- Cluster-level parameters must *not* be empty. Plus two more minor
changes.
Signed-off-by: Iustin Pop <iustin@google.... - 01:12 pm Revision b32f3c0c: Better max ispec defaults
- Instead of being equal to the minimum ones, these are reusing current
constants.
Signed-off-by: Iustin Pop <iustin@g... - 01:12 pm Revision 410a8a76: Rename optISpec to optStdSpec
- More consistency with the tiered allocation mode.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nu... - 01:12 pm Revision 294bb337: Change how hspace reads cmdline args for std specs
- For the standard specs, hspace currently takes separate options for
the memory, disk and VCPUs. For the tiered specs,... - 12:59 pm Revision 7da760ca: Abstract tiered specs command line parsing
- This will be used in the future for the standard specs too, so let's
abstract it away.
Signed-off-by: Iustin Pop <iu... - 10:13 am Revision 2096d068: cmdlib._ComputeMinMaxSpec: Add unittest for this function
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:13 am Revision 89e8508e: cmdlib: _VerifyInstancePolicy has been replaced and is dead code
- This removes this method
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog... - 10:13 am Revision 0e68bf27: cmdlib: Rename _CheckMinMaxSpecs to _ComputeMinMaxSpec
- This is to reflect the fact that _Check functions do raise Op*Error
which is not the case for _CheckMinMaxSpec.
Sign...
01/10/2012
- 05:16 pm Revision 380bb53a: utils.ResetTempfileModule: Improve performance
- This function is called for after every fork (e.g. for handling an RPC
request). With the changes in this patch gener... - 03:09 pm Revision 20875652: LUInstanceCreate: Release node resource lock
- … after running iallocator. Otherwise an assertion later in the code
would fail (for a good reason).
Signed-off-by: ... - 02:34 pm Revision ff02b60f: _CheckTargetNodeIPolicy: instance.primary_node is not objects.Node
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:34 pm Revision c879832c: cmdlib: node.group is not a nodegroup object
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:34 pm Revision 26ece371: LUInstanceCreate: self.disks is a dict not a disk object
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:34 pm Revision fb782f5b: qa-sample.json: Fix a typo
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:06 pm Revision c20a19ed: Fix wrong variable name
- Commit bc5d0215 added support for disk params, but due to copy-paste
it tries to enforce the hvparams into disk param...
01/09/2012
- 07:27 pm Revision 922c57bf: InstanceStartup: use overridden beparams in prereq
- Without doing this memory checks happen on instance default parameters
rather than any overridden ones.
Signed-off-b... - 06:40 pm Revision 9f18e2cc: Bump version to 2.5.0~rc5, update NEWS
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:16 pm Revision a41fd46e: Merge branch 'devel-2.4' into stable-2.5
- * devel-2.4:
Add UnescapeAndSplit unittest for multi-escapes
Fix a bug in command line option parsing code
Conf... - 06:04 pm Revision da775218: gen-coverage: Change filter
- It is not necessary to run a Python script to generate the filter, which
didn't work very well anyway on systems with... - 02:34 pm Revision 7e6b6f1f: rpc: More unittests
- - Fix: Don't check st_atime for temporary file for upload tests
- Add tests for five encoders
Signed-off-by: Michael... - 01:56 pm Revision 729ed537: Document "gnt-node add" behavior in case of failure
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
01/06/2012
- 02:47 pm Revision 9fa567b3: gnt-node: Add instance policy to migrate
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:47 pm Revision 43f52ae3: cmdlib: Adapt LUClusterVerifyGroup for instance policy
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:46 pm Revision 2a84b7d3: gnt-backup: Adding force option to import
- This makes it possible to bypass the instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Gui... - 02:46 pm Revision 10889e0c: gnt-instance: Adding instance policy to add
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:46 pm Revision 1559e1e7: gnt-instance: Adding verification of instance policy to modify
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:46 pm Revision 92cf62e3: gnt-instance: Adding instance policy to move
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:46 pm Revision 3ed23330: gnt-instance: Adding instance policy to migrate
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:46 pm Revision b6aaf437: gnt-instance: Adding instance policy to failover
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:45 pm Revision 0fb81174: cmdlib: Adding helper for instance policy
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:36 pm Revision c2dc025a: rpc.ConfigRunner: Fix uploading file
- Commit 601dfcb made some changes to the default encoders. This made
“ConfigRunner.call_upload_file” fail due to a mis... - 01:49 pm Revision 30a83755: Update GrowDisk docstring
- It forgot about one argument.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <h... - 01:38 pm Revision c668ead9: Merge branch 'devel-2.5'
- * devel-2.5:
KVM: support version reported by 1.0
doc/admin: Clarify archived jobs
Conflicts:
NEWS: trivial
Si... - 01:34 pm Revision 2ce40421: rpc._PrepareFileUpload: Use FileStatHelper
- Use fstat(2) on the file handle instead of doing a separate stat(2).
Signed-off-by: Michael Hanselmann <hansmi@googl... - 01:34 pm Revision 2635bb04: Move helper class from watcher to utils.io
- “FileStatHelper” can be used together with “ReadFile” to a file's status
while it's opened. This avoids certain race ... - 01:34 pm Revision d5ea30e8: rpc: Change signature of RpcRunner
- Instead of receiving the whole masterd context, it only gets the
configuration and the lock monitor callback. This si... - 01:34 pm Revision 601dfcbb: Add unittest for uploading file via RPC
- After some preparing patches this unittest can finally be added.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 01:34 pm Revision e78667fe: rpc._RpcClientBase: Add check for number of arguments
- Just an additional check, useful in unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu... - 01:34 pm Revision f00170e2: runtime: Style fix in docstring
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:34 pm Revision 065be3f0: Add unittests for RPC client
- This patch adds a number of unittests for the RPC client base class.
Some small changes were necessary in “rpc.py” to... - 01:34 pm Revision 120e7e77: Add unittest for RPC compression
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:34 pm Revision 764ff2eb: rpc: Style fix
- “assert” is a statement, not a function.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P... - 01:24 pm Revision c52d91e6: Merge branch 'stable-2.5' into devel-2.5
- * stable-2.5:
KVM: support version reported by 1.0
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 12:55 pm Revision 51ef5fe0: check-news/NEWS: impose more standards
- - Always two empty lines before a version.
- Standardize how version names should be called.
Signed-off-by: Guido Tr... - 12:27 pm Revision 585c8187: KVM: support version reported by 1.0
- This of course was working for all the rcs, but broke with 1.0 itself.
In addition:
- split between running kvm --...
01/05/2012
- 07:12 pm Revision 92cb4940: qa: fix disk parameters tests
- Fix an error in the disk parameters tests (the arguments to gnt-cluster
were not passed correctly) and move them to s... - 05:30 pm Revision 890ea4ce: rpc._NodeConfigResolver: Support resolving offline nodes
- This is needed to powercycle a node marked offline.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b... - 05:30 pm Revision 68a856ef: rpc_defs: Enable “node_powercycle” for offline nodes
- With this change it's possible to powercycle nodes marked as offline. Of
course the node might not be running the nod... - 05:30 pm Revision 9f2c2103: man/gnt-node: Improve powercycle documentation
- Reword a bit, capitalize “SSH”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <... - 05:30 pm Revision fce5efd1: rpc: Pass resolver options to actual resolver
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:30 pm Revision dd6d2d09: rpc: Add support for resolver options callback
- This adds support for a callback returning name resolver options. This
is required for powercycling offline nodes. Wh... - 05:30 pm Revision f863d7aa: rpc._RpcProcessor: Make read timeout a non-keyword argument
- It is always used and can be set to “None” if intended.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 03:27 pm Revision 20286f7c: QA: Make the ispec values configurable
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
01/04/2012
- 03:21 pm Revision 995736c6: Update the resource model DD with current state
- On my work for instance policies we decided not to overload --force
more, instead we go with a new flag --ignore-ipol...
12/22/2011
- 09:09 pm Revision df69e0a0: Fix failure in distcheck and coverage tests
- autotools/testrunner was missing in distcheck. Now some changes from
7004106119c5c56c93085ccfb1250b3561b5b6ad have b... - 08:34 pm Revision 96a7481d: Makefile: Fix parallel distcheck
- Running “make -jN distcheck” for any N > 1 would reliably break when
building the RPC client wrappers. This was due t... - 07:19 pm Revision 89907375: doc/admin: Clarify archived jobs
- Also mention that archived jobs can be viewed using “gnt-job info”.
Signed-off-by: Michael Hanselmann <hansmi@google... - 07:16 pm Revision aa66c183: Merge branch 'devel-2.5'
- * devel-2.5:
jqueue: Factorize checking job processor's result
jqueue unittest: Rename simple fake-job class
jq... - 06:41 pm Revision 4f44e311: Merge branch 'stable-2.5' into devel-2.5
- * stable-2.5:
jqueue: Fix epylint errors introduced in 37d76f1e4
jqueue: Fix deadlock between job queue and depen... - 05:04 pm Revision fc4498e9: test/lockperf: Use a list of integers, not booleans
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:25 pm Revision e4d452b4: Add lock performance utility
- I had an idea for improving locking performance. To see if it worked I
wrote this tool. Unfortunately the idea didn't... - 03:19 pm Revision df5a5730: jqueue: Factorize checking job processor's result
- This allows for more unittesting.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 03:19 pm Revision 1b5150ab: jqueue unittest: Rename simple fake-job class
- Also add a parameter for priority, to be used in an upcoming
patch.
Signed-off-by: Michael Hanselmann <hansmi@google... - 03:12 pm Revision fd6eaa09: unit tests: Add tests for file mode handling in utils.WriteFile
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:12 pm Revision 0d20cc42: unit tests: Add tests for uid and gid handling in utils.WriteFile
- These tests need fakeroot. If it's not present, they are not run (they
don't fail).
Signed-off-by: Bernardo Dal Sen... - 03:12 pm Revision eea3b572: noded: Fix /etc/hosts group ownership
- When Ganeti was compiled with the option of running as a different
user/group, the group ownership of /etc/hosts was ... - 03:12 pm Revision 70041061: unit tests: added fakeroot support
- Tests ending in "-runasroot" or "-runasroot.py" are run through fakeroot,
so activity that needs root privileges can ... - 03:12 pm Revision c47eddb8: utils.WriteFile: Add new parameter to preserve file permissions
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Micha...
12/21/2011
- 06:04 pm Revision 1316ebc2: jqueue: Fix epylint errors introduced in 37d76f1e4
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:02 pm Revision 60154921: Extend RPC definition change with another parameter
- This will be used in a later patch for parameter pre-processing. For
now we just add the parameter as 'None' and add ... - 06:02 pm Revision 5449685e: Switch blockdev_getmirrorstatus_multi to per-node bodies
- Even for a small 4-node node-group, this reduces the payload of this
RPC call by half for each node; for a big node g... - 06:02 pm Revision d9de612c: Change internal RPC client body values
- Currently, all RPC payloads sent by the client to the remote node
daemons must be identical, due to how the data is p... - 06:01 pm Revision 527c0cf7: hv_kvm: Make string containing regex a raw string
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:25 pm Revision 65107a2f: hv_kvm: Style fixes
- Change a few lines to match rest of code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 05:25 pm Revision 51129a7f: test/hv_kvm: Code style, additional tests
- Change code style to match rest of Ganeti code and add
two tests checking for single-line messages.
Signed-off-by: M... - 05:25 pm Revision 9b87c2cf: hv_kvm.QmpMessage: Use dict.get
- No need to look up the key twice.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 04:55 pm Revision a182a3ed: serializer: Remove JSON indentation and dict key sorting
- Serializing to JSON using “simplejson” is significantly slower when
indentation and/or sorting of dictionary keys is ... - 04:35 pm Revision 37d76f1e: jqueue: Fix deadlock between job queue and dependency manager
- When an opcode is about to be processed its dependencies are
evaluated using “_JobDependencyManager.CheckAndRegister”... - 12:04 pm Revision 0f63f1f9: Fix unittests for daemon_util with disabled confd
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
12/20/2011
- 12:07 pm Revision 519fafa1: Fix parameters for QueryJob in JobExecutor
- When gnt-job submit is used with the --each option, it sends as
parameters for QueryJobs a list of lists, each contai...
12/19/2011
- 05:37 pm Revision 20699809: locking: Add “__repr__” to SharedLock and PipeCondition
- These help when debugging.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andrea Spadaccini <spa... - 04:07 pm Revision 73e6cf8d: Fix cluster destroy failure
- Cluster destroy would fail if there were errors while deactivating the
master IP address. This patch demotes such err...
12/17/2011
- 12:46 am Revision b0943462: Add docs for missing option in gnt-debug man page
- Document the --each option of gnt-debug submit-job.
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed...
12/16/2011
- 10:30 am Revision 085e0d9f: gnt-node: Add hv/disk state to add
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:30 am Revision e4c03256: gnt-group: Add hv/disk state to add
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:30 am Revision c4929a8b: gnt-cluster: Add hv/disk state to init
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Also available in: Atom