Activity

From 02/22/2014 to 03/23/2014

03/21/2014

05:19 pm Revision cc0c1197: Move the test for adding/removing certs to config. tests
.. and update it to work with ConfigWriter instead of the 'security'
module.
Signed-off-by: Petr Pudlak <pudlak@goog...
Petr Pudlak
05:19 pm Revision f1ab74ee: Add a function for getting the list of candidate certs
.. to ConfigWriter as well.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen <helgav@googl...
Petr Pudlak
05:19 pm Revision f0c7c333: Move utility functions for candidate certs. to ConfigWriter
In particular AddNodeToCandidateCerts and RemoveNodeFromCandidateCerts.
Calling 'cfg.Update(cluster)' causes problem...
Petr Pudlak
12:22 pm Revision ae8fdfa6: Record changes to the gnt-os info manpage section
Update the 'info' section of the 'gnt-os' manpage.
Signed-off-by: Dimitris Bliablias <bl.dimitris@gmail.com>
Signed-...
Dimitris Bliablias
12:22 pm Revision 92aca8e1: Extend unittest for gnt-os info changes
Extend unit test ganeti.query_unittest.py, to correspond to the
changes made in the 'gnt-os info' output.
Signed-off...
Dimitris Bliablias
12:22 pm Revision 7f37f0ca: Show OS variant information in gnt-os info
Currently, the non-standard/modified per-OS hypervisor parameters, or
OS specific parameters can be listed only by th...
Dimitris Bliablias

03/20/2014

