Activity

From 08/27/2013 to 09/25/2013

09/25/2013

04:49 pm Revision 42e85303: Merge branch 'stable-2.9' into master
* stable-2.9
Including missing RST files in packaging
Update supported lint tools version numbers
Fix some wron...
Klaus Aehlig
03:24 pm Revision f89ec0e0: Disable hlint camelcase on test module
Haskell test modules contain functions which have names containing
underscore. Add hlint annotation to disable this ...
Jose A. Lopes
03:07 pm Revision 08d58f4c: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add additional tests for utils.Retry
Make retry tests independent of actual time
Fix corner-case i...
Klaus Aehlig
02:06 pm Revision a3f895e6: Fix expansion in Makefile.am
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
01:59 pm Revision ba0d1044: Fix comment in 'configure.ac'
Fix comment for a configure parameter in 'configure.ac' to be
consistent with the remaining parameters.
Signed-off-b...
Jose A. Lopes
01:58 pm Revision e4940da5: Fix 'src/mon-collector.hs' source in dist
This patch fixes 'Makefile.am' to include the source file of
'mon-collector' in the distribution tarball even if the ...
Jose A. Lopes
01:50 pm Revision effc1b86: Move 'BuildVersion' to 'lib/utils/version.py'
Functions 'BuildVersion' and 'SplitVersion' are no longer needed by
the constants and, given that they are not consta...
Jose A. Lopes
01:50 pm Revision 285d04a1: HUnit test for 'buildVersion'
Add 'HUnit' test for 'buildVersion'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thraine...
Jose A. Lopes
01:49 pm Revision 5b2983dd: Remove '_autoconf'
The previous patch has made '_autoconf' obsolete. This patch
completely removes '_autoconf' and the 'Makefile' targe...
Jose A. Lopes
01:49 pm Revision b8669a69: Hs2Py constants: update Python references
Update references to constants that were previously in the generated
'lib/_autoconf.py' and since the previous patch ...
Jose A. Lopes
01:49 pm Revision 1c9e817d: Hs2Py constants: add remaining '_autoconf.*' constants
Add remaining constants which in Python are imported from the
generated 'lib/_autoconf.py'. This will allow to compl...
Jose A. Lopes
01:49 pm Revision e0d672fa: Hs2Py constants: update Python references to autoconf
Update Python references to all constants that used to point to the
generated 'lib/_autoconf.py', which has been supe...
Jose A. Lopes
01:49 pm Revision 3b170ad4: Hs2Py constants: add all 'AutoConf' and related constants
Add all constants in 'AutoConf' to the Hs2Py constant generation and
'socatEscapeCode' because it is part of the grou...
Jose A. Lopes
01:49 pm Revision b78d0757: Add 'buildVersion' for calculating Ganeti versions
Add 'buildVersion' which calculates Ganeti versions and it is the
Haskell counterpart of 'BuildVersion' in 'lib/const...
Jose A. Lopes
12:17 pm Revision fd653cbd: Fix sign in default-yes for --enable-versionfull
The default for using the full version string in the directory
is not to use it. If the option --enable-versionfull i...
Klaus Aehlig
12:12 pm Revision dde3b0d5: Including missing RST files in packaging
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
The patch was released by the author into the public domain.
S...
Robin H. Johnson
12:07 pm Revision ab6536ba: Update supported lint tools version numbers
Linting is now verified against the lint tools version numbers as listed in this
patch.
These version are correspond...
Michele Tartara
10:55 am Revision e0e44476: Fix some wrong indentations in the code
Fix all instances of pep8's error: "E128 continuation line under-indented for
visual indent".
Signed-off-by: Michele...
Michele Tartara
10:55 am Revision 6294e2b4: Disable parenthesis indentation check
More recent versions of pep8 check for the indentation level of closing
parenthesis in a way that is incompatible wit...
Michele Tartara
10:52 am Revision fa0a1365: Fix an improperly escaped string
Mark a string representing a "sed" command including a regular expression as a
raw string, so that the entire escapin...
Michele Tartara
10:52 am Revision aac832d2: Make QaConfig a proper container
Newer pylint versions complain that QaConfig is not a proper container because
it does not implement the __len__(), _...
Michele Tartara
10:51 am Revision 5e34123e: Make QmpMessage a proper container
Newer pylint versions complain that QmpMessage is not a proper container because
it does not implement the __len__() ...
Michele Tartara

09/24/2013

