Activity

From 06/25/2013 to 07/24/2013

07/24/2013

08:02 pm Revision e408eb8a: Add a high-level design for the proposed Opcode filtering
This is a design document detailing the semantics of the
fine-grained control of jobs in Ganeti.
Signed-off-by: Klau...
Klaus Aehlig
06:39 pm Revision fbab083b: Hotplug: objects and constants additions
Add pci slot in NIC/Disk objects. This slot will be used only
by hypervisor code. Currently only KVM will use it and ...
Dimitris Aragiorgis
01:34 pm Revision 3798b89a: Add hotplug design doc
This is a design document detailing the implementation of device
hotplugging in Ganeti.
Signed-off-by: Dimitris Arag...
Dimitris Aragiorgis
12:55 pm Revision d676dbea: Extend gnt-instance show to show vlan parameter
Extensions for "gnt-instance show" to output the vlan parameter which
was introduced by my recent patch series.
This ...
Sebastian Gebhard
10:48 am Revision 9a8e4b73: daemon-util: pass --oknodo at rotate_logs
daemon-util's rotate_logs() did not pass --oknodo to start-stop-daemon while
HUPing the daemon processes. As a result...
Apollon Oikonomopoulos

07/23/2013

06:22 pm Revision 9d0d4f21: Fix another missing renaming
This fixes a (due to a merge) slipped occurence of
VALID_STORAGE_TYPES which was renamed to STORAGE_TYPES.
Signed-of...
Helga Velroyen
05:44 pm Revision e48c3613: Add logrotate example
Add an example logrotate snippet, along with the relevant documentation.
Signed-off-by: Apollon Oikonomopoulos <apoi...
Apollon Oikonomopoulos
05:43 pm Revision f99cbfbd: daemon-util: provide rotate_logs and rotate_all_logs actions
Modify daemon-util to allow sending SIGHUP to one or all daemons. This is meant
as a utility function to be used in l...
Apollon Oikonomopoulos
05:41 pm Revision e1a6abf9: Fix usage of mapping from disk templates to storage types
This fixes the currently broken tests due to a slipped
occurrence of the mapping from disk templates to storage
types...
Helga Velroyen
05:15 pm Revision d8e55568: Rename VALID_STORAGE_TYPES to STORAGE_TYPES
For consistency, this patch renames 'VALID_STORAGE_TYPES'
to 'STORAGE_TYPES', because the set of valid disk
templates...
Helga Velroyen
05:15 pm Revision 0b6c56bb: Unit tests for constants consistency
This patch adds some unit tests to ensure the consistency
of various constants regarding disk templates.
Signed-off-...
Helga Velroyen
05:15 pm Revision 615551b2: Rename disk_template/storage_type map + cleanup
This patch renames the mapping of disk templates to storage
types to MAP_DISK_TEMPLATE_STORAGE_TYPE, which is a more
...
Helga Velroyen
05:13 pm Revision f79be8ec: Move space reporting constant to constants.py
This patch moves the constant which is used to determine
whether a storage type provides storage space reporting
from...
Helga Velroyen
05:01 pm Revision 8660ba15: Update hroller manpage
Offline nodes are properly ignored and support for online rolling
reboots is added, so this should no longer be menti...
Klaus Aehlig
03:30 pm Revision 7165b450: Update NEWS file wrt to file storage dir
This updates the NEWS file in a way that it mentions now
that 'gnt-cluster init' got the new option
'--file-storage-d...
Helga Velroyen
03:30 pm Revision 8bc78021: Update man page of gnt-cluster regarding file-storage-dir
This extends the description of 'gnt-cluster init' and
'gnt-cluster modify' with respect to the file storage
director...
Helga Velroyen
03:29 pm Revision 3039e2dc: gnt-cluster {init, modify} --file-storage-dir
This patch implements consistent usage and behavior of
the --file-storage-dir option in 'gnt-cluster init'
and 'gnt-c...
Helga Velroyen
09:31 am Revision 738436bf: Always return tuples in Expand*Name
ExpandNodeName and ExpandInstanceName now always return a tuple. If the
node/instance was not found, (None, None) is ...
Thomas Thrainer

07/22/2013

