Activity

From 08/11/2013 to 09/09/2013

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

08/23/2013

03:16 pm Revision 0ac2ff3b: Update iallocator design to include MonD data
Add "MonD data" sub-section.
Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
Signed-off-by: Michele Tartara <mta...
Spyros Trigazis
03:12 pm Revision 78f99abb: Lint improvements to regexps
Fix some regular expressions so that they pass lint checks with newer versions
of pylint.
Signed-off-by: Michele Tar...
Michele Tartara
10:27 am Revision f51e9849: Add name for the Parameter ND_OVS
That was forgotten when the parameter was added.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michel...
Klaus Aehlig
09:56 am Revision 03b0b21b: Add new node parameters to Object.hs
In commit 807d8853, new node parameters were introduced in the python world.
Add them to the haskell world as well to...
Klaus Aehlig

08/22/2013

06:18 pm Revision 902eb29f: Add unit test for GetLinuxNodeInfo
The function was not unit tested previously.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga...
Michele Tartara
06:17 pm Revision 23cb5697: Prepare GetLinuxNodeInfo for testing
The names of the input files are not hardcoded anymore, but they are now default
parameters.
No changes for the call...
Michele Tartara
06:02 pm Revision 9cf292af: Add configure option on whether to install symlinks
As of Ganeti 2.10, all files are installed into a single, version
specific, directory. In this way, several Ganeti ve...
Klaus Aehlig
06:01 pm Revision 667e9959: Move installation to a single Ganeti specific directory
As first step of implementing the new upgrade procedure (see design
document), make Ganeti install all files into a s...
Klaus Aehlig
03:03 pm Revision 7bb0c47f: Check right disk template in inst set params
While checking the parameters of the opcode for LUInstanceSetParams, the
already set disk_template was checked instea...
Thomas Thrainer

08/21/2013