06:22 pm Revision a9688b61: Prevent static field checking for dynamic classes
In order to check for the correctness of the accesses to fields of objects,
pylint uses astng, but this is known to f...
Michele Tartara
04:06 pm Revision 87947a9e: Fix metaclasses support in recent pylint versions
Recent versions of pylint require the first parameter of a metaclass to be
"cls". Older versions want "mcs". There's ...
Michele Tartara
02:36 pm Revision f5bfed26: Hs2Py constants: update Python references
Update references of Python constants in the previous patch to fetch
their values from the generated Haskell to Pytho...
Jose A. Lopes
02:36 pm Revision 61e32567: Hs2Py constants: add 'confd' related constants
Add 'confd' related constants to the Hs2Py constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
...
Jose A. Lopes
02:36 pm Revision 8d04ac5e: Hs2Py constants: update Python references
Update references of the Python constants that were introduced in the
previous patch.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
02:36 pm Revision 2924f169: Hs2Py constants: add some constants
Add 'opcodeReason', 'diskstatsFile', 'statFile', and
'mondTimeInterval', to the Hs2Py constant generation.
Signed-of...
Jose A. Lopes
02:36 pm Revision c890f66a: Organize Haskell constants
Reorder Haskell constants to match the order in the Python constants
module 'lib/constants.py' to make it easier to d...
Jose A. Lopes
02:16 pm Revision 921319f5: design: replace 'gnt-upgrade' by 'gnt-cluster upgrade'
Instead of using a separate binary, add the upgrade
functionality to gnt-cluster.
Signed-off-by: Klaus Aehlig <aehli...
Klaus Aehlig
10:37 am Revision d66acf3d: Fix RPC call to blockdev_getdimensions
The parameter format for call_blockdev_getdimensions has changed in a
previous patch. Here, the correct parameter for...
Thomas Thrainer
10:37 am Revision 117899a7: Fix cfgupgrade test wrt. downgrading physical_id
The physical_id field can't be recreated during downgrades, so don't
expect it to be during the test.
Signed-off-by:...
Thomas Thrainer
09:17 am Revision 76b920e6: Display node names instead of node UUIDs
Display resolved node names instead of node UUIDs in a couple of
warnings and log messages.
Signed-off-by: Thomas Th...
Thomas Thrainer
09:17 am Revision a0d2a91e: Only serialize dynamic_params on demand
To make sure that the dynamic_params field is not serialized by accident
to the configuration file only include it in...
Thomas Thrainer
09:17 am Revision 204eb58c: Remove physical_id field reference from tools
Remove remaining references to the physical_id field in cluster-merge
and sanitize-config.
Signed-off-by: Thomas Thr...
Thomas Thrainer
09:17 am Revision 5275a77f: Remove physical_id field from disks during upgrade
The physical_id field is no longer supported in disk objects, so remove
it during upgrades.
Signed-off-by: Thomas Th...
Thomas Thrainer
09:17 am Revision fd424c8a: Remove physical_id from config mock
Disk objects no longer support the physical_id field, so remove it from
mocked disk objects.
Signed-off-by: Thomas T...
Thomas Thrainer
09:17 am Revision 3d835d1b: Fix tests related to the physical_id field
Remove all references to the physical_id field of disk objects in tests.
Signed-off-by: Thomas Thrainer <thomasth@go...
Thomas Thrainer
09:17 am Revision a57e502a: Remove physical_id field from disk object
The 'physical_id' field of disk objects is no longer used, so remove it.
Also, all references are removed together wi...
Thomas Thrainer
09:17 am Revision 0c3d9c7c: Replace physical_id with dynamic_params
The disk field 'physical_id' has to be kept up to date whenever a disk
object is sent to a node via RPC. This is done...
Thomas Thrainer
09:17 am Revision 5bd52dab: Fix typo
Fix typo in comment.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@goog...
Thomas Thrainer

09/23/2013

06:34 pm Revision 90015bdd: Handle $(python_scripts) and tools/burnin as python scripts
With the new private-module layout, python scripts using the
ganeti module must end up in $(versionedsharedir) in ord...
Klaus Aehlig
06:34 pm Revision 5d9d1aff: Provide PYTHONPATH to burnin
One feature of the new private-module layout is that a python
script cannot simply 'import ganeti'. The reason is tha...
Klaus Aehlig
06:34 pm Revision 12475881: Export VERSIONEDSHAREDIR to _autoconf.py
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig

09/20/2013

04:36 pm Revision dd7863e7: Fix 'AutoConf.hs.in' template substitution
Fix 'AutoConf.hs.in' template substitution, namely, change 'SOCAT' to
'SOCAT_PATH' to match the value used in the inv...
Jose A. Lopes
04:30 pm Revision 61125868: Also install the version-dependent links forcefully
In this way, with default configuration options, running
make install twice in a row succeeds. Fixes issue 567.
Sign...
Klaus Aehlig
04:03 pm Revision cd824bde: Hs2Py constants: update 'SF_*' references
Update references to storage field Python constants to fetch their
values from 'lib/_constants.py'.
Signed-off-by: J...
Jose A. Lopes
04:02 pm Revision 37248170: Hs2Py constants: add storage fields
Add storage fields constants to the Haskell to Python constant
generation. These constants fetch their values from t...
Jose A. Lopes
04:02 pm Revision ccf17aa3: Move 'StorageField' to 'Ganeti.Types'
Move 'StorageField' to 'Ganeti.Types' in order to break the
circularity of 'Ganeti.Rpc' and be able to generate const...
Jose A. Lopes
03:39 pm Revision cd238561: Fix 'TOOLSDIR' when passed to 'src/AutoConf.hs'
Remove trailing parenthesis in 'TOOLSDIR' 'configure' variable when
passed to 'm4' to generate 'src/AutoConf.hs'.
Si...
Jose A. Lopes
03:22 pm Revision 32265e72: Add additional tests for utils.Retry
Also have some tests where the time the various components
(inspecting the time function, calling the function, etc) ...
Klaus Aehlig
03:22 pm Revision 38d1ee54: Make retry tests independent of actual time
Even in the tests, real time is used. While, generally, the assumptions
about execution time are pretty safe, in some...
Klaus Aehlig
03:21 pm Revision 34098a73: Fix corner-case in handling of remaining retry time
Consider a remaining time of 0 as already timed out. Otherwise,
there is no guarantee that calling utils.Retry with t...
Klaus Aehlig
09:56 am Revision 86610ed7: Improves allocation parameters check in move-instance
If the target cluster has a default iallocator, no allocation params
are needed. The parameter checks take this into ...
Hrvoje Ribicic
09:56 am Revision c3761d99: Move-instance can now change the disk template while moving
By using the --dest-disk-template option, the move-instance utility
can change the disk template of the moved instanc...
Hrvoje Ribicic