06:42 pm Revision 1cc324f0: Warn instead of crashing on preexisting wrong data type
Using None in a VTYPE_MAYBE_STRING is wrong, because it cannot really
be serialized to a Haskel Nothing, but given th...
Michele Tartara
02:35 pm Revision b17dd379: Fix bug in NIC default configuration
The NIC configuration used the python "None" instead of a proper Nothing.
Signed-off-by: Michele Tartara <mtartara@g...
Michele Tartara
02:35 pm Revision 7eed4433: Support proper encoding of Nothing in constants file
The Nothing value of a Haskell Maybe needs to be properly encoded.
If a Python "None" is used, it is not going to be ...
Michele Tartara
02:33 pm Revision 1ca6e10e: Remove extra whitespace
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
02:33 pm Revision 5ce6fa9a: Fix KeyErrors with network mode and vlan
This patch fixes some KeyErrors that were introduced by the vlan implementation
and showed up when certain parameters...
Sebastian Gebhard
01:54 pm Revision f9b76ed4: Prepare QA for shared file storage
This prepares the QA for running tests regarding
shared file storage.
Signed-off-by: Helga Velroyen <helgav@google.c...
Helga Velroyen
01:47 pm Revision d08a8359: Fix permission errors for split users
Correctly set ownership and permissions for daemon log files, correct
the name of the luxid logfile and set the owner...
Thomas Thrainer
09:48 am Revision 27eb699d: Design document for cmdlib unit tests
This design document describes the plan to create a test framework and
actual unit tests for the cmdlib module.
Sign...
Thomas Thrainer

07/19/2013

07:45 pm Revision 201ef8b4: Update the lists of users and groups for LuxiD
After adding LuxiD, the list of daemons has to be updated in the tests as
well.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
07:45 pm Revision bcab7a50: Cluster upgrade for 2.10 must be run against 2.9
Add a 2.9 configuration file and modify the test to use it.
Signed-off-by: Michele Tartara <mtartara@google.com>
Rev...
Michele Tartara
07:45 pm Revision ce7b7617: Upgrade minimal cluster configuration
The minimal cluster config has changed, but the sample in the tests had not
been updated yet.
Signed-off-by: Michele...
Michele Tartara
04:13 pm Revision 22283069: Merge branch 'stable-2.9' into master
* stable-2.9
Fix parsing of drbdsetup show output for DRBD 8.4
Revert "Disable failing QA test"
Add unit test f...
Michele Tartara
03:18 pm Revision 9b5a7ce9: Make RAPI export device names and UUIDs
Add UUIDs and names of instance's disks and NICs to the list of instance
fields that are returned from RAPI.
Signed-...
Christos Stavrakakis
11:22 am Revision ffde7fb6: Update Gluster Ganeti Support doc
Update the document as agreed on the mailing list: the project
should be realized in two parts: one is for supporting...
Weiwei Jia

07/18/2013

06:32 pm Revision 858ecf2b: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix permission problem related to Issue 477
Add hs function to easily change file ownership
Conflic...
Klaus Aehlig
05:24 pm Revision 1f005f16: Let ReqNodeInstances work with node UUIDs
The "primaryNode" and "secondaryNode" fields of "Instance" entities in the
cluster configuration where changed to use...
Michele Tartara
05:24 pm Revision 1a4f3b38: Add documentation line to getNodeInstances
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
05:24 pm Revision e2625797: Add debug logging to Confd
Knowing the replies actually sent helps tracking down problems much more
efficiently.
Signed-off-by: Michele Tartara...
Michele Tartara
01:52 pm Revision 90017904: Set default OVS in cluster init
This commit adds functionality to gnt_cluster to set the default
master-netdev for openvswitch, when openvswitch mode...
Sebastian Gebhard
01:52 pm Revision d8819d84: Adopt cfgupgrade to support vlan parameter
This patch updates cfgupgrade to support vlans.
Downgrade will remove the vlan information and give a warning.
Signe...
Sebastian Gebhard
01:52 pm Revision 7e4ac0c2: Add VLAN functionality to gnt-instance man page
This patch adds the description of OpenvSwitch VLAN functionality
to the man page of gnt-instance.
Signed-off-by: Se...
Sebastian Gebhard
01:52 pm Revision 9f7d5fe4: Support VLAN parameter during instance creation
If VLAN parameter is present, check its format:
either .<id>[:id], :id[:id...], or just id.
Signed-off-by: Sebastian...
Sebastian Gebhard
01:52 pm Revision f1f11cef: Add VLAN-capabilities for Xen Hypervisor
This implementation depends on vif-openvswitch provided by Xen 4.3
and provides Xen with switch name and vlan as "lin...
Sebastian Gebhard
01:52 pm Revision 7ad422ec: Extending nicparams to support vlan parameter
This parameter is used to store the vlans each nic is connected to.
It is only used if the network is in openvswitch ...
Sebastian Gebhard
01:52 pm Revision 347db542: Improvement of design-openvswitch.rst
Some improvements / fixes that came up during implementation.
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
S...
Sebastian Gebhard
11:35 am Revision e455a3e8: Fix permission problem related to Issue 477
Commit 91525dee856951ace940c78b6254a1c7344b4803 fixed Issue 477 but broke
"gnt-cluster info".
This commit offers a s...
Michele Tartara
11:34 am Revision a39cd547: Add hs function to easily change file ownership
The Haskell library functions only allow to change file ownership using
uid/gid. A function for doing that with expli...
Michele Tartara