06:26 pm Revision 8baa9ca7: Add OpenvSwitch functionality to LUNodeAdd
This patch adds functionality to LUNodeAdd to
- check the arguments given. It will warn if no physical link is give...
Sebastian Gebhard
06:26 pm Revision 90d8d4d1: Add RPC functionality for creating OpenvSwitches
This patches adds the needed RPC functions in order to create the
OpenvSwitches on the nodes.
Signed-off-by: Sebasti...
Sebastian Gebhard
06:26 pm Revision c760c1aa: Add parameters for OpenvSwitch to gnt-node
Extend gnt-node by parameters for OpenvSwitch. --ovs Flag to enable
OpenvSwitch, --ovs-name for the name of the Openv...
Sebastian Gebhard
06:26 pm Revision 2e5fc2ed: Documentation of new node parameters
This will add the new node parameters to the ganeti man page.
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
S...
Sebastian Gebhard
06:26 pm Revision 7699ab7b: Minor documentations fixed to gnt-node man page
Fix two grammatical errors in gnt-node man page
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
Signed-off-by: ...
Sebastian Gebhard
06:26 pm Revision 4daa5eb9: Backend: Create openvswitches on the nodes
This is the functionality to create the OpenvSwitches on the nodes.
Parameters are given via opcode and checked as we...
Sebastian Gebhard
06:21 pm Revision 807d8853: Add params for OpenvSwitch to ndparams
This patch introduces the needed fields for OpenvSwitch parameters
into ndparams and also provides the default values...
Sebastian Gebhard
06:20 pm Revision 4ab6784a: Add design for OpenvSwitch autoconfiguration
This design doc adds details about how the autoconfiguration of
openvswitch should work in the cluster <-> node group...
Sebastian Gebhard
06:19 pm Revision b1633ed9: Make the DRBD collector more failure-resilient
If information about instances is not available, just log the error and
continue without it.
Signed-off-by: Michele ...
Michele Tartara
06:18 pm Revision 838393d1: Add function to unwrap Results logging failures
Add logWarningIfBad, a utility function similar to exitIfBad, that logs a
warning and returns a default value instead...
Michele Tartara
04:30 pm Revision b01d9504: Fix bug in NodeD and RapiD usage strings
The strings did not comply with the style guide, and were not diplayed
correctly either.
Signed-off-by: Michele Tart...
Michele Tartara
10:27 am Revision 1583d0e4: Adapt tests for merged changes in IPolicy handling
The enabled disk templates in IPolicies are stricter checked after the
merge from 2.9, so adapt the tests to follow t...
Thomas Thrainer
10:27 am Revision 4a8c84f3: Add unit tests for LUInstanceMultiAlloc
This patch adds unit test coverage for LUInstanceMultiAlloc.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Re...
Thomas Thrainer
10:27 am Revision bf2a3eba: Add unit test for LUInstanceRename
This patch adds unit test coverage for LUInstanceRename.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Review...
Thomas Thrainer
10:27 am Revision 72bac0c5: Add basic unit tests for instance import
This patch adds basic unit tests for instance import in
LUInstanceCreate. It does not provide full coverage though.
...
Thomas Thrainer
10:27 am Revision 57da0458: Introduce GetMockLU and reduce use of _FakeLU
Introduce a new method of creating a mocked LU for tests, and reduce the
use of the legacy _FakeLU class.
Signed-off...
Thomas Thrainer
10:27 am Revision e066018b: Add unit tests for LUInstanceRemove and -Move
This patch adds unit test coverage for LUInstanceRemove and
LUInstanceMove.
Signed-off-by: Thomas Thrainer <thomasth...
Thomas Thrainer
10:27 am Revision 66222813: Add unit tests for LUInstanceCreate and move tests
- Move instance related tests to instance_unittest.py
- Adapt moved tests to the new test framework where appropriate...
Thomas Thrainer
10:26 am Revision 7b6996a8: disk_template param is optional in instance create
The disk_template parameter is optional during disk create (the first
enabled disk template is taken in this case), s...
Thomas Thrainer
10:25 am Revision d2429198: Merge branch 'stable-2.9' into master
* stable-2.9
Allow instance mods if only osparams are given
Use node UUIDs for locking instead of node names
Al...
Thomas Thrainer

08/20/2013