09/19/2013

06:15 pm Revision 2ff95a6b: Hs2Py constants: update Python references
Update references to the Python constants generated in the previous
patch.
Signed-off-by: Jose A. Lopes <jabolopes@g...
Jose A. Lopes
06:15 pm Revision 5867e439: Hs2Py constants: add constants from types
Add the constants to the Hs2Py constant generation from the Haskell
data types moved in the previous patch.
Signed-o...
Jose A. Lopes
06:15 pm Revision 8e6ef316: Move data types from 'Objects' to 'Types'
Move several Haskell data types from 'Ganeti.Objects' to
'Ganeti.Types' in order to be able to generate constants whi...
Jose A. Lopes
04:42 pm Revision 3311e336: Fix conflicting path values from 'configure'
Because the Hs2Py constant generation infrastructure is transitional,
there are two generated 'autoconf' modules, nam...
Jose A. Lopes
04:33 pm Revision a25fdde9: Fix constants for OOB commands
Fix values of the constants for OOB commands, namely, 'oobPowerOn' and
'oobPowerCycle'.
Signed-off-by: Jose A. Lopes...
Jose A. Lopes
04:31 pm Revision 2f523522: The $(gnt_python_sbin_SCRIPTS) are GENERATED_FILES
Before the layout change, the corresponding scripts used to be
part of PYTHON_BOOTSTRAP, hence were already considere...
Klaus Aehlig
03:49 pm Revision 230bc94a: Merge branch 'stable-2.9' into master
* stable-2.9
Fix incorrect conflict resolution in lib/cmdlib/instance.py
* stable-2.8
Version bump for 2.8 rc3
...
Klaus Aehlig
02:59 pm Revision 9f8e85c6: For exported paths, use the canonical ones
Some paths set that are set at configure time are needed at run
time. These are exported by the Makefile. Change this...
Klaus Aehlig
02:59 pm Revision c32dc51f: Update description of --enable-symlinks
As most of the symlinks in our setup are, in fact, independent
of the Ganeti version, they can be installed unconditi...
Klaus Aehlig
02:59 pm Revision 9fb2e563: Adapt the version-dependent symlinks to the new design
With the latest change of our update design, there are only two
symbolic links left, that are specific to a particula...
Klaus Aehlig
02:59 pm Revision eb875ff1: Add the version-independent symbolic links
According to our new upgrade design, a couple of links are
version-independent, and should be installed always.
Sign...
Klaus Aehlig
02:59 pm Revision 838d26ef: Make version granularity a configure option
From 2.10 onwards, all files are installed into versioned
directories. As everything stays compatible between revisio...
Klaus Aehlig
02:58 pm Revision 780060cb: Adapt the base directories according to new layout
The file layout described in the upgrades design document has changed.
Adapt the base directories accordingly.
Signe...
Klaus Aehlig
11:52 am Revision 8a7a197a: Hs2Py constants: update Python references
Update Python references to all constants added in the previous patch,
which are the constants associated with the Ha...
Jose A. Lopes
11:52 am Revision 85c48fbb: Hs2Py constants: add constants from 'Ganeti.Types'
Add to Hs2Py constant generation all constants that are defined by the
Haskell defined declared in 'Ganeti.Types'. T...
Jose A. Lopes
11:52 am Revision 58c09b0e: Fix alloc related constants value
Fix alloc related constants to fetch their value from the respective
Haskell types, which are defined in 'Ganeti.Type...
Jose A. Lopes
11:52 am Revision 774867f2: Add 'Ganeti.Types.OobStatus' for Hs2Py constants
Add 'Ganeti.Types.OobStatus' which is the Haskell counterpart to the
'OOB_STATUS_*' Python constants.
Signed-off-by:...
Jose A. Lopes
11:52 am Revision 14874844: Add 'PyValue' instance for triple
Add 'PyValue' instance for triple which is necessary for the
'CvErrorCode' related constants.
Signed-off-by: Jose A....
Jose A. Lopes
11:52 am Revision 06fd57e5: Fetch 'randomUuidFile' from 'ConstantUtils'
In 'Ganeti.Utils', update the reference to 'randomUuidFile' to fetch
the value from 'Ganeti.ConstantUtils' instead of...
Jose A. Lopes
11:52 am Revision 4475d529: Fix indentation
Fix indentation to match Haskell coding conventions.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by...
Jose A. Lopes
11:52 am Revision d91750e9: Fix missing constructors to 'CvErrorCode'
Data type 'Ganeti.Types.CvErrorCode' is missing several constructors,
namely, 'CvEINSTANCEUNSUITABLENODE', 'CvEGROUPD...
Jose A. Lopes
11:52 am Revision a8633d70: Add constructor 'TagKindNetwork' to 'TagKind'
Add missing constructor 'TagKindNetwork' to 'Ganeti.Types.TagKind'
which is the counterpart of the Python constant 'T...
Jose A. Lopes
11:52 am Revision 661c765b: Rename 'ExportModeRemove' to 'ExportModeRemote'
In "Ganeti.Types", rename constructor "ExportModeRemove" of
"ExportMode" to "ExportModeRemote". This fixes issue 577...
Jose A. Lopes
11:52 am Revision 9f312bae: Fix 'NICMode' missing 'NIC_IP_POOL'
Fix, in 'Ganeti.Types', data type 'NICMode', which is missing a
constructor which is the counterpart of the Python co...
Jose A. Lopes
11:52 am Revision 72e18df1: Change all types in 'Types' to use String
Haskell types should be the source of information related to
constants. Therefore, instead of building the Haskell t...
Jose A. Lopes
11:51 am Revision 9ee75f25: Add missing exports in 'Ganeti.Types'
Add missing exports in 'Ganeti.Types' which are necessary for
'Ganeti.HsConstants'. These exports concern the '*ToRa...
Jose A. Lopes