04:56 pm Revision b5e82a96: Fix 'tools/move-instance' for instances without OS scripts
Moving instances requires creating a new instance, but
'tools/move-instance' was passing an empty string for OS scrip...
Jose A. Lopes
04:56 pm Revision 83fc0ab6: Skip rename when OS scripts are absent
When an instance does not have OS scripts because, for example, it
uses an OS image, do not rename the instance after...
Jose A. Lopes
04:56 pm Revision 3473fb81: Use raw disks in import/export when OS scripts are absent
When an instance does not have OS scripts because, for example, it has
an OS image, then the import/export should not...
Jose A. Lopes
01:32 pm ganeti-local Revision e9bae2dd: Bump version to 2.10.2
Change the release version to 2.10.2 in configure.ac.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-...
Thomas Thrainer
01:32 pm Revision e9bae2dd: Bump version to 2.10.2
Change the release version to 2.10.2 in configure.ac.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-...
Thomas Thrainer
01:32 pm ganeti-local Revision bac7c7b5: Prepare NEWS file for 2.10.2
Mention all relevant changes / fixes which go into this release.
Signed-off-by: Thomas Thrainer <thomasth@google.com...
Thomas Thrainer
01:32 pm Revision bac7c7b5: Prepare NEWS file for 2.10.2
Mention all relevant changes / fixes which go into this release.
Signed-off-by: Thomas Thrainer <thomasth@google.com...
Thomas Thrainer
01:32 pm ganeti-local Revision ee92ab54: Allow releases scheduled 5 days in advance
With the really slow QA's it makes sense to schedule releases more than
3 days in advance, like in this case where th...
Thomas Thrainer
01:32 pm Revision ee92ab54: Allow releases scheduled 5 days in advance
With the really slow QA's it makes sense to schedule releases more than
3 days in advance, like in this case where th...
Thomas Thrainer
12:50 pm Revision 2ea97bec: (2.13) kvm: Add migration capabilities as an hvparam
Latest QEMU versions support various migration capabilities. Each
can be enabled/disabled with 'migrate_set_capabili...
Dimitris Aragiorgis
12:50 pm Revision b15fd3b6: (2.10) Fix conflict between virtio + spice or soundhw
With regard to PCI slot occupied by a KVM instance we have
observed the following:
1) Slot 0 will always be Host bri...
Dimitris Aragiorgis
12:50 pm Revision ee987b27: (2.10) Fix bitarray ops wrt PCI slots
Introduce new method `_GetFreeSlot()` responsible only for bitarray
operations. It fixes search in case of bitarray i...
Dimitris Aragiorgis
12:50 pm Revision 0832536c: (2.11) Make BlockDev subclasses adhere the interface for Create
In commit 702c3270 two new parameters were added to the
Create function of BlockDev. Make subclasses also adhere
this...
Dimitris Aragiorgis
12:50 pm Revision 9117bfef: (2.11) Make BlockDev subclasses adhere to new interface
In commit 702c3270 two new parameters were added to the
constructor of BlockDev. Make the subclassess accept these
ad...
Dimitris Aragiorgis
12:50 pm Revision 453c5aad: (2.11) Make disk.name and disk.uuid available in bdev
Until now Disk name and uuid was not available on bdev level.
In case of ExtStorage, this info is useful, and may be ...
Dimitris Aragiorgis
12:50 pm Revision e5d772ba: ifdown: Use new methods to create NIC files
NIC files containing corresponding tap name are created during:
* instance startup
* NIC hot-add
For compatibility ...
Dimitris Aragiorgis
12:50 pm Revision 1f37bb38: ifdown: Use new methods to unconfigure NICs
We unconfigure a NIC (invoke ifdown script) during:
* instance cleanup
* finalizing successful migration on source n...
Dimitris Aragiorgis
12:50 pm Revision 7a5f9a84: ifdown: Introduce _UnconfigureNIC() helper method
This method takes a NIC object, creates the proper invironment
and invokes ifdown script.
It takes an extra boolean ...
Dimitris Aragiorgis
12:50 pm Revision b08cd7bf: ifdown: Make Read/LoadKVMRuntime classmethods
.. and make LoadKVMRuntime() take instance_name rather than the
whole instance object as first argument. This will be...
Dimitris Aragiorgis
12:50 pm Revision dfb92e7d: ifdown: Extract env creation from ConfigureNic()
Introduce new helper method that creates the environment passed
to ifup/ifdown scripts. Instance tags and NIC index w...
Dimitris Aragiorgis
12:50 pm Revision 09dc8ed7: ifdown: Introduce helper methods
Until now Ganeti upon TAP creation, a NIC file was created
under $RUNDIR/kvm-hypervisor/nic/<instance_name>/<nic_inde...
Dimitris Aragiorgis
12:50 pm Revision 497861f3: ifdown: Change kvm-if* scripts
* Rename kvm-vif-bridge to kvm-ifup-custom
* Search if /etc/ganeti/kvm-if*-custom is available
and execute it inste...
Dimitris Aragiorgis
12:50 pm Revision 5d961cd2: ifdown: Add example kvm-ifdown script
This script currently does nothing more that calling user the
user provided one if it exists.
User provided script s...
Dimitris Aragiorgis
12:50 pm Revision 25790126: (2.9) Make gnt-debug locks display fake job locks properly
When a job is dependent on other jobs, a fake lock is created whose
pending entry contains a list of job ids waiting ...
Hrvoje Ribicic
12:50 pm Revision bfca72bc: (2.10) Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
12:50 pm Revision 627e4118: (2.9) Make NiceSort treat integers well
NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this sur...
Hrvoje Ribicic
12:50 pm Revision 1a4648d6: (2.10) hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
12:50 pm Revision 65d9b8cf: (2.10) hotplug: Each hotplug qemu commmand with a separate socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
12:50 pm Revision e1d83b06: (2.9) Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
12:50 pm Revision e73b8a1a: (2.9) Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
12:50 pm Revision 3844af35: (2.9) Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
12:50 pm Revision e9bf90bd: (2.9) Assign unique filenames to filebased disks
With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But fil...
Ilias Tsitsimpis
12:50 pm Revision 5f70f1e3: (2.9) Remove deprecated _ERROR_DATA_KEY in QMP
Commit de253f14 of QEMU repo "BREAKS QMP's compatibility for
the error response" as it removes "data" key from qmp er...
Dimitris Aragiorgis
12:50 pm Revision 77e96fb8: (2.10) Include target node in hooks nodes for migration
In case of DRBD, hooks run on both primary (source) and secondary
(target) nodes. To get the same behavior for DTS_EX...
Dimitris Aragiorgis
12:50 pm Revision b7923b51: (ipfix) Allow NICs with mode=routed and ip=none
This allows us to define an IPv6 only network (currently with a
dummy IPv4 network) with connectivity mode 'routed' a...
Dimitris Aragiorgis
12:50 pm Revision 3068a714: (ext) Do not remove disks if --keep-disks and DT_EXT
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:50 pm Revision 55a105e8: (ext) Override disk_cache hvp with disk param in ext
This is a hack that brings disk_cache hypervisor param
at disk level. This is supported only for disks of ext
templat...
Dimitris Aragiorgis
12:50 pm Revision 298cfd62: (ext) Pass disk geometry in kvm command
Currently we allow this feature only for ext templates that
allow arbitrary params per disk. If both 'heads' and 'sec...
Dimitris Aragiorgis
12:50 pm Revision 8f65655b: (ext) Export logical_id info to hooks env
DISK_ID as the second part of logical_id
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:50 pm Revision c838303f: (b64) Use base64 encoding in networks' bitarrays
This is needed for GRNET'S production environment.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:50 pm Revision 18065956: (snap) Snapshot support for ExtStorage
Extend existing RPC params with the snapshot name and
add allow snapshot not only for LVM but also for EXT.
Signed-o...
Dimitris Aragiorgis
12:50 pm Revision c943ae17: (grnet) Remove deprecated idx slot from NIC/Disk objects
This code will run when reading old kvm runtime files created
by hot-plugging related code back in Ganeti 2.6.2
Sign...
Dimitris Aragiorgis
12:49 pm Revision 955b3b9e: (grnet) Enable -device option for old disks upon migration
Change _GenerateDeviceKVMId() to take device index as an
extra argument. In case device has uuid and pci info
we retu...
Dimitris Aragiorgis
12:49 pm Revision 21b6252d: (grnet) Move disk options before nic ones in kvm command
Older versions of Ganeti did ensure that during startup
disk devices will be inserted before nic devices in PCI
confi...
Dimitris Aragiorgis
12:49 pm Revision 86a61eac: (2.10) Introduce _UpgradeSerializedRuntime() method
This method is invoked during _AnalizeSerializedRuntime() and is
meant to modify runtime files in the way cfgupgrade ...
Dimitris Aragiorgis
12:49 pm Revision cfb6cf99: (grnet) 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
12:49 pm Revision 9e26eb92: (2.10) Export NIC's UUID and name to network scripts
In case of kvm None values are not allowed in env dict
so we have to add name only if not None.
In case of Xen since...
Dimitris Aragiorgis
12:49 pm Revision efefc35e: (2.10) Use HooksDict() to export network options in Xen
Remove duplicate code that exports network options to environment
variables.
Signed-off-by: Dimitris Aragiorgis <dim...
Dimitris Aragiorgis
12:49 pm Revision 91d99e52: (2.10) Export tags via GetTags() to network scripts
Use GetTags() instance method in order to export instance tags
to NIC configuration scripts and files of kvm and xen ...
Dimitris Aragiorgis
12:49 pm Revision dd46754b: (2.10) Fix net-common script in case of routed mode
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:49 pm Revision 78315736: (2.10) Introduce --hotplug-if-possible option
This will be useful for an external entity using RAPI that
wants to modify devices of instances.
The common use case...
Dimitris Aragiorgis
12:49 pm Revision d6393d68: (2.10) RAPI: Make use of request_body in Reboot/Remove
Until now, the shutdown_timeout parameter could only be passed to
ShutdownInstance() inside kwargs, causing it to be ...
Dimitris Aragiorgis
12:49 pm Revision 49387595: (2.10) RAPI: Pass depends body arg (if any) to opcode
Most rlib2 classes override the default _GetDefaultData() method with
custom methods that parse a request's body and ...
Dimitris Aragiorgis
12:49 pm Revision 6332b7f2: (2.10) Allow instances to obtain externally reserved IPs
The administrator should be able to assign an externally reserved IP
to a Ganeti instance manually, if desired. Curre...
Dimitris Aragiorgis
12:49 pm Revision 96ba3764: (2.10) Check if hotplug is supported in CheckPrereq
Introduce new RPC hotplug_supported that invokes the corresponding
hypervisor's method which checks if hotplug is gen...
Dimitris Aragiorgis
12:49 pm Revision d1098c71: (2.10) Mark cluster's IPs as externally reserved
Currently, upon network creation, nodes' and master's IPs
are reserved in the pool.
This leads to pool reservations ...
Dimitris Aragiorgis
12:49 pm Revision 89b471a2: (2.10) SimpleRetry on BlockDev.Remove()
Sometimes, upon disk removal, corresponding file descriptors
are kept briefly open by various processes (hypervisor, ...
Dimitris Aragiorgis
12:49 pm Revision 01b354aa: (2.10) drive_del after device_del in disk hot-remove
This is needed so that qemu process really releases the
corresponding file descriptor and thus we can dmsetup/lvremov...
Dimitris Aragiorgis
12:49 pm Revision e57b3be8: (2.10) Minor changes regarding hotplug support
* Mention restrictions in NEWS
- RBD userspace access mode
- In case of a downgrade instances should suffer a reb...
Dimitris Aragiorgis
12:49 pm Revision e8f8d0f7: (2.10) Fix in RPC
Use _SingleDiskDictDP() instead of _ObjectDict() for serializing
a disk.
Signed-off-by: Dimitris Aragiorgis <dimara@...
Dimitris Aragiorgis
12:49 pm Revision 58016a64: (2.10) block_devices -> kvm_disks renaming
and a couple more styple fixes.
block_devices are misleading so rename them to kvm_disk (just like kvm_nics)
Signed-...
Dimitris Aragiorgis
12:49 pm Revision 3b4a9bba: (2.10) Make hotplug related method raise HotplugError
Hotplug is not supported by default and thus we raise
HotplugError() for hotplug related methods.
If a hypervisor wan...
Dimitris Aragiorgis
12:49 pm Revision 2400eba6: (2.10) Some fixes in _GenerateKVMBlockDevicesOptions()
* Add docstring.
* fix missed usecase of boot_disk=False if kernel_path is given.
* Use devlist arg in GenerateKVMBlo...
Dimitris Aragiorgis
12:49 pm Revision 2aa8c093: (2.10) Add unittests for Hotplug support
Try base InstanceSetParams tests that modify instance's
devices with hotplug=True.
Add some unittests for kvm hyperv...
Dimitris Aragiorgis
12:49 pm Revision 4edaf707: (2.10) Extend qa to test hotplug support
Only if default hypervisor is KVM try all hotplug related actions.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:49 pm Revision 0d69cb01: (2.10) 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
12:49 pm Revision 489a70b8: (2.10) Hotplug: client support
Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after rebo...
Dimitris Aragiorgis
12:49 pm Revision 22299c5d: (fix) SetDiskID() before blockdev_assemble()
Before blockdev_assemble we call SetDiskID() in order to fill up
physical_id of disk needed by bdev.Assemble and even...
Dimitris Aragiorgis
12:49 pm Revision 44e08911: (2.10) Hotplug: cmdlib support
Hotplugging is done by functions invoked by ApplyContainerMods(). In
order hotplugging to take place the --hotplug op...
Dimitris Aragiorgis
12:49 pm Revision c1398e4a: (2.10) Hotplug: rpc support
Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the fol...
Dimitris Aragiorgis
12:49 pm Revision fe1ae444: (2.10) Return link_name in blockdev_assemble rpc
Until now this RPC returned only dev_path. Since we use it in
hotplug we have to know the simlink of the device so th...
Dimitris Aragiorgis
12:49 pm Revision 51abe597: (2.10) 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
12:49 pm Revision 08ef9efe: (2.10) Introduce hotplug methods (hypervisor inteface)
4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with...
Dimitris Aragiorgis
12:49 pm Revision 232f860d: (2.10) 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
12:49 pm Revision 7f4a1195: (2.10) 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
12:49 pm Revision 44ca8b7a: (2.10) Helper 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
12:49 pm Revision 96d7613b: (fix) Remove uri slot from block_devices
In stable-2.10 we have userspace access mode for rbd. Backend
calculates uri along with link and dev_path. Thus we ha...
Dimitris Aragiorgis
12:49 pm Revision a9e4a18b: (2.10) 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
12:49 pm Revision bad6ba87: (2.10) Introduce _GenerateKVMBlockDevicesOptions()
Simply move logic that generates block device related
options out of _GenerateKVMRuntime().
NOTE: Back-port correspo...
Dimitris Aragiorgis
12:49 pm Revision 9439542d: (2.10) 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
12:49 pm Revision 3a603c38: (2.10) 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
12:49 pm Revision b7c538d0: (2.9) Document vif-ganeti usage
In order to be able to use it as vif-script one has to
create a symbolic link inside /etc/xen/scripts pointing
to /us...
Dimitris Aragiorgis
12:49 pm Revision 5086065f: (2.9) Refactor NIC configuration scripts
Add new script vif-ganeti that could be used instead of
default vif-bridge in order NIC customization can be more
fle...
Dimitris Aragiorgis
12:49 pm Revision cb0abdbc: (2.9) Make NIC setup more flexible in case of Xen
For every NIC write down a file that contains NIC's
info (MAC, mode, link, network details), that can
be sourced by a...
Dimitris Aragiorgis
12:49 pm Revision c255b994: (2.8r) Workaround for Issue 621
Upon LUNetworkDisconnect() and LUNetworkConnect() try to acquire
all cluster's instances.
By that _LS_ACQUIRE_ALL ac...
Dimitris Aragiorgis
11:15 am Revision 0ca627db: Rearranging entries in NEWS file
After releasing 2.11.0 rc1 I realized that the order of
the 2.11 entries in the NEWS file is inconsistent with
the ot...
Helga Velroyen
11:06 am ganeti-local Revision 7a476412: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Include qa/patch in Makefile
Handle empty patches better
Move message formatting functions to sepa...
Thomas Thrainer
11:06 am Revision 7a476412: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Include qa/patch in Makefile
Handle empty patches better
Move message formatting functions to sepa...
Thomas Thrainer
10:52 am ganeti-local Revision ade40547: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Include qa/patch in Makefile
Handle empty patches better
Move message formatting functions to sepa...
Thomas Thrainer
10:52 am Revision ade40547: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Include qa/patch in Makefile
Handle empty patches better
Move message formatting functions to sepa...
Thomas Thrainer
10:26 am ganeti-local Revision 7d76de75: Include qa/patch in Makefile
Fix the build by including the qa/patch directory in Makefile.am.
Signed-off-by: Thomas Thrainer <thomasth@google.co...
Thomas Thrainer
10:26 am Revision 7d76de75: Include qa/patch in Makefile
Fix the build by including the qa/patch directory in Makefile.am.
Signed-off-by: Thomas Thrainer <thomasth@google.co...
Thomas Thrainer

03/19/2014

08:32 pm ganeti-local Revision 7488cf4b: Handle empty patches better
The previous patch loading utilities omitted empty patches, as they
were thought to be of no significance, and when n...
Hrvoje Ribicic
08:32 pm Revision 7488cf4b: Handle empty patches better
The previous patch loading utilities omitted empty patches, as they
were thought to be of no significance, and when n...
Hrvoje Ribicic
08:32 pm ganeti-local Revision 6d96ede4: Move message formatting functions to separate file
The formatting functions in qa_utils.py cannot be used by modules
imported there, such as qa_config. This patch facto...
Hrvoje Ribicic
08:32 pm Revision 6d96ede4: Move message formatting functions to separate file
The formatting functions in qa_utils.py cannot be used by modules
imported there, such as qa_config. This patch facto...
Hrvoje Ribicic
08:32 pm ganeti-local Revision 7441bb96: Add optional ordering of QA patch files
To explicitly specify the order of patches executed, the QA provides an
"order" file. It can contain names of patches...
Hrvoje Ribicic
08:32 pm Revision 7441bb96: Add optional ordering of QA patch files
To explicitly specify the order of patches executed, the QA provides an
"order" file. It can contain names of patches...
Hrvoje Ribicic
08:32 pm Revision a60fc78e: Allow multiple QA patches
This patch allows support for multiple patches placed in the "patch"
directory, which are executed in alphabetical or...
Hrvoje Ribicic
08:32 pm ganeti-local Revision a60fc78e: Allow multiple QA patches
This patch allows support for multiple patches placed in the "patch"
directory, which are executed in alphabetical or...
Hrvoje Ribicic
08:32 pm ganeti-local Revision c8bf5cf4: Refactor current patching code
* Refactors the current patch code to allow for multiple patches that
can be applied, yet leaves only one for now.
...
Hrvoje Ribicic
08:32 pm Revision c8bf5cf4: Refactor current patching code
* Refactors the current patch code to allow for multiple patches that
can be applied, yet leaves only one for now.
...
Hrvoje Ribicic
01:41 pm Revision 1dc3c069: Prepare NEWS file for 2.11.0 rc1
Add section for 2.11.0 rc1, document all changes since
beta1.
Signed-off-by: Helga Velroyen <helgav@google.com>
Revi...
Helga Velroyen
01:40 pm Revision 6c70cd11: Bump version to 2.11~rc1 in configure.ac
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Helga Velroyen

03/18/2014

04:24 pm Revision 6646c1f5: Fix dependencies in INSTALL
'lens' requires a fixed version because the dependencies of the most
recent version fail to install under Wheezy.
'li...
Petr Pudlak
03:30 pm Revision 9c5c80a4: Fix WConfd mock client after updating the lock
.. because instead of a job ID and a lock file, we now pass a single,
client ID object.
Signed-off-by: Petr Pudlak <...
Petr Pudlak
01:52 pm Revision a5d994b6: Add the thread identifier parameter to gnt-debug listlocks
.. to comply with the updated WConfd interface.
This makes the call less useful as the thread ID is often unknown to...
Petr Pudlak
01:52 pm Revision 6ea039ef: Add a thread ID to the WConfd client id
This allows to distinguish threads that don't have a job id, which is
needed for answering queries.
Since Python thr...
Petr Pudlak
01:52 pm Revision c211dcc4: Add tests for (de)serialization of ClientId
.. to test if `readJSON . showJSON = Ok`.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen...
Petr Pudlak
01:52 pm Revision 3addd59f: Create a separate data type for WConfd client identity
.. instead of using a pair.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen <helgav@googl...
Petr Pudlak

03/17/2014

06:30 pm ganeti-local Revision 3a72e34a: Fix conflict between virtio + spice or soundhw
With regard to PCI slot occupied by a KVM instance we have
observed the following:
1) Slot 0 will always be Host bri...
Dimitris Aragiorgis
06:30 pm Revision 3a72e34a: Fix conflict between virtio + spice or soundhw
With regard to PCI slot occupied by a KVM instance we have
observed the following:
1) Slot 0 will always be Host bri...
Dimitris Aragiorgis
06:30 pm ganeti-local Revision d13fb3f1: Fix bitarray ops wrt PCI slots
Introduce new method `_GetFreeSlot()` responsible only for bitarray
operations. It fixes search in case of bitarray i...
Dimitris Aragiorgis
06:30 pm Revision d13fb3f1: Fix bitarray ops wrt PCI slots
Introduce new method `_GetFreeSlot()` responsible only for bitarray
operations. It fixes search in case of bitarray i...
Dimitris Aragiorgis
04:07 pm Revision 13c16b21: Update tests after merging 'os_get' into 'os_validate'
... namely, unit tests and QA.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Petr Pudlak <pudlak@...
Jose A. Lopes
04:07 pm Revision a3a19a06: Remove unused functions to check OS variants
... as this is now performed on the node.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Petr Pudl...
Jose A. Lopes
04:07 pm Revision 0bb2a91f: Remove unused RPC 'os_get'
... include the RPC post process hook.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Petr Pudlak ...
Jose A. Lopes
04:07 pm Revision 703f9a66: Remove calls to 'CheckNodeHasOS'
... because 'CheckOSParams' already checks the OS variant.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Revie...
Jose A. Lopes
04:07 pm Revision ff030c75: Add 'force_variant' to RPC 'os_validate'
Move function 'CheckOSVariant' to the node and add parameter
'force_variant' to RPC 'os_validate', thus making the no...
Jose A. Lopes