07/17/2013

07:55 pm Revision 489c9037: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Rename queryd to luxid
Document the rapi client not to have a QueryNetworks method
Enable unit tes...
Klaus Aehlig
06:04 pm Revision 3695a4e0: Rename queryd to luxid
As queryd will, in the future, handle all LUXI request, queue jobs and
most likely perform various other tasks, it is...
Thomas Thrainer
05:34 pm Revision 2650ea6b: Fix deprecation warning about exception
This fixes a deprecation warning regarding the retrieval
of the error message from an exception.
Signed-off-by: Helg...
Helga Velroyen
05:34 pm Revision f3ebe73e: Move bdev unit tests to filestorage unit tests
Some code was moved from bdev to file storage in
previous patches, but the related unit tests were
accidentally left ...
Helga Velroyen
05:34 pm Revision 6d11529e: Fix iallocator unit tests
This fixes the unit test for the iallocator. The fix
is necessary, because a renamed functions was not properly
renam...
Helga Velroyen
05:34 pm Revision bfbffd55: GenerateDiskTemplate: Proper check for valid disk templates
This patch makes an FileStorageError to be risen with a
proper error message instead of just an assertion in case
the...
Helga Velroyen
05:14 pm Revision 238cfd3a: Document the rapi client not to have a QueryNetworks method
While there is a luxi query QueryNetworks, the rapi client does not
provide such a method. Document this by declaring...
Klaus Aehlig
03:19 pm Revision d14d93b0: Enable unit tests again
A while ago, the execution of python unit tests was
accidentally disabled for distcheck. This patch
enables them agai...
Helga Velroyen
12:33 pm Revision e9ba0663: Document ganeti-queryd
Add a man page for ganeti-queryd and update the documentation for
ganeti-confd in various places.
Signed-off-by: Tho...
Thomas Thrainer
12:33 pm Revision 135eb4ee: Add ganeti-queryd to QA env test
Test for the newly introduces ganeti-queryd in the environment test of
QA.
Signed-off-by: Thomas Thrainer <thomasth@...
Thomas Thrainer
12:33 pm Revision 670e954a: Add queryd daemon (split from confd)
queryd is added as a new daemon which handles configuration queries over
LUXI. This functionality was removed from co...
Thomas Thrainer
12:33 pm Revision 218e3b0f: Extract ConfigReader from Confd/Server.hs
Confd's functionality to watch the Ganeti configuration file is
extracted to the ConfigReader module. No functional c...
Thomas Thrainer
11:14 am Revision 6d67e8bf: Design Doc for HugePages Support
Add design document for the "HugePages support" GSoC project.
Signed-off-by: Izhar ul Hassan <ezhaar@gmail.com>
Revi...
Izhar
11:11 am Revision 8520f4b9: Add unit test for drbdsetup show parsing
This unit test checks for proper parsing of the output from `drbdsetup
show` when re-attaching the local disk. In thi...
Thomas Thrainer
11:11 am Revision e4889779: Revert "Disable failing QA test"
This reverts commit b2525349f0da75c74432f2dd85abbcad56e56fed.
Issue 516 was fixed, so now the QA test can be re-enab...
Thomas Thrainer
11:11 am Revision 8f8442d6: Fix parsing of drbdsetup show output for DRBD 8.4
DRBD 8.4 contains two `disk` entries under the `volume` section. In some
circumstances, the parsing code could wrongl...
Thomas Thrainer

07/16/2013

12:47 pm Revision 1fe10404: Reset cfgupgrade --downgrade to be a no-op
In version 2.10 cfgupgrade --downgrade is supposed to downgrade
the configuration to version 2.9 which, at the moment...
Klaus Aehlig
12:17 pm Revision 5ee24e45: Improve debugging output of DRBD8 status
Signed-off-by: Brian Candler <b.candler@pobox.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Helga Velroyen
12:09 pm Revision beb9c009: Add timestamps to haskell network query fields
Add timestamp fields to the list of available network query fields in
the Haskell code.
Signed-off-by: Christos Stav...
Christos Stavrakakis
11:45 am Revision 71f35985: Bump version number after forking off 2.9
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
10:55 am Revision 32449822: Fix conflicts check in LUNetworkDisconnect
The function _NetworkConflictCheck expects a list of instances as
last argument, not a list of pairs of instance name...
Dimitris Aragiorgis
10:29 am Revision c832f7e9: Merge branch 'stable-2.8' into master
* stable-2.8
Change method dispatch in ClientOps to enforce luxi.REQ_ALL
Allow modify_etc_hosts to be changed
A...
Klaus Aehlig

