Activity

From 03/24/2013 to 04/22/2013

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

03/27/2013

12:47 pm Revision 64760879: Unit tests for config.ConfigWriter.VerifyConfig()
The test is aimed mostly at instance policies, which changed recently.
Signed-off-by: Bernardo Dal Seno <bdalseno@go...
Bernardo Dal Seno
12:46 pm Revision 0b94cda8: cfgupgrade: Add support for newly refactored ipolicies
Instance policies in the configuration are upgraded and downgraded. Both
operations are idempotent.
Signed-off-by: B...
Bernardo Dal Seno
12:46 pm Revision da5f09ef: Refactor ispecs in ipolicy structures
Minimum and maximum instance specs are put together into a single element
of the instance policy. This is in preparat...
Bernardo Dal Seno
12:46 pm Revision 1709435e: cfgupgrade: Add --downgrade option
It's now possible to go back to the previous stable version. Unit tests
provided.
This is mostly useful during devel...
Bernardo Dal Seno
12:46 pm Revision bb553e5a: cfgupgrade: Refactor code
All the upgrading code is now in one function. No functionality has been
changed.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
12:46 pm Revision 04db1880: Configuration is verified on load
If there are errors in the configuration when master daemon is started,
they are now logged and reported. Previously ...
Bernardo Dal Seno
12:45 pm Revision d948c101: Refactor cli.CreateIPolicyFromOpts()
The code relative to instance specs has been moved into a different
function. This in preparation for further patches...
Bernardo Dal Seno
12:45 pm Revision eeaa5f6c: Remove duplicate filling of instance policy
Instance policy fields were manually filled in CreateIPolicyFromOpts() and
then filled again by the caller. Now they ...
Bernardo Dal Seno
12:45 pm Revision a6fdce9e: Unit test for cli.CreateIPolicyFromOpts()
Useful for subsequent patches.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velroyen <h...
Bernardo Dal Seno
12:45 pm Revision a6321765: Amend partitioned design doc for multiple ispecs
There will be only one standard specification in instance policies.
Signed-off-by: Bernardo Dal Seno <bdalseno@googl...
Bernardo Dal Seno
12:44 pm Revision e118deb1: QA: Fix assertion
The assertion was always true because "all" was missing.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Revi...
Bernardo Dal Seno

03/26/2013

07:10 pm Revision 681f4f7b: 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
01:57 pm Revision 2cbcf95d: gnt-instance info uses a revised format
The code is more modular and the output is YAML-compliant. QA updated to
take advantage of it.
Signed-off-by: Bernar...
Bernardo Dal Seno
01:57 pm Revision 0e79564a: gnt-cluster info uses a revised format
The code is more modular and the output is YAML-compliant.
Added function in QA that uses PyYAML to parse the comman...
Bernardo Dal Seno
01:57 pm Revision 4d99964c: Generic function to print data for gnt-xxx info
The function produces a human-readable output, which is also a valid YAML
file, from an intermediate data structure. ...
Bernardo Dal Seno
« Previous
Next »
 

Also available in: Atom