Activity
From 01/20/2011 to 02/18/2011
02/18/2011
- 06:09 pm Revision 9b945588: Fix pylint warnings
- - 1 80-char line infraction
- 4 changes in how arguments are passed to logging functions
- 3 pylint disable-msg's bec... - 05:58 pm Revision 0e265161: TestRapiInstanceRename use instance name
- Currently the QA rename job wrongly passed the whole info dict to the
client.
Signed-off-by: Guido Trotter <ultrotte... - 04:47 pm Revision f0b1bafe: Change the list formatting to a 'special' chars
- And also enable verbose display via the, well, verbose option. Man
page and tests are updated, and the formatting is ... - 04:46 pm Revision 3a969900: Add support for merging node groups
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:46 pm Revision 1a615be0: Add option to rename groups on conflict
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:35 pm Revision fecbc0b6: Fix minor docstring typo
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:16 pm Revision 0220d2cf: Add QA rapi test for instance reinstall
- This tests at least the basic case, unfortunately there is no way to
check all possibilities using the provided rapi ... - 02:16 pm Revision bd0807fe: RAPI: remove required parameters for reinstall
- Before c744425f354f1bef2d0d7d306e2d00c494d67d2b instance reinstall
accepted the "os" and "nostartup" optional query p...
02/17/2011
- 07:25 pm Revision 74f258b6: NodeQuery: don't query non-vm_capable nodes
- Because non-vm_capable nodes most likely don't have a hypervisor
configured and/or storage, so the call will fail any... - 07:25 pm Revision effab4ca: NodeQuery: mark live fields as UNAVAIL for non-vm_capable nodes
- Since we don't have the data per design, UNAVAIL is appropriate here,
while NODATA is not.
The patch also adds a com... - 07:25 pm Revision 9c24736c: Fix HV/OS parameter validation on non-vm nodes
- Currently, there is at least one LU that does wrong validation of HV
parameters (against all nodes, LUClusterSetParam... - 07:24 pm Revision 043beb38: Fix LUClusterRepairDiskSizes and rpc result usage
- This LU was introduced before the RPC result conversion from .data to
.payload, and it has managed to keep the old-st... - 07:24 pm Revision ccfbbd2d: Fix RPC mismatch in blockdev_getsize[s]
- Commit 92fd2250 added consistency checks in the RPC layer, which broke
the call_blockdev_getsizes RPC call (declared ... - 05:16 pm Revision d9f02980: Fix dist archive generation
- As reported in issue 140, the timestamps of the generated files can be
older than the commit timestamp, leading to ne... - 05:16 pm Revision 39420403: luxi backend: show attribute names in errors
- Currently, this backend just gives:
Error: failed to load data. Details:
Node 'node2': Cannot convert value JSNu... - 04:39 pm Revision 77b02a99: Rephrase a misleading pydoc for netutils.TcpPing
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Stephen Shirley <diamond@google.com> - 12:09 pm Revision 4fbd5444: Remove superfluous redundant requirement
- The condition is already covered by the previous requirement.
Signed-off-by: Stephen Shirley <diamond@google.com>
Re... - 12:09 pm Revision 98632c4f: Don't remove master_candidate flag from merged nodes
- Prevents lots of spurious warnings like:
2011-02-10 17:00:22,776: CRITICAL Configuration data is not consistent:
Not ... - 12:09 pm Revision a536aaac: Use a consistent ECID base
- ECID was being calculated completely differently in
__MergeNodeGroups() and _MergeConfig()
Signed-off-by: Stephen Sh...
02/16/2011
- 06:35 pm Revision b74c0684: listrunner: convert from getopt to optparse
- The “-A” (use agent) was not documented, and instead of adding manual
listing, I converted it to optparse like the ot... - 06:35 pm Revision 99a11adc: listrunner: fix agent usage
- By delaying the agent key query until after the fork, we prevent the
problem of simultaneous access to the agent.
Te... - 02:11 pm Revision cbb86b63: Fix build error when using docutils 0.4
- Docutils 0.4 doesn't provide the “Directive” class and Sphinx supplies
its own version which doesn't have the “assert... - 02:06 pm Revision b497a636: Adding more details to gnt-node man-page
- This adds some recently added flags to the man-page of gnt-node command.
It also describes their purpose and handling... - 02:06 pm Revision fed67843: Remove force_master support from LUOobCommand
- As per discussion on the man-page[1] update, this functionality should be
removed and replaced by just give the comma...
02/15/2011
- 04:14 pm Revision 1aa50158: Add pylint disables to Sphinx extension
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:20 pm Revision ef127bec: RAPI documentation: Use constants and assertions
- This doesn't cover everything yet, but it's a good demonstration on how
to use “pyeval” and “pyassert”.
Signed-off-b... - 03:20 pm Revision df156277: errors: Add list of possible failure types
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:20 pm Revision 685d3b42: Sphinx extension: Allow evaluation of Python expressions
- There are quite many hardcoded constants (e.g. “[…] one of ``file``,
``lvm-pv`` or ``lvm-vg`` […]). By using constant... - 03:20 pm Revision dac59ac5: Sphinx extension: Don't use “from … import …”
- Import with full name instead to reduce potential conflicts.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R... - 03:20 pm Revision 4b163794: RAPI: Remove “__version__” for instance creation
- If left in data, FillOpCode will complain. This fixes the QA breakage
after commit 526a662af.
Signed-off-by: Michael... - 01:11 pm Revision 527fbde8: RAPI: Use FillOpCode for adding node group
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:11 pm Revision 8a08be3b: RAPI: Use FillOpCode for renaming groups
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:11 pm Revision 12da663a: Make OpGroupRename consistent with OpInstanceRename
- OpInstanceRename uses “instance_name” (like almost all other OpInstance*
opcodes), not “old_name”, to specify the ori... - 01:11 pm Revision 526a662a: RAPI: Clean up instance creation, use generated docs
- - Use FillOpCode and unify parameter names between RAPI and opcode
- Generate parameter documentation
- Improve opcod... - 01:11 pm Revision be6fab1f: RAPI: Generate documentation for assigning nodes to groups
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:11 pm Revision df340fae: RAPI: Use FillOpCode for modifying node group
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:11 pm Revision 88bc199a: RAPI: Use FillOpCode for renaming instances
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:09 pm Revision b166ef84: baserlib.FillOpCode: Allow parameter rename
- Some RAPI parameters don't match the name of the underlying
opcode. With this patch they can be renamed while filling...
02/14/2011
- 01:19 pm Revision 3d8f154f: Revert "Disable the cluster-merge tool for the moment"
- This reverts commit c0711f2cb989facd60430ab18c5b0e59a1f279ac.
Signed-off-by: Stephen Shirley <diamond@google.com>
Si... - 01:18 pm Revision 9c03a67a: Fix cluster-merging by not stopping noded
- cli.RunWhileClusterStopped() stops noded on all of the nodes in the
original cluster. This prevents /etc/hosts update...
02/10/2011
- 06:00 pm Revision 80a01808: Fix bug in iallocator data structures build
- Commit a1cef11c fixed non-vm_capable nodes export, but broke
inadvertently offline nodes. The update of the dict only... - 02:43 pm Revision 6656790a: Update exit code information in the hbal man page
- Also fixes a small typo.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 02:36 pm Revision 4459d78c: Fix broken hscolour.css symlink in tarball
- The file apidoc/Ganeti/HTools/hscolour.css was a broken symlink in the
tarball. This was happening because `tar --tra...
02/09/2011
- 04:58 pm Revision a2d917f3: Fix html docs builds
- This fixes the doc builds broken by commit b292b986, but is only an
ugly workaround due to our dependency chain.
opc... - 01:23 pm Revision 11dcce87: Fix error msg for instances on offline nodes
- Currently, for both primary and secondary offline nodes, we give the
same message:
- ERROR: instance instance14: inst... - 10:56 am Revision 3d2e7a27: Minor reordering to match param order
- Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin... - 10:53 am Revision a3de2ae7: cluster verify and instance disks on offline nodes
- Currently, cluster-verify says:
- ERROR: instance instance14: couldn't retrieve status for disk/0 on node3: node off... - 10:52 am Revision f7661f6b: Cluster verify and N+1 warnings for offline nodes
- Currently, cluster verify shows warnings N+1 warnings for offline
nodes having any redundant instances since the memo...
02/08/2011
- 02:41 pm Revision c37bb2c6: Handle gnt-instance shutdown --all for empty clusters
- The current code gives:
Failure: prerequisites not met for this operation:
error type: wrong_input, error details:
Se...
02/04/2011
- 07:05 pm Revision d1c172de: RAPI: Use FillOpCode for replacing disks
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:05 pm Revision 45d4c81c: Add opcode parameter descriptions
- These will be used in automatically generated parts of the RAPI
documentation. Not all opcodes are documented so far,... - 07:05 pm Revision b292b986: Generate parts of RAPI documentation from opcodes
- This replaces hardcoded lists of parameters with automatically generated
ones, making maintenance easier.
Signed-off... - 07:05 pm Revision 5f43f393: Add sphinx extension
- For now this just registers a single new directive, “opcode_params”,
which can be used to generate opcode parameter d... - 07:05 pm Revision 197b323b: opcodes: Prepare addition of parameter descriptions
- For now they're all set to None, but a following patch will set descriptions.
Signed-off-by: Michael Hanselmann <han... - 07:05 pm Revision 8c9ee749: ht: Add descriptive text representations
- This patch adds text descriptions to all T* checks. Converting to a
string (e.g. str(ht.TNone)) will produce a user-r... - 07:01 pm Revision f86426f5: gnt-instance reinstall: display OS changes
- Currently, when reinstalling an instance, especially when selecting an
OS interactively, is hard to be sure one has c... - 04:34 pm Revision 65a77fab: Allow passing timeout for oob helper in gnt_node.py
- This allow to pass in --oob-timeout to define the timeout before the
out-of-band helper is beeing aborted.
Signed-of... - 04:23 pm Revision 53991408: Use gnt-node add --force-join to add foreign nodes
- Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin... - 04:21 pm Revision 61413377: Add --force-join option to gnt-node add
- This is needed so cluster-merge can add nodes from other clusters.
Signed-off-by: Stephen Shirley <diamond@google.co... - 04:20 pm Revision 6323e232: Fix iterating over node groups
- Current line tries to unpack dict incorrectly
Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Ius... - 02:49 pm Revision ee5549c7: RAPI: Use FillOpCode for modifying instance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:49 pm Revision c1a27c9a: RAPI: Use FillOpCode for migrating instance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:49 pm Revision 07ce3e70: RAPI: Use FillOpCode for exporting instance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:11 pm Revision a7c07935: Update NEWS file for the 0.3.0 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:06 pm Revision ec31a18f: Update NEWS file for the 2.4.0 rc1 release
- Also bump up the version.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog... - 12:12 pm Revision c0711f2c: Disable the cluster-merge tool for the moment
- Hopefully this can be fixed before the final 2.4 release…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
02/03/2011
- 06:02 pm Revision 81635b5a: Bump up intra-cluster import connect timeout
- Currently, the export timeout is 10 times 20 seconds, but the import
is only 30 seconds. I'm raising this to 60 secon... - 04:52 pm Revision c9300bb3: Import-export: fix logging of daemon output
- In case of failures, the recent daemon output is logged as %r on a
list of unicode strings, which results in the (ugl... - 03:57 pm Revision 0e83aed4: Remove an obsolete TODO
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:42 pm Revision 8a53b55f: Fix handling of ^C in the CLI scripts
- This adds a message and nice handling of ^C, especially useful for
``gnt-job watch``.
Signed-off-by: Iustin Pop <ius... - 02:10 pm Revision 7af6975a: Fix bug in simulation backend
- The backend didn't properly set the group index, leaving to a
"corrupted" group list.
Signed-off-by: Iustin Pop <ius... - 02:10 pm Revision 6d0bc5ca: Prevent allocation on unallocable node groups
- This patch changes genAllocNodes so that it also takes the group list,
using it to filter out any nodes which live on... - 02:10 pm Revision 1c78dbd2: Update live-test.sh w.r.t. simulation mode changes
- Commit 6c7448bb changed the syntax for the --simulation option, but
didn't update live-test for it.
Signed-off-by: I... - 02:10 pm Revision 41b5c85a: Precompute allocation nodes
- Instead of re-generating the allocation nodes at each step, we only do
it once before calling the allocation routines... - 02:08 pm Revision 0d66ea67: Change the AllocNodes type and functions
- Currently, the node pairs or singles that we generate are actually
node objects, as node objects do change over time ... - 02:08 pm Revision 6cb1649f: Extract node pair generation from tryAlloc
- Currently, tryAlloc generates the list of allocation nodes or node
pairs (depending on how many nodes are requested) ... - 01:38 pm Revision ee841437: Merge branch 'devel-2.3' into devel-2.4
- * devel-2.3:
backend: Disable compression in export info file
Signed-off-by: Michael Hanselmann <hansmi@google.com... - 01:38 pm Revision 775b8743: backend: Disable compression in export info file
- The new import/export infrastructure in Ganeti 2.2 and up handles
compression differently. It no longer writes compre... - 11:42 am Revision c832b6c8: Modify gnt-node power to support multiple nodes
- This also has the sideeffect of presenting a table with the result
Signed-off-by: René Nussbaumer <rn@google.com>
Re... - 11:42 am Revision 50265802: Make it possible to disable tty in qa_utils.GetCommandOutput
- The tty can have strange side effect as it seems to replace \n with
\r\n. In case of simply catting a file and compar... - 11:42 am Revision c957326e: Fix execution order in LUOobCommand causing wrongly setup node list
- In commit bfceedbe a check was added to put the master at the end or
skip it completely. While this functionality wor...
02/02/2011
- 06:02 pm Revision 9a6813ac: utils.SetupLogging: Return function to reopen log file
- This function can be used from a SIGHUP handler to reopen log files.
Initial, simple unittests are included.
Signed-... - 06:02 pm Revision 8cabf472: Reopen log files upon SIGHUP in daemons
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N... - 06:02 pm Revision cfcc79c6: utils.SetupLogging: Make program a mandatory argument
- It's passed in by most users (daemons, CLI scripts) and for the others
(burnin, watcher) it certainly doesn't hurt, e... - 05:57 pm Revision aa0cc3e5: utils.log: Restrict I/O error handling coverage
- The I/O error will occur while opening the file, not while adding
and configuring the handler.
Signed-off-by: Michae... - 05:57 pm Revision d24bc000: utils.log: Split formatter building into separate function
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 05:57 pm Revision 3f17ef02: burner: Trivial code cleanup
- - Use constant for exit value
- Configure logging from main function, not from class' “__init__”
Signed-off-by: Mich... - 05:57 pm Revision ddfde77e: burnin: Reuse existing function for debug value
- Instead of using its own, burnin can use cli.SetGenericOpcodeOpts.
Signed-off-by: Michael Hanselmann <hansmi@google....
02/01/2011
- 02:39 pm Revision 25bd815c: Refactor _ConfirmOperation from gnt_instance.py to cli.py
- This will allow us to use this functionality also in other cli-tools
like gnt-node power where we've to operate on mu... - 02:15 pm Revision 8f44674f: Merge node groups from other cluster
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:15 pm Revision 18ffc0fe: Enforce that new node groups have unique names
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:15 pm Revision e85d8982: Add _UnlockedLookupNodeGroup()
- This allows calling of _UnlockedLookupNodeGroup() from within
AddNodeGroup()
Signed-off-by: Stephen Shirley <diamond... - 02:08 pm Revision d6c76bd5: tryAlloc: restrict valid node pairs to same-group
- This is a cheap way to make capacity calculation work well with
multi-group clusters.
There are two alternatives in ... - 02:08 pm Revision 40ee14bc: Cluster.hs: add a new type alias
- Just a bit of small cleanup, since we might want to use more functions
with this signature in the future.
Signed-off... - 01:28 pm Revision 0938dd05: Fix docstring for NodeImage.sbp attribute
- This was stating "secondary nodes" were the keys of the dictionary, when
they are primary nodes. Also, further clarif... - 01:28 pm Revision a167575e: Do not repeatedly call GetClusterInfo() in inner loop
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
01/31/2011
- 07:06 pm Revision efae0fdd: Adding support for the new option flags in gnt-node power
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 07:06 pm Revision bfceedbe: Add two new opcode options to LUOobCommand
- This patch adds ignore_status to ignore the offline flag of nodes
and also adds a force_master option to force operat... - 05:45 pm Revision a0724772: Adding gnt-node health
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:45 pm Revision ae95e419: Refactor formatting of query results so we can reuse it
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:38 pm Revision be8aecab: cluster-merge should refuse to merge own cluster
- Also fix type of Merger.cluster_name from list to string. This would
have triggered an error in sshRunner if cluster ... - 05:38 pm Revision 7e975535: Minor grammar fix in QuitGanetiException docstring
- Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:38 pm Revision 71bbe910: Fix grammar of var naming
- flatten is the verb, flattened is the adjective.
Signed-off-by: Stephen Shirley <diamond@google.com>
Reviewed-by: Mi... - 02:53 pm Revision b6fa9a44: Introduce re-openable log record handler
- This patch adds a new log handler class based on the standard library's
BaseRotatingHandler. This new class allows th...
01/28/2011
- 06:44 pm Revision c417e115: Re-create instance disk symlinks on activate
- This patch implements recreation of instance disk symlinks when the
activate-disks operation is run. Until now, it wa... - 04:31 pm Revision b82d4c5e: Add RAPI resource for instance console
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:31 pm Revision 5d28cb6f: Export console information as query field
- This makes it possible to get the console information via a LUXI query.
Signed-off-by: Michael Hanselmann <hansmi@go... - 03:59 pm Revision a7c5085d: manpage: gnt-group remove cannot remove last group
- Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin... - 03:57 pm Revision 7e01d204: ConfigWriter: simplify _UnlockedVerifyConfig
- This just adds a 'cluster' local variable for reducing duplication.
Signed-off-by: Iustin Pop <iustin@google.com>
Re... - 03:57 pm Revision 26f2fd8d: ConfigWriter: add checks for be/nd/nic params
- This adds checking (in the configuration) for invalid be, nd and nic
params. The code is a bit tricky as nd params ar... - 03:01 pm Revision a4d9fbac: Add e1000 nic support for HVM
- Closes issue: 130
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google... - 02:43 pm Revision 0389c42a: Prevent removal of last node group
- - Add check in ConfigWriter to prevent last node group from being
removed
- Tidy up error message a bit
Signed-off... - 02:42 pm Revision e431074f: Fix instance list for instances running multiple times
- If for some reason (e.g. failed migration) one instance is running
on multiple nodes the output can become inconsiste... - 12:35 pm Revision b9e478fe: Small QA fixes: groups via RAPI, cluster OOB
- Add “cluster-oob” to sample configuration file. Don't run RAPI group
tests if disabled.
Signed-off-by: Michael Hanse...
01/27/2011
- 07:29 pm Revision 7f0a3ddf: Merge branch 'devel-2.4'
- * devel-2.4: (34 commits)
cluster verify: add hvparams verification
Remove dumb-allocator
Open other clusters' ... - 07:07 pm Revision fb87cbeb: Merge branch 'devel-2.3' into devel-2.4
- * devel-2.3:
Wait for master to become available on initialization
Start all daemons on cluster initialization
... - 06:39 pm Revision 58a59652: cluster verify: add hvparams verification
- Currently, the validity of the hypervisor parameters is only checked
at init/modification time, and not in the cluste... - 06:34 pm Revision 6f547f96: Remove dumb-allocator
- - Remove the actual code
- Remove mentions of it from iallocator.rst, and use hail instead
- Also remove mentions of ... - 05:38 pm Revision e1ab08db: Open other clusters' config in foreign mode
- Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin... - 05:36 pm Revision caedacde: Add (unused) arg to _OfflineClusterMerge
- cli._RunWhileClusterStoppedHelper.Call passes (self, *args) to functions
called via cli.RunWhileClusterStoppedHelper(... - 03:15 pm Revision c6a65efb: Fix unittest breakage on Python 2.4/2.5
- Commit 70b0d2a29 broke unittests on Python 2.4 and 2.5. Turns out that
Python 2.6 and above allow classes to be passe... - 02:40 pm Revision c95c0f71: Add list of design document drafts
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N... - 01:05 pm Revision 70b0d2a2: Ensure all resources are used by RAPI client
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:05 pm Revision d50a2223: Check for duplicate RAPI URIs and handlers
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:04 pm Revision 54d4c13b: RAPI client: Wrap /2/redistribute-config resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:04 pm Revision b680c8be: RAPI client: De-/activating instance disks
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:04 pm Revision 08c11c40: Add unittest for RAPI client's ModifyInstance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 01:01 pm Revision 83e5e26f: Watcher: Fix endless repair tries for broken secondary
- In cases where secondary was offline and not evacuated watcher tried
to activate-disks in an endless manner, but this...
01/26/2011
- 08:20 pm Revision 397693d3: Verify disks: increase parallelism and other fixes
- The recent work on multi-VG support has converted LUClusterVerifyDisks
into doing serialised calls to each node, as e... - 08:07 pm Revision fd78c5ce: gnt-cluster verify-disks: fix VG name
- Recent multi-VG work already exports the missing LV names as vg/lv,
not simply lv. So the query and addition of the V... - 06:53 pm Revision c9c41373: Deactivate disks: allow skipping hypervisor checks
- In some cases (e.g. the hypervisor not running at all), we might want
to force disk deactivation, skipping the hyperv... - 06:26 pm Revision 3b6b6129: Wait for master to become available on initialization
- This is analogue to the existing check for a responsive node daemon.
Signed-off-by: Michael Hanselmann <hansmi@googl... - 06:25 pm Revision 952d7515: Start all daemons on cluster initialization
- At least ganeti-confd was not started. It got started a few minutes
later by ganeti-watcher. Also move one pylint dis... - 06:24 pm Revision f313e7be: Clarify job processing order in admin guide
- The fact that jobs don't necessarily execute in order has been source
for some confusion. Hopefully this update will ... - 06:06 pm Revision 34616379: Improve option descriptions
- Also replace hardcoded “xenvg” with constant.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ius... - 05:44 pm Revision 65cb5c4d: Remove two unused variables
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:50 pm Revision afc3c260: Show hidden/blacklisted OSes in cluster info
- Since we can blacklist/hide non-existing OSes (for preseeding), we
cannot query easily the OSes themselves for this s... - 04:50 pm Revision a53cd1f4: Further man page updates for OS parameters
- Also replace one UTF-8 char with the ASCII equivalent, not all Pandoc
versions support it.
Signed-off-by: Iustin Pop... - 04:50 pm Revision a01dd3c6: Change the Makefile to use bash as SHELL
- This is because we want, whenever we use sequences of commands, to set
pipefail, otherwise detecting build failures i... - 02:28 pm Revision d1b1deb4: Add documentation for OS parameters
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:26 pm Revision 5ca09268: Fix LUOSDiagnose and non-vm_capable nodes
- This skips non-vm_capable nodes in the OS diagnose search, since such
OSes will not be used anyway on those nodes.
S... - 01:45 pm Revision 8b437a6e: Rephrasing two error messages for auto promotion
- Using auto_promote or auto-promote can lead to confusion on using the
user facing interfaces. While auto-promote is f... - 12:38 pm Revision 996f742d: lvmstrap: fix logic bug for partition reread
- The if structure in CheckReread is broken, and makes partitions reread
be full of race issues (esp. after updating th... - 12:31 pm Revision 985e3f77: storage: Check that mapper is either used or None
- This is a followup patch to the one moving GetAllocatable out to
module level.
Signed-off-by: Iustin Pop <iustin@goo... - 12:06 pm Revision 5ae7cd11: Fix bug in “gnt-node list-storage”
- LVM PV storage units would always show as allocatable, even when they
weren't. For some reason I have not been able t... - 11:17 am Revision 6ec77900: Fix payload check for out-of-band health
- This logic error was not detected before as health has not been
implemented on the cli and therefore no QA code exist... - 11:11 am Revision edd8fe4c: Fix premature abort of LUOobCommand due to result.Raise
- This is a bug I recognized while doing tests on gnt-node health. A left
over result.Raise line causes premature abort...
01/25/2011
- 07:00 pm Revision 5f074973: ht: Add TMaybeDict check
- This replaces a number of equal “ht.TOr(ht.TDict, ht.TNone)” checks.
Signed-off-by: Michael Hanselmann <hansmi@googl... - 02:30 pm Revision f623cc78: QA: replace ping with fping
- This allows a lot of simplification in the TestIcmpPing, as fping can
take multiple arguments so we don't need anymor...
01/24/2011
- 05:32 pm Revision b04808ea: Modify LUOobCommand to support multiple nodes
- This will change the result of this LU to a query like result. A list of
tuples with information about the state of t...
01/21/2011
- 05:36 pm Revision e18c6c47: Merge branch 'devel-2.4'
- * devel-2.4:
Another fix for LUClusterVerifyDisks
QA: also run gnt-cluster verify-disks
Fix disk adoption break... - 11:04 am Revision cfb084ae: Rename QRFS_* to RS_*
- This patch renames QRFS_* to RS_* fields so they can be used in other
places (i.e. LUs) without confusion, as this wa...
01/20/2011
- 07:43 pm Revision 075b62ca: Another fix for LUClusterVerifyDisks
- The LVM queries should only be done for vm_capable nodes. In order to
do this, we also add a new ConfigWriter method ... - 06:10 pm Revision c6953b6e: QA: also run gnt-cluster verify-disks
- The bug recently reported by Apollon Oikonomopoulos was missed because
we don't test this command at all.
Signed-off... - 06:10 pm Revision f7c94c17: Fix disk adoption breakage
- Disk adoption is currently broken by 84d7e26b, which added multiple LVM
volume group support. This patch fixes the ca... - 05:20 pm Revision 2656091a: Fix typo in query2 design document
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:15 pm Revision 4478301b: Improve import/export timeout settings
- With this patch, the exporting node will retry to connect a few times.
The receiving node will make use of the master... - 02:15 pm Revision 8fd2e34c: Increase remote import/export timeout
- It's been shown that 60 seconds may not be enough to establish a
connection.
Signed-off-by: Michael Hanselmann <hans... - 02:05 pm Revision 1ca54b6e: lvmstrap: fix very old contact information
- A memory from the past: this was left over from before the 1.2 release
or so…
Signed-off-by: Iustin Pop <iustin@goog... - 02:05 pm Revision 6714256c: lvmstrap: add more excluded FS types
- Also moves the list of excluded types to the top level and make it a
frozenset.
Signed-off-by: Iustin Pop <iustin@go... - 02:05 pm Revision dcb9946c: Improve documentation for QRFS_UNAVAIL
- IMHO this should have been named QRFS_NA or QRFS_UNSUPPORTED, but
UNAVAIL is good enough.
Signed-off-by: Iustin Pop ... - 02:05 pm Revision 705ee6df: lvmstrap: add explicit test for swap backends
- Similar to mounted filesystems, recent kernel/userland report swap
backends:
root@node4:~# fuser -avm /dev/sda6
... - 02:05 pm Revision add478b5: lvmstrap: ignore small-sized partitions
- This patch changes lvmstrap to ignore “small” partitions. Currently
extended partitions are reported as unused as wit... - 02:05 pm Revision 7706fdd4: lvmstrap: abstract a little the sysfs paths
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:05 pm Revision 0ae0663d: lvmstrap: add PV-on-partition support
- This is a not-so-nice change, adding support for partitions to be used
as PVs.
The not-nice part is that partitions ... - 02:05 pm Revision 5e861051: lvmstrap: add an explicit test for mounted devices
- Recent kernels/userland report a mounted filesystem as follows:
root@node4:~# fuser -avm /dev/sda5
... - 02:05 pm Revision d63bd540: query: Add alias support in _PrepareFieldList
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:05 pm Revision e7e8037b: Instance query: replace duplicates with aliases
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 11:58 am Revision d59fea3d: Adding a basic oob helper as an example
- This is just a plain stupid and simple out-of-band helper without
anything fancy. It uses plain ssh to power off / po...
Also available in: Atom