Activity

From 04/01/2013 to 04/30/2013

04/30/2013

06:52 pm Revision b43e836f: Disable compiling mon-collector if monitoring is disabled
Mon-collector kept being compiled even if monitoring was disabled during
configure.
Fixes Issue 441.
Signed-off-by:...
Michele Tartara
06:51 pm Revision 5d453688: Add confd as a dependency of monitoring
Some data collectors require confd data information. Therefore, monitoring is
dependent on confd, but this was not ch...
Michele Tartara
06:38 pm Revision 516a0e94: Add reason trail to haskell opcode format
The haskell type definition of opcodes should remain aligned with the python
one.
Signed-off-by: Michele Tartara <mt...
Michele Tartara
06:38 pm Revision 3ff890a1: Add the reason trail type definition in Haskell
It will be added to the haskell definition of opcodes, to keep it aligned to
the python one, and it will be used for ...
Michele Tartara
06:38 pm Revision 2bd9ec7c: Update "reason" field in instance status design
Now the reason field is implemented according to the reason trail design
document.
Signed-off-by: Michele Tartara <m...
Michele Tartara
10:57 am Revision 0791b57f: Remove outdated TODO comment
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
10:57 am Revision e580e9f7: Add proper error management to monitoring daemon
Produce a personalized 404 error when the requested resource is not available.
Signed-off-by: Michele Tartara <mtart...
Michele Tartara
10:56 am Revision 6327828e: Produce a report for all the data collectors
Implement the API function of the monitoring daemon that provides the report
of all the data collectors.
Signed-off-...
Michele Tartara
10:56 am Revision db1ad1d5: Generate report for a single collector
Allow to ask the monitoring daemon for the report of one specific data
collector.
Signed-off-by: Michele Tartara <mt...
Michele Tartara
10:56 am Revision 75706f3a: Export the full report from DRBD data collector
Export the full report instead of just the data from the DRBD data collector.
Signed-off-by: Michele Tartara <mtarta...
Michele Tartara
10:56 am Revision 27433b5c: Add monitoring daemon to the masterd group
The hmac.key file is owned by group masterd and is required to communicate with
the confd.
The monitoring daemon nee...
Michele Tartara
10:55 am Revision a5ec6d88: Update JSON serialization for "category"
Change the JSON serialization for the "category" field of data collectors,
in accordance to the latest version of the...
Michele Tartara
10:55 am Revision 3a388363: Improve monitoring agent design document
Specify more precisely the format of the category names.
Signed-off-by: Michele Tartara <mtartara@google.com>
Review...
Michele Tartara
10:55 am Revision ecb783f0: Implement the "list collectors" API in monitoring
Implement the handler for outputting the list of collectors
(name, category, kind) in JSON format.
Signed-off-by: Mi...
Michele Tartara
10:49 am Revision c42fbe28: Fix bug in group queries related to node/instance fields
Since we use the primitive string type for group UUIDs, the group
fields have a bug where we pass the group name as f...
Iustin Pop
10:28 am Revision 05440845: gnt-instance: new hypervisor parameter 'vif_type'
This patch fixes issue 247. It empowers the user to specify
explicitly the vif type of a nic configuration of a Xen H...
Helga Velroyen
10:28 am Revision c54c859b: man gnt-instance: new hypervisor parameter 'vif_type'
This patch extends the man page of the 'gnt-instance' command
by describing the newly implemented hypervisor paramete...
Helga Velroyen

04/29/2013

