Activity

From 01/31/2012 to 02/29/2012

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 ganeti-local 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 ganeti-local 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
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 ganeti-local 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: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:19 pm ganeti-local 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 ganeti-local 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 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 ganeti-local 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:18 pm ganeti-local 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 ganeti-local 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 ganeti-local 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 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:17 pm ganeti-local 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 ganeti-local 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 ganeti-local 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 ganeti-local 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:16 pm ganeti-local 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
04:15 pm ganeti-local 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
03:33 pm ganeti-local 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
05:02 pm ganeti-local 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
03:01 pm ganeti-local 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
02:26 pm ganeti-local 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

02/27/2012

06:37 pm Revision 4f511a13: Add automated checking for non-escaped --
This checks to see if any man output has [em] in it, as that will not
be correctly show in ASCII. Unfortunately the c...
Iustin Pop
06:37 pm Revision f624fa95: Fix man pages to not use unescaped --
I've seen that man pages, as generated by the version of pandoc we
use, show single dashes in option names instead of...
Iustin Pop
06:37 pm ganeti-local Revision 4f511a13: Add automated checking for non-escaped --
This checks to see if any man output has [em] in it, as that will not
be correctly show in ASCII. Unfortunately the c...
Iustin Pop
06:37 pm ganeti-local Revision f624fa95: Fix man pages to not use unescaped --
I've seen that man pages, as generated by the version of pandoc we
use, show single dashes in option names instead of...
Iustin Pop
06:35 pm ganeti-local Revision cc67d8eb: Add job result descriptions to RAPI documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:35 pm Revision cc67d8eb: Add job result descriptions to RAPI documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:52 pm Revision fe8d2553: Remove a superfluous warning in LUNodeRemove
Since we run the post-hooks explicitly in the Exec() function (via
_RunPostHook) after we removed the target node fro...
Iustin Pop
03:52 pm ganeti-local Revision fe8d2553: Remove a superfluous warning in LUNodeRemove
Since we run the post-hooks explicitly in the Exec() function (via
_RunPostHook) after we removed the target node fro...
Iustin Pop

02/23/2012

06:00 pm Revision b02c6bdf: opcodes: Remove dependency on query module
There's no need to verify the field definitions on every query. They are
static for all intents and purposes anyway a...
Michael Hanselmann
06:00 pm ganeti-local Revision b02c6bdf: opcodes: Remove dependency on query module
There's no need to verify the field definitions on every query. They are
static for all intents and purposes anyway a...
Michael Hanselmann
05:59 pm Revision a0a63e76: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix Makefile.am compatibility with automake 1.11.2
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
05:59 pm ganeti-local Revision a0a63e76: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix Makefile.am compatibility with automake 1.11.2
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann

02/22/2012

03:13 pm Revision d859a2cf: http.server: Factorize request handling even more
This splits even more parts of the request handling code into a separate
class. Doing so allows us to reuse this part...
Michael Hanselmann
03:13 pm ganeti-local Revision d859a2cf: http.server: Factorize request handling even more
This splits even more parts of the request handling code into a separate
class. Doing so allows us to reuse this part...
Michael Hanselmann
03:12 pm Revision 377ae13e: http.server: Move error message formatting to handler class
Like before this patch moves more functionality from the actual server
class into a separate handler class. At the sa...
Michael Hanselmann
03:12 pm ganeti-local Revision 377ae13e: http.server: Move error message formatting to handler class
Like before this patch moves more functionality from the actual server
class into a separate handler class. At the sa...
Michael Hanselmann
03:12 pm Revision cca5b3fc: noded: Shorter docstring for mlockall(2) executor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision cca5b3fc: noded: Shorter docstring for mlockall(2) executor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision e0003509: Split handling HTTP requests into separate class
Until now HTTP requests were handled in the same class as incoming
connections (http.server.HttpServer). With this ch...
Michael Hanselmann
03:12 pm Revision e0003509: Split handling HTTP requests into separate class
Until now HTTP requests were handled in the same class as incoming
connections (http.server.HttpServer). With this ch...
Michael Hanselmann
03:12 pm Revision c81f452f: http.server: Factorize request handling
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
03:12 pm ganeti-local Revision c81f452f: http.server: Factorize request handling
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
02:03 pm Revision 09037780: Remove deprecated “QueryLocks” LUXI request
This has been deprecated since Ganeti 2.4 and hasn't been used by
Ganeti's code since. I'm not aware of any external ...
Michael Hanselmann
02:03 pm ganeti-local Revision 09037780: Remove deprecated “QueryLocks” LUXI request
This has been deprecated since Ganeti 2.4 and hasn't been used by
Ganeti's code since. I'm not aware of any external ...
Michael Hanselmann