09/18/2013

07:23 pm Revision 80adbbe1: Perform proper cleanup on termination of Haskell daemons
Haskell deamons did not perform proper cleanup at termination. There was no code
for removing the pid file, and the c...
Michele Tartara
02:33 pm Revision 7236533e: Hs2Py constants: add xen related constants
Add xen related constants, such as, 'xenBootloader' and 'xenCmdXm' to
the Haskell to Python constant generation.
Sig...
Jose A. Lopes
02:33 pm Revision df726590: Hs2Py constants: add 'devConsole' and syslog related
Add 'devConsole' and syslog related constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. L...
Jose A. Lopes
02:33 pm Revision e82d1e98: Add Template Haskell 'declareLADT'
Add 'declareLADT' in Template Haskell module to declare Haskell
datatypes using 'String's directly as values for the ...
Jose A. Lopes
01:29 pm Revision edada04b: Fix strings invalid with newer lint versions
Generating ASCII characters via a supported but not official escape sequence
leads to a "Anomalous backslash in strin...
Michele Tartara
11:55 am Revision 216bfc8f: Update Python references to exit code constants
Update Python references to exit code constants to take their values
from the generated 'lib/_constants.py'.
Signed-...
Jose A. Lopes
11:55 am Revision 43a9e860: Haskell to Python constants: add exit code constants
Add exit code constants to Haskell to Python constant generation
infrastructure. The module 'Ganeti.ConstantUtils' m...
Jose A. Lopes
11:55 am Revision 1a79791d: Update Python reference to 'DAEMONS_LOGBASE'
Update Python reference of 'DAEMONS_LOGBASE' to fetch its value from
the generated 'lib/_constants.py' module.
Signe...
Jose A. Lopes
11:55 am Revision 856eb53c: Haskell to Python constants: add 'daemonsLogbase'
Move constant 'DAEMONS_LOGBASE' from Python to Haskell to be
automatically generated.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
11:55 am Revision 1c31b263: Flip dependency between Haskell types and constants
Before this patch, Haskell types, such as, 'GanetiDaemon' and
'GanetiGroup', and related functions were taking their ...
Jose A. Lopes
11:54 am Revision f81d41cc: Replace import in 'Ganeti.Path'
Given that Haskell has its own generated 'AutoConf' module, it makes
sense that other Haskell modules import 'configu...
Jose A. Lopes
11:54 am Revision 30277da3: Fix missing dependency on 'src/hs2py-constants'
Fix missing dependency on target 'src/hs2py-constants' in
'Ganeti.ConstantUtils'.
Signed-off-by: Jose A. Lopes <jabo...
Jose A. Lopes

09/17/2013

06:45 pm Revision 47cce79a: Further tests for LUNodeAdd
This patch adds tests for the remaining functionality of LUNodeAdd.
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum...
Sebastian Gebhard
06:45 pm Revision 55ba3ad6: Add unittests for OpenvSwitch in LUNodeAdd
This patch adds node_unittest.py containing the framework for unit
testing LUNodeAdd.
At this point, only test setup ...
Sebastian Gebhard
06:45 pm Revision 4256f8fe: Replace more IPs with reserved adresses
Recently, some IP addresses were changed to TEST-NETs from RFC 5737.
This patch changes some more occurences of wrong...
Sebastian Gebhard
06:45 pm Revision d45574de: Mock RPC for unit tests
This patch enables patching the rpc module to create a mocked version
which can be used to mock a rpc.DnsOnlyRunner()...
Sebastian Gebhard
05:54 pm Revision 5be00b4b: Fix incorrect conflict resolution in lib/cmdlib/instance.py
Between the last two merges, nothing happened on stable-2.9. The
only change on stable-2.8 that touched lib/cmdlib/in...
Klaus Aehlig
02:12 pm Revision 52469de0: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add a default to file-driver when unspecified over RAPI
Remove typo from RAPI documentation
Descri...
Klaus Aehlig
12:15 pm Revision a3de343e: Version bump for 2.8 rc3
Also, add to the NEWS file a couple of items that were still missing.
Signed-off-by: Michele Tartara <mtartara@googl...
Michele Tartara

09/16/2013

02:58 pm Revision 9288992e: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7
Fix incorrect manpage reference to htools
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by...
Klaus Aehlig
02:47 pm Revision f8ff4aa2: Fix incorrect manpage reference to htools
the manpages for hcheck, hinfo and hroller have an incorrect reference
to htools(7) which does not exist. This patch ...
Martin Zobel-Helas
02:25 pm Revision ff34fb97: Add a default to file-driver when unspecified over RAPI
The file-driver value, used by file-based instances, had a default value when
an instance was being created over the ...
Michele Tartara
12:50 pm Revision 34be621a: Fix monitoring daemon extra log filepaths
Haskell constants 'daemonsExtraLogfilesGanetiMondAccess' and
'daemonsExtraLogfilesGanetiMondError' cannot be constant...
Jose A. Lopes

