Activity

From 06/02/2013 to 07/01/2013

07/01/2013

07:40 pm Revision 0f4d34a8: Fix error in installation instructions
Remove erroneous trailing "\"
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultro...
Michele Tartara
04:42 pm Revision f5d84060: Prevent LV parser compile error
The LV parser is not compiled correctly by more recent versions of GHC
because of more strict checks.
lvCommand is a...
Michele Tartara
02:40 pm Revision f43c898d: Export CPUs used by the node OS
They are exported through the LUXI, RAPI, and IAllocator interfaces.
Signed-off-by: Bernardo Dal Seno <bdalseno@goog...
Bernardo Dal Seno
02:40 pm Revision d90b69f6: Add htools shell test for VCPU handling
This tests that VCPUs used by both instances and node OS are correctly
accounted in allocation.
Signed-off-by: Berna...
Bernardo Dal Seno
02:40 pm Revision c8c071cb: Load CPUs used by the node OS in htools
A new field is added to the Node type, and it's used to initialize the used
CPUs field.
The signature of Node.create...
Bernardo Dal Seno
02:40 pm Revision ef14e128: Fix docstrings for hypervisor functions returning node info
The documentation was out-of-sync with the code.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by:...
Bernardo Dal Seno
02:40 pm Revision ff05ff94: Hypervisors report CPUs used by the node OS
The XenHypervisor's "dom0_cpus" parameter (introduced in 1d60fec6 but never
used) is renamed to "cpu_dom0" for consis...
Bernardo Dal Seno
02:36 pm Revision 006d6bc9: Add LV collector to the monitoring daemon
Allow the monitoring daemon to use the LV data collector.
Signed-off-by: Michele Tartara <mtartara@google.com>
Revie...
Michele Tartara
02:35 pm Revision c7f116c0: Add tests for the LV data collector
This commit adds a few shelltests for the logical volume data collector.
Also, it performs some cleanup of the comme...
Michele Tartara
02:35 pm Revision 1a9d864c: Add LV data collector
This commit adds the LV data collector.
Also, the lvCommand function was not providing the correct value as expected...
Michele Tartara
02:34 pm Revision 0cf8edad: Add tests for LVs parser
Add unit tests and Quickcheck tests for the LV parser.
Also, fix the alphabetic order of some imports in htest.hs.
...
Michele Tartara
02:34 pm Revision b5334d80: Add function testing parsers with QuickCheck
Parsing a string automatically generated by QuickCheck can be useful in many
cases. A function for doing this is adde...
Michele Tartara
02:34 pm Revision 688f35e6: Add function for generating arbitrary UUID
Add a function for generating arbitrary UUIDs to be used for QuickCheck tests.
Signed-off-by: Michele Tartara <mtart...
Michele Tartara
02:33 pm Revision bdf51a05: Add LV parser
Add the parser for getting the information about the logical volumes in the
system.
Signed-off-by: Michele Tartara <...
Michele Tartara
02:33 pm Revision a1f2fb58: Add design for LV data collector
Add a section describing the logical volume data collector to the design
document for the monitoring agent.
Signed-o...
Michele Tartara
02:32 pm Revision fae96b7c: Minor fixes to monitoring design doc
Add a missing full stop, and fix a sentence about the storage collectors.
Signed-off-by: Michele Tartara <mtartara@g...
Michele Tartara
02:32 pm Revision 88e23508: Fix documentation formatting issue
One line was longer than 80 characters.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velr...
Michele Tartara
10:53 am Revision ed74dde5: Add test for the --full-evacuation option
In this example cluster, there are four pairs of nodes, each hosting
two instances. Each node has disk capacity for a...
Klaus Aehlig
10:53 am Revision a12b230c: hroller: option --full-evacuation
Add an option to hroller, to plan for full evacuation of the
nodes to be rebooted, i.e., also plan for replacement se...
Klaus Aehlig
10:53 am Revision fdbdeaa3: Extract a partition functional
Separate the partitionNonRedundant function in hroller into a
general functional that partitions a list of nodes acco...
Klaus Aehlig
10:53 am Revision a947a583: Extract functional for greedily clearing nodes
The method clearNodes in hroller greedily clears nodes of
non-redundant instances by moving them to a different node....
Klaus Aehlig
10:52 am Revision 634a1460: Make hroller not consider offline nodes for evacuation
When planing on where to evacuate the non-redundant instances
of the nodes to be rebooted, it doesn't make sense to c...
Klaus Aehlig
10:52 am Revision a8cbe1d7: Update comments in hroller code
hroller schedules moves of instances to have rebooted nodes
free of instances with this node as primary. Update the c...
Klaus Aehlig
10:52 am Revision 8e4230a8: Clarify meaning of --print-moves in hroller man page
When given the option --print-moves, hroller prints a list of
instance relocations after each reboot group. This sequ...
Klaus Aehlig
10:52 am Revision 34ad1d7c: Remove obsolete TODO
Originally, hroller started as a tool for offline maintenance only.
There it made sense to warn about instances still...
Klaus Aehlig