11:13 pm Revision 5519f036: Merge branch 'stable-2.8' into master
* stable-2.8: (42 commits)
Add shelltests for hspace allocation
hspace: Handle multiple ipolicy specs
QA: Test ...
Bernardo Dal Seno
07:05 pm Revision 2e462e19: Cleanup DRBD 8.4 devices properly during QA
QA cleans up DRBD 8.4 devices via drbdsetup, which currently only worked
for DRBD 8.3. This (rather ugly) command mak...
Thomas Thrainer
07:05 pm Revision daec28a7: Add command generator for DRBD 8.4
The DRBD84CmdGenerator class, which generates commands suited for DRBD
8.4, is added. A common baseclass for DRBD83Cm...
Thomas Thrainer
07:05 pm Revision 74db37c0: Add test for version dispatching code
Based on the version of DRBD (as reported through /proc/drbd), the DRBD8
class chooses helper objects which adapt for...
Thomas Thrainer
07:05 pm Revision 7a694e30: Add dependency on python-mock
Python Mock (http://www.voidspace.org.uk/python/mock/) is a mocking
library for Python. It is included in the standar...
Thomas Thrainer
07:05 pm Revision 873878b9: Extract DRBD related tests
As the DRBD code was extracted from bdev.py, the corresponding tests
should as well be extracted into their own file....
Thomas Thrainer
07:05 pm Revision 09a78e1c: Extract command generation logic from DRBD8
In order to easily support the DRBD 8.4 command syntax, this patch
extracts all command generation logic (i.e. where ...
Thomas Thrainer
07:05 pm Revision 27c7d9c3: Use DRBD84ShowInfo based on DRBD version
Now the DRBD8 class actually checks which version of DRBD is running on
the system and chooses the right class to par...
Thomas Thrainer
07:05 pm Revision 5520d04d: Add `drbdsetup show` parser for DRBD 8.4
Common functionality between the DRBD 8.3 and DRBD 8.4 parser has been
extracted into BaseShowInfo. A test which veri...
Thomas Thrainer
07:05 pm Revision 27d69b25: Extract DRBD info parsing into drbd_info.py
Parsing the status (/proc/drbd) and `drbdsetup show` output takes quite
a bit of code, which has to be augmented by e...
Thomas Thrainer
07:05 pm Revision d01e51a5: Extract DRBD8ShowInfo class
This class parses the `drbdsetup show` output and represents it in an
easily accessible format. It got extracted so t...
Thomas Thrainer
07:05 pm Revision efa6dd08: Add test for DRBD 8.4 /proc/drbd parsing
The current parser already supports the output of DRBD 8.4 /proc/drbd,
so add tests which actually verify this behavi...
Thomas Thrainer
07:05 pm Revision d41efc42: Add test for empty version in /proc/drbd
The previous patch removed a (rather implicit) test for /proc/drbd not
containing a version line. This adds an explic...
Thomas Thrainer
07:05 pm Revision dcc4579c: Rename _JoinProcDataPerMinor to _JoinLinesPerMinor
In the new context of the DRBD8Info class, the name
_JoinProcDataPerMinor doesn't fit any more. _JoinLinesPerMinor re...
Thomas Thrainer
07:05 pm Revision 2fe690f1: Extract /proc/drbd parsing code into DRBD8Info
As the DRBD8 class got bigger due to the previous merge of BaseDRBD, now
parts of it are ripped out into DRBD8Info. T...
Thomas Thrainer
07:05 pm Revision fd300bc7: Remove BaseDRBD
BaseDRBD was probably useful when DRBD 0.7 and DRBD 8 were supported.
However, there is only one subclass of BaseDRBD...
Thomas Thrainer
07:04 pm Revision 38396ae2: Rename _MassageProcData to _JoinProcDataPerMinor
That's what the method actually does, so there is no reason why we
should use a funny but unreadable name.
Signed-of...
Thomas Thrainer
06:55 pm Revision 8abeb641: Add shelltests for hspace allocation
Both tiered and standard allocations are tested, with a single and a double
min/max instance specification.
Signed-o...
Bernardo Dal Seno
06:54 pm Revision 53822ec4: hspace: Handle multiple ipolicy specs
With tiered allocation, hspace uses all the max specs in turn as the
initial instance spec.
Signed-off-by: Bernardo ...
Bernardo Dal Seno
06:54 pm Revision 5fdf8491: QA: Test multiple instance specs
The test of the interaction between policy and instances is extended.
Signed-off-by: Bernardo Dal Seno <bdalseno@goo...
Bernardo Dal Seno
06:54 pm Revision 7c8ae421: QA: Handle multiple instance specs
Existing tests are updated to cope with the new instance specs format.
Signed-off-by: Bernardo Dal Seno <bdalseno@go...
Bernardo Dal Seno
06:54 pm Revision 65978cb7: Unit test for cli.FormatPolicyInfo()
We try to parse the string obtained by formatting a policy, and see if we
get the same policy.
Signed-off-by: Bernar...
Bernardo Dal Seno
06:54 pm Revision ef99e3e8: Add command-line support for multiple specs in ipolicy
Command line options accept multiple min/max specifications in instance
policies. The output of show-ispecs-cmd is up...
Bernardo Dal Seno
06:53 pm Revision 41044e04: Add multiple min/max specs in instance policy
Now instance policies can contain more than one min/max specs. This is the
main element of the "Constrained instance...
Bernardo Dal Seno
06:53 pm Revision b342c9dd: Separate checks for std spec compliance
This is needed to be able to validate the std spec against multiple min/max
spec pairs (appearing in next patches).
...
Bernardo Dal Seno
06:53 pm Revision ec996117: QA: Transpose instance specs
The format used to store instance specs in QA is changed to better handle
multiple instance specs, a feature containe...
Bernardo Dal Seno
05:49 pm Revision 3e0c2a24: Log at info level the success of a luxi query
So far, any successful query was only logged at debug level, thus leaving
no traces in the logs, unless debugging was...
Klaus Aehlig
05:48 pm Revision 61f3d56e: Fix typo in documentation string
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
10:56 am Revision 8bc5e2c8: Improve gnt-instance documentation
Explain the relationship of the ip and network parameter in
`gnt-instance add --net` better.
Signed-off-by: Thomas T...
Thomas Thrainer
10:56 am Revision decc7ec9: Fix unclear error when replacing a nic's ip
The current error message ends up saying something like
'192.168.5.5' != 'network1', which is sort of non-intuitive (...
Guido Trotter

04/26/2013

05:39 pm Revision decf86f9: Make DEFAULT_ENABLED_DISK_TEMPLATES a list
This patch makes the constant DEFAULT_ENABLED_DISK_TEMPLATES
a list instead of a set, because the order of the elemen...
Helga Velroyen
05:33 pm Revision b3e1f9dd: NEWS: removal of --no-lvm-storage
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Helga Velroyen
05:33 pm Revision dbc6f6dd: Remove '--no-lvm-storage' from 'gnt-cluster' man page
This updates the man page of 'gnt-cluster' regarding the
removal of the '--no-lvm-storage'.
Signed-off-by: Helga Vel...
Helga Velroyen
05:33 pm Revision 1a0e0593: Document the --drbd-usermode-helper in man gnt-cluster
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Helga Velroyen
05:12 pm Revision 2d237e93: Fix lint error in cmdlib
Was accidentally introduced by commit 912737ba.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido...
Helga Velroyen
04:34 pm Revision 912737ba: gnt-cluster modify/init: deprecate --no-lvm-storage
This patch does three things:
1. It deprecates the option '--no-lvm-storage' of 'gnt-cluster modify'
and 'gnt-cluste...
Helga Velroyen
04:34 pm Revision 59ef0f15: Utility functions for storage
This patch add a couple of utility functions dealing with
storage types and disk templates.
Signed-off-by: Helga Vel...
Helga Velroyen
04:06 pm Revision f38270c6: In plain to drbd conversion, rename LVs back on failure
Currently, if converting an instance from plain to drbd fails after
renaming the original LVs, the instance is left i...
Klaus Aehlig

04/25/2013

01:27 pm Revision 9c265dd7: Merge branch 'stable-2.7' into stable-2.8
This fixes the problem with the distcheck-release target failing needlessly.
* stable-2.7:
Improve check for "unr...
Guido Trotter
01:25 pm Revision d466fd8b: Improve check for "unreleased" versions in NEWS
Currently this is checked only when distcheck-release is called.
Check it in check-news instead, for all versions bef...
Guido Trotter
11:51 am Revision fd7f98fe: Update documentation for text format
In commit 000ca91a the text format was extended to also include
information about the master node. This commit update...
Klaus Aehlig

04/24/2013

07:53 pm Revision 95990bc5: Merge branch 'stable-2.7' into stable-2.8
Conflicts:
NEWS
doc/rapi.rst
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter...
Klaus Aehlig
06:20 pm Revision 811f8b31: Add missing fields in htools text-backend documentation
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Bernardo Dal Seno
06:19 pm Revision 2827d1ac: cfgupgrade: Remove enabled_disk_templates on downgrade
Remove enabled_disk_templates instead of the deprecated
enabled_storage_types.
Signed-off-by: Bernardo Dal Seno <bda...
Bernardo Dal Seno
02:44 pm Revision 1fa6fcba: Reason trail implementation for "start"
Opcode-specific implementation of the reason trail for the instance
startup operation.
Signed-off-by: Michele Tartar...
Michele Tartara
02:44 pm Revision 1f350e0f: Reason trail implementation for "shutdown"
Opcode-specific implementation of the reason trail for the instance shutdown
operation.
Signed-off-by: Michele Tarta...
Michele Tartara
01:05 pm Revision cbaf1652: QA: More tests for instance policies in groups
Instance policies are changed and checked for changes.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Review...
Bernardo Dal Seno
01:05 pm Revision cb178a1e: QA: Update tests for new ipolicy specs command-line options
The old command-line options weren't working any more. Utility functions
are updated, and broken tests are removed (n...
Bernardo Dal Seno
01:05 pm Revision 63e08b25: QA: Split function to set and parse instance policies
The main parts, moved to qa_util, will be used for node groups too.
Signed-off-by: Bernardo Dal Seno <bdalseno@googl...
Bernardo Dal Seno
01:05 pm Revision cd315ad9: Add unit tests for cfgupgrade with a real configuration
Test upgrade and downgrade from a realistic 2.7 configuration.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com...
Bernardo Dal Seno
01:05 pm Revision fa166f67: Split functions in cfupgrade unit tests
This makes easier to test real configurations.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: H...
Bernardo Dal Seno
01:05 pm Revision e94fc80c: cfgupgrade: Limit specs in ipolicy are always complete
Partial specs are filled with cluster defaults.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: ...
Bernardo Dal Seno
01:02 pm Revision 919db916: Limit specs in ipolicy command lines are always complete
Command line options are brought in line with the specs change of previous
patch. Old options are still allowed in gn...
Bernardo Dal Seno
01:02 pm Revision b5a93c73: QA for --ipolicy-xxx-specs and show-ispecs-cmd
The tests check the interactions between the two commands.
Also refactored group QA code to separate tests about ipo...
Bernardo Dal Seno
01:02 pm Revision 62fed51b: Refactor tests in ipolicy validation
This makes the code more modular, in preparation for the following patches.
Signed-off-by: Bernardo Dal Seno <bdalse...
Bernardo Dal Seno
01:02 pm Revision 0f511c8a: Limit specs in instance policies are always complete
Specs used to specify limits in instance policies are always complete, even
at group level (only the whole limit set ...
Bernardo Dal Seno
01:02 pm Revision d2d3935a: Add --ipolicy-xxx-specs options
These options allow to specify whole instance policy specs. This is needed
for the upcoming changes that tend to thre...
Bernardo Dal Seno
01:02 pm Revision ea9d3b40: Add command to print ipolicy options
The output of this command can be used to create an exact copy of the
current instance policy specs. The command coul...
Bernardo Dal Seno
01:02 pm Revision 726ae450: New CLI input type: list of key/value pairs
This will be used for the new instance specs options.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewe...
Bernardo Dal Seno
01:01 pm Revision f824ae42: Allow "default" as a value for ipolicy templates
Previously the string value was being corrupted.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by:...
Bernardo Dal Seno
12:55 pm Revision d307d38c: Document all --ipolicy-... options
They were missing from the man pages.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velr...
Bernardo Dal Seno
11:00 am Revision 89ff748d: Extract DRBD-related classes into block/drbd.py
This is in preparation to introducing support for DRBD8.4.
base.py had to be extracted as well in order to avoid cyli...
Thomas Thrainer
10:59 am Revision ce9283c1: Move lib/bdev.py to lib/block/bdev.py
That's in preparation of extracting DRBD related code from bdev.py. As
bdev.py is already rather long, new features w...
Thomas Thrainer

04/23/2013

03:13 pm Revision 2707f483: Fix a few unclear sentences in gnt-cluster(8)
The renew-crypto entry had a few obscure sentences. Improve it by
rephrasing it.
Signed-off-by: Guido Trotter <ultro...
Guido Trotter
12:17 pm Revision bbfa259c: Make burnin compatible with the reason trail
The burnin uses its own option list, different from the one of all other
command line programs, and uses it as a para...
Michele Tartara

04/22/2013

07:43 pm Revision 30dd3377: Extend the simulation backend to also simulate a master node
In a simulated cluster as created by the simulation backend to
the htools, make the first node of the first node grou...
Klaus Aehlig
07:43 pm Revision 754b9b1c: Add unit tests for hroller
Add a unit test for hroller in a situation where the order
is completely determined. There are 3 nodes where node 2 h...
Klaus Aehlig
07:43 pm Revision 000ca91a: Extend Text format by marking the master node
Sometimes, e.g., for hroller, it is necessary to know which node
is the master node. Therefore this information has t...
Klaus Aehlig
07:13 pm Revision 0da22bc3: Minor changes / bugfixes in documentation
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Kla...
Sebastian Gebhard
02:19 pm Revision 55cec070: Reason trail implementation for instance reboot
This commits allows ganeti to correctly forward the reason trail information
regarding instance reboot.
Signed-off-b...
Michele Tartara
02:18 pm Revision 9b4cb29d: Add "reason" as a common parameter for all the RAPI calls
Also, this add an infrastructure for having parameters common to all the
RAPI calls.
Signed-off-by: Michele Tartara ...
Michele Tartara
02:18 pm Revision da3faf9d: Add infrastructure for adding common RAPI parameters
Some parameters can be common to all the RAPI calls: this commit
adds the possibility of specifying them just once, i...
Michele Tartara
02:17 pm Revision e0f2bf1e: Add job_id and index to the reason trail
The reason trail will contain an item indicating the job_id and the
index number of the current opcode inside the job...
Michele Tartara
02:16 pm Revision 276e51bd: Add the reason trail to the opcodes
The reason trail is available for all the opcodes, and as such it is
initialized as a generic option.
Signed-off-by:...
Michele Tartara
02:14 pm Revision dbae804a: Add a field to store the reason trail in OpCodes
The reason trail will be available for all the OpCodes, so the field that
is to contain it has to be added to the OpC...
Michele Tartara
02:13 pm Revision aa4fff02: Provide "--reason" as a parameter for all commands
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michele Tartara
02:13 pm Revision 8e00f36a: Add function for extending the reason trail
Noded functions will have to extend the reason trail specifying what
operation is being executed.
This commit adds a...
Michele Tartara
02:12 pm Revision d634b4e0: Add an opcode name conversion function
Add a function to convert an opcode class name to a source string for the
reason trail, factoring out the code in com...
Michele Tartara
02:11 pm Revision 584ea340: Add function for storing the reason trail of an instance
We are interested in storing the reason trail for operations that changed
the state of instances. This commit adds a ...
Michele Tartara
02:11 pm Revision c28911dd: Add function for getting the timestamp in nanoseconds
The timestamp is returned as an integer number of nanoseconds since the Unix
epoch.
Signed-off-by: Michele Tartara <...
Michele Tartara
02:10 pm Revision ab98e236: Add TMaybeList as a new type for parameters
This will be used as the type for the reason trail parameter.
Signed-off-by: Michele Tartara <mtartara@google.com>
R...
Michele Tartara
02:10 pm Revision 1cc55342: Add constants for the reason trail implementation
A few constants are required, describing the source reason of the opcode.
Signed-off-by: Michele Tartara <mtartara@g...
Michele Tartara
02:10 pm Revision aa922d64: Remove old "reason" implementation
Remove the useless parts of the old, partial, implementation of the support for
tracking the reason of instances stat...
Michele Tartara
02:09 pm Revision c2610080: More specifics on the implementation of the reason trail
Adding the reason trail as a parameter instead of as a new class attribute fits
better with the current structure of ...
Michele Tartara
01:46 pm Revision d34b3b8e: Add monitoring daemon user to user creation script
The script was added to Ganeti before the monitoring daemon, so it
did not include that user yet.
Signed-off-by: Mic...
Michele Tartara
12:48 pm Revision d2d66df0: devel/review: fix addition of reviewer from environment
In commit 3dd990, the possibility of taking a default reviewer
from the environment was introduced. Fix two deficits ...
Klaus Aehlig
12:44 pm Revision 0fe54825: QA: Skip RAPI setup when RAPI is disabled
This is similar to 405692ef, reverted in aeefb4cd.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-b...
Bernardo Dal Seno
12:34 pm Revision ba7df2ce: Bump up version for 2.7.0~beta3
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Guido Trotter
12:03 pm Revision 7374dc44: Update NEWS for 2.7.0~beta3
- Most entries for beta1 are moved to the top level
- The beta1 to beta2 delta is left
Signed-off-by: Guido Trotter ...
Guido Trotter
10:20 am Revision 9b221ea4: Allow proper cleanup of partially created disks
During the creation of an instance, if the creation of disks fails, some
partially created disks might remain lying a...
Michele Tartara

04/19/2013

02:54 pm Revision 7dbe4c72: Make hroller insist on finding precisely one master node
As people rely on the master node being the last node of the last
group, make hroller fail, if no master node could b...
Klaus Aehlig
02:54 pm Revision 2c9fb8e2: Update hroller man page: master node is last
Where the information is available, hroller now schedules the
master node as the last node in the last group. Update ...
Klaus Aehlig
02:54 pm Revision bf028b21: In Rapi, set master correctly
The cluster data contains the information about the master
node. Use this information to set the isMaster bit correct...
Klaus Aehlig
02:54 pm Revision f40fe08c: In Luxi, set the master correctly
The cluster data contains the information about the master
node. Use this information to set the isMaster bit correct...
Klaus Aehlig
02:54 pm Revision 09ab9fb2: Utility function to set the master node in a node list
The information about which node is the master node is a cluster-wide
setting, in most formats provided independently...
Klaus Aehlig
02:54 pm Revision 5b658b83: Make Hroller present master node last
If in the list of nodes to be scheduled for maintaince,
one is marked as being the master node, schedule it
as the la...
Klaus Aehlig
02:53 pm Revision 6c332a37: Extend the node description by isMaster
Extend the description of the node by the property
of being the master node; also provide and appropriate
setter func...
Klaus Aehlig
02:53 pm Revision 2ab65a5d: update hroller man page: node group filtering is implemented
Filtering of nodes by node group was already implemented in
2fce67b; fix the man page to reflect this change.
Signed...
Klaus Aehlig
02:23 pm Revision a0eb7c36: Use correct name for design-storagespace.rst
This was renamed in b284f50 but the old name was still in use in the
makefile and draft designs list.
Signed-off-by:...
Guido Trotter

04/18/2013

09:59 pm Revision b284f504: Rename design doc from space reporting to storage types
Since the design doc for storage space reporting ended up being mostly
about disk templates and storage types, and th...
Helga Velroyen
09:59 pm Revision 87c7621a: Storage type design doc: ipolicy vs. enabled disk templates
Adding the design decision regarding the consistency of the enabled disk
templates in the ipolicy and in the cluster ...
Helga Velroyen
09:07 pm Revision 0a6301ae: QA: Fix error regarding missing names of disk configs
This fixes an error in case there are no disk names in the QA config
(which was the case till recently). Right now, Q...
Helga Velroyen
04:24 pm Revision aeefb4cd: Revert "Make invocation of rapi test configurable ..."
This reverts commit 405692eff3d6f8400834f2df93d597bc7e4dd89f, because it
breaks QA.
Signed-off-by: Helga Velroyen <h...
Helga Velroyen
11:43 am Revision 3dd9905d: devel/review: take default reviewer from environment
When adding a 'Reviewed-by'-line, also add the reviewer
passed through the REVIEWER environment variable. In that
way...
Klaus Aehlig
11:34 am Revision 568d21e4: Better wording of a documentation sentence
Specify that the need to manually modify the metavg only applies to
clusters with DRBD enabled, and is not always req...
Michele Tartara
11:13 am Revision 7ba93b8a: Specify behaviour of vg-name change in gnt-cluster manual
The current behaviour of a volume group name change after the cluster
has been initialized can be somewhat unclear. T...
Michele Tartara
11:13 am Revision 35c48839: Set the default metavg to be equal to the cluster name
The default metavg was always set to be the constant value "xenvg".
This is OK for most cases, but if the cluster is ...
Michele Tartara
12:50 am Revision 405692ef: Make invocation of rapi test configurable by QA config
This does not solve the underlying problem of the rapi test not
being runnable locally, but it makes it at least conf...
Helga Velroyen

04/17/2013

10:29 pm Revision ffc18bb2: Fix warnings hlint 1.8.43 complained about
These lines are ok according to previous versions of hlint but trigger
an error with version 1.8.43.
Signed-off-by: ...
Thomas Thrainer
07:04 pm Revision 3c1a8730: Add nic/disk name and UUID fields in Haskell code
Add name and uuid fields to Disk and nic Haskell objects. Also,
since they now have an UUID, make them instances of U...
Christos Stavrakakis
07:04 pm Revision 4e4433e8: Add name to INicParams and IDiskParams
This commits adds name to NIC and Disk modification definition.
Signed-off-by: Chris Stavrakakis <cstavr@grnet.gr>
R...
Christos Stavrakakis
07:04 pm Revision 090128b6: Update QA tests to check disk and NIC names
Modify existing tests to use the name option for instance disks. The
configuration options 'disk' and 'disk-growth' a...
Christos Stavrakakis
07:04 pm Revision c396af83: Preserve device names during instance move
Fix 'move-instance' tool to preserve the instance disk and NIC names
when moving instances from one cluster to anothe...
Christos Stavrakakis
07:04 pm Revision 12f126b2: Update manpages wrt new device refering
This patch updates gnt-instance man page to include refering to devices
by their name and UUID.
Signed-off-by: Chris...
Christos Stavrakakis
07:04 pm Revision fcbd025c: Display UUIDs and names in gnt-instance info
Modify gnt-instance client to display the UUID and name
fields of instances disks and NICs.
Signed-off-by: Christos ...
Christos Stavrakakis
07:04 pm Revision b87a9c5f: Add Disks and NICs to _AllUUIDObjects
Since disks and NICs have UUIDs, they must be considered
to _AllUUIDObjects.
Signed-off-by: Christos Stavrakakis <cs...
Christos Stavrakakis
07:04 pm Revision 3fe22abd: Support quering for devices names and UUIDs
Extend instance queries to list 'uuid' and 'name' fields of instance's
Disks and NICs.
Signed-off-by: Christos Stavr...
Christos Stavrakakis
05:49 pm Revision 651cc3e2: Check that device names are unique and valid
Extend the CheckArguments phase of LUInstanceCreate and CheckPrereq
phase of LUInstanceSetParams to also check if the...
Christos Stavrakakis
05:49 pm Revision 7e9e5ffc: Implement renaming Disks and NICs
Implement renaming Disks and NICs in LUInstanceSetParams. Remove code
that checked that changing disk mode was the on...
Christos Stavrakakis
05:49 pm Revision b21d488b: Support UUIDs and names when refering to a device
Modify _ApplyContainerMods function to lookup NICs/Disks not only by their
index inside the container, but also by th...
Christos Stavrakakis
05:49 pm Revision 2dd5390e: Support UUIDs and names when handling NICs/Disks
Handle UUID and name fields when creating/managing NICs and Disks. Also,
export NICs and Disks names to instance hook...
Christos Stavrakakis
05:49 pm Revision ae860154: Add IDISK_NAME and INIC_NAME constants
Declare IDISK_NAME and INIC_NAME constants and add them to the
IDISK_PARAMS_TYPE and INIC_PARAMS_TYPE.
Signed-off-by...
Christos Stavrakakis
05:48 pm Revision 238da95a: Add uuid and name slots to Disk/NIC ConfigObjects
This patch adds "uuid" and "name" slots to Disk and NIC ConfigObjects.
Signed-off-by: Christos Stavrakakis <cstavr@g...
Christos Stavrakakis
05:48 pm Revision f1a84264: Add design doc for device UUIDs and names
This commit adds the design document for adding UUID and name slots to NIC and
Disk objects and the ability to refer ...
Christos Stavrakakis
09:27 am Revision 68d95757: Move HooksMaster out of the mcpu module
We need to do this, so that backend.py doesn't need to import mcpu, and
thus indirectly cmdlib. This reduces the size...
Guido Trotter
09:27 am Revision 2474965b: users setup: add masterd to confd group
Without this masterd fails saving the config, because it can't change
the group on the file.
Signed-off-by: Guido Tr...
Guido Trotter

04/16/2013

12:12 pm Revision bc3427b7: Use KB as the unit for LVM PE size
LogicalVolume.Attach in bdev.py is calling "lvs" and specifying a unit of
Megabytes that is then converted to an inte...
Aaron Knister

04/15/2013

01:17 am Revision 2ef21e6e: QA: Test enabled disk templates with known configuration
The test failed because it was executed also in a configuration that wasn't
expected, i.e., with exclusive storage en...
Bernardo Dal Seno
01:17 am Revision 02cff8aa: QA: Decision about disk templates to use is more modular
qa_config.IsTemplateSupported() is already used to decide which disk
templates are supported by QA. Enabled templates...
Bernardo Dal Seno

04/12/2013

01:12 pm Revision bfcd1652: Improve RAPI documentation for command line usage
Provide some more insights about how to use the RAPI from the command line
through the "curl" command.
Signed-off-by...
Michele Tartara
01:12 pm Revision a9f27253: More info on using the RAPI
Add some additional information about how to use/test the RAPI,
including how to specify authentication credentials.
...
Michele Tartara
12:31 pm Revision 7209d304: Fix typo in documentation string
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Klaus Aehlig
12:03 pm Revision b0ef4593: Adapt test data to changed ipolicy format
The test data for hail allocating a multi-disk instance was
originally added in the 2.7 branch. On master the format
...
Klaus Aehlig
12:32 am Revision 738a803a: Remove mistaken merge conflict line from NEWS
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Guido Trotter
12:31 am Revision 723ec678: Merge branch 'devel-2.7'
* devel-2.7: (26 commits)
Fix burnin install path
Fix format of the NEWS file
NEWS: Add news entry for the hail...
Guido Trotter

04/11/2013

11:54 pm Revision 5914192c: Update man page 'gnt-cluster' regarding disk templates
This documents the new 'gnt-cluster init/modify' option
'--enabled-disk-templates' in the man page.
Signed-off-by: H...
Helga Velroyen
11:53 pm Revision 2522c59e: Removes the 'sharedfile' storage type
Since storage type are supposed to represent the underlying technology
of disk templates, the storage type 'sharedfil...
Helga Velroyen
11:53 pm Revision 0cd89214: Update NEWS file regarding disk types
This patch extends the NEWS file describing the essential user-facing
changes in this patch series.
Signed-off-by: H...
Helga Velroyen
11:53 pm Revision 3da6e141: Consistency checks for config wrt disk templates
This patch adds consistency checks for the configuration regarding
disk templates. In particular, it checks that the ...
Helga Velroyen
11:53 pm Revision 6f665bf7: QA: creating instances of dis/enabled disk templates
This patch makes sure that instance creation is only possible
for instances that use enabled disk templates.
Signed-...
Helga Velroyen
11:53 pm Revision 462f0faa: QA: dis/enabling of used disk templates
This extends the QA for 'gnt-cluster modify'. It ensures
that disabling of a disk template is only possible if the
cl...
Helga Velroyen
11:53 pm Revision e04ec58e: gnt-instance: no instance creation with disabled templates
This patch makes sure that no instances can be created which use
disk templates which are not enabled on the cluster....
Helga Velroyen
11:53 pm Revision f41dc024: qa_instance: refactoring wrt disk templates
This patch is a preparation for later patches in QA in this series
it refactors the instance QA to make it more flexi...
Helga Velroyen
11:53 pm Revision 9c8c69bc: Removes obsolete 'enabled storage types'
Since managing of different storage units is now done using
disk templates and not storage types, we remove the obsol...
Helga Velroyen
11:53 pm Revision 2dae8d64: QA: Test cluster init/modify wrt enabled disk templates
Fixes the QA of 'gnt-cluster init' and 'gnt-cluster modify' with respect
to enabling disk templates.
Signed-off-by: ...
Helga Velroyen
11:52 pm Revision 3bde79ee: gnt-cluster init: enabling of disk templates
This patch enhances 'gnt-cluster init' to accept a list of disk templates
to be enabled. It removes the list of enabl...
Helga Velroyen
11:52 pm Revision 83a309f9: gnt-cluster modify: verify instance's disk template usage
Adds a verification step to 'gnt-cluster modify' to make sure that no
disk template is disabled that is currently in ...
Helga Velroyen
11:52 pm Revision 66af5ec5: gnt-cluster modify: modify enabled disk templates
Adds setting of the list of enabled disk templates to 'gnt-cluster modify'.
Note that this does not yet include any v...
Helga Velroyen
11:52 pm Revision 966e1580: gnt-cluster info: report enabled disk templates
Add reporting of the currently enabled disk templates to
'gnt-cluster info'.
Signed-off-by: Helga Velroyen <helgav@g...
Helga Velroyen
11:52 pm Revision 1b02d7ef: Add enabled disk templates to cluster cfg
This patch adds constants for enabling disk templates to the constants,
and the cluster configuration in haskell and ...
Helga Velroyen
11:42 pm Revision 7ee2098e: Fix burnin install path
Due to a bug in 8e55e20f burnin's installation path got changed.
Moving tools/burnin to the right makefile target rev...
Guido Trotter
08:20 pm Revision 8fc41371: Fix format of the NEWS file
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Klaus Aehlig
07:20 pm Revision 4cbf242b: Add "less" to the chroot
Less is not part of the base debian system, so it has to be added
explicitly.
Signed-off-by: Michele Tartara <mtarta...
Michele Tartara
05:10 pm Revision 35d29085: NEWS: Add news entry for the hail disk policy fix
hail now correctly applies the instance disk policies, which
leads to differnt allocations.
Signed-off-by: Klaus Aeh...
Klaus Aehlig
05:10 pm Revision e0d15aae: Add shelltests verifying hail applies disk ipolicy per disk
We test on two minimal examples, a positive and a negative one, where
the possibility to allocate a node depends on w...
Klaus Aehlig
05:10 pm Revision 241cea1e: Make the disks parameter available to the constructor
In that way, tools building on Instance will benefit from the corrected
verification semantics of the instance policy...
Klaus Aehlig
05:09 pm Revision e51e0f88: Verify individual disks in Instance
Instance policy on disks is specified on a per-disk basis. So extend
the instance description by the sizes of the ind...
Klaus Aehlig
03:37 pm Revision d860352f: Compatibility fix for GHC 7
Importing an instance, like JSON, automatically allows the names of all
its functions to be used.
If one of this fun...
Michele Tartara
02:27 pm Revision f0583b66: Properly update iv_name of disks while changing templates
Trasforming the disk of an instance from DRBD to plain did not properly
update the iv_name of disks, leaving it to No...
Michele Tartara

04/10/2013

09:28 pm Revision f0ed67ed: qa: fix TestInstanceModifyPrimaryAndBack flakiness
The test tries to scp the instance disks from the primary node to the
new destination, but connects to the master nod...
Guido Trotter
06:45 pm Revision 59baad7a: Check minimum size of networks on creation
When creating a network, so far no size constraints were checked.
We now limit the size of a network to a /30 or bigg...
Helga Velroyen
06:45 pm Revision 06c056d3: Limit the size of networks to /16
This patch introduces an upper limit to the size of the networks that can
be created.
Signed-off-by: Helga Velroyen ...
Helga Velroyen
06:09 pm Revision fe05a931: Fix job queue directory permission problems
If split users are used, the queue directory could only be accessed
by masterd, but also confd needs to be able to re...
Michele Tartara
03:08 pm Revision 35133aae: Set the default editor inside the chroot
Allows the chroot builder to set the default editor to be used in the
chroot.
Vim is used as the default choice.
Si...
Michele Tartara
02:53 pm Revision 9e946416: The disk size of a diskless instance is 0, not None
For diskless instances it is still reasonable to sum up the disk usage
of all the (zero) disks, resulting in the empt...
Klaus Aehlig
12:18 pm Revision 6cb65875: Postpone non-urgent TODO from 2.7 to 2.9
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
11:06 am Revision d8e3c5c9: Add backports to the chroot builder sources
This allows to have newer software than what is available in Debian Squeeze
(the default version of the distribution ...
Michele Tartara

04/09/2013

05:27 pm Revision cdd27f7f: Add tool for creating users and groups
When executed in split user mode, Ganeti requires a specific set of users
and groups to be created in the appropriate...
Michele Tartara
04:08 pm Revision b0b7bf8f: qa: Fix mistake in _DestroyInstanceDisks
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Guido Trotter

04/08/2013

04:18 pm Revision cc2a70b1: qa: fix instance recreate disks for ST_FILE disks
More lvm commands "sprinkled" in qa :/ We really have to factor them out
in the storage layer, once we have a good on...
Guido Trotter
12:25 pm Revision 3cecd73c: Backwards compatibility fix for Lucid
The code introduced by the previous commit triggered a possible library
conflict in Ubuntu Lucid.
This patch introdu...
Michele Tartara
10:50 am Revision be0cb2d7: Properly export errors while reading job list
In case of problems while reading the job list from disk (such as permission
errors) confd would silently fail, writi...
Michele Tartara
10:49 am Revision 3e02cd3c: Fix typo and improve comment
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara

04/07/2013

02:59 pm Revision 301c3bbb: qa: skip gnt-backup for file instances
Note that this fixes the "current issue" but doesn't fix the underlying
problem. :/
Signed-off-by: Guido Trotter <ul...
Guido Trotter
02:59 pm Revision 318bbaa9: qa: fix RemoveInstanceOfflineNode for file-based
- The cleanup should only happen for non externally mirrored disk
templates
- It should behave differently for file...
Guido Trotter
02:59 pm Revision 34ddd63a: qa: disable inter-cluster-instance-move for file
This actually hides a real issue that was discovered by enabling
file-based qa, so bug was filed for it. On the other...
Guido Trotter
02:59 pm Revision 1012ecf4: qa: fix rename instance for non-lvm backed storage
The rename instance test performs an lvm-specific check for tags on the
instance volume. This should be in the future...
Guido Trotter
02:59 pm Revision 0b85e1bd: qa: fix modify primary test
This test uses a non-existing config value "file-storage-dir" and fails.
Fixing it by using the default value, which ...
Guido Trotter
02:59 pm Revision 049a6c6b: qa: pass some extra options to make scp work
scp by itself won't work on a cluster: a few extra options are needed to
tell it where to find the "right" ssh global...
Guido Trotter

04/05/2013

07:24 pm Revision 1e123ff1: Check for python-yaml at configure time
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Bernardo Dal Seno
05:35 pm Revision a29fcf38: Fix a bug in the Runtime tests
A group name was erroneusly inserted in the list of user names.
Signed-off-by: Michele Tartara <mtartara@google.com>...
Michele Tartara
05:10 pm Revision 8b3f1f42: Add script for building chroot
Setting up a proper environment for building a Ganeti can be quite difficult.
This patch adds a script for building ...
Michele Tartara
02:02 pm Revision 6559d7f8: Extension of storage reporting design doc
This patch rewrites and extends the design doc about storage reporting
with respect to disk templates and storage typ...
Helga Velroyen

04/04/2013

12:28 pm Revision 801bccba: gnt-group info uses a revised format
The code is more modular, the output is more similar to "gnt-cluster info"
and is YAML-compliant.
Signed-off-by: Ber...
Bernardo Dal Seno
12:28 pm Revision 5f6d1b42: gnt-node info uses a revised format
The code is more modular, and the output is YAML-compliant. QA has been
updated to reflect the new format.
Signed-of...
Bernardo Dal Seno
12:28 pm Revision f7f03738: Remove unused code
After changing the way gnt-xxx info print their output,
cli.FormatParameterDict() is not used anymore.
Signed-off-by...
Bernardo Dal Seno
12:27 pm Revision d00884a2: Refactor out function to format instance policy
The new function can be used for group-level instance policies. Support for
roman numeral formatting has been dropped...
Bernardo Dal Seno
12:24 pm Revision 2c398e80: Fix help string for gnt-group info
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Bernardo Dal Seno
12:14 pm Revision 91fb0d18: Document procedure to downgrade a cluster
This is based on the --donwgrade option of cfgupgrade, first introduced in
1709435e.
Signed-off-by: Bernardo Dal Sen...
Bernardo Dal Seno
12:14 pm Revision 6c28c480: Fix upgrade procedure in UPGRADE
The watcher should be disabled while upgrading.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: ...
Bernardo Dal Seno

04/03/2013

08:17 pm Revision 0ea86154: Restrict instance move to templates based on local files
Moving an instance is done by copying over the disks. Restrict
this to disk templates that are copyable. This avoids ...
Klaus Aehlig
08:14 pm Revision c148e448: Introduce a constant for the copyable disk templates
This list contains the disk templates suitable for moving
an instance by copying the files. A requirement is that
the...
Klaus Aehlig
12:28 pm Revision 79a304e1: Do not _RemoveDisks after failed _CreateDisks
Now that _CreateDisks cleans up after itself in case of failure,
do not clean up at call sites, as there we have to o...
Klaus Aehlig
12:28 pm Revision 7d3484b8: Make _CreateDisk clean up partially created disks on failure
_CreateDisk used to just throw an exception if _CreateBlockDev failed
leaving the caller in the state that some disks...
Klaus Aehlig
12:14 pm Revision 7fb852bd: Fix typo in an error message
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
11:52 am Revision f0eeeb2a: Fix error in the developer notes
The version numbers of two programs had been swapped.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-...
Michele Tartara

04/02/2013

04:44 pm Revision b8722855: Bump up version for 2.7.0~beta2
Also update the release date for beta2
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Bernardo Dal...
Guido Trotter
04:43 pm Revision 9495d2f2: check-news: fix behavior on invalid date line
Before:
$ ./autotools/check-news < ./NEWS
Traceback (most recent call last):
File "./autotools/check-news", line 15...
Guido Trotter
03:18 pm Revision 6e71fbf6: Add dependency on PyYAML in devnotes
This is required because of 0e79564a; otherwise, the pylint-qa target will
fail.
Signed-off-by: Bernardo Dal Seno <b...
Bernardo Dal Seno
03:17 pm Revision 6ad99bc8: News updates for 2.7.0 beta2
Mention most relevant updates and user visible changes and fixes.
These entries will only be maintained during the b...
Guido Trotter
02:02 pm Revision d0a44ec0: Add QA for gnt-instance modify --new-primary
Add a simple walk through the intended use case of
gnt-instance modify --new-primary for the disk template
file. The ...
Klaus Aehlig
02:01 pm Revision 6970c89c: Additionally support disk-type file in QA
Also perform QA tests for the file disk template. The main reason
is that testing gnt-instance modify --new-primary r...
Klaus Aehlig
02:01 pm Revision 3438e1f8: Add option --new-primary to gnt-instance modify
Extend gnt-instance modify by a new parameter --new-primary
that sets the pnode paramter of the opcode.
Signed-off-b...
Klaus Aehlig
02:01 pm Revision 75248363: Make LUInstanceSetParams handle pnode parameter
If pnode is set LUInstanceSetParams now sets the primary node
accordingly. Unless force is set, it is verified that t...
Klaus Aehlig
02:01 pm Revision d2204b1a: Add parameter pnode to OpInstanceSetParams
This parameter will be used to set the new primary node
of an instance, assuming that the disks have been moved
by ot...
Klaus Aehlig
11:51 am Revision 8d53117b: Update installation documentation
Some required dependencies were missing from the installation instructions.
Signed-off-by: Michele Tartara <mtartara...
Michele Tartara
« Previous
Next »
 

Also available in: Atom