09/13/2013

02:55 pm Revision 355d1f32: Fix lint errors in fix keyerrors patch
This patch fixes one lint error introduced by my recent patch to
fix keyerrors in lib/cmdlib/node.py.
Signed-off-by:...
Sebastian Gebhard
02:20 pm Revision 11414807: Fix example IPs and hostnames in tests
Our tests are a form of documentation, and hence should use
IPs from the TEST-NET ranges according to RFC 5737. They ...
Klaus Aehlig
02:07 pm Revision 282c1922: Remove typo from RAPI documentation
"be used instead." was repeated twice.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehli...
Michele Tartara
01:50 pm Revision 0d8ce33e: Fix keyerrors in cmdlib node
This patch fixes potential key errors in the OpenvSwitch implementation
in cmdlib/node.py. The checks in that file ex...
Sebastian Gebhard
11:59 am Revision b8e39189: design update: symlink structure
Update the upgrade design document according to the outcome
of the design discussion at GanetiCon 2013. There are two...
Klaus Aehlig
11:46 am Revision 798582cf: Make CPUload Data Collector aware of clock ticks
Modify CPUload data collector to get the number of clock ticks
per second from Posix.Unistd. Since CPUload collector ...
Spyros Trigazis

09/12/2013

06:26 pm Revision f8d4db63: Add shelltest for the --ignore-dynu option of hbal
In the example, we have two nodes and 6 instances, all using external
storage. There are four small instances on one ...
Klaus Aehlig
06:26 pm Revision 14b4e045: Make hbal support the option --ignore-dynu
This will allow to do balancing based only on static information.
In particular, the effect of balancing towards same...
Klaus Aehlig
06:25 pm Revision 81b6fa23: Make ExtLoader honor the --ignore-dynu option
Make the external data loader correctly honor the --ignore-dynu option
by clearing the dynamic utilisation data from ...
Klaus Aehlig
06:25 pm Revision a06a4dac: Provide utility function to clear utilisation data
Using this utility function, the dynamic utilisation of all instances
can be set to 0. This will have the effect of a...
Klaus Aehlig
06:25 pm Revision 61f96e6f: Define a new option --ignore-dynu
This option, if set, will tell htools to ignore any dynamic
use data.
Signed-off-by: Klaus Aehlig <aehlig@google.com...
Klaus Aehlig
04:49 pm Revision 068431d2: Describe the files in doc/users in NEWS
While only a small feature, the files in doc/users can influence
the way ganeti is packaged. Hence it should be menti...
Klaus Aehlig
04:49 pm Revision 1ce2f51f: Update the upgrade procedure
Now that users-setup asks for confirmation, explain in the
procedure how asking for this confirmation can be skipped....
Klaus Aehlig
03:56 pm Revision d1b2ffe8: Add unit tests for LUInstanceMigrate and -Failover
This patch adds rudimentary unit test coverage for LUInstanceMigrate and
LUInstanceFailover.
Signed-off-by: Thomas T...
Thomas Thrainer
03:56 pm Revision 34956ece: Remove unneeded except block
The validation of the opcodes already checks the size parameter for the
right type, so this except block is not requi...
Thomas Thrainer
03:56 pm Revision b02063fe: Add unit tests for LUInstanceChangeGroup
This patch provides unit test coverage for LUInstanceChangeGroup.
Signed-off-by: Thomas Thrainer <thomasth@google.co...
Thomas Thrainer
03:56 pm Revision aefc2f89: Use RpcResult.Warn where appropriate
Those two occurrences of warnings can be replaced the RpcResult.Warn
method, which is done in this patch.
Signed-off...
Thomas Thrainer
03:56 pm Revision 2f3230f6: Add unit test for LUInstanceQuery and -QueryData
This patch provides rudimentary unit test coverage for LUInstanceQuery
and LUInstanceQueryData.
Signed-off-by: Thoma...
Thomas Thrainer
03:56 pm Revision f41b569f: Fix testMasterNetmask in TestLUClusterSetParams
The netmask was previously wrongly given as a bitmask, now it's given as
the net prefix length.
Signed-off-by: Thoma...
Thomas Thrainer
03:56 pm Revision 27619aac: Add unit tests for LUInstanceSetParams
This patch adds unit tests for LUInstanceSetParams. It does not provide
100% coverage, but covers a significant porti...
Thomas Thrainer
03:56 pm Revision f667baab: Rename variable to reflect its content
Rename the "node" variable to "node_uuid" as that's the content it
actually receives.
Signed-off-by: Thomas Thrainer...
Thomas Thrainer
03:32 pm Revision 6b604e1d: Fix missing dependency in 'src/hs2py-constants'
Fix target 'src/hs2py-constants' because it must depend on
'src/AutoConf.hs'. Fixes issue 573.
Signed-off-by: Jose A...
Jose A. Lopes
03:23 pm Revision 0c5f1b13: Merge branch 'stable-2.9' into master
* stable-2.9
Fix bridging in net-common
Sync build_chroot with buildbot slack role
Auto-upgrade of disks' confi...
Thomas Thrainer
02:01 pm Revision 191e5c19: Update reference to Python constants
Update reference to 'DAEMONS_PORTS' and related constants that are
used on the Haskell side to construct the 'daemons...
Jose A. Lopes
02:01 pm Revision 6dc0cb59: Add 'daemonsPorts' and related constants
* add 'daemonsPorts' and related constants used in the construction of
the 'Map' that maps each daemon to its corre...
Jose A. Lopes
02:01 pm Revision cd0359bc: Add 'Protocol' datatype
Add 'Protocol' datatype which is necessary for the 'daemonsPorts'
constant.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
02:01 pm Revision 92b28956: Fix instances of 'PyValue'
Fix instances of 'PyValue', namely, for tuples and maps.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewe...
Jose A. Lopes
02:01 pm Revision f2cf4da2: Update references to Python constants
Update references to the Python constants introduced by the previous
patch.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
01:51 pm Revision f361a6ee: Haskell to Python constants: more constants
* move several groups of constants, from Python to Haskell, which are
currently being used in Haskell, including SS...
Jose A. Lopes
12:24 pm Revision b2e7599d: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Make tools/users-setup explain its actions first
Generate tools/users-setup from descriptions
Prov...
Thomas Thrainer

