Activity

From 06/12/2013 to 07/11/2013

07/11/2013

06:08 pm Revision 91525dee: Set the correct group for confd
Starting confd as a member of the daemons group allows the RAPI daemon to access
the LUXI socket.
Fixes Issue 477.
...
Michele Tartara
02:42 pm Revision c393abbf: Log RPC errors from inside executeRpcCall
executeRpcCall is the function to be used for executing RPCs, so it makes sense
to use it as the single point for log...
Michele Tartara
02:41 pm Revision a246ce76: Factor out the logRpcErrors function
This function can be useful to multiple RPC calls, therefore it is moved
to the file containing the common RPC functi...
Michele Tartara

07/10/2013

05:21 pm Revision 3312709d: Expose bulk parameter for GetJobs in RAPI client
This patch exposes the bulk argument of the jobs resource on
the RAPI python wrapper, making it possible to retrieve ...
Leon Handreke
05:14 pm Revision c4101ab5: Add git send-email to the chroot
"git send-email" is used as part of the official workflow but it was not
installed in the chroot.
This patch adds it...
Michele Tartara
04:44 pm Revision 335c14dc: Add tests for CanRead
Verify that the CanRead function is actually able to check whether a file has
the proper permissions.
Signed-off-by:...
Michele Tartara
03:45 pm Revision 95c83fe6: Fix RAPI to include missing network fields
Fix RAPI interface to include missing network fields. Specifically, fix
instance queries to include the network name ...
Christos Stavrakakis
03:45 pm Revision 22ff02a7: Add support for querying network timestamps
Add creation and modified timestamps when creating a new network, and
extend the available query fields for networks ...
Christos Stavrakakis
03:36 pm Revision b01b7a50: Factor out check for storage params
This patch factors out the sanity checks for storage
parameters in its own function. Unit tests included.
Signed-off...
Helga Velroyen
03:36 pm Revision 3ae259d3: Tighten sanity checks for '_GetLvmVgSpaceInfo'
This patch tightens the sanity checks for the input of
'_GetLvmVgSpaceInfo' and provides unit tests for it.
Signed-o...
Helga Velroyen
03:36 pm Revision 3c8a599a: More sanity checks for spindle space reporting
This patch adds a wrapper around the space reporting
for spindles which includes more sanity checks for
the input. Un...
Helga Velroyen
03:36 pm Revision a18ab868: Unit tests for _GetVgSpindlesInfo
This patch provides unit tests for _GetVgSpindlesInfo.
In order to mock the used function for the 'bdev' module
I mad...
Helga Velroyen
03:36 pm Revision d90f0cb4: Unittesting for instance_storage._CheckNodesFreeDiskOnVG
This patch refactors the '_CheckNodesFreeDiskOnVG' of
cmdlib.instance_storage to make it at least a little
more testi...
Helga Velroyen
03:36 pm Revision 3f73b3ae: Unit tests for _GetVgInfo
This patch provides unit tests for the backend's
_GetVgInfo function. In order to mock the underlying
backend functio...
Helga Velroyen
03:36 pm Revision 86e16e3f: Fix module functions overridden by mocks
This patch fixes remaining occurrences of module functions
that were overridden by mock functions. They need to be
se...
Helga Velroyen
02:37 pm Revision 99b67c35: Add design for mond's CPU load collector
This commit extends monitoring agent's design document, with the
design of a new data collector that will provide CPU...
Spyros Trigazis
02:04 pm Revision 5f7d4181: Fix single-execution of Haskell tests and shelltests
Add Makefile.am target hs-test-% for single-execution of Haskell
tests.
Add Makefile.am target hs-shell-% for single...
Jose A. Lopes
12:41 pm Revision f9649b3d: Only generate node lists with nodes having different names
genNodeList is used in testing to generate list of nodes
that could come up in cluster configurations. Since names
ar...
Klaus Aehlig
12:12 pm Revision 4c18846f: Add missing newline to the NEWS file
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
11:31 am Revision 69d1fde2: ConfD-related NEWS file update
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
11:31 am Revision a9a30ecd: Add monitoring daemon updates to the NEWS file
The "inst-status-xen", "diskstats" and "lv" data collectors have been added.
The daemon is now running as root.
Sig...
Michele Tartara

07/09/2013

