Activity
From 08/03/2013 to 09/01/2013
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... - 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... - 10:23 pm Revision 33a360ff: Hotplug: client support
- Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after rebo... - 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... - 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... - 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_... - 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... - 10:21 pm Revision 428cc60b: Introduce hotplug methods (hypervisor inteface)
- 4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with... - 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... - 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... - 10:21 pm Revision 6de79d67: Disable iswritable unittest
- When running it with root priviledges it fails.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 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 ... - 10:21 pm Revision 6ebbbbc2: Introduce _GenerateKVMBlockDevicesOptions()
- Simply move logic that generates block device related
options out of _GenerateKVMRuntime().
Signed-off-by: Dimitris ... - 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... - 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 ...
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... - 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...
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... - 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... - 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... - 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... - 01:17 pm Revision 1b2adaa6: Setup constant generation infrastructure
- Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and P... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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 ... - 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> - 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...
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... - 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... - 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
... - 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... - 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... - 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
... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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... - 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> - 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... - 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... - 09:32 am Revision 6afb9fb4: Simplify '_CheckOutputFields'
- Function '_CheckOutputFields' was receiving three field sets, two of
which were simply being merged together. This w... - 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... - 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...
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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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: ... - 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... - 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... - 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... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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.
... - 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... - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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... - 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...
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... - 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> - 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...
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...
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... - 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... - 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-... - 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-... - 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:... - 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... - 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 <... - 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... - 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>... - 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...
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... - 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... - 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... - 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... - 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... - 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...
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...
08/09/2013
- 02:08 pm Revision 3d85d4bf: Remove duplicate argument from cabal install
- network==2.3 is duplicate in cabal install. One occurrence can thus be removed.
Signed-off-by: Sebastian Gebhard <se... - 02:08 pm Revision 37f56360: Typo fix in lib/server/noded.py
- Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 11:30 am Revision ae3ab08b: QA: make ipolicy test respect enabled disk templates
- This makes the 'gnt-cluster modify --ipolicy-*' tests
respect the enabled disk templates on the QA cluster.
If the re...
08/08/2013
- 06:48 pm Revision eb161df2: QA: adjust tests wrt to ipolicy disk templates
- This adjusts the cluster QA with respect to the new checks
between the ipolicy disk templates and the enabled disk
te... - 06:48 pm Revision c89eb67d: ClusterSetParams: move vg-name checks from to CheckPrereq
- This fixes a bug in the logic of 'gnt-cluster modify'.
Some checks that should better be done in 'CheckPrereq'
were a... - 06:48 pm Revision 3f8567e1: man gnt-cluster: mention ipolicy check
- This updates the 'gnt-cluster' man page to mention the
relationship between the ipolicy's list of allowed disk
templa... - 06:48 pm Revision a8f04850: Update NEWS file regarding ipolicy checks
- This patch updates the NEWS file to mention the new checks
between the ipolicy's list of allowed disk tempaltes and
t... - 06:48 pm Revision 702243ec: gnt-group add/modify: ipolicy vs disk templates
- This patch adds a consistency check between the ipolicy's
list of allowed disk templates with the cluster-wide
enable... - 06:48 pm Revision 4e771a95: Move Ipolicy utility function to cmdlib/common.py
- Since the check of consistency between an ipolicy and
the list of enabled disk templates will not only be
needed on c... - 06:48 pm Revision d514e18b: bootstrap: restrict ipolicy to enabled disk templates
- With this patch, on cluster creation, the initial instance
policy's list of allowed disk templates will be modified
i... - 06:48 pm Revision 33a6464e: gnt-cluster modify: ipolicy vs enabled disk templates
- This patch adds a check to LUClusterSetParams which
ensures that the list of allowed disk templates is a
subset of th... - 06:48 pm Revision 1532b078: gnt-cluster modify: factor out ipolicy check
- This refactors the LUClusterSetParams to do all ipolicy
sanity / validity checks in a separate function
in order to i... - 06:19 pm Revision fdfa63cb: Disable pylint warning to fix build
- The _CheckLUResult method gets overridden in a subclass which actually
requires the self parameter, so ignore the pyl... - 05:21 pm Revision b8f45292: Add possibility to access locked LU in tests
- This features is useful to test (private) methods of LU's during tests,
where those methods rely on the LU being comp... - 05:20 pm Revision 850be460: Add test for LUClusterVerifyConfig
- Add unit test covering LUClusterVerifyConfig.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helg... - 05:20 pm Revision c60f7675: Add test for LUClusterVerify
- As this LU returns other jobs as result, submitting jobs from within
LU's is now mocked too.
Signed-off-by: Thomas T... - 01:38 pm Revision 9e67e425: Fix TINicParams type predicate
- Change the value type of the 'TINicParams' dictionary predicate from
'Maybe NonEmptyString' to 'Maybe String' to be c... - 11:10 am Revision 961ddf1e: Generate text report of Haskell coverage
- In order to generate a coverage graph, we generate also the coverage
data as text format. This eases parsing on Build... - 10:31 am Revision 5cbf7832: Fix opcodes and parameters
- * fix some return types in opcodes and some types and documentation in
parameters.
* fix serialization of the defau...
08/07/2013
- 06:52 pm Revision 08cef8fc: Add unit test for LUClusterRename
- Also mock the netutils and ssh module in order to test all code paths.
Signed-off-by: Thomas Thrainer <thomasth@goog... - 06:52 pm Revision c487ae24: Add unit test for LUClusterRepairDiskSizes
- Also add build method for easy building of disk objects to the test
framework.
Signed-off-by: Thomas Thrainer <thoma... - 06:52 pm Revision f02733cc: Introduce shortcut properties for config objects
- Some configuration objects are accessed quite often, so introduce
shortcut properties for those.
Signed-off-by: Thom... - 06:52 pm Revision a794b8d7: Add unit test for LUClusterSetParams
- Some changes to the test framework were performed while writing this
test:
- Extended builder for disks
- Introduce... - 06:52 pm Revision 812e07ab: Add unit test for LUClusterPostInit
- Also extract common assertion logic for hook invocations to
CmdlibTestCase.
Signed-off-by: Thomas Thrainer <thomasth... - 06:52 pm Revision b730e2a7: Add unit test for LUClusterQuery
- Unit-test LUClusterQuery. Some changes in the mocked cluster
configuration are made, because the configuration was no... - 06:52 pm Revision 6bb43023: Use ConfigWriter.GetMasterNodeInfo() consistently
- This shortcut method to get the node object of the master node directly
makes the code more readable and concise. The... - 06:52 pm Revision 6aac41fa: Add unit test for LUClusterRedistConf
- Unit-test LUClusterRedistConf. Given the simplicity of the LU, this unit
test only exercises the LU code.
Signed-off... - 06:52 pm Revision bd6fb93b: Add unit tests for LUClusterDestroy
- This patch adds unit test for the LUClusterDestroy Logical Unit.
Signed-off-by: Thomas Thrainer <thomasth@google.com... - 06:51 pm Revision 0e1b5262: Move cluster-related unittest to cluster_unittest
- cmdlib_unittest should still be split further, but at least the cluster
related tests are moved to the proper file ye... - 06:51 pm Revision 1fa88aa6: Move cmdlib-related unittests to cmdlib/
- ganeti.cmdlib_unittest.py and
ganeti.cmdlib.instance_storage_unittest.py are moved to the
test/py/cmdlib directory. A... - 06:51 pm Revision eb172e55: Add unit tests for LUClusterConfigQuery
- Also, proper initialization of the runtime architecture information was
added.
Signed-off-by: Thomas Thrainer <thoma... - 06:51 pm Revision e0b8df13: Add unit test for LUClusterDeactivateMasterIp
- This patch adds unit tests for the LUClusterDeactivateMasterIp Logical
Unit.
Signed-off-by: Thomas Thrainer <thomast... - 06:48 pm Revision 19830e88: Add unit test for LUClusterActivateMasterIp
- In order to properly assert the called RPC method, __eq__ is implemented
on ConfigObject as well.
Signed-off-by: Tho... - 06:48 pm Revision e969a81f: Add unit test for LUTestAllocator
- Additionally to adding unit tests for LUTestAllocator, the test
framework was adapted for its requirements.
Signed-o... - 06:48 pm Revision ef725c86: Remove unneeded checks
- Those checks are already covered by the "types" in the opcodes, so
remove them.
Signed-off-by: Thomas Thrainer <thom... - 06:48 pm Revision bd39b6bb: Enable pylint and PEP8 for test support code
- The test support code is mainly written from scratch, so in order to
ensure to keep the code quality high, enable pyl... - 06:48 pm Revision 3efa7659: Initial version of cmdlib test framework
- The initial version of the cmdlib test framework is able to execute LU's
with the following components mocked:
* Co... - 06:48 pm Revision 72a7f6b3: Install python mock using easy_install in chroot
- We require a newer mock library, so install it using easy_install in
chroot.
Signed-off-by: Thomas Thrainer <thomast... - 06:48 pm Revision 242e6bdd: Require newer python mock library
- Older Python mock libraries do not provide MagicMock, which eases
mocking of complex objects quite a bit. As this is ... - 06:48 pm Revision 2fe9deec: Remove Python < 2.6 compatibility code
- This code was used for Python versions < 2.6 which we don't support any
more.
Signed-off-by: Thomas Thrainer <thomas... - 06:46 pm Revision 1ca326c8: Merge branch 'stable-2.9'
- * stable-2.9
Fix batch creation of instances
Fix documentation of gnt-instance batch-create
Support multi insta... - 05:41 pm Revision 804d72eb: Merge branch 'stable-2.8' into stable-2.9
- * stable-2.8
Fix batch creation of instances
Fix documentation of gnt-instance batch-create
Support multi insta... - 02:29 pm Revision 0c072225: Merge branch 'stable-2.7' into stable-2.8
- * stable-2.7
Fix documentation of gnt-instance batch-create
Support multi instance allocs without iallocator
Do... - 12:09 pm Revision 33b52bdc: Fix batch creation of instances
- During batch creation of instances the 'reason' field in opcodes is set
to None (but the field is present). This caus... - 11:43 am Revision e3aa2b69: Fix documentation of gnt-instance batch-create
- The documentation of gnt-instance batch-create was outdated and
contained invalid examples. This patch corrects the m... - 11:43 am Revision eba4d783: Support multi instance allocs without iallocator
- If all instances in the multi allocation request have already their
primary and secondary node set, there is no need ... - 10:43 am Revision 61c9a3d6: Update parameter variables
- Because opcodes are generated, parameter variables no longer
exist. This patch fixes the Python opcode tests not to r... - 10:43 am Revision 6888a6ed: Remove test for mutable default parameter values
- Opcode parameters contain default values which can be, for example, a
list, dict, or set. Because these values are mu... - 10:43 am Revision 3eba270a: Remove Python opcode test 'TestClusterOsList'
- Python opcode generation produces also calls to Python type predicates
in a more composable way compared to the previ... - 10:43 am Revision aea2f8d6: Remove "missing result" check in opcode tests
- Some opcodes used 'None', others used 'ht.TNone', as a way to
represent the absence of a return type. This no longer ... - 10:43 am Revision 8e4968ca: Remove Python type predicate 'NoType'
- Type predicate 'NoType' is no longer necessary.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Gui... - 10:42 am Revision 0a3af7b9: Update .gitignore with opcode generated files
- Python opcode generation produces 'opcodes.py' and there is also the
program 'hs2py' which must go in .gitignore.
Si... - 10:42 am Revision 580b1fdd: Hook h2spy in Makefile.am
- * add rules to Makefile.am to use hs2py to generate the Python opcodes
from Haskell and update tests to check that ... - 10:41 am Revision 4157b044: Add hs2py program that generates Python opcodes
- Add hs2py which is a Haskell program that uses the 'Hs2Py' module to
output the actual Python opcode strings.
Signed... - 10:41 am Revision f3e38e89: Generate Python opcodes from opcode descriptors
- Add Haskell module Hs2Py which contains the helper functions that
generate the Python opcodes as strings from the Has... - 10:41 am Revision d9f1d93c: Remove TagType
- By removing 'TagObject' in the previous patch, 'TagType' also became
useless, since it was only used by 'TagObject'. ... - 10:41 am Revision de36f091: Remove TagObject
- The 'TagObject' datatype became useless because it was replaced by
'TagKind'. This patch removes 'TagObject', its 'Ar... - 10:41 am Revision 6e94b75c: Update Harep, Query server, and tests
- Update Harep, Haskell query server, and tests concerning Luxi and
opcodes to reflect the changes to Haskell to Python... - 10:41 am Revision 34af39e8: Add Python opcode generation
- * add Python opcode generation to Template Haskell
* fix all the opcodes and parameters, including their types and
... - 10:41 am Revision 1446d00b: Fix spacing in opcode documentation generation
- Opcode documentation is automatically generated from the Python
opcodes in the reStructuredText format. This patch f... - 10:41 am Revision d31193c3: Eliminate Haskell constant for opcode names
- Modify 'autotools/convert-constants' not to generate the Haskell
constant that holds all opcode names. By having Has... - 10:41 am Revision 6c2c542e: Add opcode documentation
- Add Haskell module containing opcode documentation for all the
opcodes.
Signed-off-by: Jose A. Lopes <jabolopes@goog... - 10:41 am Revision 44c15fa3: Add Haskell types for opcodes and parameters
- Add Haskell types for IP addresses (version 4 and 6), IP network
addresses, tag kind, and query result code.
Signed-... - 10:41 am Revision 884dc063: Move constants to the appropriate module
- Move constants ALLOCATABLE_KEY and FAILED_KEY to the constants module.
Signed-off-by: Jose A. Lopes <jabolopes@googl... - 10:41 am Revision 72cd5493: Add predicates to test Python types in opcodes
- Add helper functions to test Python types, which are used by opcode
parameters and return values.
Signed-off-by: Jos... - 10:41 am Revision 4c98734a: Fix missing constant from Python constants
- Add INIC_BRIDGE constant which is present in Haskell opcodes but not
in Python opcodes.
Signed-off-by: Jose A. Lopes... - 10:41 am Revision fd96442a: Update version in TODO deprecation comment
- Update comment containing a TODO for a future release.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-... - 10:38 am Revision a9542a4f: Support DSA SSH keys in bootstrap
- As outlined in issue 338, Ganeti failed to initialize a cluster if no
RSA SSH key is present on the master node. This...
08/06/2013
- 04:32 pm Revision 026f444f: Include VCS version in `gnt-cluster version`
- Also print the VCS version in the output of `gnt-cluster version`. This
makes the VCS version also available over RAP... - 11:36 am Revision f2bb6f4f: Document 'viridian' hypervisor parameter
- List the 'viridian' hypervisor parameter (valid for Xen HVM) in the
gnt-instance manpage.
Signed-off-by: Thomas Thra... - 11:36 am Revision ffc27116: Support 'viridian' parameter in Xen HVM
- This parameter is required to prevent bluescreens in Windows instances.
This fixes issue 233.
Signed-off-by: Heiko ...
08/05/2013
- 08:36 pm Revision d59cf0d5: Hotplug: cfgupgrade for deprecated fields
- Add cfgupgrade so that we remove any deprecated fields hotplug
implementation used in the past.
Signed-off-by: Dimit... - 08:36 pm Revision decaeacb: Remove pylint 0106
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 08:36 pm Revision f30eb81a: Hotplug: cmdlib support
- Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place the --hotplug opti... - 08:36 pm Revision 98a26962: 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... - 08:36 pm Revision d3d74e21: Hotplug: client support
- Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after rebo... - 08:36 pm Revision 3852473e: Hotplug: rpc support
- Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the fol... - 08:36 pm Revision b1b20833: Introduce hotplug methods (hypervisor inteface)
- 4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with... - 08:36 pm Revision 96807c7a: 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... - 08:36 pm Revision 191cc0d6: 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_... - 08:36 pm Revision ff66b512: 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... - 08:36 pm Revision fc2d56b0: 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... - 08:36 pm Revision 8235cd88: 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 ... - 06:20 pm Revision c669a741: 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... - 12:00 pm Revision 3792fa8e: mond: Introduce a new threading mechanism
- Change mond's interface in order to be able to call periodically the
collection functions of the data collectors that... - 11:59 am Revision 2da679f7: Add CPUload collector
- Introduce CPUload data collector as described in the corresponding
design document. Add two data types in Datacollect... - 11:59 am Revision f6d4b52d: Introduce LoadParser and Types for a new Collector
- Introduce the Parser and Types for a new Data Collector.
Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
Signed-... - 11:59 am Revision 090e5de8: Factor out utility functions from DiskstatsP
- Remove the utility functions from DiskstatsP and import them from
Parsers. Also modify the parser implementation to a... - 11:59 am Revision f5bbddb5: Add generic Parsers file
- Extract the utility functions of Diskstats's collector
Parser so other collector Parsers can be able to use them.
Si... - 11:59 am Revision 0a3aa3d6: Update mond's design document
- Update mond's design document to describe the data collectors as
stateless or stateful.
Signed-off-by: Spyros Trigaz... - 11:06 am Revision 24e96ef6: Fix formatting of instance names in config verify
- Instance object were incorrectly treated as instance UUID's which caused
an exception to be raised. Using the names o... - 11:05 am Revision ebf967ee: Document --no-conflicts-check for gnt-network
- gnt-network add and connect do support the --no-conflicts-check option.
This is now also documented in the man pages....
Also available in: Atom