09/11/2013

07:11 pm Revision 9317e5dc: Make tools/users-setup explain its actions first
Before doing any changes, make tools/users-setup explain its
actions first, and ask the user for confirmation. If the...
Klaus Aehlig
07:11 pm Revision 7822dd66: Generate tools/users-setup from descriptions
Now that we have a machine readable description of the users
to be added to the system, use it to generate the tools/...
Klaus Aehlig
07:11 pm Revision d2f465dc: Provide ganeti user and group data in easy-to-parse form
Upon build time, also generate, in the directory doc/users, files
containing the groups, the users with their primary...
Klaus Aehlig
11:16 am Revision 6970c28b: Inconsistent auto repair related constant
In 'lib/constants.py', fix inconsistency in the value of
'AUTO_REPAIR_TAG_SUSPENDED'. Fixes issue 569.
Signed-off-by...
Jose A. Lopes
11:02 am Revision d5b17094: Update constant references
Update Python user separation constants to reference the generated
module 'lib/_constants.py' instead of 'lib/_autoco...
Jose A. Lopes
11:01 am Revision 26eca119: Add user separation constants
Add user separation constants, such as, 'daemonsGroup', 'rapiGroup',
and 'rapiUser', to the Haskell to Python constan...
Jose A. Lopes
11:01 am Revision ca2d5dcc: Add target 'AutoConf.hs'
Add Makefile target to generate 'AutoConf.hs' and add this file to
'.gitignore'.
Signed-off-by: Jose A. Lopes <jabol...
Jose A. Lopes
11:00 am Revision fa70fff2: Add AutoConf.hs.in
Add 'AutoConf.hs.in' which is the template for generating the file
'AutoConf.hs'. This file mimics the Python equiva...
Jose A. Lopes

09/10/2013

02:33 pm Revision 3e5b34c3: Also clean up top-level *.tix files
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Klaus Aehlig
11:58 am Revision 2b1c5a63: Haskell to Python constants: Update 'ADMINST_ALL' reference
Update constant 'ADMINST_ALL' to take its value from the generated
'lib/_constants.py' module.
Signed-off-by: Jose A...
Jose A. Lopes
11:58 am Revision 9413ef24: Haskell to Python constants: add 'adminstAll'
Add constant 'adminstAll' to Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.c...
Jose A. Lopes
11:58 am Revision f2b6e7d4: Add 'FrozenSet'
Add type 'FrozenSet' that wrap a Haskell 'Set', and a guarded
constructor for this type and a 'PyValue' instance.
Si...
Jose A. Lopes
11:58 am Revision 4c9fdf69: Fix module documentation
Fix 'Ganeti.Hs2Py.ListContants.hs.in' template module documentation to
warn about automatic module generation.
Signe...
Jose A. Lopes
11:58 am Revision 88284d52: Fix module documentation
Fix 'lib/_constants.py.in' documentation to be consistent with other
modules.
Signed-off-by: Jose A. Lopes <jabolope...
Jose A. Lopes
11:58 am Revision c93041a5: Fix module documentation
Fix 'HsConstants' module documentation to warn about proper module
usage.
Signed-off-by: Jose A. Lopes <jabolopes@go...
Jose A. Lopes
11:58 am Revision 4651c69f: Wrap 'Set' in 'ListSet' for the opcodes
In what Haskell to Python opcodes are concerned, a Haskell 'Set' is
translated into a Python 'list'. In other words,...
Jose A. Lopes
11:58 am Revision 3a933ed8: Fix 'List' instance of 'PyValue'
Fix 'List' instance of 'PyValue' to properly convert Haskell lists to
Python lists.
Signed-off-by: Jose A. Lopes <ja...
Jose A. Lopes

09/09/2013

07:47 pm Revision b2fbea47: Replace literals with constants
In "lib/cmdlib/node.py", in lines 1315-1316, 1354, and 1359-1370,
replace string literals with constants. Fixes issu...
Jose A. Lopes
12:28 pm Revision e46de62a: Fix bridging in net-common
Bridging does not work correctly in net-common. The parameters passed
by Ganeti are put in /var/run/ganeti/xen-hyperv...
Sebastian Gebhard
12:22 pm Revision 78237f71: Remove dsahostkeypub during config downgrade
Remove the newly-added DSA host public key field from the configuration file
when downgrading to 2.7, if present. Oth...
Apollon Oikonomopoulos
12:22 pm Revision 3022ea9f: Mark the DSA host pubkey as optional
Commit a9542a4 introduced support for DSA SSH keys. However, the dsahostkeypub
field added to the config is not marke...
Apollon Oikonomopoulos

