Activity

From 02/28/2012 to 03/28/2012

03/28/2012

08:24 pm Revision 8e2ed2e8: ganeti.initd: Add “status” action
Eric Rostetter sent a patch adding a “status” action, but unfortunately
his code was apparently specific to Red Hat. ...
Michael Hanselmann
08:24 pm Revision c9c33a28: Add whitelist for opcodes using BGL
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:29 pm Revision 2ac41278: Update IP pool management design doc
Update IP pool managenent design doc to be consistent
with the implementation.
* Add new NIC parameter: 'network'
...
Dimitris Aragiorgis
07:05 pm Revision 1501cd6b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
LUOobCommand: acquire BGL in shared mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
05:12 pm Revision 6977943c: LUOobCommand: acquire BGL in shared mode
Fixed a typo so that now LUOobCommand acquires the BLG in shared mode, as
intended.
Signed-off-by: Bernardo Dal Seno...
Bernardo Dal Seno
12:27 pm Revision bd6d1202: RPC: Add a new client type for DNS only
This patch moves the “call_version” to a new RPC client definition and
then adds a new runner using the DNS resolver ...
René Nussbaumer
12:27 pm Revision 8ccecf10: LUNodeAdd: Make the version call only dependend on DNS
Also move the version check into prereq to abort before alter cluster
state if the version mismatch.
Signed-off-by: ...
René Nussbaumer

03/27/2012

06:10 pm Revision f6d62af4: Update install document
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision 73225861: Update admin doc
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision 832f8c6a: Update walkthrough document
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision b8203e1e: Update default instance kernel version
We switch from vmlinuz-2.6-… to vmlinuz-3-…. To do this nicely, we
also add a ./configure-time setting for the KVM in...
Iustin Pop
06:10 pm Revision 727ee1ec: Update INSTALL and devnotes documents
Added the new Haskell library requirements, for both normal and
developer usage.
Furthermore, all commands are now c...
Iustin Pop
12:27 pm Revision 63b4bb1e: Fix escaping of percent signs in the shell lexer
Of course, we do have cases where we want to escape the percent signs,
and our regexes were not fully correct for thi...
Iustin Pop

03/26/2012