06/28/2013

06:34 pm Revision 6676f007: Allow customization of the chroot
As different users have different needs about the chroot, allow
customization in its build script. This is achieved a...
Klaus Aehlig
06:34 pm Revision f5263f86: build_chroot: fix duplicate install
In the last change to the chroot build script, the
apt-get command 'install' was moved to the APT_INSTALL
macro; howe...
Klaus Aehlig
04:00 pm Revision 43ffd839: build_chroot: use APT_INSTALL macro for packet installation
In this way, it is easier to change all the apt calls in the chroot.
In particular, this patch fixes the missing -y o...
Klaus Aehlig
03:38 pm Revision c31ec06b: Don't exceed the standard PV size when growing a disk
With exclusive storage, PVs are supposed to be used only up to the
standard PV size.
Signed-off-by: Bernardo Dal Sen...
Bernardo Dal Seno
03:38 pm Revision 8e5a911a: Enable disk growth with exclusive storage
Disk growth is now supported also with exclusive storage, so we let the
operation continue.
Enable disk growth test ...
Bernardo Dal Seno
03:38 pm Revision be9150ea: Limit the PVs used for disk growth with exclusive storage
The exclusive storage flag is passed along in the backend functions for
disk growth. LVM volumes handles the flag by ...
Bernardo Dal Seno
03:37 pm Revision e43a624e: Add exclusive_storage to blockdev_grow RPC
The flag is passed to the RPC, but it's still ignored by noded.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.co...
Bernardo Dal Seno
02:23 pm Revision 3771161c: Design doc for openvswitch support
This patch includes the design document for openvswitch support
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>...
Sebastian Gebhard
01:20 pm Revision 397b7844: Make NIC setup more flexible in case of Xen
For every NIC write down a file that contains NIC's
info (MAC, mode, link, network details), that can
be sourced by a...
Dimitris Aragiorgis
01:20 pm Revision 4855760b: Refactor NIC configuration scripts
Add new script vif-ganeti that could be used instead of
default vif-bridge in order NIC customization can be more
fle...
Dimitris Aragiorgis
01:20 pm Revision a4669456: Document vif-ganeti usage
In order to be able to use it as vif-script one has to
create a symbolic link inside /etc/xen/scripts pointing
to /us...
Dimitris Aragiorgis
12:46 pm Revision 0102e732: Update design document for hroller
The requirement to be able to plan full node evacuation came up after
the initial design. So add a section describing...
Klaus Aehlig
11:59 am Revision 6f666c50: Fix typo in ganeti-2.8 design doc
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
11:59 am Revision ee414f1c: Add documentation for harep
Include a section in the Administrator's guide describing how to use the
autorepair tool.
Fixes Issue 446
Signed-of...
Michele Tartara

06/27/2013

