Activity

From 12/29/2010 to 01/27/2011

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' ...
Michael Hanselmann
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
...
Michael Hanselmann
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...
Iustin Pop
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 ...
Guido Trotter
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...
Stephen Shirley
05:36 pm Revision caedacde: Add (unused) arg to _OfflineClusterMerge
cli._RunWhileClusterStoppedHelper.Call passes (self, *args) to functions
called via cli.RunWhileClusterStoppedHelper(...
Stephen Shirley
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...
Michael Hanselmann
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...
Michael Hanselmann
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>
Michael Hanselmann
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>
Michael Hanselmann
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>
Michael Hanselmann
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>
Michael Hanselmann
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>
Michael Hanselmann
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...
René Nussbaumer

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...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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...
Michael Hanselmann
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...
Michael Hanselmann
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 ...
Michael Hanselmann
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...
Michael Hanselmann
05:44 pm Revision 65cb5c4d: Remove two unused variables
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
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...
Iustin Pop
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...
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...
Iustin Pop
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>
Iustin Pop
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...
Iustin Pop
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...
René Nussbaumer
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...
Iustin Pop
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...
Iustin Pop
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...
Michael Hanselmann
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...
René Nussbaumer
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...
René Nussbaumer

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...
Michael Hanselmann
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...
Iustin Pop

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...
René Nussbaumer

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...
Iustin Pop
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...
René Nussbaumer

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 ...
Iustin Pop
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...
Iustin Pop
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...
Apollon Oikonomopoulos
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>
Michael Hanselmann
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...
Michael Hanselmann
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...
Michael Hanselmann
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...
Iustin Pop
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...
Iustin Pop
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 ...
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
...
Iustin Pop
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...
Iustin Pop
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>
Iustin Pop
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 ...
Iustin Pop
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
...
Iustin Pop
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>
Iustin Pop
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>
Iustin Pop
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...
René Nussbaumer

01/19/2011

05:52 pm Revision 93ac2fea: Fix disk count check in LUSetInstanceParams
LUSetInstanceParams checked instance.nics (and not instance.disks)
against constants.MAX_DISKS.
Signed-off-by: Apoll...
Apollon Oikonomopoulos
05:51 pm Revision 913639fe: Document iallocator change (alloc_policy)
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Balazs Lecz

01/18/2011

07:04 pm Revision c81ed2b2: Add check-news to EXTRA_DIST
This was missing from commit 7385c51d.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
06:43 pm Revision 7385c51d: Add script checking release dates in NEWS
This will detect human errors when setting a release date in NEWS.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
05:55 pm Revision af58707c: query: use the actual types for BE/HV parameters
This patch exposes the VTYPE kind of BE/HV parameters, instead of
returning QFT_OTHER. The current situation makes a ...
Iustin Pop
05:55 pm Revision ff4cd4d2: query: return UNAVAIL for "wrong" HV parameters
If a HV parameter is required that does not apply for an instance,
currently the code returns None. This is bad, as i...
Iustin Pop
05:55 pm Revision d1c3c3b3: query: change (debug-mode) field validation errors
Currently, the single assert just checks that the entire row is
consistent (true/false), and dumps the row and field ...
Iustin Pop
05:55 pm Revision 0ca7e384: Rename a few instance field titles
The conversion to querylib introduced unique field titles, which however
did an inconsistent rename of the instance v...
Iustin Pop
05:55 pm Revision e2d188cc: query: Change internal result computation
While looking at the query library, I realized that while we have five
field statuses, making this a 5-dimensional sp...
Iustin Pop
05:55 pm Revision 82599b3e: Import QRFS_* and QFT_* in query.py
Currently, the QRFT/QFT constants are used with the module (e.g.
constants.QRFS_NORMAL) in the query library. Given t...
Iustin Pop
03:07 pm Revision f774bd03: Build epydoc's module list from Makefile
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:55 pm Revision dc022e01: epydoc: specify files in tools/
This way we can add there non-python scripts
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin...
Guido Trotter
02:55 pm Revision 199b2053: KVM: Add auxiliary functions to handle tap devices
Add two new functions, _OpenTap and _ProbeTapVnetHdr, to
hypervisors.hv_kvm.
_ProbeTapVnetHdr checks if the host ker...
Apollon Oikonomopoulos
02:55 pm Revision 26916aad: Ship default kvm-ifup script
In order to retain backwards compatibility, we ship the shell script previously
generated by _WriteNetScript as a sta...
Apollon Oikonomopoulos
02:55 pm Revision 5d9bfd87: KVM: Perform network configuration in Ganeti
This patch introduces network configuration for KVM in Ganeti.
There are three problems with having KVM perform netw...
Apollon Oikonomopoulos
02:55 pm Revision 7be85163: KVM: don't fail removing non-existing nic path
This shouldn't normally happen, but if it does no need to fail.
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
01:47 pm Revision c6afb1ca: Rename OpGetTags and LUGetTags
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 715462e7: Rename OpSearchTags and LUSearchTags
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision d1602edc: Rename OpAddTags and LUAddTags
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision b469eb4d: Rename OpTestJobqueue and LUTestJobqueue
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision ff0d18e6: Check consistency of the class names and OP_ID
As the class names should be now consistent with the OP_IDs, we add a
check for wrongly-defined OP_IDs.
However, the...
Iustin Pop
01:47 pm Revision e89a9021: Remove hard-coded OP_ID definitions
The removal requires adding a few pylint ignores, as it cannot know that
OP_ID will be defined at runtime.
Also swit...
Iustin Pop
01:47 pm Revision c873d91c: Rename OpStartupInstance and LUStartupInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision d817d49f: Rename OpAddNode and LUAddNode
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 0ae89533: Rename OpNodeEvacuationStrategy and LUNodeEvacuationStrategy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 5b14a488: Rename OpMigrateNode and LUMigrateNode
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 2cee4077: Rename OpModifyNodeStorage and LUModifyNodeStorage
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René N...
Iustin Pop
01:47 pm Revision e0d4735f: Rename OpPowercycleNode and LUPowercycleNode
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 2237687b: Rename OpQueryNodes and LUQueryNodes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 8ed55bfd: Rename OpQueryNodeVolumes and LUQueryNodeVolumes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision ad8d0595: Rename OpQueryNodeStorage and LUQueryNodeStorage
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 73d565a3: Rename OpRemoveNode and LURemoveNode
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision f13973c4: Rename OpSetNodeParams and LUSetNodeParams
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision da2d02e7: Rename OpDiagnoseOS and LUDiagnoseOS
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 3f0ab95f: Rename OpDelTags and LUDelTags
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 75c866c2: Rename OpMigrateInstance and LUMigrateInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 0091b480: Rename OpMoveInstance and LUMoveInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision f2af0bec: Rename OpQueryInstances and LUQueryInstances
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision dc28c4e4: Rename OpQueryInstanceData and LUQueryInstanceData
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 90ab1a95: Rename OpRebootInstance and LURebootInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 6b273e78: Rename OpRecreateInstanceDisks and LURecreateInstanceDisks
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 5073fd8f: Rename OpReinstallInstance and LUReinstallInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 3cd2d4b1: Rename OpRemoveInstance and LURemoveInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision 5659e2e2: Rename OpRenameInstance and LURenameInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 668f755d: Rename OpReplaceDisks and LUReplaceDisks
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 9a3cc7ae: Rename OpSetInstanceParams and LUSetInstanceParams
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision ee3e37a7: Rename OpShutdownInstance and LUShutdownInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
Iustin Pop
01:47 pm Revision bd8210a7: Rename OpVerifyDisks and LUVerifyDisks
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision fabf1731: Rename OpAddGroup and LUAddGroup
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 934704ae: Rename OpAssignGroupNodes and LUAssignGroupNodes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision d4d654bd: Rename OpQueryGroups and LUQueryGroups
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 4d1baa51: Rename OpRemoveGroup and LURemoveGroup
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision a8173e82: Rename OpRenameGroup and LURenameGroup
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 7cbf74f0: Rename OpSetGroupParams and LUSetGroupParams
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 83f5d475: Rename OpActivateInstanceDisks and LUActivateInstanceDisks
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision cc0dec7b: Rename OpConnectConsole and LUConnectConsole
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision e1530b10: Rename OpCreateInstance and LUCreateInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision e176281f: Rename OpDeactivateInstanceDisks and LUDeactivateInstanceDisks
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 019dbee1: Rename OpFailoverInstance and LUFailoverInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 60472d29: Rename OpGrowDisk and LUGrowDisk
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 71910715: Rename OpPrepareExport and LUPrepareExport
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 7ca2d4d8: Rename OpQueryExports and LUQueryExports
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision ca5890ad: Rename OpRemoveExport and LURemoveExport
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 2f093ea0: Rename OpQueryConfigValues and LUQueryConfigValues
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision c6d43e9e: Rename OpDestroyCluster and LUDestroyCluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision bc84ffa7: Rename OpPostInitCluster and LUPostInitCluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision a2f7ab92: Rename OpQueryClusterInfo and LUQueryClusterInfo
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision d1240007: Rename OpRedistributeConfig and LURedistributeConfig
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision e126df25: Rename OpRenameCluster and LURenameCluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision 5d01aca3: Rename OpRepairDiskSizes and LURepairDiskSizes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision a6682fdc: Rename OpSetClusterParams and LUSetClusterParams
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision a3d32770: Rename OpVerifyCluster and LUVerifyCluster
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision a703bf43: Fix the OP_ID of OpAssignGroupNodes
Commit 96276ae added the above opcode, but forgot to update the OP_ID
per our previous mailing list discussions. This...
Iustin Pop
01:47 pm Revision 4ff922a2: Rename OpExportInstance and LUExportInstance
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
01:47 pm Revision ff6082e4: Fix bug introduced by f5677ab
Commit f5677ab added the _VerifyOob functionality, but there are two
issues with this function:
- a real bug, as obj...
Iustin Pop

01/14/2011

06:15 pm Revision 33590e1d: Merge branch 'devel-2.3' into devel-2.4
* devel-2.3:
Allow burnin with hidden OSes
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin...
Guido Trotter
06:14 pm Revision eddc9815: Allow burnin with hidden OSes
burnin is a cluster/testing feature, so it makes sense that a hidden OS
can be used for it.
Signed-off-by: Guido Tro...
Guido Trotter
02:42 pm Revision a91f69c4: Bump version for Ganeti 2.4.0~beta1
Update the version in all necessary places. Update NEWS with release
date.
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
02:42 pm Revision 3daa24ea: Update NEWS for Ganeti 2.4
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N...
Michael Hanselmann
02:42 pm Revision cc7d6f1a: Update RPC protocol version for Ganeti 2.4
As it's quite easy to forget updating the protocol version (and was
actually forgotten for Ganeti 2.3), it is now der...
Michael Hanselmann
11:38 am Revision 4fc977e9: Set +x on tools/ganeti-listrunner
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
11:36 am Revision b32d6567: Merge branch 'devel-2.3'
Conflicts:
doc/design-2.3.rst
This was a minor conflict with some rewording of a phrase
lib/client/gnt_instance....
René Nussbaumer
11:27 am Revision 8f8ce6d1: query: Update docstrings
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann

01/13/2011

06:11 pm Revision 6d33a6eb: Fix growing of DRBD disks
Patch 03941a26 made disk growth VG-aware, but the code has a bug: it
only works for LD_LV disks, and not LD_DRBD. To ...
Iustin Pop
02:09 pm Revision b288b6f3: List node parameters in gnt-group list
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo...
René Nussbaumer
02:08 pm Revision 8572f1fe: List node parameters (if any) in gnt-node info
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
02:08 pm Revision 88be69ee: List node parameters in gnt-cluster info output
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

01/12/2011

07:54 pm Revision b58a4d16: Fix typos in RAPI docstrings, add unittest
This patch fixes a number of typos and standardizes RAPI resource
docstrings. A unittest is added.
Signed-off-by: Mi...
Michael Hanselmann
05:59 pm Revision acd19189: Move FormatParameterDict from gnt_instance.py to cli.py
This function is useful for other cli-tools who need to display
a dict based parameter field.
Signed-off-by: René Nu...
René Nussbaumer
05:57 pm Revision 904b3bfe: gnt-group modify: ndparams not correctly updated
ndparams should delete keys which are reset to default
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: A...
René Nussbaumer
02:33 pm Revision 78b40c5e: Add Ganeti 2.4 design document
It contains links to the two implemented designs. The detailed documents
are removed from the visible table of conten...
Michael Hanselmann
02:23 pm Revision f78f971e: last_resort groups prioritized by iallocator plugin
Also change language slightly for preferred groups to look better now
that it's repeated.
Signed-off-by: Stephen Shi...
Stephen Shirley
02:10 pm Revision 25be0c75: Remove --master-netdev default value
Since the --master-netdev option is now used both at cluster init and at
cluster modify time, it cannot have a defaul...
Guido Trotter
12:41 pm Revision 3582eef6: Run pylint over QA code too
Right now, the QA code is not covered by pylint, and this shows at
least one low-impact bug.
This patch does the nec...
Iustin Pop
11:18 am Revision f7e6f3c8: QA: use a persistent SSH connection to the master
The recent additions to QA (many more tests) make QA slow if the
machine on which the QA runs is not very close to th...
Iustin Pop
10:17 am Revision 69df9d2b: QA: Fix duplicated OOB tests
Patch f55312bd added the OOB tests to TestClusterVerify, which is not
actually a test for cluster verify, but a runne...
Iustin Pop