02/21/2012

09:18 pm Revision 48796673: Add result checks for OpTags*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
09:18 pm ganeti-local Revision 48796673: Add result checks for OpTags*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
05:34 pm Revision 415feb2e: opcodes: Annotate the OP_RESULT of query operations
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
René Nussbaumer
05:34 pm ganeti-local Revision 415feb2e: opcodes: Annotate the OP_RESULT of query operations
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
René Nussbaumer
05:23 pm Revision 3ccb3a64: Replace single- with double-quotes
In at least two cases "%s" is replaced with str(), too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
05:23 pm ganeti-local Revision 3ccb3a64: Replace single- with double-quotes
In at least two cases "%s" is replaced with str(), too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
04:34 pm ganeti-local Revision 0f85ebd9: Fix asyncnotifier unit tests
On my workstation, if I run the following two tests in this exact
order:
- TestSingleFileEventHandler.testError
- Te...
Iustin Pop
04:34 pm Revision 0f85ebd9: Fix asyncnotifier unit tests
On my workstation, if I run the following two tests in this exact
order:
- TestSingleFileEventHandler.testError
- Te...
Iustin Pop
04:32 pm Revision 3bd0f3d8: Small fixup to rapi docstrings
The fast that most classes don't override the @cvars means that direct
references to FillOpcode can fail (they do on ...
Iustin Pop
04:32 pm ganeti-local Revision 3bd0f3d8: Small fixup to rapi docstrings
The fast that most classes don't override the @cvars means that direct
references to FillOpcode can fail (they do on ...
Iustin Pop
04:32 pm ganeti-local Revision 09cbac87: Small update to LogicalUnit.ExpandNames docstring
… to make even more obvious what's the difference between a declared
lock level with an empty list of locks and no lo...
Iustin Pop
04:32 pm Revision 09cbac87: Small update to LogicalUnit.ExpandNames docstring
… to make even more obvious what's the difference between a declared
lock level with an empty list of locks and no lo...
Iustin Pop
02:35 pm Revision 37e61a77: Export ndparams in RAPI node query
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:35 pm ganeti-local Revision 37e61a77: Export ndparams in RAPI node query
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:33 pm Revision 8930b0f0: Add ndp/* fields to group/node query
Also change the meaning of group ndparams to mean the actual (not
custom) nd params, and add custom_ndparams for the ...
Iustin Pop
02:33 pm ganeti-local Revision 8930b0f0: Add ndp/* fields to group/node query
Also change the meaning of group ndparams to mean the actual (not
custom) nd params, and add custom_ndparams for the ...
Iustin Pop
02:33 pm Revision f25b8f58: Export ndparams in iallocator
Strangely, these were not exported at all before.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael...
Iustin Pop
02:33 pm ganeti-local Revision f25b8f58: Export ndparams in iallocator
Strangely, these were not exported at all before.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael...
Iustin Pop
02:32 pm Revision a194dc28: Add ipolicy parameter spindle_ratio
This will represent the instance (count) per spindle_count of their
node(s). Debatable whether we need to add a per-i...
Iustin Pop
02:32 pm ganeti-local Revision a194dc28: Add ipolicy parameter spindle_ratio
This will represent the instance (count) per spindle_count of their
node(s). Debatable whether we need to add a per-i...
Iustin Pop
02:32 pm ganeti-local Revision 432e8e2f: Add new spindle_count node parameter
Currently this is not handled by Ganeti, just recorded.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: M...
Iustin Pop
02:32 pm Revision 432e8e2f: Add new spindle_count node parameter
Currently this is not handled by Ganeti, just recorded.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: M...
Iustin Pop
02:30 pm Revision 2a27dac3: Fix upgrading of ndparams
Currently, we only upgrade the ndparams if they are missing
completely, which creates problems if we add any new para...
Iustin Pop
02:30 pm ganeti-local Revision 2a27dac3: Fix upgrading of ndparams
Currently, we only upgrade the ndparams if they are missing
completely, which creates problems if we add any new para...
Iustin Pop
02:28 pm Revision 765ada2b: Small fixes to objects.UpgradeDiskParams
Fix a typo, and cleanup the code a bit.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselman...
Iustin Pop
02:28 pm ganeti-local Revision 765ada2b: Small fixes to objects.UpgradeDiskParams
Fix a typo, and cleanup the code a bit.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselman...
Iustin Pop

02/20/2012

10:34 pm Revision 93ca3587: Some fixes so that make after rebase succeeds.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:50 pm Revision 7ac530f3: Change some error messages.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:50 pm Revision dc125495: Keep original gnt-network disconnect with 2 arguments: net group.
If instances connected to the mapped link are running the action
is not allowed.
Keep the original gnt-network conne...
Dimitris Aragiorgis
09:50 pm Revision 6674b125: Fix configuration consistency warning when removing drbd.
Delegate port release to _WriteConfig by invoking new
PrepareToAddTcpUdpPort().
Signed-off-by: Dimitris Aragiorgis <...
Dimitris Aragiorgis
09:45 pm Revision 1d703219: Fix typo in cmdlib.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:45 pm Revision d61cd4aa: Fix gnt-network disconnect so that it gets not unmapped if
running instances use IPs from the link it is connected to.
Add argument link in client.
Signed-off-by: Dimitris Ara...
Dimitris Aragiorgis
09:45 pm Revision 0187f88d: Fix gnt-network remove so that the network gets removed
only if it is not connected to a node group.
gnt-network disconnect should be done first.
Signed-off-by: Dimitris Ar...
Dimitris Aragiorgis
09:45 pm Revision f670040d: Remove redundant ReleaseIp() in LUInstanceRemove.
They get released in RemoveInstance invoked by exec.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
09:45 pm Revision 6fc330c7: Fix a misplaced patch in config.py.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:43 pm Revision bb75cfa2: Release ip when gnt-instance remove or modify --net.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:39 pm Revision 0c967d2b: Support gnt-network remove.
Support gnt-network modify --gateway --reserved-ips.
Change gnt-network info to show the ips reserved by each vm.
Si...
Dimitris Aragiorgis
09:39 pm Revision 562b8868: Port ippool to google master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:57 pm Revision 202fb4e0: opcodes: Add result checks for OpBackup*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:57 pm ganeti-local Revision 202fb4e0: opcodes: Add result checks for OpBackup*
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:05 pm Revision 1615d3af: Initial support for ext-params
Add support for ext-params in the `ext' disk template.
Take advantage of disk-params and use them to pass the ext-par...
Constantinos Venetsanopoulos
02:57 pm Revision 5fa3d337: Improve opcode result check test to have a whitelist
Only whitelisted opcodes may not have a result check.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
02:57 pm ganeti-local Revision 5fa3d337: Improve opcode result check test to have a whitelist
Only whitelisted opcodes may not have a result check.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
01:27 pm Revision 82c54b5b: config: Add check for disk's “iv_name”
This check verifies “iv_name” of all instance disks. If one is wrong
(which shouldn't happen in the first place), clu...
Michael Hanselmann
01:27 pm ganeti-local Revision 82c54b5b: config: Add check for disk's “iv_name”
This check verifies “iv_name” of all instance disks. If one is wrong
(which shouldn't happen in the first place), clu...
Michael Hanselmann
12:50 pm ganeti-local Revision aa12a891: opcodes: Fix OP_RESULT for OobCommand
The result is a list of a list with elements with size of 2.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed...
René Nussbaumer
12:50 pm Revision aa12a891: opcodes: Fix OP_RESULT for OobCommand
The result is a list of a list with elements with size of 2.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed...
René Nussbaumer
11:10 am Revision b8fe7ca6: Fix Makefile.am compatibility with automake 1.11.2
Automake 1.11.2 made the following change:
* Long-standing bugs:
- Automake now warns about more primary/directory...
Iustin Pop
11:10 am ganeti-local Revision b8fe7ca6: Fix Makefile.am compatibility with automake 1.11.2
Automake 1.11.2 made the following change:
* Long-standing bugs:
- Automake now warns about more primary/directory...
Iustin Pop

02/17/2012

06:54 pm ganeti-local Revision 956631b6: cli: Handle negative numbers when parsing key-value assignments
To remove the last disk, or to add a NIC to the end, one can use the
index -1. This wouldn't work as intended as “-” ...
Michael Hanselmann
06:54 pm Revision 956631b6: cli: Handle negative numbers when parsing key-value assignments
To remove the last disk, or to add a NIC to the end, one can use the
index -1. This wouldn't work as intended as “-” ...
Michael Hanselmann
05:39 pm Revision 5401c39d: utils.text: Add function to truncate string
The function adds an ellipse if the string was actually truncated. Also
start using it in mcpu for result checks (whe...
Michael Hanselmann
05:39 pm ganeti-local Revision 5401c39d: utils.text: Add function to truncate string
The function adds an ellipse if the string was actually truncated. Also
start using it in mcpu for result checks (whe...
Michael Hanselmann
03:16 pm ganeti-local Revision 8c2d770c: Fix breakage introduced by fa6dd6bb56
Forgot “enumerate”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:16 pm Revision 8c2d770c: Fix breakage introduced by fa6dd6bb56
Forgot “enumerate”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:16 pm ganeti-local Revision 0356a13d: LUInstanceSetParams: Update disk's “iv_name”
When modifications are made, disks may not have the same index anymore.
Updating all disks fixes this.
Signed-off-by...
Michael Hanselmann
03:16 pm Revision 0356a13d: LUInstanceSetParams: Update disk's “iv_name”
When modifications are made, disks may not have the same index anymore.
Updating all disks fixes this.
Signed-off-by...
Michael Hanselmann
01:34 pm Revision 35554b4f: ApplyContainerMods: Fix issues with indices
When adding an item the index given to the callback function would be
incorrect under certain conditions. This patch ...
Michael Hanselmann
01:34 pm ganeti-local Revision 35554b4f: ApplyContainerMods: Fix issues with indices
When adding an item the index given to the callback function would be
incorrect under certain conditions. This patch ...
Michael Hanselmann
12:52 pm ganeti-local Revision fa6dd6bb: cmdlib: Remove some users of “iv_name”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:52 pm Revision fa6dd6bb: cmdlib: Remove some users of “iv_name”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:52 pm ganeti-local Revision e2569c1d: ConfigWriter: Stop using “iv_name”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:52 pm Revision e2569c1d: ConfigWriter: Stop using “iv_name”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:52 pm Revision ea642319: ConfigWriter.RenameInstance: Stop using iv_name, safer operation
Stop using the disk index encoded in “iv_name” when renaming an instance.
This patch also changes the code to operat...
Michael Hanselmann
12:52 pm ganeti-local Revision ea642319: ConfigWriter.RenameInstance: Stop using iv_name, safer operation
Stop using the disk index encoded in “iv_name” when renaming an instance.
This patch also changes the code to operat...
Michael Hanselmann
12:52 pm ganeti-local Revision a71f835e: gnt-instance modify: Support new-style NIC/disk modifications
This patch adds support for adding/removing NICs/disks at arbitrary
indices on the command line. To add a disk at a s...
Michael Hanselmann
12:52 pm Revision a71f835e: gnt-instance modify: Support new-style NIC/disk modifications
This patch adds support for adding/removing NICs/disks at arbitrary
indices on the command line. To add a disk at a s...
Michael Hanselmann
10:59 am ganeti-local Revision c363310d: opcodes: Adding missing OP_RESULTs
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:59 am Revision c363310d: opcodes: Adding missing OP_RESULTs
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:59 am ganeti-local Revision ee938820: mcpu: Make the op result exception more verbose
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:59 am Revision ee938820: mcpu: Make the op result exception more verbose
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

02/16/2012

03:13 pm Revision 6be51803: Initial implementation of the ExtStorage template
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
03:13 pm Revision 7c67408b: Remove unused code in bdev.py
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos

02/15/2012

06:35 pm Revision 1a1e7ab3: Reconcile Makefile.am and test data files
Sorry, forgot this in previous commit.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
06:35 pm ganeti-local Revision 1a1e7ab3: Reconcile Makefile.am and test data files
Sorry, forgot this in previous commit.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
05:43 pm ganeti-local Revision 048eeb2b: Workaround changed LVM behaviour
The vgreduce command has changed behaviour from when we initially
wrote the code (2.02.02 versus 2.02.66, 4 years del...
Iustin Pop
05:43 pm Revision 048eeb2b: Workaround changed LVM behaviour
The vgreduce command has changed behaviour from when we initially
wrote the code (2.02.02 versus 2.02.66, 4 years del...
Iustin Pop
05:16 pm ganeti-local Revision 002f91c5: cmdlib: De-duplicate code in _GenerateDiskTemplate
There has been a lot of duplicated code in _GenerateDiskTemplate,
and some cases of very similar, but not quite same ...
Michael Hanselmann
05:16 pm Revision 002f91c5: cmdlib: De-duplicate code in _GenerateDiskTemplate
There has been a lot of duplicated code in _GenerateDiskTemplate,
and some cases of very similar, but not quite same ...
Michael Hanselmann
05:16 pm ganeti-local Revision a8e3e009: Add unittest for cmdlib._GenerateDiskTemplate
This is in preparation to de-duplicating significant chunks of code in
cmdlib._GenerateDiskTemplate.
Signed-off-by: ...
Michael Hanselmann
05:16 pm Revision a8e3e009: Add unittest for cmdlib._GenerateDiskTemplate
This is in preparation to de-duplicating significant chunks of code in
cmdlib._GenerateDiskTemplate.
Signed-off-by: ...
Michael Hanselmann
03:37 pm Revision b2aa45d3: Keep original gnt-network disconnect with 2 arguments: net group.
If instances connected to the mapped link are running the action
is not allowed.
Keep the original gnt-network conne...
Dimitris Aragiorgis
12:20 pm ganeti-local Revision a85f23fa: rapi.testutils: Add exported functions to verify opcode input/result
These can be used by third-party code to verify mock code. Further work
on mocks is forthcoming, so this is only a st...
Michael Hanselmann
12:20 pm Revision a85f23fa: rapi.testutils: Add exported functions to verify opcode input/result
These can be used by third-party code to verify mock code. Further work
on mocks is forthcoming, so this is only a st...
Michael Hanselmann

02/14/2012

08:18 pm Revision 8837428b: Fix configuration consistency warning when removing drbd.
Delegate port release to _WriteConfig by invoking new
PrepareToAddTcpUdpPort().
Signed-off-by: Dimitris Aragiorgis <...
Dimitris Aragiorgis
02:44 pm ganeti-local Revision e6a8d799: cmdlib: Fix “unpack non-sequence” error
The callback is expected to return a two-valued tuple.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
02:44 pm Revision e6a8d799: cmdlib: Fix “unpack non-sequence” error
The callback is expected to return a two-valued tuple.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann

02/13/2012

08:04 pm ganeti-local Revision d505bc48: Fix doc bug introduced in 12637df
Commit 12637df changed/generalised how we build fields in the sphinx
extension, however it resulted in this uncaught-...
Iustin Pop
08:04 pm Revision d505bc48: Fix doc bug introduced in 12637df
Commit 12637df changed/generalised how we build fields in the sphinx
extension, however it resulted in this uncaught-...
Iustin Pop
07:17 pm ganeti-local Revision bdd6931c: htools: allow rbd disk template
Notes:
- it'd be nice if there was a way to automatically generate the
DiskTemplate list instead of manually sp...
Guido Trotter
07:17 pm Revision bdd6931c: htools: allow rbd disk template
Notes:
- it'd be nice if there was a way to automatically generate the
DiskTemplate list instead of manually sp...
Guido Trotter
07:16 pm ganeti-local Revision efcfa99d: ApplyContainerMods: Return changes from callbacks
… instead of passing the list of changes as a parameter.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
07:16 pm Revision efcfa99d: ApplyContainerMods: Return changes from callbacks
… instead of passing the list of changes as a parameter.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
05:44 pm Revision cd79cd83: Use the ipolicy constants for key names
Sorry, I missed this when I wrote the code originally.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Gu...
Iustin Pop
05:44 pm ganeti-local Revision cd79cd83: Use the ipolicy constants for key names
Sorry, I missed this when I wrote the code originally.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Gu...
Iustin Pop
05:20 pm ganeti-local Revision c0f1033f: LUInstanceSetParams: Convert to generic algorithm for NIC/disk changes
Unfortunately this got a bit messier than I intended, but then again it
cleans up a lot of messy code with heaps of l...
Michael Hanselmann
05:20 pm Revision c0f1033f: LUInstanceSetParams: Convert to generic algorithm for NIC/disk changes
Unfortunately this got a bit messier than I intended, but then again it
cleans up a lot of messy code with heaps of l...
Michael Hanselmann
05:20 pm Revision 8301885b: cmdlib: Add generic algorithm for modifying NICs/disks
While preparing this patch series I identified at least three different
implementations of the algorithm for adding/r...
Michael Hanselmann
05:20 pm ganeti-local Revision 8301885b: cmdlib: Add generic algorithm for modifying NICs/disks
While preparing this patch series I identified at least three different
implementations of the algorithm for adding/r...
Michael Hanselmann
04:02 pm Revision 0813170b: Fix unittest breakage after commit a2aadb34b
Thou shalt run “make check” before sending patches.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
Michael Hanselmann
04:02 pm ganeti-local Revision 0813170b: Fix unittest breakage after commit a2aadb34b
Thou shalt run “make check” before sending patches.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
Michael Hanselmann
03:25 pm ganeti-local Revision b8925b86: LUInstanceSetParams: Assertion on disk template/disk changes
Disk changes aren't allowed at the same time as a disk template change.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
03:25 pm Revision b8925b86: LUInstanceSetParams: Assertion on disk template/disk changes
Disk changes aren't allowed at the same time as a disk template change.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
03:23 pm Revision a2aadb34: OpInstanceSetParams: Make two type checks public
They'll be used for tests in cmdlib.py.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Po...
Michael Hanselmann
03:23 pm ganeti-local Revision a2aadb34: OpInstanceSetParams: Make two type checks public
They'll be used for tests in cmdlib.py.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Po...
Michael Hanselmann
03:23 pm ganeti-local Revision e9c3d864: OpInstanceSetParams: Accept more flexible NIC/disk modifications
Start accepting a new form of NIC/disk modifications for adding/removing
arbitrary NICs/disks. Unlike before the inde...
Michael Hanselmann
03:23 pm Revision e9c3d864: OpInstanceSetParams: Accept more flexible NIC/disk modifications
Start accepting a new form of NIC/disk modifications for adding/removing
arbitrary NICs/disks. Unlike before the inde...
Michael Hanselmann
03:23 pm ganeti-local Revision bf629e45: constants: Add constant for modifying existing NIC/disk
Until now it would not be possible to add/remove a NIC/disk in an
arbitrary position. This constant will be used in t...
Michael Hanselmann
03:23 pm Revision bf629e45: constants: Add constant for modifying existing NIC/disk
Until now it would not be possible to add/remove a NIC/disk in an
arbitrary position. This constant will be used in t...
Michael Hanselmann
03:23 pm ganeti-local Revision 20a32e74: opcodes: Add comments to two parameter tests
These comments appear in the RAPI documentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
03:23 pm Revision 20a32e74: opcodes: Add comments to two parameter tests
These comments appear in the RAPI documentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann

02/10/2012

10:47 pm Revision c4475f82: Fix typo in cmdlib.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:17 pm Revision ec8bab55: Fix gnt-network disconnect so that it gets not unmapped if
running instances use IPs from the link it is connected to.
Add argument link in client.
Signed-off-by: Dimitris Ara...
Dimitris Aragiorgis
07:15 pm Revision 1ef11679: Fix gnt-network remove so that the network gets removed
only if it is not connected to a node group.
gnt-network disconnect should be done first.
Signed-off-by: Dimitris Ar...
Dimitris Aragiorgis
05:10 pm ganeti-local Revision 7ed400f0: rbd disk template documentation and manpages
Add documentation and modify manpages for the RBD disk template.
Signed-off-by: Constantinos Venetsanopoulos <cven@g...
Stratos Psomadakis
05:10 pm Revision 7ed400f0: rbd disk template documentation and manpages
Add documentation and modify manpages for the RBD disk template.
Signed-off-by: Constantinos Venetsanopoulos <cven@g...
Stratos Psomadakis

02/07/2012

08:58 pm Revision 59fbb3da: Remove redundant ReleaseIp() in LUInstanceRemove.
They get released in RemoveInstance invoked by exec.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
08:54 pm Revision a3cf850b: Fix a misplaced patch in config.py.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
01:52 pm Revision 5d0566de: Accept both PUT and POST in noded
This is a partial cherry-pick from
7530364ddbe949bc34fc26f25ba3f5d921beb021 on master:
Currently, noded requires PUT...
Iustin Pop
01:52 pm ganeti-local Revision 5d0566de: Accept both PUT and POST in noded
This is a partial cherry-pick from
7530364ddbe949bc34fc26f25ba3f5d921beb021 on master:
Currently, noded requires PUT...
Iustin Pop

02/03/2012

01:35 pm Revision d3c6fe55: Fix a bug in gnt-instance modify --net.
Reserve new IP correctly.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis

02/01/2012

02:49 pm Revision f0b30d86: Release ip when gnt-instance remove or modify --net.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:48 pm Revision 32c39f59: Support gnt-network remove.
Support gnt-network modify --gateway --reserved-ips.
Change gnt-network info to show the ips reserved by each vm.
Si...
Dimitris Aragiorgis
02:31 pm Revision 10f2a48e: Port ippool to google master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:25 am Revision dd9b9d7b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix type check for OpQuery.filter
Fix explanation of gnt-node evacuate --primaries-only
Makefile....
Michael Hanselmann
10:25 am ganeti-local Revision dd9b9d7b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix type check for OpQuery.filter
Fix explanation of gnt-node evacuate --primaries-only
Makefile....
Michael Hanselmann
10:24 am ganeti-local Revision 631aedf9: Re-added constant mistakenly removed in 58f0ce16873
“INSTANCE_DOWN” is still being used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
10:24 am Revision 631aedf9: Re-added constant mistakenly removed in 58f0ce16873
“INSTANCE_DOWN” is still being used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
10:11 am ganeti-local Revision f0fd35b1: rapi.client: Removing constants not needed anymore
They were not referenced through the whole code and were marked internal
only.
Signed-off-by: René Nussbaumer <rn@go...
René Nussbaumer
10:11 am Revision f0fd35b1: rapi.client: Removing constants not needed anymore
They were not referenced through the whole code and were marked internal
only.
Signed-off-by: René Nussbaumer <rn@go...
René Nussbaumer
08:24 am ganeti-local Revision ddc1de7c: Add stricter checks for OpInstanceSetParams.{nics,disks}
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
08:24 am Revision ddc1de7c: Add stricter checks for OpInstanceSetParams.{nics,disks}
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
08:24 am Revision ff8067cf: Add ht.TMaybeListOf type check
Replaces some uses of TOr(TNone, TListOf(…)).
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ren...
Michael Hanselmann
08:24 am ganeti-local Revision ff8067cf: Add ht.TMaybeListOf type check
Replaces some uses of TOr(TNone, TListOf(…)).
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ren...
Michael Hanselmann
08:24 am Revision 8f227489: Stricter check for OS modifications passed to OpClusterSetParams
Don't just check the first element of each item, but also make sure the
OS name is a string and not empty.
Signed-of...
Michael Hanselmann
08:24 am ganeti-local Revision 8f227489: Stricter check for OS modifications passed to OpClusterSetParams
Don't just check the first element of each item, but also make sure the
OS name is a string and not empty.
Signed-of...
Michael Hanselmann
08:19 am ganeti-local Revision 58f0ce16: LUInstanceSetParams: Allow no-op change of instance offline status
With this patch marking an instance already marked offline (or online)
as offline/online again becomes a no-op. Also ...
Michael Hanselmann
08:19 am Revision 58f0ce16: LUInstanceSetParams: Allow no-op change of instance offline status
With this patch marking an instance already marked offline (or online)
as offline/online again becomes a no-op. Also ...
Michael Hanselmann

01/31/2012

06:26 pm Revision e3150f4c: Merge remote branch 'google/master' into grnet-2.6-ippool-devel
Dimitris Aragiorgis
02:32 pm Revision 545d0362: Fix type check for OpQuery.filter
Just using ht.TListOf as a type check doesn't work correctly. The
function must be called with the expected item type...
Michael Hanselmann
02:32 pm ganeti-local Revision 545d0362: Fix type check for OpQuery.filter
Just using ht.TListOf as a type check doesn't work correctly. The
function must be called with the expected item type...
Michael Hanselmann
07:44 am ganeti-local Revision 3016bc1f: OpInstanceSetParams: Merge {off,on}line_inst parameters
Instead of having two separate parameters, a single boolean parameter is
used. Unfortunately we need a third state to...
Michael Hanselmann
07:44 am Revision 3016bc1f: OpInstanceSetParams: Merge {off,on}line_inst parameters
Instead of having two separate parameters, a single boolean parameter is
used. Unfortunately we need a third state to...
Michael Hanselmann
« Previous
Next »
 

Also available in: Atom