03/14/2014

04:03 pm Revision 11825d94: Update QA sample to include QA storage
... which is a Web server URL that serves additional files needed by
QA.
Signed-off-by: Jose A. Lopes <jabolopes@goo...
Jose A. Lopes
04:03 pm Revision 9bd52012: Fix QA tests related to OS image
If QA storage is enabled, fetch OS images and use them to test
instance reinstalls. Otherwise, just skip the two tes...
Jose A. Lopes
04:03 pm Revision 3360026f: Remove SSH copyfile from LU and assume the file exists
According to Ganeti design, files should not be copied from master to
nodes and instead they are assumed to exist and...
Jose A. Lopes
04:03 pm Revision d46dbe0a: Fix OS image detection on master
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes
04:03 pm Revision 326e0925: Extend '_DumpDevice' to enable/disable file truncation
... because when the data source is infinite, truncation is not
necessary, but when the data source is finite and is,...
Jose A. Lopes
04:03 pm Revision ee6106f0: Fix disk truncation in download and dump OS images
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes
04:03 pm Revision d00e49f6: Check if OS image exists on the node before dumping
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes

03/13/2014

07:59 pm Revision 925ad2e1: Fixing formatting of design-node-security
Turns out, rst wants to have a blank line before
enumerations. Also rearranging some paragraph to make the
lines alig...
Helga Velroyen
05:40 pm Revision b123fb31: Detailing SSH part of 'desing-node-security'
This patch elaborates the node security design wrt to SSH
key handling to make sure it is feasible before starting
th...
Helga Velroyen
02:49 pm Revision 87ed6b79: Make mcpu acquire WConfD locks
So far, the mcpu acquires locks that live in memory
of masterd. This design does not fit with our jobs-as-processes
g...
Klaus Aehlig
02:49 pm Revision 69b139f6: Add a mock for the wconfd module
As our so-called unit tests for the logical units are more
like integration tests, calling the actual LU through an a...
Klaus Aehlig
02:49 pm Revision cb0269fb: Add a mock version of livelocks
...as the will be used by mcpu for lock handling and that will
require tests to be adapted accordingly.
Signed-off-b...
Klaus Aehlig
02:49 pm Revision 5a8921f3: Add downgrading locks by level to WConfd
Export a function that downgrades all locks of an owner of a
given level to own them only shared.
Signed-off-by: Kla...
Klaus Aehlig
02:49 pm Revision 1243b689: Add convenience function to downgrade locks
Add a convenience function that downgrades all locks with a given
property to be held only at shared level.
Signed-o...
Klaus Aehlig
02:49 pm Revision 5e46225d: Fix typo in lock levels
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig

03/12/2014

01:32 pm Revision df62c62d: Merge branch 'stable-2.11' into master
* stable-2.11
Rename compression option in gnt-backup export
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Revie...
Hrvoje Ribicic

03/11/2014

06:12 pm Revision 67f3ee87: Rename compression option in gnt-backup export
The gnt-backup export option --compress did not do what most would
expect upon seeing the name: compress the exported...
Hrvoje Ribicic
05:09 pm Revision 83f54caa: Instance reinstall with OS images
This patch allows instances to be reinstalled using OS images:
* extract OS scripts installation to a separate method...
Jose A. Lopes
05:09 pm Revision a07ae57f: Extend QA with OS image
Extend QA with OS image tests for instance reinstall and instance
modify.
Signed-off-by: Jose A. Lopes <jabolopes@go...
Jose A. Lopes
05:09 pm Revision 1c4910f7: OS images in 'LUInstanceCreate' and OS scripts optional
* Use the empty string in 'ganeti.objects.Instance.os' to signify that
the instance does not use OS scripts.
* Mak...
Jose A. Lopes
05:09 pm Revision 2329ffdd: Instance create with OS image
Extend 'LUInstanceCreate' to image the instance's first disk if an OS
image is specified via the OS params. If the O...
Jose A. Lopes
05:09 pm Revision 0247d20f: Function to image disks while ensuring that disks are paused
* Add 'ImageDisks' that actually calls the 'blockdev_image' RPC in a
context where disk sync is paused.
* Add 'Imag...
Jose A. Lopes
05:09 pm Revision 7bc4d6ac: Function to check if the OS image parameter is valid
Add helper function to check if the OS image parameter contained in
the OS parameters of an opcode is valid.
Signed-...
Jose A. Lopes
05:09 pm Revision 987ec378: Function to remove instance if disks are degraded
* Extract code, into '_RemoveDegradedDisks', that checks if the disks
of an instance are degraded and, if so, remov...
Jose A. Lopes
05:09 pm Revision a303027b: RPC 'blockdev_image' to image devices
Add RPC 'blockdev_image' that uses 'ganeti.backend.BlockdevImage' to
dump an image to an instance's disk device, opti...
Jose A. Lopes
05:09 pm Revision 2b8322f7: Helper function to image a device by downloading or dumping
Add 'BlockdevImage' which downloads a file and dumps it to an
instance's disk if the path is a URL, otherwise it dump...
Jose A. Lopes
05:09 pm Revision c89622cd: Helper function that downloads an image and dumps it to disk
* Add constant that holds the curl binary.
* Add '_DownloadAndDumpDevice' which downloads a file (e.g., OS image)
...
Jose A. Lopes
05:09 pm Revision 229fb4ea: Generalize 'WipeDevice' to 'DumpDevice'
* Fix order of imports
* Generalize 'WipeDevice' to 'DumpDevice' which takes an additional
argument which is the d...
Jose A. Lopes
05:09 pm Revision ff89ab03: Fix export order according to definition order
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes
05:09 pm Revision 433d2933: Helper functions to get and update OS image from OSParams
Add 'GetOSImage' and 'PutOSImage' which handle the OS image key in the
OS parameters dict.
Signed-off-by: Jose A. Lo...
Jose A. Lopes
05:09 pm Revision 3cf06dd4: Fix docstrings
Fix several docstrings.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google...
Jose A. Lopes
05:08 pm Revision a16ffac0: Reuse method to parse name from OS 'name+variant' string
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Jose A. Lopes
03:28 pm Revision e11d0f55: Support releasing locks by level
Add a function to WConfD allowing to release locks by
Ganeti lock level.
Signed-off-by: Klaus Aehlig <aehlig@google....
Klaus Aehlig
03:28 pm Revision e227f161: Add a convenience function to release locks by property
While definable from listLocks and updateLocks, it is convenient
to be able to all locks with a given property. This ...
Klaus Aehlig
03:28 pm Revision 32cbb380: BGL is not a set lock
Despite what the name suggests, the Big Ganeti Lock does not act as a
set of all locks. It is just a lock as any othe...
Klaus Aehlig
03:28 pm Revision 0108d385: Verify serialisation of LockLevel
For the new JSON instance Ganeti.Locking.Locks.LockLevel, verify that
readJSON . showJSON = Ok.
Signed-off-by: Klaus...
Klaus Aehlig
03:28 pm Revision 5714a925: For each Ganeti Lock provide its level
...so set a job can request operations on all its locks of a given level.
Signed-off-by: Klaus Aehlig <aehlig@google...
Klaus Aehlig
03:28 pm Revision 1835fd75: Add network locks to Haskell
Ganeti also has a lock level for networks, however this level was forgotten
when the Ganeti lock hierarchy was implem...
Klaus Aehlig
03:28 pm Revision 1310339c: Fix allocation order of locks
The correct allocation order for node-related Ganeti locks is
allocation, group, the node itself, resources.
Signed-...
Klaus Aehlig
03:28 pm Revision 2754dc7d: Allow transitions from sets to elements
Owning a set-lock has the same effect as owning each member. So asking
for a member while already holding the set loc...
Klaus Aehlig
03:28 pm Revision a55a40d6: Fix typo
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig

03/07/2014

08:54 pm Revision 8436d0da: Merge branch 'stable-2.11' into master
* stable-2.11
(no changes)
* stable-2.10
Revision bump for the 2.10.1 release
Update NEWS file for 2.10.1
...
Klaus Aehlig
08:33 pm Revision 205d3309: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Revision bump for the 2.10.1 release
Update NEWS file for 2.10.1
Use node UUIDs for executing LU ...
Klaus Aehlig
07:53 pm ganeti-local Revision 4cbe5138: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix error introduced during merge
gnt-cluster copyfile: accept relative paths
* stable-2.8
Improv...
Klaus Aehlig
07:53 pm Revision 4cbe5138: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix error introduced during merge
gnt-cluster copyfile: accept relative paths
* stable-2.8
Improv...
Klaus Aehlig
07:32 pm ganeti-local Revision ddc64582: Fix error introduced during merge
A parameter was lost while resolving a conflict in the signature of a function.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
07:32 pm Revision ddc64582: Fix error introduced during merge
A parameter was lost while resolving a conflict in the signature of a function.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
07:25 pm ganeti-local Revision 74a4fc94: gnt-cluster copyfile: accept relative paths
If, on the command line, the argument to gnt-cluster copyfile is
a relative path, consider this a shorthand for the c...
Klaus Aehlig
07:25 pm Revision 74a4fc94: gnt-cluster copyfile: accept relative paths
If, on the command line, the argument to gnt-cluster copyfile is
a relative path, consider this a shorthand for the c...
Klaus Aehlig
07:07 pm ganeti-local Revision 85530402: Merge branch 'origin/stable-2.8' into stable-2.9
* stable-2.8
Improve RAPI detection of the watcher
Add patching QA configuration files on buildbots
Enable a ti...
Michele Tartara
07:07 pm Revision 85530402: Merge branch 'origin/stable-2.8' into stable-2.9
* stable-2.8
Improve RAPI detection of the watcher
Add patching QA configuration files on buildbots
Enable a ti...
Michele Tartara
05:22 pm Revision 7ea201c9: Add an asynchronous task for distributing SSConf to nodes
The task computes the SSconf data and compares it to the last state that
was successfully distributed. If it differs,...
Petr Pudlak
05:22 pm Revision a8b9a6e3: Let WConfd distribute SSConf to nodes
.. and remove the corresponding code from lib/config.py.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
05:22 pm Revision 9a8952e0: Add Haskell RPC call for distributing SSConf to nodes
The data is sent as a dictionary mapping file names to lists of lines.
Signed-off-by: Petr Pudlak <pudlak@google.com...
Petr Pudlak
05:22 pm Revision 3fb0d66f: Let the SSConf RPC server side handle lists
Since on Haskell side we represent SSConf as list of lines, let the
Python side understand it as well.
Signed-off-by...
Petr Pudlak
05:22 pm Revision 1f87d93d: Add a test for (de)serialization of Ssconf
.. to verify that readJSON . showJSON = Ok.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig...
Petr Pudlak
05:22 pm Revision 41ea331e: Let WConfd distribute the configuration to MCs
.. and remove the distribution from lib/config.py
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus ...
Petr Pudlak
05:22 pm Revision ce52f060: Add a data type for representing the complete SSConf
.. as a map from SSKeys to lists of strings.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehli...
Petr Pudlak
05:22 pm Revision 3d148957: Improve Haskell functions for managing the UidPool
Add a formatting function that is needed by Ssconf.
Also expose 'ipFamilyToRaw', which is needed as well.
Signed-off...
Petr Pudlak
05:22 pm Revision 6b76931c: Add missing keys to Ganeti.Ssconf
These keys were probably introduced only in Python later and weren't
added to the Haskell code.
Signed-off-by: Petr ...
Petr Pudlak
05:22 pm Revision 9faf1c01: Add Foldable/Traversable instances for GenericContainer
This makes working with it easier as it allows use of many standard
functions.
Signed-off-by: Petr Pudlak <pudlak@go...
Petr Pudlak
05:22 pm Revision 94c7e022: Function that distributes the configuration to MCs
Also refactor helper functions in WConfd/ConfigWriter into smaller ones
and add helpers for RPC calls.
Signed-off-by...
Petr Pudlak
05:22 pm Revision a1f35d0a: Add a function for listing online nodes to Haskell
.. and also simplify 'getMasterCandidates'.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig...
Petr Pudlak
05:22 pm Revision b6eee126: Add the RPC call for uploading a file to Haskell
.. and also add a function that prepares the call from a given file.
Signed-off-by: Petr Pudlak <pudlak@google.com>
...
Petr Pudlak
05:22 pm Revision 2f254850: Functions for conversions between POSIX time and ClockTime
This will be needed by the RPC calls to convert Haskell native
representation to the one used in RPC.
Signed-off-by:...
Petr Pudlak
05:22 pm Revision 129bde01: Add reverse mappings to RuntimeEnts from UIDs to names
.. and GIDs to names. Also create a proper data type for it.
The reverse mapping to names is needed for properly tr...
Petr Pudlak
05:22 pm Revision b3590640: Add a new RPC server call for uploading a single file
The server side processes the request exactly the same as for
"upload_file".
Unlike "upload_file", the new call "upl...
Petr Pudlak
05:22 pm Revision 127266b4: Add more meaningful error messages to asserts in vcluster
.. to simplify debugging of RPC calls.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aeh...
Petr Pudlak
05:22 pm Revision d6f05205: Create a data type for representing RPC compressed data
It is serialized as a JSON pair. The first element is a number
describing the compression type, the second element th...
Petr Pudlak
05:22 pm Revision 8c337f87: Add a module for handling compression
Since the Haskell 'zlib' library by default uses exceptions for
signalling errors, we need to use its internals to im...
Petr Pudlak
05:22 pm Revision 8e527d04: Enhance logRpcResults to also return the list of errors
It is common to log all RPC errors and then check if there were any.
Since 'logRpcResults' needs to filter the errors...
Petr Pudlak
05:22 pm Revision e45eeb79: Use lenses for modifying DaemonState in WConfd
This removes the verbose code for record updating and leads to more
point-free code.
Signed-off-by: Petr Pudlak <pud...
Petr Pudlak
05:22 pm Revision 0d1d2d22: Write the configuration only if it changed
.. to avoid expensive operation when they're not actually needed.
Comparing the two objects in memory is much less co...
Petr Pudlak
05:22 pm Revision 227c0ef3: Add a module for generated lenses for Ganeti.Objects
The module also adds type classes for lenses for common fields (serial,
mTime, uuid and tags).
Splitting the lenses ...
Petr Pudlak
05:22 pm Revision ba40281b: Add a module for custom generic Lens functions
The module currently re-exports Control.Lens and adds a function that
creates lenses from data types by appending 'L'...
Petr Pudlak
05:22 pm Revision eb9d2acc: Add 'lens' Haskell dependency
.. that will be used in WConfd
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@goog...
Petr Pudlak
05:22 pm Revision 6696f1f9: Add a helper for creating 'FileMode' fields
.. which will be used for RPC objects.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aeh...
Petr Pudlak
05:22 pm Revision 72375ff8: Move helpers for specific fields into a separate module
These helpers aren't needed by other code in Ganeti.THH and since the
module is already large, it'll be better to sep...
Petr Pudlak
05:22 pm Revision 1e0d1a19: Add a helper to ConfigWriter for creating async. workers
In particular, stateful workers that can fail with an error, in which
case the error is logged and the state remains ...
Petr Pudlak
05:22 pm Revision 731152ce: Add a module for constructing Ssconf from the configuration
This migrates the functionality from Python
ConfigWriter._UnlockedGetSsconfValues to Haskell.
Signed-off-by: Petr Pu...
Petr Pudlak
05:15 pm ganeti-local Revision 6177890b: Improve RAPI detection of the watcher
If the watcher is not allowed to access RAPI, it doesn't mean that it is dead
and needs to be restarted.
Fixes Issue...
Michele Tartara
05:15 pm Revision 6177890b: Improve RAPI detection of the watcher
If the watcher is not allowed to access RAPI, it doesn't mean that it is dead
and needs to be restarted.
Fixes Issue...
Michele Tartara
04:02 pm Revision 342b888d: Update style guide with respect to Haskell imports
With the number of imports increasing, our style has
evolved over time.
- We don't distinguish between standard and ...
Klaus Aehlig
02:16 pm Revision 9558c2a4: Clean up RunWithLocks
This patch cleans RunWithLocks up a little bit by reducing the number
of delay function terminations, and using the Q...
Hrvoje Ribicic
02:16 pm Revision e677d5e8: Add an exception-trapping thread class
To have better control over threads, this patch adds a helper Thread
subclass which captures any exceptions occurring...
Hrvoje Ribicic
02:16 pm Revision fbab1c76: Wait for delay to provide interruption information
The RunWithLocks test assumed that gnt-debug delay would have the info
needed for interruption ready immediately afte...
Hrvoje Ribicic
01:59 pm ganeti-local Revision b7630577: Add patching QA configuration files on buildbots
In order to work, it is necessary:
* Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
(And be ...
Petr Pudlak
01:59 pm Revision b7630577: Add patching QA configuration files on buildbots
In order to work, it is necessary:
* Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
(And be ...
Petr Pudlak
12:08 pm Revision 874f6148: Enable a timeout for instance shutdown
Add the timeout parameter to the StopInstance function of the hypervisor base
class and to all its implementations.
...
Michele Tartara
12:08 pm ganeti-local Revision 874f6148: Enable a timeout for instance shutdown
Add the timeout parameter to the StopInstance function of the hypervisor base
class and to all its implementations.
...
Michele Tartara
12:08 pm Revision 2a2d087a: Allow KVM commands to have a timeout
Modify the function that sends commands to the KVM monitor so that it is
possible to specify an optional timeout afte...
Michele Tartara
12:08 pm ganeti-local Revision 2a2d087a: Allow KVM commands to have a timeout
Modify the function that sends commands to the KVM monitor so that it is
possible to specify an optional timeout afte...
Michele Tartara
12:07 pm ganeti-local Revision 7066724d: Allow xen commands to have a timeout
Modify the function that runs Xen commands so that it is possible to specify an
optional timeout after which the comm...
Michele Tartara
12:07 pm Revision 7066724d: Allow xen commands to have a timeout
Modify the function that runs Xen commands so that it is possible to specify an
optional timeout after which the comm...
Michele Tartara
12:07 pm ganeti-local Revision 76e2e6f6: Fix wrong docstring
Fields must be the final elements in an epytext string.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewe...
Michele Tartara
12:07 pm Revision 76e2e6f6: Fix wrong docstring
Fields must be the final elements in an epytext string.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewe...
Michele Tartara
10:57 am Revision f3010b75: Also clean up stale livelock files
Upon detection of a stale livelock, make WConfD also
try to clean it up. We can safely ignore any failures,
as the Ga...
Klaus Aehlig
09:35 am Revision 01e7bf98: Add Haskell dependency on 'lens'
.. which will be needed soon for WConfd.
While at it, also ensure we have the required version of
base64-bytestring....
Petr Pudlak
09:35 am Revision 885759da: Refactor warnings issued by the latest 'hlint'
.. as the newest version of hlint adds additional checks
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
09:35 am Revision 33ead7a7: devel: Instal vanilla GHC7 in the squeeze schroot
Since the default GHC6 isn't usable for modern libraries and starting
from wheezy there is GHC7 anyway, download and ...
Petr Pudlak
09:35 am Revision 58bcf276: devel: Make the built schroots rsync-able, if available
This speeds down transferring them to buildbots, at a negligible size
cost.
Signed-off-by: Petr Pudlak <pudlak@googl...
Petr Pudlak

03/06/2014

05:35 pm Revision 8a37b426: Use correct lockfile for gnt-debug wconfd
As jobs are currently running in masterd, use the masterd livelock
file.
Signed-off-by: Klaus Aehlig <aehlig@google....
Klaus Aehlig
05:35 pm Revision a0a92e23: Add utility to guess livelock file for an owner
As livelock files are constructed in a systematic manner,
we can guess what the livelock file for a given owner is.
W...
Klaus Aehlig
05:35 pm Revision 25e9f9b2: Make masterd create a livelock file
...so that it can request resources from WConfd.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr P...
Klaus Aehlig
05:35 pm Revision 1de2b387: Rename setup_queue to setup_context in masterd
...as this function sets up a much richer context than just
the job queue, including the current lock management.
Si...
Klaus Aehlig
05:35 pm Revision a8c2197d: Add utilities for liveliness lock files
To request resources from WConfD, requesters have to provide
the name of a file they own an exclusive lock on. In thi...
Klaus Aehlig
05:35 pm Revision 5d83892f: Ensure the existence of LIVELOCK_DIR
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig
05:35 pm Revision 38e28375: Add a path to store the lock files presented to WConfD
When requesting resources from WConfD, a file has to be
presented where an exclusive lock is owned on, so that
WConfD...
Klaus Aehlig
05:35 pm Revision db0d2ee9: In WConfD run a cleanup task
Add the cleanup task for locks of died owners to WConfD,
as a separate thread.
Signed-off-by: Klaus Aehlig <aehlig@g...
Klaus Aehlig
05:35 pm Revision b57c50de: Provide a periodic lock cleanup task
Provide a task that periodically checks for all locks
owners whether they are still alive. If not, it cleans
up their...
Klaus Aehlig
05:35 pm Revision a15072d7: Add a constant for the polling of jobs death
Add a constant for the time interval at which WConfD checks for
resource owners that have died and cleans up their re...
Klaus Aehlig
05:35 pm Revision 01a9a382: Verify that all lock owners indeed own a lock
Add a test verifying that the list of lock owners is not
too big in the sense that every subject contained in that
li...
Klaus Aehlig
05:35 pm Revision 27f28739: Verify the list of lock owners is complete
In other words, verify that if all the lock owners release their
locks, the empty lock allocation is reached.
Signed...
Klaus Aehlig
05:35 pm Revision 26436ab5: Add a function to determine the lock owners
To allow for clean up, add a function that provides the list
of all the owners holding at least one lock.
Signed-off...
Klaus Aehlig
05:35 pm Revision bacb44fe: Add a function to detect death of a job
With jobs running in processes different from the lock management soon,
we need to detect if a job holding locks dies...
Klaus Aehlig

03/05/2014

02:17 pm Revision 0f6997b9: Merge branch 'stable-2.11' into master
* stable-2.11
Convert int to float when checking config. consistency
Updateing release date to tomorrow
Revisio...
Klaus Aehlig
01:51 pm Revision f1638b0b: Convert int to float when checking config. consistency
When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float...
Petr Pudlak
11:21 am Revision a6986cfb: Update the NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:21 am Revision 57efdaf5: Add an expected block option to RunWithLocks
To compensate for the cases where a QA test is supposed to block when
a lock is present, add an additional option sho...
Hrvoje Ribicic
11:21 am Revision 34c5ec6c: Track if a QA test was blocked by locks
This patch adds threading to the RunWithTests function, allowing one
thread to execute the QA test, and the other to ...
Hrvoje Ribicic
11:21 am Revision ffafdcf6: Add option to turn off command logging to GetCommandOutput
The command logging performed by GetCommandOutput can be distracting
and unwelcome. This patch adds a switch allowing...
Hrvoje Ribicic
11:21 am Revision 1de1cd0c: Add an option for disabling the SSH multiplexer in QA
The SSH multiplexer is used by default in every connection made, and
when multiple threads are used, this causes stra...
Hrvoje Ribicic
11:21 am Revision 343c9ed2: Add a RunWithLocks QA utility function
This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the loc...
Hrvoje Ribicic
11:21 am Revision 6b924ca3: Sort imports in qa_rapi.py
This patch sorts the imports of qa_rapi.py to make things a little bit
more orderly.
Signed-off-by: Hrvoje Ribicic <...
Hrvoje Ribicic
11:21 am Revision fe5144b0: Align timestamps in gnt-job info
This patch aligns the timestamps output as a part of gnt-job info, and
performs minor refactorings in the process.
S...
Hrvoje Ribicic
11:21 am Revision d0202de7: Add alignment support to PrintGenericInfo
Aligning dictionary entries makes no difference to a YAML parser, but
makes the output much easier to read and compar...
Hrvoje Ribicic
11:21 am Revision 087f5520: Make gnt-job info output valid YAML
This patch changes gnt-job info to use standard functions defined in
cli.py, and output valid YAML.
Signed-off-by: H...
Hrvoje Ribicic
11:21 am Revision 9ec1bcbd: Make PrintGenericInfo handle tuples better
The PrintGenericInfo function in cli.py did not handle tuples as
containers of items, making it impossible for these ...
Hrvoje Ribicic
11:21 am Revision 5fb7679c: Refactor move-instance QA test
The move-instance QA test will have to be changed in the following
patches to allow testing opportunistic locking.
T...
Hrvoje Ribicic
11:21 am Revision 9dc47292: Make gnt-debug delay interruptible
The gnt-debug delay command could be useful as a means of acquiring
locks for testing purposes. In practice, to be us...
Hrvoje Ribicic
11:21 am Revision 22c828a9: Add new log type
Following the example of the job-queue test, the delay also defines a
log message type of its own.
Signed-off-by: Hr...
Hrvoje Ribicic
11:21 am Revision 787074d5: Add the interruptible option to gnt-debug delay
This patch allows the opcode option to be used through the gnt-debug
client.
Signed-off-by: Hrvoje Ribicic <riba@goo...
Hrvoje Ribicic
11:21 am Revision 2868f3f7: Add the interruptible option to the delay opcode
To prepare for the use of sockets to interrupt a running delay opcode,
this patch adds an option to the opcode for do...
Hrvoje Ribicic
11:21 am Revision c346d0ac: Factor Unix domain socket creation into helper class
As the delay class will also have to start using domain sockets,
extract the functionality into a helper class.
Sign...
Hrvoje Ribicic
11:21 am Revision a9a3416e: Fix minor accidental concatenation
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:21 am Revision aa14fb0a: Fix failing tests
The previously introduced changes caused some tests to fail. This patch
alters the tests to expect different values, ...
Hrvoje Ribicic
11:21 am Revision 8631b46b: Handle incorrect duration more elegantly
The previous version of the LUTestDelay opcode relied on the utility
function complaining about the negative duration...
Hrvoje Ribicic
11:21 am Revision 36870aa1: Make gnt-debug delay command run in parallel
The gnt-debug delay command executes the delay first on the master, and
only then on all the other nodes, causing a s...
Hrvoje Ribicic
11:21 am Revision 47c43de1: Extend RAPI client constant unit test with error codes
The RAPI client is meant to be independent from the wider Ganeti
codebase, but it still needs to use Ganeti constants...
Hrvoje Ribicic
11:20 am Revision 363e2869: Fix typo in RAPI client utility
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Hrvoje Ribicic
11:20 am Revision 4fe43605: Add variation to delays between creation attempts
Attempting to acquire node locks with a certain fixed delay could lead
to unwanted synchronization with other process...
Hrvoje Ribicic
11:20 am Revision a396b2d6: Implement opportunistic locking in the move-instance tool
This patch allows opportunistic instance creations to be attempted,
with a delay between them giving nodes the opport...
Hrvoje Ribicic
11:20 am Revision 2c4ec08e: Add options for opportunistic creation during moves
To start off the introduction of oppportunistic locking during instance
creation, this patch adds the options allowin...
Hrvoje Ribicic
10:58 am Revision ec3a7362: Remove duplicated '_CheckOSVariant'
It seems '_CheckOSVariant' was moved from 'ganeti.cmdlib.instance' to
'ganeti.cmdlib.instance_utils' but the source w...
Jose A. Lopes

03/04/2014

06:31 pm Revision b7d4a7c5: Updateing release date to tomorrow
Since the release could not be made today, let's prepare
it for tomorrow.
Signed-off-by: Helga Velroyen <helgav@goog...
Helga Velroyen
06:14 pm Revision bd701370: Revision bump for the 2.11.0~beta1 release
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Helga Velroyen
06:14 pm Revision a1116f57: Set release date of 2.11 beta1
Set the release date of 2.11 beta1 in the NEWS file.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: ...
Helga Velroyen
05:19 pm Revision 91f0dc1e: Add a helper function for testing 'ArrayObject' instances
It checks if 'fromJSArray . toJSArray' is equivalent to 'Ok'.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewe...
Petr Pudlak
05:19 pm Revision 0b3a266d: Test the instance 'ArrayObject Disk'
.. which is one of the few ones that use extra fields.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: K...
Petr Pudlak
05:19 pm Revision 35cded14: Use 'ArrayObject' in Ganeti.RPC instead of manual encoding
Before most of the calls were implemented manually, ignoring any
generated code for maniupulating JSON. Using 'ArrayO...
Petr Pudlak
05:19 pm Revision 26e32dee: Move 'DictObject' and 'ArrayObject' to Ganeti.JSON
The type classes are more closely related to JSON and for using them
it should not be necessary to import Ganeti.THH....
Petr Pudlak
05:19 pm Revision c2e136e2: Enhance DictObject and refactor loading/saving TH functions
Since there is already `DictObject` type class which could share code
with generated instances of `showJSON`, the gen...
Petr Pudlak
05:19 pm Revision 0df2d967: Document 'fieldExtraKeys' in 'Field'
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Petr Pudlak
05:19 pm Revision 58b37916: Remove toDist... functions completely
Since thre already is `DictObject` class with `toDict`, there is no need
for them, just polluting the name space.
Si...
Petr Pudlak
05:19 pm Revision 948f6540: Add a typeclass for type serializable as a JSON array
This is in particular needed for RPC requests which are serialized this
way and therefore using `showJSON` on the gen...
Petr Pudlak
05:03 pm Revision 1d4febbd: Write lock state to disk after updates
Make use of asynchronous worker to save to log status after every
update. The answer to the query is only returned, o...
Klaus Aehlig
05:03 pm Revision 61fd6337: Provide an asynchronous task for writing lock status
It will be used to persist the state of the lock allocation on
disk, allowing locks to survive reboots of WConfD.
Si...
Klaus Aehlig
02:35 pm ganeti-local Revision 714022e4: Revision bump for the 2.10.1 release
Set the version to 2.10.1.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helga Velroyen <helgav@...
Thomas Thrainer
02:35 pm Revision 714022e4: Revision bump for the 2.10.1 release
Set the version to 2.10.1.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helga Velroyen <helgav@...
Thomas Thrainer
02:35 pm ganeti-local Revision 53332264: Update NEWS file for 2.10.1
Set the release date to tomorrow and mentioned fixed bugs in the NEWS
file.
Signed-off-by: Thomas Thrainer <thomasth...
Thomas Thrainer
02:35 pm Revision 53332264: Update NEWS file for 2.10.1
Set the release date to tomorrow and mentioned fixed bugs in the NEWS
file.
Signed-off-by: Thomas Thrainer <thomasth...
Thomas Thrainer
02:27 pm Revision 69809ae3: Verify the intervall property of GanetiLocks
According to the specification in our design, if A is a group
lock and B belogs to this group, then all locks between...
Klaus Aehlig
02:27 pm Revision 2e1399da: Update Arbitrary GanetiLocks
With the extension of Ganeti.Locking.Locks.GanetiLocks to the
full lock hierarchy, also extend the instantiation of A...
Klaus Aehlig
02:27 pm Revision cf7f8e51: Verify implication restriction on locks
As specified in our design, if A is a group lock and B
belongs to A, then A must be earlier in the lock order
than B....
Klaus Aehlig
02:27 pm Revision ec2355ad: Add Ganeti Lock Hierarchy
Make Ganeti.Locking.Locks.GanetiLocks present the full Ganeti
lock hierarchy. This is in accordance with the current ...
Klaus Aehlig
02:26 pm Revision 79786c6b: Serialize locks as JSON strings
...as the current Python implementation does as well.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: P...
Klaus Aehlig
11:41 am ganeti-local Revision ff1c051b: Use node UUIDs for executing LU hooks
LUNodeAdd, the only LU using a node name still, is changed to overwrite
PreparePostHookNodes() and use node UUIDs onl...
Thomas Thrainer
11:41 am Revision ff1c051b: Use node UUIDs for executing LU hooks
LUNodeAdd, the only LU using a node name still, is changed to overwrite
PreparePostHookNodes() and use node UUIDs onl...
Thomas Thrainer
11:40 am ganeti-local Revision 237a833c: Add PreparePostHookNodes to LUs
This method can be used to alter the list of node UUIDs on which post
hooks are executed. PreparePostHookNodes is cal...
Thomas Thrainer
11:40 am Revision 237a833c: Add PreparePostHookNodes to LUs
This method can be used to alter the list of node UUIDs on which post
hooks are executed. PreparePostHookNodes is cal...
Thomas Thrainer
11:35 am ganeti-local Revision 510f672f: Fix error propagation in post-commit hooks
An error in the post-commit hooks could not be propagated correctly and could
result in e.g. the return code of gnt-c...
Michele Tartara
11:35 am Revision 510f672f: Fix error propagation in post-commit hooks
An error in the post-commit hooks could not be propagated correctly and could
result in e.g. the return code of gnt-c...
Michele Tartara

03/03/2014

06:05 pm Revision 5d7ac40f: Export opportunistic lock union through WConfd
Make WConfD provide a function to opportunistically allocate
locks.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
...
Klaus Aehlig
06:05 pm Revision dee434c2: Support name generation for pairs
Add support for naming of python variables if the type
is a pair.
Note: on older versions of haskell, Q is not an in...
Klaus Aehlig
06:05 pm Revision 66927d09: Export lock intersection through WConfD
Export the functionality to restrict the owned locks to a given set.
Signed-off-by: Klaus Aehlig <aehlig@google.com>...
Klaus Aehlig
06:05 pm Revision b4d1b49f: Export freeLocks through WConfD
Export the functionality to free all locks of a given
owner.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
06:05 pm Revision 032befbd: Add lock modification without result to WConfdMonad
Enrich the structure of WConfdMonad by a convenience
wrapper around modifyLockAllocation for the case that
the modifi...
Klaus Aehlig
06:05 pm Revision f919184d: Export updateLocks through WConfD
Export the functionality to update the locks of a given
owner through WConfD.
Signed-off-by: Klaus Aehlig <aehlig@go...
Klaus Aehlig
06:05 pm Revision 62f1e053: Add serialization for LockRequest GanetiLocks
Add a module describing how abstract requests, like lock requests are
passed over the wire to WConfD.
Signed-off-by:...
Klaus Aehlig
06:05 pm Revision 5dd9a07e: Add listlocks to gnt-debug wconfd
So that wconfd's locking can be debugged directly.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr...
Klaus Aehlig
06:05 pm Revision 84640a93: Export listing of locks
Make WconfD answer requests about the locks of a specific
owner.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Rev...
Klaus Aehlig
06:05 pm Revision 3e80d1b7: Support reading the lock allocation in WConfdMonad
As opposed to the atomic modify-and-read provided my modifyLockAllocation,
no storing is necessary here.
Signed-off-...
Klaus Aehlig
06:00 pm Revision bc69c426: Stop watcher from restarting down instances during an opcode
This patch changes the watcher to check whether an instance that is
down is also locked by some LU before attempting ...
Jose A. Lopes

02/28/2014

03:44 pm Revision 51b69fc8: Remove unused import in rpc/transport.py
.. which got there by mistake.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@goog...
Petr Pudlak
03:39 pm Revision 71b770a9: Merge branch 'stable-2.11' into master
* stable-2.11
Setting correct permissions of client cert (split-user)
Add luxid group to 'users-setup'
Add some...
Klaus Aehlig
03:00 pm Revision f3aebf6f: Retry luxi/wconfd RPC calls if the connection is closed
Since the daemon can decide to close a client connection after a
timeout, the client needs to be able to automaticall...
Petr Pudlak
02:31 pm Revision 2992f2f7: Fix generic uncurrying
in the case of n>1, the n-ary uncurry function is of the form
\f (x_1, ..., x_n) -> ... rather than \f x_1 ... x_n ->...
Klaus Aehlig
02:08 pm Revision e715a6d6: Add --mac-prefix to gnt-cluster modify manpage
Update the manpage for mac-prefix modification in 'gnt-cluster modify'
command.
Signed-off-by: Dimitris Bliablias <b...
Dimitris Bliablias
02:08 pm Revision b4726cd7: Add unittest for gnt-cluster modify --mac-prefix
Add unittest for cluster mac-prefix modification support.
Signed-off-by: Dimitris Bliablias <bl.dimitris@gmail.com>
...
Dimitris Bliablias
02:08 pm Revision 0cffcdb1: Allow cluster mac prefix modification
Extend LUClusterSetParams to allow the modification of the cluster
mac-prefix setting in 'gnt-cluster modify' command...
Dimitris Bliablias
02:08 pm Revision 353bd75b: Show mac prefix setting in gnt-cluster info
Include mac-prefix setting in the output of 'gnt-cluster info'
command.
This fixes part of issue 239.
Signed-off-by...
Dimitris Bliablias
11:06 am Revision 22114677: Setting correct permissions of client cert (split-user)
This patch makes sure that the client certificate gets
the right permissions and owner when created. Additionally
it ...
Helga Velroyen
11:06 am Revision 7d720a67: Add luxid group to 'users-setup'
The creation of the luxid group was missing in the
'users-setup' script. Ganeti will refuse to start
if this group do...
Helga Velroyen
10:58 am Revision 10df0dfe: Add documentation for "gnt-debug wconfd"
The missing part caused a doclint test to fail.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Jose A. ...
Petr Pudlak

02/27/2014

07:15 pm Revision f33307bd: Add a command to gnt-debug to test various aspects of wconfd
For debugging purpose, support direct communication to WConfD from
the commandline for some of its commands. For the ...
Klaus Aehlig
05:28 pm Revision 46ae85de: Add some whitespace to fix formatting
Some error messages were lacking some spaces between lines
to make it more readable.
Signed-off-by: Helga Velroyen <...
Helga Velroyen
05:28 pm Revision da27bc7d: Consider old client cert only when available
This fixes a bug which occurred only after upgrading
from 2.10 to 2.11. During the cluster renew-crypto
operation, Ga...
Helga Velroyen
05:11 pm Revision b3724640: Fix return of 'Validate'
* fix return of 'Validate' in docstrings
* fix all call sites
* fix all tests
Signed-off-by: Jose A. Lopes <jabolope...
Jose A. Lopes
04:33 pm Revision e1e36b88: Locks are owned by job id file path pairs
...according to our updated design.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak...
Klaus Aehlig
04:33 pm Revision b28f715a: Remove the client state from WConfD monad
As we decided to keep our protocols stateless, the client
state is no longer needed.
Signed-off-by: Klaus Aehlig <ae...
Klaus Aehlig
04:33 pm Revision 7786784e: design: keep WConfD's protocols stateless
To simplify the setup, keep all protocols of WConfD stateless. This implies
that the job id has to be sent with every...
Klaus Aehlig
04:04 pm Revision ef89d9d5: Have SubmitManyJobs add entries to the reason trail
Not only SubmitJobToDrainedQueue (and therefore SubmitJob) but also
SubmitManyJobs has to add "gnt:opcode:*" entries ...
Michele Tartara
03:51 pm Revision 8a7738b9: Fix the dependencies of Makefile.ghc
Include only the programs that were configured to be built, and let GHC
figure out the required Haskell sources by it...
Petr Pudlak
03:50 pm Revision 7959b875: Include mond and confd only when configured
Previously they were included no matter of what the configuration was,
failing to compile if some of the dependencies...
Petr Pudlak
03:17 pm Revision 830b09dd: Add reason trail pickup constant
Add a constant for the reason trail, representing the pickup of a job from the
disk.
Also, refactor a bit the other ...
Michele Tartara
03:17 pm Revision be6cdf67: Add reason for job pickup to the trail
Add a new entry in the reason trail when a job is picked up by MasterD from the
hard drive, after LuxiD put it there....
Michele Tartara
03:17 pm Revision 653bc0f1: Make the AddReason method public
It will need to be accessed from outside the class too in one of the next
commits.
Signed-off-by: Michele Tartara <m...
Michele Tartara
03:17 pm Revision 0c779689: Have LuxiD add the "gnt:opcode" reason trail entry
The entry used to be added in jqueue.py, but after switching the queue
management from masterd to luxyd it had been l...
Michele Tartara
03:17 pm Revision 65a3ff88: Add function for extending the reason trail in Luxid
The function will be used by the next commit.
Also, remove a few trailing whitespaces lying around the file.
Signed...
Michele Tartara
01:52 pm Revision 39e169c9: Update INSTALL wrt missing dependencies
This patch updates the quick installation guide with
with respect to some missing dependencies. Besides,
it rephrases...
Helga Velroyen
12:29 pm Revision 8ffd7e4b: hsqueeze also partially implemented in 2.11
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
12:28 pm Revision 25cf4130: Let config.py use WConfd for reading/writing the config
Currently it only relays the reads/writes to the file to WConfd,
everything else yet remains in config.py.
Also if t...
Petr Pudlak
12:27 pm Revision 80a56f26: Start WConfd temporarily during master failover
.. in order to update the configuration and distribute ssconf, before
starting the daemons by the scripts.
Signed-of...
Petr Pudlak
12:27 pm Revision c0eb47b9: Include WConfd in the list of daemons started on a master
.. and make it the first one so that masterd can use it when it starts.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
12:27 pm Revision 08fcaf55: Add missing constant for the name of WConfd
The constant is used when calling the daemon startup/shutdown scripts.
Signed-off-by: Petr Pudlak <pudlak@google.com...
Petr Pudlak
12:27 pm Revision bc820a01: Add the --force-node option to WConfd
.. and fix the superfluous options list in ganeti-wconfd.hs
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-...
Petr Pudlak
12:27 pm Revision 9a0b8258: Add an option for disabling node checks at daemon startup
This is needed for WConfd, because during failover it needs to be
temporarily started in order to update the configur...
Petr Pudlak
12:27 pm Revision 710a2863: Convert int to float when checking config. consistency
When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float...
Petr Pudlak
12:18 pm Revision 803dafcd: While at it, fix the order of imports in OpCodes.hs
.. so that Ganeti imports are below library imports and ordered
alphabetically.
Signed-off-by: Petr Pudlak <pudlak@g...
Petr Pudlak
12:18 pm Revision e713a686: Add a function for generating OpCode reason src. names
The function convert the opcode name to lowercase with underscores,
strips the 'Op' prefix and prepends Constants.opc...
Petr Pudlak
12:18 pm Revision ffdcc263: Add a TH function for lower-cased stripped opcode names
The function strips the 'Op' prefix from a constructor name and converts
it to lower-case with underscores.
Signed-o...
Petr Pudlak
12:18 pm Revision 8aab74e9: Generalize genConstrToStr to custom monadic functions
This will allow compile-time checks for constructor names.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-b...
Petr Pudlak

02/26/2014

07:17 pm Revision 5ca6adf5: Prefer unless over when (not...)
...and by doing so, please lint.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@g...
Klaus Aehlig
06:23 pm Revision 5e26a86e: At startup, make WConfD read the lock allocation from disk
On startup, make wconfd read a the state of the lock allocation from disk,
instead of starting from an empty allocati...
Klaus Aehlig
06:23 pm Revision f3eb4bfd: Provide path to persist locks
As we aim to handle jobs as separate processes with locks
handled by WConfD, we need to persist the locks to ensure
t...
Klaus Aehlig
06:23 pm Revision c8751a72: Add a function to load lock allocation from disk
Lock allocation are stored on disk as their JSON representation.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Rev...
Klaus Aehlig
06:23 pm Revision e3b02e1f: Verify serialization/deserialization consistency for Locks
As we made Ganeti.Locking.Locks an instance of JSON, we better verify
that we can readJSON what we showJSON.
Signed-...
Klaus Aehlig
06:23 pm Revision 15a53b1e: Make Locks a JSON instance
As requests to acquire or release locks come via
inter-process communication, we need a serialization
of the locks da...
Klaus Aehlig
06:23 pm Revision 89d140d1: Add test for serialization of LockAllocation
Verify readJSON . showJSON = Ok for LockAllocations.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Pe...
Klaus Aehlig
06:23 pm Revision 71dc39a1: Make LockAllocation an instance of JSON
In this way, we can serialize a lock state to disk, so that
locks can survive a restart of WConfD.
Signed-off-by: Kl...
Klaus Aehlig
05:50 pm Revision d977f86c: Merge branch 'stable-2.11' into master
* stable-2.11
Add query support for locks to luxid (cherry-pick)
Provide fields for lock queries (cherry-pick)
...
Hrvoje Ribicic
03:48 pm Revision a8c1f633: Merge branch 'origin/stable-2.10' into stable-2.11
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Revision bu...
Hrvoje Ribicic
03:04 pm Revision 508c7d70: Add query support for locks to luxid
While requests only get forwarded, it still helps to
get luxid feature-complete with respect to master.
Signed-off-b...
Klaus Aehlig
03:04 pm Revision 014eaaa0: Provide fields for lock queries
For luxid to be feature-complete with respect to masterd, it
also needs to answer requests about locks. This includes...
Klaus Aehlig
02:07 pm Revision 59651d52: Export reading and writing the configuration using RPC
Note that currently these functions lack any kind of locking and
concurrent calls to 'writeConfig' will result in los...
Petr Pudlak
02:07 pm Revision 833c32b3: Add a module for functions specific to config. management
.. and include ConfigData in WConfd's ConfigState.
Currently it includes functions for asynchronous saving the
confi...
Petr Pudlak
02:06 pm Revision 13d26b66: Add more general conf. handling functions to WConfd's Monad
Add functions for reading and writing the configuration. Writing
triggers the asynchronous worker which saves the con...
Petr Pudlak
02:06 pm Revision a6a6a1b5: Add functions for saving the configuration to Ganeti.Config
.. so that it can be not only read, but also written to the master
configuration file.
Signed-off-by: Petr Pudlak <p...
Petr Pudlak
02:06 pm Revision c5f6dcdf: Add a module for creating and using asynchronous workers
Each such worker has its own background thread and performs a given
task when triggered. Triggers arriving when the w...
Petr Pudlak
02:06 pm Revision 5f6515b6: A separate module for functions for atomic file operations
Utils is getting too big, so better split this new set of functions into
a separate sub-module. This also allows us t...
Petr Pudlak
02:06 pm Revision 0efada2a: Add a function for lifting ResultT from a MonadBase
Often we have `ResultT e IO a` as the return type of our primitive
functions and we need to lift them into a monad st...
Petr Pudlak
02:06 pm Revision 32be18fc: Add a type alias for "ResultT GanetiException IO"
This type occurs often in the upcoming code so it's worth having an
alias for it.
It's included in Errors instead of...
Petr Pudlak
02:06 pm Revision 015278eb: Add logging functions lifted into MonadBase
Calling logging functions in a monad transformer stack requires
instances for all the transformers.
This patch adds a...
Petr Pudlak
02:06 pm Revision 78e0f701: Add a MonadLog instance for strict StateT and IdentityT
This will be used for asynchronous workers, for which it's convenient to
use StateT to keep their internal state.
Si...
Petr Pudlak
02:06 pm Revision 5349519d: Require lifted-base >= 0.1.2 for lifted IORef operations
This allows to use them in any IO-based monad.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aeh...
Petr Pudlak
02:06 pm Revision a8d64f26: Add default arguments for WConfd to scripts
In particular, this enables debug logging for WConfd on our test
environment.
Signed-off-by: Petr Pudlak <pudlak@goo...
Petr Pudlak
01:41 pm ganeti-local Revision 52b655cb: Merge branch 'origin/stable-2.9' into stable-2.10
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Signed-off-b...
Hrvoje Ribicic
01:41 pm Revision 52b655cb: Merge branch 'origin/stable-2.9' into stable-2.10
* stable-2.9
Make gnt-debug locks display fake job locks properly
Make NiceSort treat integers well
Signed-off-b...
Hrvoje Ribicic
12:22 pm ganeti-local Revision fa0192b2: Make gnt-debug locks display fake job locks properly
When a job is dependent on other jobs, a fake lock is created whose
pending entry contains a list of job ids waiting ...
Hrvoje Ribicic
12:22 pm Revision fa0192b2: Make gnt-debug locks display fake job locks properly
When a job is dependent on other jobs, a fake lock is created whose
pending entry contains a list of job ids waiting ...
Hrvoje Ribicic
12:22 pm ganeti-local Revision 0fe20731: Make NiceSort treat integers well
NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this sur...
Hrvoje Ribicic
12:22 pm Revision 0fe20731: Make NiceSort treat integers well
NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this sur...
Hrvoje Ribicic

02/25/2014

05:25 pm ganeti-local Revision 7253aaf2: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.5
Set release date for 2.9.5
Add NEWS entry for 2.9.5
Conflicts:
NEWS: tak...
Klaus Aehlig
05:25 pm Revision 7253aaf2: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.5
Set release date for 2.9.5
Add NEWS entry for 2.9.5
Conflicts:
NEWS: tak...
Klaus Aehlig
03:03 pm Revision eeeed365: Revision bump for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm ganeti-local Revision eeeed365: Revision bump for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm Revision 8cf85651: Set release date for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:03 pm ganeti-local Revision 8cf85651: Set release date for 2.9.5
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
12:29 pm Revision 5ac4e986: A quick fix for broken 'make distcheck'
The offending target 'test/hs/offline-test.sh' requires the dependencies
even when the test isn't actually run. This ...
Petr Pudlak
12:01 pm Revision c60fb21d: Fix tab/spaces indentation in Makefile.am
At some places a few items of lists use 8 spaces, while we use tabs
everywhere (as makefiles require anyway). This pa...
Petr Pudlak

02/24/2014

05:44 pm Revision 5fd32824: Merge branch 'stable-2.11' into master
* stable-2.10
Let the instance's tuple of nodes start with the primary
Fix the test that checks for the order of ...
Klaus Aehlig
04:42 pm Revision ead368bb: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Let the instance's tuple of nodes start with the primary
Fix the test that checks for the order of ...
Klaus Aehlig
04:23 pm Revision e210c6d7: Add NEWS entry for 2.9.5
Describe the changes since 2.9.4 for the soon-to-be-released
version 2.9.5.
Signed-off-by: Klaus Aehlig <aehlig@goog...
Klaus Aehlig
04:23 pm ganeti-local Revision e210c6d7: Add NEWS entry for 2.9.5
Describe the changes since 2.9.4 for the soon-to-be-released
version 2.9.5.
Signed-off-by: Klaus Aehlig <aehlig@goog...
Klaus Aehlig
03:56 pm Revision 0f0ca306: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:56 pm ganeti-local Revision 0f0ca306: Merge branch 'stable-2.9' into stable-2.10
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:47 pm ganeti-local Revision 90402786: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:47 pm Revision 90402786: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix expression describing optional parameters
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewe...
Klaus Aehlig
03:33 pm Revision ad55b2d4: Fix expression describing optional parameters
The NIC's network and vlan are also newly added, hence need to be
considered optional to remain backwards compatible....
Klaus Aehlig
03:33 pm ganeti-local Revision ad55b2d4: Fix expression describing optional parameters
The NIC's network and vlan are also newly added, hence need to be
considered optional to remain backwards compatible....
Klaus Aehlig
01:53 pm ganeti-local Revision 2977b72c: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix net-common script in case of routed mode
Document hspace's SPN parameters
Document spindles in...
Klaus Aehlig
01:53 pm Revision 2977b72c: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Fix net-common script in case of routed mode
Document hspace's SPN parameters
Document spindles in...
Klaus Aehlig
01:50 pm Revision 931ca734: gitignore the files introduced by the compilation change
In particular, the test object and interface files and Makefile.ghc
Signed-off-by: Petr Pudlak <pudlak@google.com>
R...
Petr Pudlak
01:50 pm Revision f0ac917e: Show Haskell dependencies when compiling
Instead of showing the long GHC command line, show which file is being
compiled and what its dependencies are. This g...
Petr Pudlak
01:50 pm Revision 9b6d2d92: Compile every Haskell object file separately
This allows parallel compilation of all targets, including the Haskell
object files. While re-starting GHC for every ...
Petr Pudlak
01:50 pm Revision 1551758e: Add configuration options for Haskell compilation variants
Previously this was addressed by Makefile variables, which meant that
it was possible to build the same binary with d...
Petr Pudlak
01:50 pm Revision 06929681: Fix the generation of ListConstants with VPATH
When the build directory differs from the source directory, the
automatic variable '$<' points to the file found by p...
Petr Pudlak
12:48 pm ganeti-local Revision 6386c546: Fix net-common script in case of routed mode
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:48 pm Revision 6386c546: Fix net-common script in case of routed mode
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
12:13 pm Revision 77dac68c: Improve locale generation instructions
Precise has a different way to handle locales w.r.t. debian distributions.
This patch adds code to make the distincti...
Michele Tartara
12:13 pm ganeti-local Revision 14e61dd1: Document hspace's SPN parameters
With the introduction of spindles as resources, the machine-readable
output of hspace(1) has been extended. Document ...
Klaus Aehlig
12:13 pm Revision 14e61dd1: Document hspace's SPN parameters
With the introduction of spindles as resources, the machine-readable
output of hspace(1) has been extended. Document ...
Klaus Aehlig
12:13 pm ganeti-local Revision 91fba1d1: Document spindles in TSPEC
As spindles are now considered a resource, they are also output in
the TSPEC parameter of hspace --machine-readable. ...
Klaus Aehlig
12:13 pm Revision 91fba1d1: Document spindles in TSPEC
As spindles are now considered a resource, they are also output in
the TSPEC parameter of hspace --machine-readable. ...
Klaus Aehlig
12:13 pm Revision f6a6c79b: Add missing package to build_chroot
A package was missing both from the Precise chroot and from the generic chroot.
Signed-off-by: Michele Tartara <mtar...
Michele Tartara
11:20 am Revision f2a3c4f0: Let the instance's tuple of nodes start with the primary
Before the tuple of nodes of an instance was created from a set, listing
the nodes in alphabetical order. This patch ...
Petr Pudlak
11:20 am ganeti-local Revision f2a3c4f0: Let the instance's tuple of nodes start with the primary
Before the tuple of nodes of an instance was created from a set, listing
the nodes in alphabetical order. This patch ...
Petr Pudlak
11:19 am ganeti-local Revision 93a968aa: Fix the test that checks for the order of instance's nodes
The test checks if the first node in the tuple is the primary node, but
because it names the node so that it's the le...
Petr Pudlak
11:19 am Revision 93a968aa: Fix the test that checks for the order of instance's nodes
The test checks if the first node in the tuple is the primary node, but
because it names the node so that it's the le...
Petr Pudlak
11:11 am ganeti-local Revision 87f2f426: man: Update the manual page of gnt-node FAILOVER
In particular explicitly note that a node failover causes all instances
to be stopped and later restarted (issue #724...
Petr Pudlak
11:11 am Revision 87f2f426: man: Update the manual page of gnt-node FAILOVER
In particular explicitly note that a node failover causes all instances
to be stopped and later restarted (issue #724...
Petr Pudlak
11:09 am Revision 9cdea43f: Check the existence of system users and groups at bootstrap
Before, if any of these were missing, the creation of a cluster failed
and the cluster remained in an inconsistent st...
Petr Pudlak
09:49 am Revision e63e8891: Configure luxid to run with the same user as masterd
Currently masterd and luxid run under separate user accounts, which
makes it impossible for them to share access to t...
Petr Pudlak
« Previous
Next »
 

Also available in: Atom