01/11/2011

07:33 pm Revision 7b0bf9cd: Add ability to retain specified fds open in RunCmd
Passing tap devices to KVM as file descriptors requires that the respective
file decriptors remain open during utils....
Apollon Oikonomopoulos
05:39 pm Revision 6a050007: Add tests for objects.Instance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:39 pm Revision daa55b04: objects: Fix off-by-one in error message
For an instance with a single disk the message should be “… disks 0 to
0”, not “… 0 to 1”.
Signed-off-by: Michael Ha...
Michael Hanselmann
05:33 pm Revision 63fc4229: utils: Cleanup and sort wildcard imports
Also convert the per-line pylint instructions to one per-module
instruction.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
05:33 pm Revision 79b60c1c: utils: Drop RemovePidFile
It's equivalent to a simple RemoveFile now.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
Michael Hanselmann
05:33 pm Revision 90e234a6: utils: Move NewUUID to utils.io
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:33 pm Revision 7ebd876f: utils: Move more text-related code
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:33 pm Revision a4ccecf6: utils: Move process-related code into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:32 pm Revision 44c9b4fe: utils: Move ResetTempfileModule to wrappers module
It's not exactly a wrapper, but this seemed like the best place.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
05:32 pm Revision 7d444d59: utils: Move RunningTimeout to utils.algo
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:32 pm Revision 17b97ab3: utils: Move code manipulating /etc/hosts to separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:53 pm Revision 3ae8dd03: Fix utils.io unittest
“import signal” was missing, but of course it didn't show during my
testing.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
04:25 pm Revision c50645c0: utils: Move X509-related code into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:25 pm Revision 3865ca48: utils: Move I/O-related code into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:25 pm Revision 9d1b963f: utils: Move code related to file locking into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:25 pm Revision 7831fc5f: utils: Move wrappers into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:24 pm Revision 7b4baeb1: utils: Use function to disable fork
Use a function instead of a variable written by another module.
Signed-off-by: Michael Hanselmann <hansmi@google.com...
Michael Hanselmann
04:24 pm Revision 8342c325: utils: Change RemovePidFile to take path, not name
This avoids having to monkey-patch the utils module for unittests.
Monkey patching is evil and caused a bug while mov...
Michael Hanselmann
03:09 pm Revision 0f39886a: Fix a typo in backend.py
Sorry I thought I did run commit-check but must not have paid attention
to its output. There was a typo in the docstr...
René Nussbaumer
02:44 pm Revision 1d5f1b4c: Pause/Resume sync accordingly before wiping disk
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
02:44 pm Revision 9c007da8: Add RPC calls for pause/resume sync of devices
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
02:44 pm Revision 5119c79e: Add backend method for pause/resume sync of devices
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
02:44 pm Revision a3fffcc6: Make it possible to pause/resume sync of mirrored dev
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:39 pm Revision 18009c1e: Fix some doc issues introduced in recent commits
The hooks is due to me not checking the recent patch from David, and
the cli.py change is due to the utils.py split.
...
Iustin Pop
12:03 pm Revision dd5e7794: More fixes to hooks documentation
Signed-off-by: David Knowles <dknowles@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin ...
David Knowles