07:41 pm Revision fc84ef94: Add function for checking file access permissions
The CanRead function checks whether a user of the local machine (specified
by name) can access a given file.
IsUserI...
Michele Tartara
07:41 pm Revision 69ac3b74: Cluster verify checks server.pem permissions
Currently, ConfD must be able to access server.pem (though this is likely to
change in the future). If this is not tr...
Michele Tartara
06:15 pm Revision 20029b6e: More details on vlan support in openvswitch
This design doc give a more detailed design about the implementation
of openvswitch in regareds of VLANs.
Signed-off...
Sebastian Gebhard
05:22 pm Revision b23226d5: Prevent silent failure in case of connection problems
While running "gnt-node list", if a query to ConfD fails (especially
because of permission problems) it used to just ...
Michele Tartara
04:05 pm Revision 3fe41221: Fix type error in the call of _NetworkConflictCheck
The function _NetworkConflictCheck expects a list of instances as
last argument, not a list of pairs of instance name...
Klaus Aehlig
12:22 pm Revision 927840bc: In the crontab example, look for the correct binary
When ganeti-master-cleaner was merged back into ganeti-cleaner in 46118ed2,
the binary to test for should have also b...
Klaus Aehlig

07/08/2013

12:45 pm Revision 2bc994ce: Fix apt-get invocation in chroot_builder
Use the macro containing all the required parameters, instead of just using
"apt-get install".
Signed-off-by: Michel...
Michele Tartara
12:37 pm Revision c7ec6a25: Fix wrong numbering in UPGRADE documentation
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara

07/05/2013

03:12 pm Revision 76825515: Merge branch 'stable-2.8' into master
* stable-2.8:
Also remove prop_IterateAlloc_sane from test list
Fix documentation for prop_Alloc_sane
Remove It...
Klaus Aehlig
01:03 pm Revision 5ab57a1e: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7:
Release version 2.7.0
Fix "instance replace" typo in admin.rst
Fix typo in the install guide
Di...
Klaus Aehlig

07/04/2013

08:04 pm Revision 5b6ef0e7: Add documentation for the LV collector
Documentation added in the mon-collector man page.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by:...
Michele Tartara
08:04 pm Revision 820ca72d: Include "instance" information in LV data collector
This commit enables the logical volume data collector to get information about
the instances and to link it to the in...
Michele Tartara
08:04 pm Revision 76968973: Add "includeLogicalId" function for Disks
This function checks whether a disk contains a given Lvm logical ID,
directly or through its children.
Unit tests ar...
Michele Tartara
08:03 pm Revision 53753d20: Add option for loading serialized instances
Monitoring CLI tools might have to load serialized lists of instances
(mainly for testing reasons). This patch adds a...
Michele Tartara
08:03 pm Revision f22b987a: Factor out lv info gathering function
The buildJsonReport function will soon have to perform the coupling of
instance data with LVInfo data. In preparation...
Michele Tartara
08:03 pm Revision 58458012: Add "instance" field to LVInfo
Extend the LVInfo data structure with the field for storing the name of
the instance it is paired with.
Update the t...
Michele Tartara
08:02 pm Revision fbfa1d19: Better specify LVInfo "instance" field
Specify that it is serialized as "null" if empty.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: ...
Michele Tartara
08:02 pm Revision 9611c32e: Factor out the getInstances function
The getInstances function can be useful in general, but is defined inside
the InstStatus data collector. This commit ...
Michele Tartara
08:01 pm Revision 51b12695: Also remove prop_IterateAlloc_sane from test list
In f4d1bb7 that test was removed, but forgotten to remove it
from the list of tests to be executed. Fix that.
Signed...
Klaus Aehlig
06:47 pm Revision b2525349: Disable failing QA test
See issue 516 for an explanation of the problem, and why it was required
to disable this test.
Signed-off-by: Thomas...
Thomas Thrainer
06:46 pm Revision 09d8b0fc: Fix documentation for prop_Alloc_sane
As discussed in the last commit, placing a new instance on the cluster
can lead to a cluster that can be improved by ...
Klaus Aehlig
06:46 pm Revision f4d1bb75: Remove IterateAllocSane test
The test is testing for a property that just isn't true. Iterated
allocation greedily place one instance at a time ta...
Klaus Aehlig
03:01 pm Revision 788529f2: Release version 2.7.0
We don't have notice of anything blocking for 2.7, and it's been in
release candidate state long enough. Any future p...
Guido Trotter

07/03/2013