09/01/2013

10:23 pm Revision 1d58152c: Hotplug: rpc support
Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the fol...
Dimitris Aragiorgis
10:23 pm Revision 2add54f3: Hotplug: cmdlib support
Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place the --hotplug opti...
Dimitris Aragiorgis
10:23 pm Revision 33a360ff: Hotplug: client support
Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after rebo...
Dimitris Aragiorgis
10:23 pm Revision b63a6aae: Hotplug: Update manpages and NEWS
Add --hotplug entry in gnt-instance manpage.
Add NEWS entry for hotplug support.
In both cases mention that hotplug i...
Dimitris Aragiorgis
10:23 pm Revision e2d0b1a8: Hotplug: cfgupgrade for deprecated fields
Add cfgupgrade so that we remove any deprecated fields hotplug
implementation used in the past.
Signed-off-by: Dimit...
Dimitris Aragiorgis
10:21 pm Revision 775b17c9: Hepler methods for PCI slots and device ids
Device naming:
QEMU monitor expects devices to be uniquely named. Device ids derive
from the following function:
kvm_...
Dimitris Aragiorgis
10:21 pm Revision 2cb80f29: Use -device with pci info if possible
Extend kvm_cmd with -device option for the case of paravirual
Disks and NICs.
Signed-off-by: Dimitris Aragiorgis <di...
Dimitris Aragiorgis
10:21 pm Revision 428cc60b: Introduce hotplug methods (hypervisor inteface)
4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with...
Dimitris Aragiorgis
10:21 pm Revision 1a73ae30: Extract socket related code from QmpMonitor class
Separate unix socket related code from QmpMonitor class and
make the latter extend the newly introduced one: MonitorS...
Dimitris Aragiorgis
10:21 pm Revision 99d2fbe9: Helper methods that check for hotplug support
Hotplug is currently *not* supported for:
- KVM < 1.0
- existing devices in the cluster
- python-fdsend module is...
Dimitris Aragiorgis
10:21 pm Revision 6de79d67: Disable iswritable unittest
When running it with root priviledges it fails.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
10:21 pm Revision cf0f857e: Hotplug: objects and constants additions
Add pci slot in NIC/Disk objects. This slot will be used only
by hypervisor code. Currently only KVM will use it and ...
Dimitris Aragiorgis
10:21 pm Revision 6ebbbbc2: Introduce _GenerateKVMBlockDevicesOptions()
Simply move logic that generates block device related
options out of _GenerateKVMRuntime().
Signed-off-by: Dimitris ...
Dimitris Aragiorgis
10:21 pm Revision cbdaf62a: Prepare kvm options to support -device for disks
Newer kvm version support -device driver,... option where available
drivers can be found by running kvm -device ? com...
Dimitris Aragiorgis
10:21 pm Revision 96f82929: Prepare block_devices runtime entry
With this patch we add another entry in runtime files along with
kvm_cmd, kvm_nics, and hvparams. block_devices that ...
Dimitris Aragiorgis

08/30/2013