01/10/2011

06:32 pm Revision f3fd2c9d: Add QA tests for OpAssignGroupNodes
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:32 pm Revision 0a05f959: Fix docstring for "cmd" in qa_utils.GetSSHCommand
Docstring indicated "cmd" should be a list, when it's expected that
it'll be a string.
Also, converted docstring to ...
Adeodato Simo
06:32 pm Revision 8ec505dd: Add unit tests for CheckAssignmentForSplitInstances
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:32 pm Revision 96276ae7: Add OpAssignGroupNodes and LUAssignGroupNodes
This operation allows to assign nodes to a group, verifying whether
the change would leave any mirrored instance spli...
Adeodato Simo
06:32 pm Revision 919852da: Add `gnt-group assign-nodes` in the CLI
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:32 pm Revision 3eff8ae6: Cluster verify warns if there are split instances
Emit a warning for each instance with a mirrored disk template that has
its primary and secondary nodes living in dif...
Adeodato Simo
06:32 pm Revision 4245446f: Expose OpAssignGroupNodes over RAPI and RAPI client
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
06:17 pm Revision 3af47e13: Validate RAPI resource paths
To stay consistent, RAPI resources should only use a restricted set of
characters. No uppercase, no “_”, etc. This is...
Michael Hanselmann
06:16 pm Revision 1ae4c5a1: utils: Move logging-related code into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:16 pm Revision 71ab9dbe: utils: Rename _CloseFDNoErr to CloseFdNoError
This makes it a public function, which is necessary for
moving code into separate files.
Signed-off-by: Michael Hans...
Michael Hanselmann
06:16 pm Revision f21bb4b7: utils: Move hashing-related code into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:16 pm Revision 4d130f34: utils: Remove unused variables
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:15 pm Revision 4fd029cf: utils: Split algorithms into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:15 pm Revision 36a4acd4: utils: Move Mlockall into separate file
The unittest file is renamed to match the other utils.* tests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>...
Michael Hanselmann
06:15 pm Revision 7fcffe27: utils: Move text-related functions into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:15 pm Revision 79d22269: utils: Split Retry & co. into separate file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:15 pm Revision c047a981: utils: Move to separate module
This is preparing for splitting the whole units module.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
04:50 pm Revision 3986684e: Rapi: read and use the vm_capable node flag
Similar to the IAllocator change, this patch reads and uses the
vm_capable flag in Rapi. Furthermore, it changes the ...
Iustin Pop
04:50 pm Revision 3eeea90f: IAllocator: read and use the vm_capable node flag
This allows non-vm_capable nodes, which don't export runtime data, to
not break the IAllocator message parsing.
Sign...
Iustin Pop
04:50 pm Revision 1b2cb110: IAllocator: replace fake policy with real one
This small patch actually reads the allocation policy from the
IAllocator message.
Signed-off-by: Iustin Pop <iustin...
Iustin Pop
04:50 pm Revision 2befdc14: JSON: improve error reporting
Currently, we list the entire object in error messages. But for large
objects (e.g. an IAllocator message), this make...
Iustin Pop
04:49 pm Revision e8230242: JSON functions: change signature of (maybe)fromObj
Currently, fromObj/maybeFromObj take first the key, and then the
object. This is suboptimal, as this form is not easy...
Iustin Pop
04:07 pm Revision 7187e6ff: Add unit test for ganeti.rapi.client's ModifyGroup
This was forgotten in f18fab7.
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google...
Adeodato Simo
02:42 pm Revision a1a7bc78: mcpu: Automatically build the DISPATCH_TABLE
While reviewing dato's interdiff for the OpAssignGroupNodes, I
realised that we can do better. This patch replaces th...
Iustin Pop
02:41 pm Revision 687c10d9: Generalize the OpCode-should-be-in-mcpu test
Currently, the unittest TestDispatchTable in mcpu unittest does a
hard-coded approach to test whether an opcode shoul...
Iustin Pop
11:47 am Revision bde65914: Document the intended use of (vm|master)_capable
This patch adds the intended usage scenarios of these two flags.
Additionally it corrects the tag valid charset.
Si...
Iustin Pop
11:47 am Revision a1cef11c: IAllocator: fix breakage for non-vm_capable nodes
Currently, the IAllocator doesn't know that non-vm_capable nodes
should not be queried for hypervisor/instance inform...
Iustin Pop