06:44 pm Revision cf9f3b92: Design document for automatised upgrades
This design document describes how upgrade and downgrades
can be made more automatic for future versions.
Signed-off...
Klaus Aehlig
03:48 pm Revision dd84e715: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Allow instance mods if only osparams are given
Fix harep manpage title
Use FQDN to check master no...
Thomas Thrainer
03:18 pm Revision 125e1230: Allow instance mods if only osparams are given
osparams are now recognized as changes, so changing only those without
other changes works too now.
(cherry picked f...
Thomas Thrainer
02:46 pm Revision 6869f673: Use node UUIDs for locking instead of node names
LUInstanceMultiAlloc used node names instead of node UUIDs to lock
required nodes. This patch fixes this bug.
Signed...
Thomas Thrainer
01:54 pm Revision 71a3ad07: Set pcre version to 0.94.4
Running 'make' in the chroot complains about pcre 0.94.4
being required.
Signed-off-by: Helga Velroyen <helgav@googl...
Helga Velroyen
01:53 pm Revision 5eae613c: Allow instance mods if only osparams are given
osparams are now recognized as changes, so changing only those without
other changes works too now.
Signed-off-by: T...
Thomas Thrainer

08/19/2013

04:23 pm Revision a61a0813: Fix a node name vs. UUID bug in instance import
This patch fixes a bug where node names were incorrectly used as node
UUID's.
Signed-off-by: Thomas Thrainer <thomas...
Thomas Thrainer
02:34 pm Revision 64ef390e: Typo in hroller man page
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Helga Velroyen
11:09 am Revision b9aae98b: Use node UUID for locking in LUInstanceMove
This LU (incorrectly) used the node name for locking. This patch
corrects this error.
Signed-off-by: Thomas Thrainer...
Thomas Thrainer

08/16/2013

03:12 pm Revision 2c7c1fa8: Fix harep manpage title
The harep manpage title underline was one character short, leading in
pandoc producing an invalid manpage header.
Si...
Apollon Oikonomopoulos

08/14/2013

03:19 pm Revision 3c768f88: Add unit test for LUGroupVerifyDisks
This patch adds unit test coverage for LUGroupVerifyDisks.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Revi...
Thomas Thrainer
03:19 pm Revision 4b8f9420: Add unit test for LUGroupEvacuate
This patch adds unit test coverage for LUGroupEvacuate.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewe...
Thomas Thrainer
03:19 pm Revision 7ac3f7b0: Add unit tests for LUGroupRename
This patch adds unit test coverage for LUGroupRename.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-...
Thomas Thrainer
03:19 pm Revision 8ef0c3eb: Add unit tests for LUGroupRemove
This patch adds unit test coverage for LUGroupRemove.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-...
Thomas Thrainer
03:19 pm Revision 67d2f602: Add unit tests for LUGroupSetParams
This adds unit test coverage for LUGroupSetParams.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by:...
Thomas Thrainer
03:19 pm Revision ae904a6b: Add unit test for LUGroupQuery
Provide unit test coverage for LUGroupQuery.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido...
Thomas Thrainer
03:19 pm Revision d189f139: Add unit tests for LUGroupAssignNodes
Add unit test coverage for LUGroupAssignNodes, including the split
instances check.
Signed-off-by: Thomas Thrainer <...
Thomas Thrainer
03:19 pm Revision 9051a390: Add unit tests for LUGroupAdd
Provide unit test coverage for LUGroupAdd.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido T...
Thomas Thrainer
03:19 pm Revision 8129eac1: Move TestLUGroupAssignNodes to group_unittest.py
While moving the test, it is adapted to the new test framework.
Signed-off-by: Thomas Thrainer <thomasth@google.com>...
Thomas Thrainer
03:19 pm Revision 6e755f9e: Fix IPolicy violation check in LUGroupSetParams
cfg.GetMultiInstanceInfoByName returns a list of tuples, not a list of
instance objects which is required by ComputeN...
Thomas Thrainer

08/13/2013

03:33 pm Revision bbe0f264: Fix IPolicy violation check in LUGroupSetParams
cfg.GetMultiInstanceInfoByName returns a list of tuples, not a list of
instance objects which is required by ComputeN...
Thomas Thrainer
12:04 pm Revision ecff332f: Use FQDN to check master node status
The master node name in SS conf is stored as FQDN, so also use the FQDN
on each node to check if it is the master nod...
Thomas Thrainer
12:02 pm Revision 570b6322: Add test for LUClusterVerifyDisks
This LU only creates additional jobs as result, so this is a trivial
unit test.
Signed-off-by: Thomas Thrainer <thom...
Thomas Thrainer
12:02 pm Revision 9fdb10be: Extend unit tests for LUClusterVerifyGroup
- Add tests for additional Verify* methods
- Converted test for VerifyFiles to the new test framework
- Added possibi...
Thomas Thrainer
11:59 am Revision 18397489: Revert "Display node name instead of UUID in error message"
This reverts commit fbff213691328562cc4029f3babaa2e72e2012c4.
When running hooks, the node name is used to identify n...
Thomas Thrainer
08:54 am Revision fbff2136: Display node name instead of UUID in error message
The hooks callback in LUClusterGroupVerify misinterpreted the key in the
node result as name instead of node UUID. Th...
Thomas Thrainer

08/12/2013

04:06 pm Revision c214896c: Use node name in error message
CheckNodeNotDrained displayed only the node UUID if the node is drained.
In order to provide a more helpful error mes...
Thomas Thrainer
« Previous
Next »
 

Also available in: Atom