Activity

From 05/26/2013 to 06/24/2013

06/24/2013

06:01 pm Revision 360e6c08: kvm: don't pass whole extra as a single argument
If extra is longer than a single word passing it the way it was passed
won't work. Of course this solution is also on...
Guido Trotter
06:01 pm Revision 0e6b8229: NEWS and version updates for 2.7.0~rc3
Time for a new release.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google...
Guido Trotter
05:11 pm Revision 85218237: For node queries allow short forms of host names
For node queries use the host-name filter instead of the simple
equality-based one.
Signed-off-by: Klaus Aehlig <aeh...
Klaus Aehlig
05:11 pm Revision 0122b96d: Provide a special filter for host names
For host names, usually short forms are used, e.g., node1 or node1.sub
instead of the full qualified node1.sub.exampl...
Klaus Aehlig
03:41 pm Revision fe782deb: gnt-cluster info (py): add enabled disk templates
This fixes issue 485. In the python implementation of
the cluster config info, the enabled_disk_templates
were missin...
Helga Velroyen
01:46 pm Revision c632d3a5: Fix node modify QA tests for large cluster
If the node count in a cluster exceeds the master candidate pool size
(which is 10 by default), it's no longer possib...
Thomas Thrainer
01:29 pm Revision 399ff733: Version bump to 2.8.0~beta1
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Michele Tartara
01:29 pm Revision b031e99d: Change version numbers in documentation
Some of the documents have the version number of Ganeti. This commit updates
it in preparation for the 2.8 version bu...
Michele Tartara
11:16 am Revision 50119242: Doc for GlusterFS Ganeti Support
This patch adds a design document for introducing GlusterFS Support in Ganeti.
Signed-off-by: Weiwei Jia <harryxiyou...
Weiwei Jia
10:16 am Revision e03e445c: Fix issue with python coverage tests
The recently introduced check for python libraries required only for testing
(commit 27df5b736ef72b3b12c07f32d64dbac9...
Michele Tartara

06/21/2013

06:09 pm Revision f2b58d93: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7:
Add a warning about the restriction of gnt-node evacuate
Fix permissions of the queue archive dir
...
Thomas Thrainer
05:07 pm Revision bbf50ea0: grow disk: call SetDiskID before blockdev_getsize
Missing this call caused blockdev_getsize to be called on the wrong
physical device, and fail.
This fixes Issue 497....
Guido Trotter
05:07 pm Revision 1b3fbef6: Catch DeviceCreationError unhandled exceptions
_CreateBlockDevInner is called twice in TLReplaceDisks. While this
should be fixed, right now this leaves the DeviceC...
Guido Trotter
04:28 pm Revision 91104b80: Fix daemon QA tests
TestInstanceConsecutiveFailures now leaves the test instance in the same
state it got it.
Signed-off-by: Thomas Thra...
Thomas Thrainer
03:16 pm Revision 27df5b73: Disable python test if required libraries are missing
Some python libraries are only needed for the tests, but not for running
Ganeti. If those libraries are missing, just...
Michele Tartara
03:15 pm Revision a05018a9: Better specify what packages to install
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
03:14 pm Revision 09bf829d: Improve install guide
Add command for updating the list of cabal packages, before starting
installing them.
Signed-off-by: Michele Tartara...
Michele Tartara
03:08 pm Revision 12443fb8: Fix typo in the documentation index
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
03:08 pm Revision 864b57d7: Fix typos in the documentation index
This patch fixes some typos in the documentation index.
Signed-off-by: Weiwei Jia <harryxiyou@gmail.com>
Signed-off-...
Weiwei Jia
02:53 pm Revision cd30f3e6: Update security document wrt confd access to SSL cert
The fact that confd has been given access to the server.pem certificate
needs to be described in the security documen...
Michele Tartara
09:28 am Revision cb474ee4: Fix permissions of the queue archive dir
The permissions were set to 0740, but of course being a directory the
correct permissions are 0750.
Signed-off-by: G...
Guido Trotter

06/20/2013

06:31 pm Revision 65914847: Add a warning about the restriction of gnt-node evacuate
Even though gnt-node evacuate should be able to evacuate all instances
at once, this currently is not the case. Add a...
Klaus Aehlig
06:24 pm Revision 52e9bef0: Add gnt-node migrate to QA
Make it possible to optionally run gnt-node migrate during QA.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
...
Thomas Thrainer
05:04 pm Revision 4d33e134: Convert instance indices to UUIDs in configuration
cfgupgrade replaces the occurences of instance names (where they are
used as index) with the instance UUID.
It also ...
Thomas Thrainer
05:04 pm Revision da4a52a3: Index instances by their UUID
No longer index instances by their name but by their UUID in the cluster
config. This change changes large parts of t...
Thomas Thrainer
05:04 pm Revision b691385f: Node-UUID related cleanup
Some variables which hold node UUID's are renamed to reflect their
indent better.
Use cfg.GetNodeName(uuid) instead o...
Thomas Thrainer
04:23 pm Revision 9839902a: Add tools for building deb packages to build_chroot
The chroot only had tools for building and testing Ganeti, but not for
building its Debian packages. They are added b...
Michele Tartara
03:37 pm Revision 5e568fee: Fix wrong assert
An assert wrongly verified that the node name instead of the node UUID
is in the set of locked nodes. This patch fixe...
Thomas Thrainer
03:27 pm Revision 3be0f700: Improve the final message of build_chroot
Give more precise instructions on the next steps to actually run the
chroot.
Signed-off-by: Michele Tartara <mtartar...
Michele Tartara
03:27 pm Revision d1068153: Make build_chroot self-contained
The configuration file are included in build_chroot, and are
automatically created by the script if it is not able to...
Michele Tartara
02:52 pm Revision 1f3096c2: Fix testGetHvDefaults testcase
The introduction of the migration_mode parameter to the fake hypervisor
broke the testGetHvDefaults. This patch fixes...
Thomas Thrainer
02:52 pm Revision 4665b94f: Fix instance add for missing node specs
Don't pass None to cfg.GetNodeNames. Instead, only resolve the node
names if it's sure that the UUID list is valid.
...
Thomas Thrainer
02:46 pm Revision 0cac64ac: Merge branch 'stable-2.8' into master
* stable-2.8
In tiered allocation, cut non-promising shrinking tries
Add confd user to masterd group
Signed-off-...
Klaus Aehlig
01:34 pm Revision 2c4f480d: Skip Xen monitoring QA for non-Xen clusters
Instead of asserting that the Xen instance status collector fails for
non-Xen clusters just skip the test completely....
Thomas Thrainer
01:34 pm Revision d76880d8: Add support to migration_mode in fake HV
The fake hypervisor pretends to support migration, but did not support
the migration_mode parameter yet. As this para...
Thomas Thrainer
01:34 pm Revision d06e7b3b: Adapt VCluster script to current situation
vcluster-setup is adapted to the current Ganeti command line arguments.
Also, a bug for diskless instances in qa_inst...
Thomas Thrainer
10:34 am Revision 9b0e86e2: Check DRBD status in cluster verify
If the status of DRBD disks is degraded or in a faulty state, issue an
error in cluster verify.
Signed-off-by: Thoma...
Thomas Thrainer
10:33 am Revision 91cdc18f: Add confd user to masterd group
The server.pem file is 0440 (materd_uid, masterd_gid) and cannot be
accessed by confd.
This patch contains a workaro...
Michele Tartara
08:12 am Revision f9e7e331: In tiered allocation, cut non-promising shrinking tries
The heuristics for tiered allocation has been improved in that it
chooses to shrink such a resource next where by shr...
Klaus Aehlig

06/19/2013

01:55 pm Revision 271d03ff: Merge branch 'stable-2.8' into master
* stable-2.8
(no changes)
* merged from stable-2.7
More agressively line break man pages
Signed-off-by: Klaus A...
Klaus Aehlig
12:36 pm Revision ea2ee4b0: Version bump to 2.9.0~alpha1
Bump the version number to 2.9.0~alpha1.
This also requires updating version numbers in cfgupgrade tool.
Furthermor...
Michele Tartara
12:16 pm Revision b22106d7: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7
More agressively line break man pages
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Th...
Klaus Aehlig
11:24 am Revision bb935d8d: Fix reference to NodeInfo.name
This fixes a bug introduced during the move from node names to node
UUIDs as indexes.
Also, a typo is corrected.
Si...
Thomas Thrainer

06/18/2013

06:24 pm Revision f5c4553b: Merge branch 'stable-2.8' into 'master'
* stable-2.8
Version bump to 2.8.0~alpha1
Make cfgupgrade idempotent
Update config version number when downgrad...
Michele Tartara
04:29 pm Revision 0cbeecdf: More agressively line break man pages
Newer versions of pandoc (as, e.g., shipped with Ubuntu 13.04)
more agressively quote, in particular minus signs. Tha...
Klaus Aehlig
01:45 pm Revision 33bff17b: Version bump to 2.8.0~alpha1
Now that alpha versions are supported, we can bump the version number
for branch stable-2.8 to 2.8.
This also requir...
Michele Tartara
11:14 am Revision 9bd2f449: Revert "Storage utility functions for Haskell"
This reverts commit
88d27b8aa8adc2e5ced773909f1d40812c5a6ea7.
Signed-off-by: Helga Velroyen <helgav@google.com>
Revi...
Helga Velroyen
11:14 am Revision 4b763320: Revert "Make NodeInfo (hs) accept arbitrary storage types"
This reverts commit
e89525a859b2e841c08fce506c0b68b97c7efe61.
Signed-off-by: Helga Velroyen <helgav@google.com>
Revi...
Helga Velroyen
11:12 am Revision f2e4363c: Make cfgupgrade idempotent
One of the unit tests checks whether cfgupgrade's downgrade option is
idempotent. It is, but a version number check m...
Michele Tartara
11:11 am Revision 77018a43: Update config version number when downgrading
The downgrade option of the cfgupgrade tool was not changing the version
number in the configuration file of the clus...
Michele Tartara

06/17/2013

08:33 pm Revision e89525a8: Make NodeInfo (hs) accept arbitrary storage types
So far, the Haskell implementation of NodeInfo just
requests storage information about volume groups.
With this patch...
Helga Velroyen
08:33 pm Revision 88d27b8a: Storage utility functions for Haskell
In order to extend the Haskell version of the NodeInfo
query, we need some utility functions to deal with
disk templa...
Helga Velroyen
08:32 pm Revision c5f6cba2: Rename directory 'Block' to 'Storage'
This patch renames the 'Block' directory to 'Storage' in
the Haskell code base. The same rename was done in the
pytho...
Helga Velroyen
05:37 pm Revision f624a8eb: Add test for shrink heuristics over different resources
In this example, memory prevents adding more than one instance on
the first node. Yet, on the other nodes, 2 instance...
Klaus Aehlig
05:36 pm Revision 20d2476e: Improve hspace shrinking strategy
In tired allocation, hspace shrinks that resource of the instance
next, that causes failure on most nodes. While, thi...
Klaus Aehlig
05:36 pm Revision b1c772fd: Convenience function for iterating while the result is Ok
For a function f :: a -> GenericResult a, iterate it (in the sense of the
monad), until the result is Bad; return the...
Klaus Aehlig
05:36 pm Revision b74ebe44: Provide witness for the sum-type structure of GenericResult
GenericResult, while rightfully a type of its own, is isomorphic
to Either. So, also provide the case analysis functi...
Klaus Aehlig

06/14/2013

03:05 pm Revision 02312a1a: Disable more version checks for alpha versions
Alpha versions should not check for version numbers in READMEs
and documentation.
Signed-off-by: Michele Tartara <mt...
Michele Tartara
03:05 pm Revision a71afd47: Allow alpha versions not to have an entry in the NEWS file
Alpha versions are still under heavy development, and can therefore not have an
entry in the NEWS file yet. The entry...
Michele Tartara
03:04 pm Revision 00734cae: Add tests for check-news
Unit tests verifying the behaviour of the check-news script are added.
This required adding a new make target, "auto...
Michele Tartara
03:04 pm Revision 77721d8b: Introduce support for alpha versions
An alpha version can be used to name a release while a previous one is still
being developed.
E.g. 2.9.0~alpha1 can ...
Michele Tartara
03:04 pm Revision dadc7864: Improve docstring
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
03:04 pm Revision 5f5dd119: Fix bug in Makefile.am
There was a typo in the name of the script for launching offline tests.
Signed-off-by: Michele Tartara <mtartara@goo...
Michele Tartara
02:43 pm Revision 32389d91: Refactor NodeInfo RPC regarding storage reporting
The NodeInfo RPC call is refactored to handle now more than
just storage reporting for volume groups.
Since NodeInfo...
Helga Velroyen
02:43 pm Revision 683335b3: Utility functions for storage types
Handling various storage types for the free space reporting
requires some utility functions. They will be invoked in
...
Helga Velroyen
02:43 pm Revision 13669ecd: Integrate free space reporting for file storage
This patch integrates the free space reporting for file
storage. So far, it is only called, when the default
disk tem...
Helga Velroyen
02:43 pm Revision f39a8d14: Unit tests for ApplyStorageSpaceFunction
So far, the function 'ApplyStorageSpaceFunction' was not
covered by unit tests. Before the integration of space
repor...
Helga Velroyen
02:43 pm Revision e798d484: Renamining space reporting for file storage
Before being integrated, the function for space reporting
for file storage is renamed to a more expressive name.
Sig...
Helga Velroyen
02:42 pm Revision 0f0f6d7d: Add storage type to NodeInfo result
So far, the storage information returned from RPC call
NodeInfo contained only information about volume groups.
In or...
Helga Velroyen
12:19 pm Revision b666a94c: Use cluster's hvparams in LUInstSetParams
Since the instance does not have hvparams at that point,
we have to use the cluster's hvparams here. This fixes
a cra...
Helga Velroyen
12:16 pm Revision d6cc980d: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7
Make shrinkByType aware of individual disks
Add a test for hspace to respect instance policy
Confli...
Klaus Aehlig
11:15 am Revision 6b502fa3: Add a test for hspace to respect instance policy
In this example, the instance policy for disks prevents allocation
of more than one instance per node. The test verif...
Klaus Aehlig
11:15 am Revision bfa9a5d1: Make shrinkByType aware of individual disks
When shrinking an instances, you can't just get smaller disk footprint
while leaving the individual disks as they are...
Klaus Aehlig

06/13/2013

07:23 pm Revision 68af861c: Fix lookup of xen toolstack in Haskell
There was a bug in the haskell implementation of node
query which made the lookup of the xen toolstack xm/xl
fail.
S...
Helga Velroyen
12:32 pm Revision d0d7d7cf: Inline simple "alias" variables
Remove variables in the form "var = self.var" throughout all LU's. Those
"alias" variables make it harder to read the...
Thomas Thrainer
12:32 pm Revision b555101c: Convert node indices to UUIDs in configuration
cfgupgrade replaces the occurences of node names (where they are used as
index) with the node UUID.
It also supports ...
Thomas Thrainer
12:32 pm Revision 1c3231aa: Index nodes by their UUID
No longer index nodes by their name but by their UUID in the cluster
config. This change changes large parts of the c...
Thomas Thrainer
10:32 am Revision bc0a2284: Add cluster name to instance migration RPC
This fixes a 'FIXME' in the xen hypervisor. The instance
migration requires the cluster's name. This should come
from...
Helga Velroyen

06/12/2013

07:22 pm Revision 96357135: Restructure documentation index page
The index page of the documentation used to be just a list of links.
Now it is a proper introduction to all the other...
Michele Tartara
03:03 pm Revision c472667f: Add missing parenthesis to description of --machine-readable
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
11:33 am Revision d6e5767e: Support VNC binding to an interface
Currently, the VNC bind address can only be specified as an IP
address. Given that this is a cluster-wide parameter, ...
Klaus Aehlig
11:28 am Revision 2ff4df69: Update NEWS file for 2.8
Add to the NEWS file the list of modifications performed during the 2.8
development cycle.
Signed-off-by: Michele Ta...
Michele Tartara
10:18 am Revision 92742703: Remove XEN_CMD from configure.ac
Removes the option --with-xen-cmd from the configure
script.
Signed-off-by: Helga Velroyen <helgav@google.com>
Revie...
Helga Velroyen
10:18 am Revision 8ef418bb: Remove XEN_CMD from constants, adjust to PowercycleNode
This patch extend the RPC to powercycle a node by a
hvparams parameter. This parameter is used by the
xen hypervisor ...
Helga Velroyen
10:18 am Revision 398fd4f6: hv_xen.py: make hvparams mandatory, remove fallbacks
This patch removes the fallback to the xen command from the
auto config and adds an exception instead. Also, the
hvpa...
Helga Velroyen
10:18 am Revision 0200a1af: Use hvparams in GetAllInstancesInfo
This patch extends the GetAllInstancesInfo method of the
hypervisors by a hvparams parameter. This change propagates
...
Helga Velroyen
10:18 am Revision 0bbec3af: Use hvparams in GetInstanceInfo
This patch extends the GetInstanceInfo function of the
hypervisors by an hvparams parameters. This leads to
an extens...
Helga Velroyen
10:18 am Revision c6ae283b: backend.py: remove fallback implementation of GetNodeInfo
This removes the fallback implementation of the backend's
GetNodeInfo function to the old implementation. By now,
all...
Helga Velroyen
10:18 am Revision a295eb80: Adjust all callers of RPC 'call_node_info'
This patch contains all adjustments necessary to code that
uses the 'call_node_info' call. The adjustment is necessar...
Helga Velroyen
10:18 am Revision 030ab01a: Add hvparams to RPC call 'node_info'
This patch adds the hvparams parameter to the RPC call
'node_info'. It also adjusts the related code in noded.py
and ...
Helga Velroyen
10:18 am Revision 439e1d3f: backend.py: use hvparams in GetNodeInfo
This patch extends the GetNodeInfo function of the backend
module by a hvparams parameter. For now, it contains a
fal...
Helga Velroyen
10:17 am Revision fac489a5: hypervisors: add hvparams to GetNodeInfo
This patch extends the GetNodeInfo function of the
hypervisors by a hvparams parameter. The parameter
is currently on...
Helga Velroyen
10:17 am Revision 2609da63: hv_xen.py: renaming residual 'xm' occurrences
Some methods still refered to 'xm', which is inaccurate now
that xen can also be run with 'xl'. No functional changes...
Helga Velroyen
10:17 am Revision 194f0764: Watcher: Use hvparams when listing instances
This patch makes the watcher use the hvparams from ssconf
to retrieve the list of instances from the hypervisors.
Si...
Helga Velroyen
10:17 am Revision def6577f: Include hvparams in ssconf files
The watcher needs access to the cluster's hypervisor
parameters. This patch extends the ssconf infrastructure
by addi...
Helga Velroyen
10:17 am Revision 8351df2f: Use hvparams in instance migration
This patch makes use of hvparams on instance migration to
determine the list of instance before the migration. This w...
Helga Velroyen
10:17 am Revision 5b0dfcef: Verify: node info and instance list
This patch enhances node verification by:
- Factoring out the verification of the node info
and the instance list t...
Helga Velroyen
10:17 am Revision 75bf3149: Verify: xen toolstack, hypervisor and hvparams
This patch extends the node verification by:
- Adding a check for the xen toolstack when the hypervisor
is verified...
Helga Velroyen
10:17 am Revision 8ac806e6: rpc / noded: add hvparams to instance_list call
The 'instance_list' call needs to be extended to accept
hvparams. This is one of the few RPCs where it is
necessary, ...
Helga Velroyen
10:17 am Revision 3361ab37: backend.py: use instance's hvparams whenever possible
The backend module's function 'ListInstances' is called
within the module several times. In many cases, it is
possibl...
Helga Velroyen
10:17 am Revision 2bff1928: backend.py: GetInstanceListForHypervisor
In same cases, the call 'GetInstanceList' is only done for
one hypervisor. In those cases, it is more convenient to
n...
Helga Velroyen
10:17 am Revision fac83f8a: backend.py: hvparams in 'GetInstanceList'
Propagating the use of hvparams further up the calling
hierarchy, this patch makes the backend module use the
hvparam...
Helga Velroyen
10:17 am Revision 58e356a9: hv_xen.py: _RunXen and GetInstanceList use hvparams
Propagating the use of hvparams further up in the calling
hierarchy, the functions '_RunXen' and 'GetInstanceList'
us...
Helga Velroyen
10:17 am Revision ff19ac20: hv_xen.py: rename RunXmList to RunInstanceList
Since one can retrieve xen's instance list with both, 'xm'
or 'xl', the function name 'RunXmList' is no longer
approp...
Helga Velroyen
10:17 am Revision 36bebc53: hv_xen.py: rename GetXmList to GetInstanceList
Since one can retrieve xen's instance list via both 'xm'
or 'xl', it is no longer appropriate to call the function
'G...
Helga Velroyen
10:17 am Revision 51a95d00: hv_xen._GetCommand: retrieve xen command from hvparams
This patch adds a (so far optional) hvparams parameter
to the '_GetCommand' function. This dictionary is used
to retr...
Helga Velroyen
10:17 am Revision 3eb073a6: Unit tests for hv_xen._GetCommand
This patch adds unit tests for the current state of the
'GetCommand' method. The tests are rather trivial, but
having...
Helga Velroyen
10:16 am Revision 740394bc: Add xen command (xm, xl) to hv parameters
This patch adds the xen command (xm, xl) as hypervisor
parameter to the constants and adds validation to
the xen hype...
Helga Velroyen
10:16 am Revision b44af065: Fixing docstring of hv_xen_unittest.py
The introductory comment of hv_xen_unittest.py referred to
the wrong hypervisor.
Signed-off-by: Helga Velroyen <helg...
Helga Velroyen

06/11/2013

01:55 pm Revision fe5a2780: Make SubmitOpCode expect options without print_jobid
As opposed to SubmitOrSend, the SubmitOpCode function is
called also by commands not supporting submit options. Hence...
Klaus Aehlig
10:27 am Revision d6cd74dd: Add an option to print job id of submitted jobs on stdout
When submitting a job, the job id, prefixed by 'JobID: ', is output to
stderr. While this is easy to understand for h...
Klaus Aehlig
10:26 am Revision f5d13a77: Add new command gnt_job wait
This command tacitly waits for a job to finish. In that
way, job dependency can also be handled in shell scripts.
Si...
Klaus Aehlig

06/10/2013

06:04 pm Revision e7aa0b03: Add type annotation to avoid monomorphism restriction
Even though we need the let-bound variable showMoves only
at type [(String, String)] -> IO (), it's most general type...
Klaus Aehlig
04:57 pm Revision 30ce253e: add option --print-moves to hroller
If non-redundant instances are present in the cluster, hroller will
plan for them to move to other nodes while the gr...
Klaus Aehlig

06/07/2013

04:11 pm Revision a93e5814: New tests for hspace and exclusive storage
hspace is run on clusters with exclusive storage enabled.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Rev...
Bernardo Dal Seno
04:11 pm Revision 0cc3d742: hspace prints info about spindles
Statistics about spindles are tracked. In human-readable output, spindles
are printed only when used (i.e., exclusive...
Bernardo Dal Seno
04:11 pm Revision 773bc9e3: Add support for shrinking an instance spindles-wise
This makes tiered allocation in hspace work also with respect to spindles.
Signed-off-by: Bernardo Dal Seno <bdalsen...
Bernardo Dal Seno
04:11 pm Revision 914c6df4: Spindles become part of htools resource spec
Spindles are now part of resource spec. Instances get created with spindles
specified (which are just ignored when ex...
Bernardo Dal Seno
04:11 pm Revision 825f8cee: htools cluster score takes spindles into account
When exclusive storage is enabled, spindles are used instead of disk space
to compute the cluster score.
Comments an...
Bernardo Dal Seno
04:11 pm Revision 74ff6aed: Update spindles when moving instances in htools
Spindles get updated, and errors raised when not enough free spindles
exist. No new error is raised when exclusive st...
Bernardo Dal Seno
04:11 pm Revision fcfc0c2d: Unit tests for htools and exclusive storage
The existing tests are run also on nodes with exclusive storage enabled. The
values for spindles and exclusive storag...
Bernardo Dal Seno
04:11 pm Revision 0ec8cce2: Load complete instance disk information through LUXI
Information about size and spindles of all the disks of an instance is loaded
by the LUXI backend, instead of faking ...
Bernardo Dal Seno
04:11 pm Revision 96f9b0a6: Load node spindles data in htools
The data structure for nodes gets a new field for free spindles, and the
existing field for total spindles gets renam...
Bernardo Dal Seno
04:11 pm Revision 8c72f711: Refactor reading live data in htools
This simplifies different handling of individual items.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Revie...
Bernardo Dal Seno
04:10 pm Revision 06fb92cf: Export node spindles
Node spindles (queried live) are exported through the LUXI, RAPI, and
iallocator interfaces.
Signed-off-by: Bernardo...
Bernardo Dal Seno
04:10 pm Revision a1860404: node_info RPC reports info about free spindles
node_info RPC can be used to get information about free/total spindles.
Signed-off-by: Bernardo Dal Seno <bdalseno@g...
Bernardo Dal Seno
04:10 pm Revision 5b5fd5d8: Update htools text-backend documentation
Both instances and nodes have new fields.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus ...
Bernardo Dal Seno

06/05/2013

02:28 pm Revision c7dd65be: Use RpcResult.Warn where appropriate the cmdlib
To avoid repetitive code, make use of the functionality factored
out to the Warn method of RpcResult.
Signed-off-by:...
Klaus Aehlig
02:27 pm Revision 95e7e85e: Add a Warn function to RpcResult
At various places, LU code just wants to warn about
a failed rpc, but continue nevertheless. So factor out
that commo...
Klaus Aehlig

06/04/2013

09:06 pm Revision 2f836021: Add --force option to gnt-cluster modify
Make the force option of the ClusterSetParams Opcode available
on the command line.
Signed-off-by: Klaus Aehlig <aeh...
Klaus Aehlig
09:06 pm Revision e5c92cfb: Add a force option to the ClusterSetParams Opcode
If set, the op code will, in particular, try to set the master IP
on the new netdev, even if shutting down the master...
Klaus Aehlig
06:11 pm Revision ac0af025: Document the monitoring daemon in the admin guide
The administrator's guide must include a section describing the monitoring
daemon and its API, in order for the users...
Michele Tartara
06:11 pm Revision 431ff2c1: Factor out the API of the monitoring daemon
It will be included by both the design document and the user documentation.
Signed-off-by: Michele Tartara <mtartara...
Michele Tartara
06:10 pm Revision 0a689f79: Add monitoring agent info to the security document
Add information regarding the monitoring agent and its security to
the security document.
Signed-off-by: Michele Tar...
Michele Tartara
04:22 pm Revision 92070017: Fix shadowing of library function
The "reads" field shadows a library function from Prelude. This commit
fixes the problem.
Signed-off-by: Michele Tar...
Michele Tartara
12:59 pm Revision 8a348b15: Export device UUIDs to hooks and OS scripts
Export UUIDs and names of instance NICs and disks to the environment
of OS scripts and instance related hooks.
Signe...
Christos Stavrakakis

06/03/2013

07:10 pm Revision df5e2a28: gnt-cluster info: only parameters for enabled hypervisors
In the output of gnt-cluster info, restrict the hypervisor parameters
to those hypervisors that are enabled. This fix...
Klaus Aehlig
06:10 pm Revision 08fa3f09: Add shelltests for diskstats
Check that the behavior of running the diskstats data collector is as
expected.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
06:10 pm Revision aab0927c: Let the monitoring daemon provide the diskstats collector
Add the collector to the list of those provided my the monitoring daemon.
Signed-off-by: Michele Tartara <mtartara@g...
Michele Tartara
06:10 pm Revision 1a99d6a2: Add diskstats data collector
Add a new data collector responsible for gathering disk performance
statistics.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
06:09 pm Revision 3dca2415: Add constant with the path of the diskstats
This will be used by the diskstats storage collector.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-...
Michele Tartara
06:09 pm Revision 67ebc173: Add a CLI parameter for input files
For many data collectors it is useful (especially for testing) to have to
possibility to specify an input file.
This...
Michele Tartara
06:09 pm Revision 3ed5cd7e: Add unit tests for the Diskstats parser
Add one test parsing an actual /proc/diskstats file and one QuickCheck
test.
Signed-off-by: Michele Tartara <mtartar...
Michele Tartara
06:09 pm Revision f8f638fe: Add function for generating arbitrary non-negative numbers
In many tests it is useful to have the possibility to easily generate
non-negative integer numbers.
Signed-off-by: M...
Michele Tartara
06:08 pm Revision 105266b2: Factor out and rename testFile function
The testFile function used in the DRBD parser test file can actually be
useful in any case where a parser has to be t...
Michele Tartara
06:08 pm Revision a7e0c9b0: Fix erroneous docstring
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
06:08 pm Revision 0b22084e: Fix erroneously ordered files in Makefile.am
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
06:08 pm Revision c6bca2d1: Add /proc/diskstats parser
Add a parser for interpreting the content of the /proc/diskstats file,
providing information about the state of the d...
Michele Tartara
06:08 pm Revision 777a3109: Add design for diskstats data collector
This patch adds the design for the lowest level storage collector,
gathering data about disk usage statistics.
Signe...
Michele Tartara
06:08 pm Revision 05f88ad6: Modify storage collector design
Specify better how the storage collectors will actually be implemented.
Signed-off-by: Michele Tartara <mtartara@goo...
Michele Tartara
04:29 pm Revision 35ff270b: Support RAPI QA on an already existing cluster
We support running most of the QA tests on an existing cluster. One big
exception was RAPI, as the credentials for th...
Bernardo Dal Seno
04:15 pm Revision d7976f54: Unit tests for spindles and exclusive storage in htools
Everything should work the same when exclusive storage is active, as
spindles are not yet handled as a resource. A ne...
Bernardo Dal Seno
04:15 pm Revision 5a13489b: Check real spindles in ipolicies
When exclusive storage is enabled, the spindles in instance disks are used
to check the instance policies (as outline...
Bernardo Dal Seno
04:15 pm Revision 6ef49eef: Check the full instance specs in htools
Spindles and disk count are checked too. Existing functions have been
refactored, so common parts are not duplicated....
Bernardo Dal Seno
04:15 pm Revision 2724417c: Add spindles to instance disks in htools
A new data type is introduced for disks to store both size and spindles.
When available, spindles are filled with inp...
Bernardo Dal Seno
04:15 pm Revision 0e514de1: Export instance disk spindles
Instance disk spindles can be queried via LUXI and RAPI, and are exported
through the allocator interface. This is a ...
Bernardo Dal Seno
04:15 pm Revision c324da14: Load exclusive_storage in htools
The node parameter is loaded into the data structures. No behavior is yet
modified.
Signed-off-by: Bernardo Dal Seno...
Bernardo Dal Seno
04:15 pm Revision a4f35477: New function to load JSON arrays of optional values
This will be needed to load spindles in some htools backends. Unit tests
provided.
Signed-off-by: Bernardo Dal Seno ...
Bernardo Dal Seno
04:14 pm Revision c09359ee: Add unit test for text backend + fix bug
Test serialization and deserialization of instances. Fix check of secondary
node.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
11:25 am Revision dd0b06d0: Test with non-redundant instances and several node-groups
The example cluster contains two node groups. The first contains three nodes,
with two non-redundant instances each. ...
Klaus Aehlig
11:25 am Revision f2e50930: Restrict instance moves in hroller to the same node group
When scheduling rolling reboots, hroller looks for nodes to evacuate
the non-redundant instances to. This is done by ...
Klaus Aehlig

05/31/2013

04:36 pm Revision 342a9b3b: Merge branch 'stable-2.8' into master
* stable-2.8:
Document users-setup tool
Adjusting permissions after confd start
Ensure the queue socket has the...
Bernardo Dal Seno
04:34 pm Revision 33ee45c2: Move an item into the correct section of NEWS
The removal of '--no-lvm-storage' happened on the master/2.9 branch.
Signed-off-by: Bernardo Dal Seno <bdalseno@goog...
Bernardo Dal Seno
01:45 pm Revision e41d5a22: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7:
Document users-setup tool
Adjusting permissions after confd start
Ensure the queue socket has the...
Bernardo Dal Seno
05:05 am Revision 8feeb253: kvm: Use -uuid to set system UUID
Use kvm '-uuid' option to set guest's system UUID to instance's UUID.
Signed-off-by: Christos Stavrakakis <cstavr@gr...
Christos Stavrakakis
01:05 am Revision 60af7882: Document users-setup tool
The users-setup tool was added but had no documentation up to now. This commit
fixes this issue.
Signed-off-by: Mich...
Michele Tartara

05/29/2013

11:23 pm Revision 2590d723: Support spindles in move-instance
The script was failing when exclusive storage was active (bug introduced in
7c848a6a).
Signed-off-by: Bernardo Dal S...
Bernardo Dal Seno
01:32 pm Revision c93daaa9: Adjusting permissions after confd start
This is a workaround for issue 477. Confd resets the
permissions of the query socket in a wrong way. This
patch fixes...
Helga Velroyen
01:32 pm Revision 8526052d: Ensure the queue socket has the right permissions
RAPI needs to be able to perform queries as well.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: H...
Guido Trotter
11:07 am Revision e7e8b4db: Update IAllocator interface documentation
Update the missing documentation for the tags fields of node groups.
Signed-off-by: Thomas Thrainer <thomasth@google...
Thomas Thrainer
10:53 am Revision b69cc7ed: Add NEWS entry for hail honoring networks
The entry also mentions the required change in the IAllocator protocol.
Signed-off-by: Thomas Thrainer <thomasth@goo...
Thomas Thrainer
10:53 am Revision 017160ed: Add tests for network-aware allocation
hail-alloc-invalid-network defines a cluster with two nodegroups and an
allocation request which does not fit on any ...
Thomas Thrainer
10:52 am Revision b1142361: Honor network connections in hail
Before trying to allocate nodes in node groups, node groups are now
filtered based on the networks they are connected...
Thomas Thrainer
10:52 am Revision 908c2f67: Parse NIC data from allocation request in hail
Add a NIC type and extend the Instance type by a list of NIC's. Parse
the NIC's in allocation requests and store them...
Thomas Thrainer
10:52 am Revision a0be8f1a: Support group networks in Text backend
The Text backend now parses network UUID (comma separated) and
serializes them in the same form.
The test data is ada...
Thomas Thrainer
10:52 am Revision c8b199db: Parse node group networks
Extend the Group by the network ids it is connected to. Adapt
the IAlloc backend such that the networks are parsed co...
Thomas Thrainer
10:52 am Revision 2daca99b: Update IAllocator interface documentation
Document the newly added network field of node groups, and also update
the missing documentation for the other fields...
Thomas Thrainer
10:52 am Revision 98ae702b: Export connected networks to IAllocator
IAllocators should not put instances on nodes in nodegroups which are
not connected to the network the instance shoul...
Thomas Thrainer

05/28/2013

06:05 pm Revision 802ed2aa: Add generic daemon options support binding to interfaces
In some situations, it is desirable to bind one of our servers only to
a particular interface, like eth0, instead of ...
Klaus Aehlig
06:05 pm Revision 194775f5: Update ganeti-rapi man page
ganeti-rapi supports a couple of options not yet mentioned in the
man page; mention them.
Signed-off-by: Klaus Aehli...
Klaus Aehlig
06:05 pm Revision 12f5bacf: Complete ganeti-noded synopsis line
The synopsis section of the ganeti-noded man page, certain options
were only mentioned in the description. Add then t...
Klaus Aehlig
04:05 pm Revision d962dbf9: Re-activate previously active disks in watcher
The watcher process previously (incorrectly) examined the admin_state
field to figure out if the disks of an instance...
Thomas Thrainer
04:05 pm Revision ca83454f: Make the disks_active flag queryable
gnt-instance list now also supports the disks_active field.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Rev...
Thomas Thrainer
04:05 pm Revision a8e07057: Consider disks_active in UpgradeConfig
The disks_active flag is updated when masterd reads the configuration.
Also, cfgupgrade now removes the disks_active ...
Thomas Thrainer
04:05 pm Revision 1d4a4b26: Add disks_active to configuration
This flag tracks if the disks of an instace are supposed to be active.
That's the case when an instance is running or...
Thomas Thrainer
12:46 pm Revision c69b147d: Report missing spindles in the configuration
cfgupgrade and cluster-verify run a check for missing spindles in disk
configuration when exclusive storage is enable...
Bernardo Dal Seno
12:46 pm Revision 577edf04: Adapt striping to the requested number of spindles
Otherwise LVM may use a smaller number of PVs (spindles) to accommodate for
the default stripes.
Signed-off-by: Bern...
Bernardo Dal Seno
12:46 pm Revision 7c848a6a: Spindles are mandatory with exclusive storage
If they are not specified in the command line an error is reported. Also,
disk creation would fail without them.
QA ...
Bernardo Dal Seno
12:45 pm Revision 40d93e3b: gnt-cluster repair-disk-sizes repairs spindles too
When exclusive storage is active, any wrong or missing spindles information
in disks gets updated too.
Signed-off-by...
Bernardo Dal Seno
12:45 pm Revision 6ef8077e: New RPC to get size and spindles of disks
This RPC replaces the existing one that only returned disk size.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.c...
Bernardo Dal Seno
12:45 pm Revision baa7f1d6: New BlockDev methods to get spindles
Two new methods are created to get the number of spindles, one alone, and
one together with size. For devices that do...
Bernardo Dal Seno
12:45 pm Revision b5d48e87: Attaching a logical volume builds a list of PVs
When an LV gets attached, the list of the PVs used by the LV is built. This
will be used to count spindles for exclus...
Bernardo Dal Seno
12:45 pm Revision 688b5752: Refactor code for attaching a logical volume
The parsing of "lvs" output is moved into private methods. The code is
slightly more readable and testable. The split...
Bernardo Dal Seno
« Previous
Next »
 

Also available in: Atom