01/07/2011

06:05 pm Revision abd42b0a: Fix syntax error with Python 2.4
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:47 pm Revision b577dac4: gnt-instance info: Show disk template
The data was already there, but not shown.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin...
Michael Hanselmann
05:39 pm Revision 1bc47d38: Convert node evacuation to multi-group
This patch does the necessary changes to make the new tryMGEvac work
correctly: each instance remains inside its prim...
Iustin Pop
05:39 pm Revision 2ca68e2b: Evacuation: extract the inner fold function
This makes the code more readable, which will help with the
multi-group evacuation.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
05:39 pm Revision c9224fa4: Rapi: fully evaluate the body in getUrl
Currently, the Rapi.getUrl function returns the body without
evaluating it, and the other functions (loadData, parseD...
Iustin Pop
05:39 pm Revision 4d8e5008: Rapi: move the curl options list to a separate var
A small cleanup, this just moves the options to a separate list to
avoid instantiation at every call.
Signed-off-by:...
Iustin Pop
05:39 pm Revision 693342ad: hscan: fix long-standing bug with node memory data
There is a long-standing bug in hscan, due to the serialization
workflow. Basically, hscan loads data from the remote...
Iustin Pop
05:39 pm Revision 55da339e: Node: add and export a 'used disk' function
This is similar to iMem.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Iustin Pop
05:39 pm Revision 425af248: Node: Export the instance memory function
This exports the iMem function as a standalone function, instead of
being hardcoded in showField.
Signed-off-by: Ius...
Iustin Pop
05:39 pm Revision 4bc33d60: Instance relocation: stay within the current group
This patch adds a new top-level relocation function that restricts the
relocation to the instance's group, and switch...
Iustin Pop
05:34 pm Revision 55cc0a44: Use new console information in hypervisor abstraction
This makes use of the new way of returning console information from the
master daemon. Unittests are included.
Signe...
Michael Hanselmann
05:34 pm Revision 25ce3ec4: Introduce verbose opcode result for console
With this patch OpConnectConsole will no longer just return a command
with arguments, but rather a detailed descripti...
Michael Hanselmann
01:02 pm Revision 2a917701: luxi.Client: Add function to close connection
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:27 pm Revision 047686c5: Merge branch 'devel-2.3'
* devel-2.3:
Remove unused import from client.gnt_instance
gnt-instance console: Improve error reporting
Increa...
Michael Hanselmann
12:01 pm Revision ab92578a: Remove unused import from client.gnt_instance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
Michael Hanselmann
11:22 am Revision 49e4c837: Updating hooks documentation with missing environment variables
Signed-off-by: David Knowles <dknowles@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin ...
David Knowles

01/06/2011

06:52 pm Revision 678aa6d3: gnt-instance console: Improve error reporting
If the SSH command fails, this will give a more detailed error
message than before.
Signed-off-by: Michael Hanselman...
Michael Hanselmann
06:42 pm Revision eaf7d41d: Increase timeout for connection on remote import
The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default...
Michael Hanselmann
06:42 pm Revision bd275a93: import-export: Improve timeout error reporting
When the source cluster takes too long to create a snapshot, the
destination would time out. Unfortunately no good er...
Michael Hanselmann
05:19 pm Revision 016acd85: List recorded powered state in gnt-node info
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:19 pm Revision 52b5d286: Support query of node field 'powered'
This field is based on OOB support and is only available if there's oob
support for that node.
Signed-off-by: René N...
René Nussbaumer
03:02 pm Revision 7ab8b7d7: qa_group.py: reimplement query tests with qa_utils
Now that group queries use query2 infrastructure, update the QA tests to
use the generic functions in qa_utils.py.
S...
Adeodato Simo
03:02 pm Revision d8b7ff5f: ganeti.query_unittest.py: add tests for group queries
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:02 pm Revision ca4ac9c9: Convert “gnt-group list” to query2
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:02 pm Revision 31a5d995: cmdlib.py: convert LUQueryGroups to query2
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:01 pm Revision a0d64991: cmdlib.py: move _GetQueryImplementation to end of file
_GetQueryImplementation() uses _QUERY_IMPL, which list all query type
implementations. By moving it to the end of the...
Adeodato Simo
03:01 pm Revision 8e21cfc0: query.py: add definitions for node group queries
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:01 pm Revision e070c663: constants.py: define QR_GROUP resource
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Adeodato Simo
03:01 pm Revision e571ee44: ganeti.query_unittest.py: test lock fields too
Additionally, change TestQueryFields.testSomeFields() to handle lists of
fields shorter than 20 elements.
Signed-off...
Adeodato Simo
12:33 pm Revision b98bb41e: lvmstrap: also test sysfs holders
If a device has entries in its holder directory
(/sys/block/$name/holders), it means that some kernel system "uses"
t...
Iustin Pop
12:33 pm Revision 577d45d4: lvmstrap: add support for non-partitioned md disks
This patch, originally written by Marc Schmitt <mschmitt@google.com>,
adds support for MD devices (used in a non-part...
Iustin Pop
12:33 pm Revision d2cd6944: RPC: mark jobqueue functions as URGENT
Recently, we've seen more and more cases of a specific breakage
pattern in Ganeti: master candidates which are semi-a...
Iustin Pop
12:29 pm Revision 362c5845: Merge branch 'devel-2.3'
* devel-2.3:
cfgupgrade: Remove unused “program” variable
cfgupgrade: Check master name, clarify question
Makef...
Michael Hanselmann
12:27 pm Revision 9d199a65: cfgupgrade: Remove unused “program” variable
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
12:21 pm Revision 8abc36f1: QA: Remove 'oob_program=default' on gnt-cluster modify
On cluster level there's no 'default' because it's the highest cascading
level. Due to this 'default' is a valid valu...
René Nussbaumer
12:08 pm Revision 24d16f76: Convert “gnt-debug locks” to query2
Locks can now be queried using “Query(what="lock", …)” over LUXI.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
12:06 pm Revision 011974df: cfgupgrade: Check master name, clarify question
- Check hostname and abort if it doesn't match contents of
“ssconf_master_node”, can be overridden using “--ignore-...
Michael Hanselmann
12:06 pm Revision e8deef56: Makefile: Merge build-time reST copying
No need to copy this snippet around, “make” can work harder for us.
Signed-off-by: Michael Hanselmann <hansmi@google...
Michael Hanselmann
12:06 pm Revision 7a03d293: Move doc/upgrade.rst to UPGRADE, copy at build-time
This will allow distributions to install the file as text documentation.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann

01/05/2011

07:42 pm Revision 35dd762d: Import upgrade notes into documentation
This patch formats the upgrade notes currently in the wiki[1] as reST
and adds them to the documentation.
[1] http:/...
Michael Hanselmann
07:28 pm Revision f7c8f153: Fix OpSetInstanceParams.disk_template check
When moving the opcode parameters I moved two or three checks from an
opcode's CheckArguments function to the type ch...
Michael Hanselmann
06:14 pm Revision e23881ed: RAPI: Add resource to grow instance disk
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:57 pm Revision b714765a: Reword "one of hmgt" as "one of h/m/g/t" for clarity
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Adeodato Simo
02:41 pm Revision f55312bd: QA: Adding new cluster verify cases
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:41 pm Revision f5677ab3: out of band verification in gnt-cluster verify
This adds the verify tests for out of band management
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Mi...
René Nussbaumer
02:41 pm Revision 16f41f24: Adding additional VerifyNode checks to backend
This adds checks for out of band support. The helpers have to exist and
they have to be executable.
Signed-off-by: R...
René Nussbaumer
01:27 pm Revision 62e999a5: RAPI: Add resource to modify cluster
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:27 pm Revision cfaeaaf7: baserlib: Add function for filling opcodes
This function makes use of the opcode parameters which now live
directly in the opcode. A number of RAPI resources ca...
Michael Hanselmann
12:42 pm Revision 65ffb373: Improve opcode summary tests
Test full summary instead of just format.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
12:42 pm Revision 1cbef6d8: Migrate code verifying opcode parameters to base class
This allows the function to be used in other places as well.
An optional parameter is added to control whether defaul...
Michael Hanselmann
12:40 pm Revision dbc96028: Improve tests for OP_ID
… by detecting duplicates.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo...
Michael Hanselmann
12:40 pm Revision 0bff0b12: cmdlib: Remove opcode parameters
Remove the parameter definitions and use those from the opcode classes
instead. Small style changes are also made (em...
Michael Hanselmann
12:40 pm Revision 65e183af: opcodes: Add opcode parameter definitions
This is the first step for migrating them from cmdlib. A metaclass is
used to define “__slots__” upon class creation ...
Michael Hanselmann
12:39 pm Revision a6070ef7: query2: Add new field status “offline”
This allows “gnt-node list” to show the difference between modes marked
offline and nodes with e.g. RPC errors (“(nod...
Michael Hanselmann

01/04/2011

07:18 pm Revision ac63b093: QA: Fix out-of-band tests
- Handle situations with no non-master node
- Expand node name to make test work when configuration just has short
...
Michael Hanselmann
05:10 pm Revision ecdf0398: Add unittests for ht module
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:10 pm Revision 8568de9e: ht.TInt: Exclude boolean values
See inline comment.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:42 pm Revision 72729d6e: Cleanup bootstrap.SetupNodeDaemon
- Code formatting
- Use ShellQuote for one argument
- Remove variables no longer used after commit 9294514d
Signed-o...
Michael Hanselmann

12/31/2010

02:52 pm Revision cee32223: Merge branch 'devel-2.3'
* devel-2.3:
Fix typo in gnt-instance manpage
jqueue: Fix cancelling while in waitlock in queue
cli: Extend mes...
Michael Hanselmann
02:37 pm Revision 2a0f9372: Fix build errors with ganeti-listrunner
- Remove non-ASCII character from manpage
- Reformat docstring for epydoc in script
These caused build breakage on s...
Michael Hanselmann
02:37 pm Revision ab737f24: Fix typo in gnt-instance manpage
s/os-name/os-type/. This was reported in issue 133.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
Michael Hanselmann

12/30/2010

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

12/29/2010

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

Also available in: Atom