12:32 pm Revision 9353adde: iallocator: storage processing accepts space_info structure
This is a small refactoring to make the processing of
the storage space information not accept a node info
result, bu...
Helga Velroyen
12:08 pm Revision b82d7182: iallocator: get rid of MakeLegacyNodeInfo
So far, the iallocator makes a node info call, converts
the result into a legacy node info structure and then
retriev...
Helga Velroyen
12:08 pm Revision 0ac34c90: iallocator: factor out instance memory summation
The iallocator adjusts the free memory by a calculation
of how much memory is actually currently used by instances
on...
Helga Velroyen
12:08 pm Revision 11aa3ca5: iallocator: extract storage info directly from node info
So far, the iallocator made a node info RPC call, converted
the result into a legacy node info format and then extrac...
Helga Velroyen
12:05 pm Revision 3dda8127: 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
12:05 pm Revision 00839a42: 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
12:05 pm Revision 20529708: iallocator: computation of storage data
This patch extracts the processing of the storage-related
data from the RPC call 'node_info' in a separate function
t...
Helga Velroyen
12:05 pm Revision b844311b: rpc.py: override default storage type in node info
This patch changes the semantics of dealing with the result
of the RPC call "node_info" when converting them into a
L...
Helga Velroyen
12:05 pm Revision 0f70b3fb: iallocator: factor out 'get_attr' method
This patch extracts an inline 'get_attr' method to extract
data from the result of the RPC call 'node_info'. It was s...
Helga Velroyen
12:05 pm Revision c9c4b92d: iallocator: prepare RPC call 'node_info'
This patch does a small refactoring in the allocator. It extracts
the preparation and actual call of the 'node_info' ...
Helga Velroyen
12:05 pm Revision d71b0275: Typo in iallocator design doc
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Helga Velroyen

06/26/2013

05:01 pm Revision ec4341d7: Fix lint error
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Thomas Thrainer
03:34 pm Revision d101b7be: Unset LV name if no LVM disk templates are enabled
If there are no LVM based disk templates enabled in QA, reset the LV
name after the corresponding gnt-cluster modify ...
Thomas Thrainer
03:34 pm Revision 0c2cfb97: Skip drbd-usermode-helper test if DRBD is disabled
Changing the drbd usermode helper in gnt-cluster modify fails if DRBD is
not installed on the nodes. Thus skip this t...
Thomas Thrainer
03:34 pm Revision 7e7af9ee: Add route to VCluster network in vcluster-setup
This route is required on the Fedora test machine, as otherwise fping
would not work and hang forever.
Signed-off-by...
Thomas Thrainer
03:34 pm Revision f90a2d0c: Replace tempfile by mktemp in QA code
The tempfile command only exists in Debian. In order to run the VCluster
QA also on Fedora, replace its use by mktemp...
Thomas Thrainer
02:42 pm Revision 418a9d72: Support big-step shrinking in tiered allocation
In tiered allocation, if by shrinking only a single resource a valid
allocation can be found, shrinking is bound to s...
Klaus Aehlig
01:58 pm Revision a3e964cf: Disable pylint E1101 on hypothetical import
In some versions of python the module IN does not provide
the constant SO_PEERCRED (issue 191). So in commit 069a4b
a...
Klaus Aehlig
12:18 pm Revision dad226e3: Merge branch 'stable-2.8' into master
* stable-2.8:
gnt-cluster info (py): add enabled disk templates
Version bump to 2.8.0~beta1
Change version numb...
Thomas Thrainer

06/25/2013

10:55 am Revision e4b5f955: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7:
Provide the right fix for the kvm_extra parameter
NEWS and version updates for 2.7.0~rc3
kvm: don...
Guido Trotter
10:03 am Revision a967416c: Provide the right fix for the kvm_extra parameter
With the previous adjustment the arguments were boxed into one extra
array. This actually makes the parameter work (w...
Guido Trotter

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
« Previous
Next »
 

Also available in: Atom