Activity

From 03/28/2013 to 04/26/2013

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

03/28/2013

03:13 pm Revision 9572482e: Correct typos in comments
Correct four typos in the comments of the Drbd types file.
Signed-off-by: Michele Tartara <mtartara@google.com>
Revi...
Michele Tartara
03:13 pm Revision 2d1c753d: Add status information to the DRBD data collector report
Add status information as required by the design document.
Signed-off-by: Michele Tartara <mtartara@google.com>
Revi...
Michele Tartara
03:13 pm Revision 8c5419ee: Export the data collected by DRBD in JSON format
Write an intermediate function computing the JSON data before adding them
to the DCReport.
Directly export the data ...
Michele Tartara
03:13 pm Revision 82437b28: Add DCStatus data type for the data collectors
Also adds the DCStatusCode, part of DCStatus, and the addStatus
utility function for adding the "status" field to an ...
Michele Tartara
03:13 pm Revision 54c7dff7: Add Kind data type for data collectors
Also, add it to the DRBD data collector, and export it from there.
Signed-off-by: Michele Tartara <mtartara@google.c...
Michele Tartara
03:13 pm Revision f0e4b2a4: Add data type for data collector category
Also, update the DRBD data collector to use and export it.
Signed-off-by: Michele Tartara <mtartara@google.com>
Revi...
Michele Tartara
03:13 pm Revision 834dc290: Export the dcVersionInformation for the Drbd collector
Also, update the JSON output (and the design document) so that it is not
in camelcase anymore. This is part of a bigg...
Michele Tartara
03:12 pm Revision a895fa19: Add data collector version data type
Define the new data type and update the DRBD data collector to use it.
Signed-off-by: Michele Tartara <mtartara@goog...
Michele Tartara
03:12 pm Revision 7a171e3f: Fix comment line position in DRBD data collector
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michele Tartara
03:12 pm Revision ddceb4c5: Export dcName information of Drbd data collector
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michele Tartara
03:11 pm Revision debfca88: Change format of the empty status message
Having 'null' instead of an empty string for an empty status message
increases the complexity of the code with no rea...
Michele Tartara
03:01 pm Revision 44b7a8a8: Improve INSTALL documentation
Additional clarification note added.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroye...
Michele Tartara
02:03 pm Revision 958a800a: Document more installation dependencies
A couple of them were missing and are added by this patch.
Signed-off-by: Michele Tartara <mtartara@google.com>
Revi...
Michele Tartara
« Previous
Next »
 

Also available in: Atom