07:57 pm Revision 109a21b1: Fix typo in iallocator
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Helga Velroyen
07:57 pm Revision 52a8a6ae: Fix propagation of storage parameters to/from backend
This patch fixes two problems with the storage reporting
that showed up in the QA for exclusive storage:
- The proce...
Helga Velroyen
07:57 pm Revision 2b5b6da1: Disable enabled-template-test for exclusive storage
This patch disables the tests regarding enabled disk
templates for exclusive storage, because the semantics
there are...
Helga Velroyen
07:35 pm Revision 49bea583: Fix gnt-network info
QueryNetworks() returns the uuids of the instances that are
inside a network. Since QueryInstances() uses names and n...
Dimitris Aragiorgis
02:05 pm Revision e78a8c0b: Extraction of storage info by type
There was a bug in the node queries. It was assumed that
the returned storage space information was in a particular
o...
Helga Velroyen
12:41 pm Revision 20faaa74: Improve handling of storage info
This patch improves the processing of storage information
as result of the 'node_info' call in the following way:
- I...
Helga Velroyen
12:40 pm Revision e4f377ae: Mention default disk template in NEWS file
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Helga Velroyen
12:40 pm Revision 2206e4c9: Add default disk template selection to man pages
This documents the newly implemented behavior of picking
the disk template from the list of enabled disk templates
on...
Helga Velroyen
12:40 pm Revision 513c5e25: Mention alternative template selection in design doc
This is a small adjustment of the design doc
'design-storagetypes.rst' with respect to the selection
of the default d...
Helga Velroyen
12:40 pm Revision 72080db1: Let instance creation fall back to default disk template
So far, the '-t' option of 'gnt-instance add' is mandatory.
This patch makes it optional. In case, no disk template i...
Helga Velroyen
12:40 pm Revision dab6ea3d: LUInstanceCreate: factor out disk checks
The 'CheckArguments' method of 'LUInstanceCreate' is way
too long and should be broken up in smaller pieces. This
pat...
Helga Velroyen
10:20 am Revision fe0d94d8: Fix "instance replace" typo in admin.rst
gnt-instance `replace` should read `replace-disks`
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ...
Guido Trotter
10:16 am Revision 56bbc5b0: Clean up work around for host name filtering
These functions simply served as a work around to express
host name matching by regular expressions, instead of using...
Klaus Aehlig
10:16 am Revision c4e0d065: Do not handle host queries special
As, since 91c1a265, the equality used for host names already
is based on matching, there is no need to use a special ...
Klaus Aehlig
09:52 am Revision 76e11023: Document the 'protocol' disk parameter
Document the new disk parameter 'protocol' which is used to set the DRBD
replication protocol.
Signed-off-by: Thomas...
Thomas Thrainer
09:52 am Revision 65fc2388: Make DRBD replication protocol configurable
Add a new disk parameter which allows to choose the DRBD replication
protocol. The protocol is fixed to "C" during du...
Thomas Thrainer

07/02/2013

05:54 pm Revision d352b796: Revert "QA: Make Query tests test for '?' values"
This reverts commit
bfbef99b9f056638411aa894e300aa095132e931. The problem is that
in some cases it makes sense for '?...
Helga Velroyen
04:54 pm Revision 843094ad: Make names more descriptive
LUGroupVerifyDisks had some not very descriptive names which made it
hard to read and understand the code. This patch...
Thomas Thrainer
04:54 pm Revision 7af293d7: Add QA test for verify-disks with broken DRBD
gnt-cluster verify-disks supports automatic activation of broken DRBD
disks. This new QA test verifies that it actual...
Thomas Thrainer
04:54 pm Revision 235a6b29: Check DRBD status on verify-disks
Enhance `gnt-cluster verify-disks` such that it checks the DRBD status
of all disks. If the status of at least one di...
Thomas Thrainer
02:43 pm Revision e58c4f2c: Fix typo in the install guide
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
01:54 pm Revision bfbef99b: QA: Make Query tests test for '?' values
When something goes wrong in the Haskell implementation of
queries, the 'gnt-* list' command does not actually fail,
...
Helga Velroyen
01:53 pm Revision 212b66c3: Turn 'exclusive_storage' into storage parameter (hs)
This is the haskell implementation of my patch "Extend RPC call
'node_info' by storage parameters". It turns the 'exc...
Helga Velroyen
12:47 pm Revision a59c31ca: noded.py: remove fallback of 'node_info'
In order to change backend and frontend code of the RPC
call 'node_info' in separate patches, we included a
fallback ...
Helga Velroyen
12:47 pm Revision da803ff1: Extend RPC call 'node_info' by storage parameters
This patch extends the actual RPC call to accept storage
parameters with each storage units. It adjusts all code
whic...
Helga Velroyen
12:47 pm Revision 152759e4: Add general storage parameters to node info call
As described in the design doc about storage types,
we plan to generalize the RPC call "node info" wrt to
storage typ...
Helga Velroyen
12:47 pm Revision a7d524e7: backend unit tests: remove unused imports and variables
This patch removes some unused imports and an unused
variable of the backend unit test. No functional changes
otherwi...
Helga Velroyen

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

Also available in: Atom