06:26 pm Revision 7142485a: Add a special lexer for sphinx/pygments
This will be used throughout our docs for better formatting example
shell sessions, with custom markup for comments, ...
Iustin Pop
06:06 pm Revision 01eb6409: ganeti.7: Add more filter examples
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:54 am Revision 74e60746: Enable -Werror by default for htools
Since the code base is now "clean" across all supported GHC versions
(6.12-7.4), we can enable -Werror again.
Signed...
Iustin Pop
11:54 am Revision 30d25dd8: Switch to new-style exception handling
Currently, we're using Prelude.catch to handle I/O errors in
htools. This style of error handling has been deprecated...
Iustin Pop
11:54 am Revision d80e3485: Change a type computation for compatibility with 6.12
This is the last warning related to TemplateHaskell that was 6.12
specific; for some reason, it doesn't "see" that tr...
Iustin Pop
11:53 am Revision ffbd9592: Fix compatibility with TemplateHaskell from GHC 7.4
GHC 7.4 has updated the TemplateHaskell library, and it turns out that
the way we built the JSON instance implementat...
Iustin Pop
11:30 am Revision 30f2802f: Add trivial tests for gnt-* cli
While testing some other stuff, I realised that the gnt-* commands
could be broken (as in, the script fails with synt...
Iustin Pop
11:04 am Revision 3c4afa2e: Fix hardcoded Xen kernel path
We already have a ./configure-time variable for this, but it seems to
be actually unused.
Signed-off-by: Iustin Pop ...
Iustin Pop

03/23/2012

03:58 pm Revision 566db1f2: Fix docstring bug
Fix a typo introduced in commit c85b15c1, which breaks epydoc.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
03:56 pm Revision 73b0fa69: Enable selection between Python and Haskell confd
This patch changes configure.ac Makefile.am so that the user can pass:
- --disable-confd (or --enable-confd=no) to d...
Iustin Pop
03:56 pm Revision acf70442: Fix qemu-img configure.ac check
By accident, commit a002ed7 introduced the qemu-img checks in the
htools block. I found this also by mistake while in...
Iustin Pop
02:45 pm Revision 744dd57c: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
LUNodeAdd: Verify version in Prereq
Fix LV status parsing to accept newer LVM
Bump version for 2....
Guido Trotter
01:27 pm Revision 2d453213: LUNodeAdd: Verify version in Prereq
There are other ways to leave the cluster in a broken state than just
the version check. However they are not very tr...
René Nussbaumer
01:23 pm Revision e2ea8de1: LUNodeAdd: Verify version in Prereq
There are other ways to leave the cluster in a broken state than just
the version check. However they are not very tr...
René Nussbaumer
01:12 pm Revision 0304f0ec: Fix LV status parsing to accept newer LVM
LVM version 2.02.93 (or at least, sometimes after .88) has extend the
lv_attr field with two more flag; we only care ...
Iustin Pop

03/22/2012

08:44 pm Revision c85b15c1: cmdlib: Factorize checking acquired node group locks
The “cur_group_uuid” parameter is optional to prepare for using the
factorized code from LUInstanceQueryData.
Signed...
Michael Hanselmann
08:44 pm Revision 080fbeea: gnt-instance info: Show node group information
This requires acquiring the node group locks in shared mode.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
07:30 pm Revision 88a10df5: Rework exit model
While updating the confd code, I realised that we have _lots_ of
duplication in the exit model for the various progra...
Iustin Pop
05:38 pm Revision 18e2d065: Bump version for 2.5.0~rc6 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:10 pm Revision 3e5012c6: Fix out-of-tree builds
The new shell tests do not succeed out-of-tree, due to static paths
and other issues. This trivial patch fixes these ...
Iustin Pop
04:29 pm Revision a20e4768: cmdlib: Stop forking in LUClusterQuery
While debugging another issue we realized that LUClusterQuery forks.
This turned out to be the “platform.architecture...
Michael Hanselmann
04:01 pm Revision 53d4cdf1: Convert manual shell tests to shelltestrunner
This is more of a RFC… Basically most of the shell-based tests are
converted from exec+grep to shelltestrunner.
Thin...
Iustin Pop
03:58 pm Revision b714ff89: Add command line option for controlling syslog use
… and enable it in hconfd.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:58 pm Revision a6e2a138: Add support for syslog logging to Ganeti.Logging
Currently this is initialised to no from Daemon.hs, but will in the
future allow command-line options for controlling...
Iustin Pop
03:03 pm Revision 70567db0: locking: Notify only once on release
Don't notify for every released lock in shared mode. The last one is
enough.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
03:03 pm Revision 8d7d8b57: locking: Handle spurious notifications on lock acquire
This was already a TODO since the implementation of lock priorities in
September 2010. Under certain conditions a wai...
Michael Hanselmann
02:50 pm Revision 26082b7e: locking: Fix lock deletion with timeout
While working on another SharedLock fix I realized timeouts on lock
deletion don't work very well if the timeout actu...
Michael Hanselmann
02:50 pm Revision 6b27f535: Move _TimeoutExpired to utils
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Andrea Spadaccini
02:46 pm Revision a5485ffc: LUClusterVerifyConfig: Share BGL, acquire all locks in shared mode
Instead of acquiring the BGL in exclusive mode (which blocks all other
operations), we acquire all locks for groups, ...
Michael Hanselmann
02:46 pm Revision 6fe4baf0: Revert "Stop acquiring BGL for LUXI queries"
This reverts commit 0fa753bad2cf5a0cf88953347e5da3aebbf21956.
Turns out there are more queries acquiring locks than ...
Michael Hanselmann

03/21/2012

05:56 pm Revision 596b2459: KVM: don't add -nographic using spice
This fixes issue 222.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Guido Trotter
02:08 pm Revision 0985325d: Only build hconfd if --enable-confd was passed
A later, more complete patch, will allow selecting between either the
Python version or the Haskell version. This is ...
Iustin Pop
12:37 pm Revision 3096524e: Build test helpers that point to hpc-htools
Instead of using just shell constructs to run hpc-htools correctly
(i.e. HTOOLS=role htools/hpc-htools …), let's add ...
Iustin Pop
12:37 pm Revision f183de56: Allow hail to read data from stdin
This patch makes hail treat '-' as denoting stdin, per the usual Unix
convention. This will help with testing.
Signe...
Iustin Pop
12:37 am Revision 19cff311: Update hconfd bind address handling
Instead of hardcoded IPv4 INADDR_ANY, this patch changes hconfd to use
either the any network for the configured clus...
Iustin Pop
12:25 am Revision aa3adf35: Add skeleton ssconf module
This currently has only one export function in it, which will be used
for future bind address functionality in daemon...
Iustin Pop
12:25 am Revision 1091021c: Add two utility functions
These both are work with/on the Result type, so we add them to
BasicTypes. The functions will be used as more generic...
Iustin Pop
12:25 am Revision 152e05e1: Add the bind-address option
This implements the same logic as the Python code: if the option is
not used, use the default appropriate for the clu...
Iustin Pop

03/20/2012

08:00 pm Revision 0fa753ba: Stop acquiring BGL for LUXI queries
Short description: This fixes an issue whereby masterd would become
unresponsive on the LUXI socket, leading to clien...
Michael Hanselmann
02:11 pm Revision a5183d3d: Typo fix: s/aditional/additional/
Trivial fix for a typo in message output of LUInstanceSetParams
Signed-off-by: Alexander Schreiber <als@google.com>
...
Alexander Schreiber

03/19/2012

05:45 pm Revision 3c6b7403: Fix exported constants
I "forgot" to run the unittests before commit :(
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael ...
Iustin Pop
05:34 pm Revision 47334810: Export the AF_INET/AF_INET6 constants
These are needed to ensure that htools uses the same numeric values as
Python.
By the way, I'm not sure what's the b...
Iustin Pop
05:34 pm Revision 896b2850: Rename htools-hpc to hpc-tools to fix laziness
This is a stupid/trivial patch. I didn't realise when adding
htools-hpc that this will "break" tab completion on htoo...
Iustin Pop
02:44 pm Revision 3e0ed18c: EPO: Pass the no_remember parameter to preserve state
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:00 pm Revision e6812a1a: htools: fix long version of --port for daemons
The dashes do not need to be in, if they are then the resulting option
is:
-p PORT ----port=PORT Network port...
Iustin Pop
11:50 am Revision 91e5a351: Add htools/rapi test directory to DIRS
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:50 am Revision 5ec23388: Update gnt-node evacuate man page/help text
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:48 am Revision 666e013f: Fix type error in LUInstanceChangeGroup
If a specific list of groups has been requested, then the code used
that, without transforming it to a (frozen)set fi...
Iustin Pop

03/16/2012

01:40 pm Revision 36c70d4d: Fix gnt-group --help display
Copy-paste mismatch :)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google...
Iustin Pop
12:35 pm Revision f0753837: hspace: Make use of the spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:08 pm Revision 5850e990: htools: Fix some compiler warnings
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop

03/15/2012

06:22 pm Revision 6bbd76d2: Add new hail (shell) tests
Using some hand-crafted files (manually modified from a real cluster
running master branch), we test that hail behave...
Iustin Pop
06:22 pm Revision d575c755: Enhance the RAPI backend to accept file:// URLs
This will allow offline testing of this backend (except for the actual
curl part), also in the case where we didn't c...
Iustin Pop
06:22 pm Revision 55ffacfa: Add RAPI shell-level unittest
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm Revision 30084381: Enable pipefail mode for shell tests
These allow more accurate checks.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@goo...
Iustin Pop
06:22 pm Revision 8d616d4d: Add utilisation and instance selection tests
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
06:22 pm Revision 9915fb20: Add tests for custom text files
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:25 pm Revision ec629280: htools: Reflect the rename of spindle_usage to spindle_use
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:25 pm Revision 34700f5b: Rename spindle_usage to spindle_use on Ganeti side
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
04:05 pm Revision fafd0773: Add a helper function for mirrorType computations
We most always use `templateMirrorType . diskTemplate`, so let's add a
helper function for this.
Signed-off-by: Iust...
Iustin Pop
04:05 pm Revision 1d42996b: Fix TLMigrateInstance use of IAllocator
hail now expects correctly that relocate_from is of equal length with
the number of required nodes (fixme: there's a ...
Iustin Pop
04:05 pm Revision 64946775: Enable all disk templates in unit-tests
After the many patches implementing the shared storage functionality
in iallocator, balances, etc., and after the pat...
Iustin Pop
04:05 pm Revision f9f6480e: Enable evacuation/relocation for shared storage
This patch toggles the final bit and enables nodeEvacInstance to work
on shared storage instances. Diskless instances...
Iustin Pop
04:05 pm Revision 91575c31: Replace explicit case with 'either'
Instead of manually case-ing on the Either contents, let's just use
either with const functions (not really readable,...
Iustin Pop
04:04 pm Revision a1741ae5: Rename evacDrbdSecondaryInner to evacOneNodeInner
The function is now generic, so let's rename it and cleanup/improve
the docstrings.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
04:04 pm Revision 6ab3ce90: Abstract the secondary evac into a separate function
This is generic enough (no longer depending on the replace type) that
it will be used for other replace modes too. So...
Iustin Pop
04:04 pm Revision 53bddadd: Fix Node_addPriFD test for arbitrary disk templates
Currently, this test assumes localStorageTemplates, so let's make sure
we enforce that on the given instance
Signed-...
Iustin Pop
04:04 pm Revision 0c8cef35: Extend the possible move types with FailoverToAny
This brings together all previous pieces and allows balancing to work
(with the known caveats related to disk space c...
Iustin Pop
03:53 pm Revision d953a965: htools: Add the new ipolicy field
Also add the spindle usage to QC
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
René Nussbaumer
03:53 pm Revision 553cb5f7: ipolicy: Keep track of spindle usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm Revision 4c18f468: htools: Use the spindle usage in the algorithms
In the same transition also do a simple refactor of the caculation
Signed-off-by: René Nussbaumer <rn@google.com>
Re...
René Nussbaumer
12:29 pm Revision b003b8c0: htools: Convert all the other backends as this is trivial
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:29 pm Revision 52cc1370: htools: Adapt the Text backend to spindle usage
The old text files remain compatible with this change.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: I...
René Nussbaumer
12:29 pm Revision 981bb5cf: htools: Adding spindle usage to Instance
For now we just pass in "1" as spindle usage and adapt the backend
later.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer
12:29 pm Revision 37b918c2: iallocator: Add the spindle_usage to iallocator
This adapts the Ganeti side to export the spindle_usage
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: ...
René Nussbaumer
12:29 pm Revision ccbbb434: constants: Add new spindle_usage parameter to BE
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:24 pm Revision 1cdcf8f3: Rework unit parsing
Due to how conversions were implemented previously, 1TB failed to
parse on 32-bit, as we were overflowing during comp...
Iustin Pop

03/14/2012

12:50 pm Revision 1bf72492: Enable lvmstrap to run under Linux 3.x
Extend the kernel version check to also accept Linux 3.x as valid.
Signed-off-by: Alexander Schreiber <als@google.co...
Alexander Schreiber
12:21 pm Revision d3cd5a3f: Fix make distcheck after the new shell tests
With the new shell tests, we have for the first time the situation
where tests require a binary built (via make), but...
Iustin Pop

03/13/2012

06:11 pm Revision 25cdf177: Build a coverage-enabled version of the tools
This allows the offline tests to also generate coverage data, and the
hs-coverage target is changed to show both unit...
Iustin Pop
06:11 pm Revision 3e7220e4: Enhance the offline tests
This adds new offline tests:
- checks that files generated by hspace can be read by hbal/hinfo
- checks that hbal ha...
Iustin Pop
06:11 pm Revision 16197d69: Add more rebalance offline tests
These test that we can actually rebalance (and that it results in
replace-disks and failovers/migrations), and that w...
Iustin Pop
05:56 pm Revision 04d15e63: Enable htools offline tests as Haskell tests
This enables the offline-test.sh run both in the special "hs-check"
rule and during normal "make check".
Signed-off-...
Iustin Pop
05:56 pm Revision 42089b55: Add a simple binary tester for htools
This only tests the command line basic options. In the future, it can
be expanded to check other things.
Signed-off-...
Iustin Pop
05:56 pm Revision 01c23d75: Add a helper for htools CLI tests
… and update live-test.sh to use it, instead of hard-coding the
program paths.
A few additional style fixes are also...
Iustin Pop
03:12 pm Revision 358a0a8f: htools: add confd server module
This contains a more-or-less complete implementation for the
server-side confd.
Note that most of the code is behavi...
Iustin Pop
03:12 pm Revision 3c899290: htools: add confd daemon binary
This is currently not installed anywhere, just built.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Gui...
Iustin Pop
02:48 pm Revision 6ec7a50e: htools: add basic daemon-related functionality
This is not complete for now, just the basic functionality has been
implemented:
- daemonize
- check we're running u...
Iustin Pop
02:48 pm Revision ba4e38e8: htools: add logging functionality
This adds a dependency on hslogger 1.1+, which is not available in
Debian Squeeze, only in later versions.
Signed-of...
Iustin Pop
02:48 pm Revision 7946c25d: htools: add runtime functionality
This duplicates the lib/runtime.py functionality, allowing us to check
for runtime users and groups consistency.
Sig...
Iustin Pop
02:48 pm Revision 21dc8694: htools: add a small module for crypto functions
This adds a dependency on the following new libraries:
- Data.HMAC module from the 'crypto' library
- Data.Text from...
Iustin Pop
02:48 pm Revision 417cc253: htools: add definitions for confd types
While we have some of these as plain types in Constants.hs, we add
proper ADT definitions for them in a new file. Fur...
Iustin Pop
02:48 pm Revision eaa64cd8: htools: add a very basic lib/config.py equivalent
This only is able to load the configuration data for now.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
02:48 pm Revision b1e81520: htools: add partial implementation of lib/objects.py
This is partial since not all object types can be easily converted for
now (will need some changes on the Python side...
Iustin Pop
11:29 am Revision 0547d608: htools: Make it possible to load an IAlloc request
This is only useful in the stand-alone command line tools:
- hbal
- hspace
- hinfo
This change also documents the f...
René Nussbaumer

03/09/2012

04:46 pm Revision 81f7ea25: Fix lint error in commit 035b33e2
Commit 035b33e2 forgot one blank space, and current pylint in Debian
Sid doesn't run on our code… so I didn't realise...
Iustin Pop

03/07/2012

11:35 pm Revision 7018af9c: Fix relocation test ClusterAllocRelocate
As for the evacuate tests, we require a mirrored disk template, but
otherwise the test should work for both mirror ty...
Iustin Pop
11:34 pm Revision 3d7d3a1f: Fix IAlloc.processRelocate to support shared storage
Currently, this function expects (but doesn't really check! only via
secondary node being defined) a DRBD8 template t...
Iustin Pop
11:31 pm Revision ac1c0a07: Fix up Cluster nodeEvac unittests for shared storage
Currently, these presume that the instance being generated always is
DRBD/relocatable (but won't be in the future), a...
Iustin Pop
11:25 pm Revision a593113c: Small improvement for nicer unit-testing
In case you just run "make htools/test" to recompile the unittests,
the old .tix file should be removed, otherwise yo...
Iustin Pop
11:24 pm Revision bebe7a73: Add a simple type alias for nicer type signatures
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:24 pm Revision 80b27509: Rework evacDrbdSecondaryInner to take the imove
Instead of hard-coding the instance move operation, let's accept is as
a parameter from the caller. This is the singl...
Iustin Pop
11:24 pm Revision c6e8fb9c: Fix a few tests that hard-coded the number of nodes
Instead of randomly generating the number of required nodes or
hard-coding it, compute it from the disk template of t...
Iustin Pop
11:18 pm Revision 90669369: Fix test Node_addSec_idempotent
Another test that only works for DRBD8 instances.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido T...
Iustin Pop
11:17 pm Revision e7b4d0e1: Fix the Node_rMem test to specify DRBD8 templates
… since memory reservation only is used for this template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by...
Iustin Pop
11:17 pm Revision c6b7e804: Split the Node_addOffline test into pri/sec
Currently, this (single) test checks whether we can add an instance as
primary and secondary to a given node. This wo...
Iustin Pop
11:05 pm Revision 5f4464db: Use the mirror type in Cluster.possibleMoves
Currently the function possibleMoves always presumes DtDrbd, which is
wrong for shared storage. To make it work with ...
Iustin Pop
11:05 pm Revision 810d051f: iPolicy: enable by default all storage templates
… otherwise we can't run tests or simulations using non-default
templates. Tests still pass.
Signed-off-by: Iustin P...
Iustin Pop
11:05 pm Revision 255d140d: Fix printSolutionLine to handle big scores
Currently we don't set a boundary on the length of the score field,
which breaks all our nicely-aligned output effort...
Iustin Pop
11:05 pm Revision e85444d0: Fix printSolutionLine to handle non-DRBD steps
Currently Cluster.printSolutionLine function always wants to print the
old and new secondary, and as such it fails (u...
Iustin Pop
11:05 pm Revision b906d7c1: Add a helper type and function for the mirror type
Currently we track the mirroring type as simply yes/no, with "yes"
meaning DRBD. This is not enough for handling shar...
Iustin Pop
11:04 pm Revision 73d12eab: Small simplification in tryBalance
Instead of computing the bad/good node lists separately (in effect
iterating twice over the all_nodes list and also c...
Iustin Pop
11:04 pm Revision 2c7b328c: Mark Rbd as a movable disk template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:04 pm Revision a7667ba6: Do not rely on no-secondary for movable tests
Currently, the code in Loader.hs marks as un-movable any instances
which don't have a secondary. This is not valid fo...
Iustin Pop
11:04 pm Revision b7743258: Handle nodes without local storage
Our current cluster model is based on per-node storage, and as such we
don't handle shared disk templates. Until we c...
Iustin Pop
10:59 pm Revision 035b33e2: Fix tempfile reset code & test on newer Python
Python 2.7.3 (rc status) and 3.2.3/3.3 (rc, respectively alpha status)
have fixed http://bugs.python.org/issue12856 w...
Iustin Pop

03/06/2012

08:58 pm Revision 7bfb3367: Merge remote-tracking branch 'origin/devel-2.5'
Conflicts:
Makefile.am (trivial, test data files added on both branches)
lib/opcodes.py (trivial, ...
Iustin Pop

03/05/2012

11:17 pm Revision c55cc346: Split check-man-warnings into two
This moves the dashes check to a new check-man-dashes script.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
11:17 pm Revision 73d0e218: Rename check-man to check-man-warnings
Currently the check-man test is dependent on the MAN_HAS_WARNINGS
test, which made sense as long as the script only d...
Iustin Pop
11:17 pm Revision 9c45babb: Makefile: improve the fix for .DELETE_ON_ERROR
I've investigated more and it seems that .DELETE_ON_ERROR not working
is a bug/regression in some versions of make; t...
Iustin Pop

03/03/2012

09:46 pm Revision 4892d955: htools/ExtLoader: Bring the pieces together
This make it possible to load from an Ialloc file
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin...
René Nussbaumer
09:46 pm Revision 9899796b: htools/CLI: Adding new options to use ialloc as source
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision 786c514c: htools/IAlloc: Adding loadData method for use as backend
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
09:46 pm Revision c3f8cb12: htools: Refactor some of IAlloc.readRequest to Hail
This makes it possible to reuse that function when we want to use IAlloc
as a data source backend
Signed-off-by: Ren...
René Nussbaumer
09:46 pm Revision 14fbd75b: hinfo: Adjust the verbosity
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

03/01/2012

08:48 pm Revision d0a14556: hinfo: Gather and print group statistics
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

02/29/2012

06:17 pm Revision f35ea63a: Explicitly remove the .x.in man pages on failure
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:17 pm Revision e8f936b0: More -- fixes
Because .DELETE_ON_ERROR doesn't work consistently (works when the
target we're talking about is a final target, but ...
Iustin Pop
04:22 pm Revision c3024b7e: htools: Adding printTable helper
This helper abstract away all the unlines and unwords call you've to do
after you got a formatTable back.
Signed-off...
René Nussbaumer
04:19 pm Revision 5c52dae6: Fixup a Node unittest
This fixes the prop_Node_rMem test, which cares about memory only;
otherwise we could fail due to other problems (e.g...
Iustin Pop
04:18 pm Revision ee4ffc8a: Allow overriding the target test count
This is not perfect, as the override applies identical target test
values to both the 'fast' and 'slow' tests (making...
Iustin Pop
04:18 pm Revision eae69eee: Add two more unittests for Node add/remove
These just test that add/remove are idempotent. This is not perfect,
as we use unsorted lists for some values (instea...
Iustin Pop
04:18 pm Revision 084565ac: Use the spindles metric in cluster scores
This makes balancing use the new metric.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer ...
Iustin Pop
04:17 pm Revision 82f19570: Track instance-used spindles in node set/add/remove
This simply tracks the instance-used spindles (using hard-coded '1'
per instance), and additionally prevents addition...
Iustin Pop
04:17 pm Revision 7959cbb9: Shorten some function names
Since we use the functions always module-qualified, let's drop the
`instance` prefix and use a shorter one.
Signed-o...
Iustin Pop
04:17 pm Revision f87c9f5d: Simplify logic in Node operations
This patch adds two helper functions and uses them for a somewhat
simplified logic in the add/remove pri/sec node fun...
Iustin Pop
04:16 pm Revision 0c7d4422: htools: support spindles in simu backend
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm Revision f951bd09: htools: support spindles in text load/save
If missing, we'll default to 1 spindle.
This also updates the text file format with the ipolicy, which was
forgotten...
Iustin Pop
04:16 pm Revision 34ace266: htools: add support for listing spindles for nodes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
04:16 pm Revision 8bc34c7b: htools: add spindle-related attribute to nodes
This adds the spindleCount, hiSpindles and instSpindles attributes.
The spindleCount is equivalent to spindle_count ...
Iustin Pop
04:15 pm Revision c22d4dd4: Add spindle ratio to htool's IPolicy
Just the usual data/type declarations, read/save in the text backend,
etc. Also does a bit of unit-test cleanup (the ...
Iustin Pop
03:33 pm Revision e2bdaf25: hinfo: Adding man page
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

02/28/2012

05:02 pm Revision 19e310cc: hinfo: Reorganize the code to separate functions
Also rename some functions as they don't reflect their actions anymore
Signed-off-by: René Nussbaumer <rn@google.com...
René Nussbaumer
03:01 pm Revision 1fdfa87a: Two tiny fixed related to runtime functionality
Adds an assert and fixes a typo.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hans...
Iustin Pop
02:26 pm Revision 2922d2c5: hinfo: Adding basic skeleton based on hbal
It prints the information which hbal prints in a nice formatted manner and of
course without doing any actions. An ex...
René Nussbaumer
« Previous
Next »
 

Also available in: Atom