07/15/2013

05:24 pm Revision 4eb06290: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7
Fix RAPI to include missing network fields
Add support for querying network timestamps
In the cron...
Klaus Aehlig
03:59 pm Revision 64d7e30f: Change method dispatch in ClientOps to enforce luxi.REQ_ALL
ClientOps' handle_request dispatches on the luxi request received. Change
this to first verify if the request is luxi...
Klaus Aehlig
12:34 pm Revision f3bde990: Update documentation and NEWS wrt to file storage dir
This patch updates the 'gnt-cluster' man page and the NEWS
file regarding the changes related to the file storage
en/...
Helga Velroyen
12:34 pm Revision 9c1c3c19: Verify file storage path
This patch adds two verification steps to 'gnt-cluster
verify':
- The configured file storage directory is checked ag...
Helga Velroyen
12:34 pm Revision 13a6c760: Prepare verification code for new file path verification
This patch prepares the verification code for adding
a new verification step for the file storage paths:
- It moves a...
Helga Velroyen
12:34 pm Revision 2dcb5a26: Remove file storage path from autoconf
This patch removes the option to configure the file
storage path at configure time, because it is now
replaced by a r...
Helga Velroyen
12:34 pm Revision 5949c31c: QA: Adjust QA for file storage
This improves the QA code wrt to file storage in the
following ways:
- It fixes a FIXME to make the file storage dire...
Helga Velroyen
12:34 pm Revision d721894a: storage utils: read file storage dir from cluster config
This patch make the storage utils read the file storage
directory from the cluster config instead of the constants.
...
Helga Velroyen
12:34 pm Revision 49a924bc: Remove ENABLE_FILE_STORAGE completely
This patch removes the ENABLE_FILE_STORAGE completely
from the remaining files, such as Makefile, configure,
constant...
Helga Velroyen
12:34 pm Revision 6a34eb01: cluster-merge: remove usage of 'ENABLE_FILE_STORAGE'
This patch adjusts the cluster-merge tool so that it does
no longer check the constant 'ENABLE_FILE_STORAGE' but
the ...
Helga Velroyen
12:34 pm Revision b780c231: QA: Adjust test whether file storage is enabled
This patch fixes the node storage QA, which checked whether
file storage is enabled by looking at the constant
'ENABL...
Helga Velroyen
12:34 pm Revision 9d276e93: Opcodes: move storage type checks to cmdlib
So far, there was a static check whether or not a given
storage type of an opcode was enabled. This check is
no longe...
Helga Velroyen
12:34 pm Revision 850c53f1: cmdlib: remove usage of ENABLE_FILE_STORAGE
This patch removes all usages of the constant
'ENABLE_FILE_STORAGE' from the cmdlib code and
replaces them by checkin...
Helga Velroyen
12:34 pm Revision 1f7c8208: backend: remove ENABLE_FILE_STORAGE
This patch removes the usage of the ENABLE_FILE_STORAGE
constant in the backend code. To avoid having to pass
it thro...
Helga Velroyen
12:34 pm Revision 5030cff3: cluster init: check for enabled disk templates
The purpose of this patch is to remove the usage of the
'ENABLE_FILE_STORAGE' constant. To get there, we do some
refa...
Helga Velroyen
12:34 pm Revision 43c54ced: cluster verify: adjust path verification
This patch adjusts the verification of file storage paths
by checking the list of enabled disk templates instead
of t...
Helga Velroyen
12:34 pm Revision ebe93784: Utility functions to check if a disk template is enabed
This patch adds some helper functions to the config and
storage utils which check whether a disk template is
enabled ...
Helga Velroyen
12:34 pm Revision 2b48dbca: Add default file storage path to path utils
This patch adds the default storage path to the pathutils
for now. At the end of this patch series, it will no longer...
Helga Velroyen
12:10 pm Revision 75f2ff7d: Allow modify_etc_hosts to be changed
The modify_etc_hosts options, enabling the cluster to modify the /etc/hosts
files of nodes, and to keep them in sync,...
Michele Tartara
12:10 pm Revision c89db623: Add --modify-etc-hosts option for CLI tools
The option will be used by gnt-cluster modify in the following commit.
Signed-off-by: Michele Tartara <mtartara@goog...
Michele Tartara

07/12/2013

04:42 pm Revision 795d035d: Add luxiReqQueryNetworks to LuxiOp
When the QueryNetwork was introduced as a method, apparently
it was forgotten in the Haskell world. Add it here as we...
Klaus Aehlig
04:42 pm Revision 385d4574: Log received message at debug level
At debug level, we can well afford to have a detailed entry
for each message received by a server.
Signed-off-by: Kl...
Klaus Aehlig

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

Also available in: Atom