04:41 pm Revision e2bbdded: Sync build_chroot with buildbot slack role
Keep the build_chroot script as similar as possible to the buildbot's slack role
for squeeze.
Signed-off-by: Michele...
Michele Tartara
03:15 pm Revision 02eb0fe5: Don't install dangling symlink for hail
hail is installed to the iallocators directory, not to the binary
directory. Hence, if --enable-symlinks is given (th...
Klaus Aehlig

08/29/2013

04:13 pm Revision 73d6b4a7: Auto-upgrade of disks' config wrt LD-renaming
This patch adds auto-upgrade functionality to the disk
objects with respected to the switch from LD constants
to DT c...
Helga Velroyen
04:05 pm Revision ce1b0c05: Haskell to Python opcodes: fix Unit
Fix how Haskell to Python opcode generation handles unit. It seems
that, in 'template-haskell-2.7.0', unit is represe...
Jose A. Lopes
01:17 pm Revision 73b63a40: Import original constants instead of generated
Haskell to Python constant generation introduced duplicated constants
in Haskell. This patch eliminates the duplicat...
Jose A. Lopes
01:17 pm Revision acf9af53: Update Python constants references to '_constants.py'
Update Python constants 'ADMINST_{DOWN,UP,OFFLINE}' to take their
values from the Haskell generated module 'lib/_cons...
Jose A. Lopes
01:17 pm Revision 1b2adaa6: Setup constant generation infrastructure
Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and P...
Jose A. Lopes
01:17 pm Revision fec1fac1: Rename 'Constants.hs' to 'PyConstants.hs'
Rename the generated 'Constants.hs' module, which contains the Haskell
constants generated from Python, to 'PyConstan...
Jose A. Lopes
01:17 pm Revision d34c79b6: Add Template Haskell code for constant generation
Add Template Haskell functions that generate a list in Haskell
containing all the constants to be generated in Python...
Jose A. Lopes
01:17 pm Revision c4d68e39: Move some 'PyValue' instances to a separate file
Move some 'PyValue' instances to a separate file so they can be
available to other modules which need these instances...
Jose A. Lopes
12:02 pm Revision 880ab678: Fix tests regarding DISK_LD_DEFAULTS
This fixes two remaining issues regarding the renaming
of DISK_LD_DEFAULTS:
- The keys of the map DISK_LD_DEFAULTS c...
Helga Velroyen

08/28/2013

10:13 pm Revision 6da90c0a: Fixing renaming of DISK_LD_DEFAULTS
This fixes the somewhat over-eager renaming of
DISK_LD_DEFAULTS to DISK_DT_DEFAULTS, which clashes
with another occur...
Helga Velroyen
06:31 pm Revision 3abb0a5c: Fix documentation for gnt-node evacuate -p option
Update the documentation to remove the claim that the --primary-only
option results in data copies while in fact it o...
Leon Handreke
06:19 pm Revision cd3b4ff4: Replace LD_* constants with DT_* constants
LD_* constants are basically like DT_* constants, except
for that both file and shared file were mapped to file.
In o...
Helga Velroyen
06:19 pm Revision 2de59e2c: QA: fix file storage QA wrt ipolicy
Ipolicy-allowed disk templates are now dependend on the
cluster-wide enabled disk-templates. The QA for file
storage ...
Helga Velroyen
05:52 pm Revision 2408d766: Bump versions to release 2.9~beta1
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Klaus Aehlig
05:52 pm Revision 036744e2: Add design-2.9 to docinput
While design-2.9.rst was already created earlier, it
wasn't registered in the Makefile. Fix this.
Signed-off-by: Kla...
Klaus Aehlig

08/27/2013

05:16 pm Revision eb0413c6: Provide symlinks for all myexeclib_SCRIPTS
As we also install the nodist_myexeclib_SCRIPTS, we also need to
provide symbolic links for them if symlink installat...
Klaus Aehlig
04:50 pm Revision 2c88200b: CLI: actually remove the --no-drbd-storage option
This removes the '--no-drbd-storage' option completely
from the command line interface. The hugepages design
doc stil...
Helga Velroyen
04:50 pm Revision 38969795: cluster init/modify: set helper without DRBD being enabled
The logic around the DRBD usermode helper so far was that
setting it was only possible when DRDB was not explicitely
...
Helga Velroyen
04:50 pm Revision a25f44a4: QA: adapt changes wrt DRBD usermode helper
This adjusts and extends the QA for 'gnt-cluster modify'
with respect to the changes regarding the DRBD
usermode help...
Helga Velroyen
04:50 pm Revision 25e5e785: objects.py: upgrade config
Upgrading the config with respect to the DRBD usermode
helper was so far based on a guess whether or not DRBD
is enab...
Helga Velroyen
04:50 pm Revision 31ccfc0e: cluster modify: deprecate --no-drbd-storage
As in the previous patch, the option '--no-drbd-storage'
is deprectated, because it is subsumed by the non-inclusion
...
Helga Velroyen
04:50 pm Revision 7796e1f8: cluster init: deprecate --no-drbd-storage
Whether or not a particular type of storage is enabled
or not is determined by the list of enabled disk templates
in ...
Helga Velroyen
04:50 pm Revision 9af7ece3: cluster verify: check drbd helper only when drbd enabled
This change makes sure that 'gnt-cluster verify' only
checks for the DRBD usermode helper, if DRBD is actually
enable...
Helga Velroyen
04:50 pm Revision 7c577910: cmdlib/cluster.py: unit tests for usermode helper
This patch factors out the functions that deal with setting
and modifying the DRBD usermode helper in cluster.py in
o...
Helga Velroyen
04:50 pm Revision c121d42f: gnt_cluster.py: unit test for usermode helper
This patch factors out the functions in gnt_cluster
(related to cluster init and cluster modify) which
deal with sett...
Helga Velroyen
04:50 pm Revision af95196c: bootstrap.py: unit tests for setting the usermode helper
This patch factors out the function that checks the DRBD
usermode helper in bootstrap (cluster init) in order to make...
Helga Velroyen
03:08 pm Revision 46204919: In the manpages, use unversioned paths
Ganeti now installs all its files into a version-specific directory
and only adds symbolic links at the canonical ins...
Klaus Aehlig
03:04 pm Revision f148fe23: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add function to unwrap Results logging failures
Make the DRBD collector more failure-resilient
Pre...
Klaus Aehlig
11:46 am Revision c3ae7998: Change versiondir to adhere the changed design
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Klaus Aehlig
11:46 am Revision 4c4153b5: Change design to install to ${PREFIX}/lib/ganeti-${VERSION}
Even though the ${PREFIX}/opt/ only came into the design in the review
process, it is not the best choice, as /opt is...
Klaus Aehlig
11:28 am Revision 0865101d: NEWS update and version bump for 2.8 rc2
Latest modifications and fixes added to the NEWS file.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed...
Michele Tartara
09:32 am Revision 6afb9fb4: Simplify '_CheckOutputFields'
Function '_CheckOutputFields' was receiving three field sets, two of
which were simply being merged together. This w...
Jose A. Lopes
09:32 am Revision dc3dcdaf: Add 'SF_NODE' to 'VALID_STORAGE_FIELDS'
Constant 'SF_NODE' is a storage field and, therefore, should be in
'VALID_STORAGE_FIELDS'. This patch fixes this and...
Jose A. Lopes
09:31 am Revision c2266ec8: Remove storage field duplication in 'qa'
QA was adding 'SF_TYPE' to a list containing all storage fields (i.e.,
'VALID_STORAGE_FIELDS'). However, 'SF_TYPE' i...
Jose A. Lopes
« Previous
Next »
 

Also available in: Atom