Revision:

Revisions

# Date Author Comment
18aa65d1 03/27/2014 10:00 am Dimitris Aragiorgis

(ext) Export logical_id info to hooks env

DISK_ID as the second part of logical_id

Signed-off-by: Dimitris Aragiorgis <>

61b8170e 03/27/2014 10:00 am Dimitris Aragiorgis

(b64) Use base64 encoding in networks' bitarrays

This is needed for GRNET'S production environment.

Signed-off-by: Dimitris Aragiorgis <>

b45fa564 03/27/2014 10:00 am Dimitris Aragiorgis

(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-off-by: Dimitris Aragiorgis <>

af245c80 03/27/2014 09:59 am Dimitris Aragiorgis

(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 return proper device id. In case idx is given we return
a dummy id (e.g. hotdisk-0). Otherwise we raise an Exception....

92158c35 03/27/2014 09:59 am Dimitris Aragiorgis

(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

Signed-off-by: Dimitris Aragiorgis <>

ff7886aa 03/27/2014 09:59 am Dimitris Aragiorgis

(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
configuration space. KVM inserts devices to PCI slots
depending on the order of command line options....

305961f7 03/27/2014 09:58 am Dimitris Aragiorgis

(grnet) Hotplug: cfgupgrade for deprecated fields

Add cfgupgrade so that we remove any deprecated fields hotplug
implementation used in the past.

Signed-off-by: Dimitris Aragiorgis <>

308bad8a 03/27/2014 09:58 am Dimitris Aragiorgis

(2.10) Introduce _UpgradeSerializedRuntime() method

This method is invoked during _AnalizeSerializedRuntime() and is
meant to modify runtime files in the way cfgupgrade does for
config.data. This could remove deprecated fields, change the
format of the file, add/remove sections, etc....

ad721818 03/27/2014 09:58 am Dimitris Aragiorgis

(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 we are writing on a file that
is going to be sourced we should not add INTERFACE_NAME=None....

d537bee3 03/27/2014 09:58 am Dimitris Aragiorgis

(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 <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>...

6164c1f9 03/27/2014 09:58 am Dimitris Aragiorgis

(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 hypervisors.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

b27a7b79 03/27/2014 09:58 am Dimitris Aragiorgis

(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 <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

4eb33085 03/27/2014 09:58 am Dimitris Aragiorgis

(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 for that is:
"I want to add a NIC/disk to an instance. If it is running
then try to hotplug the device. If not, then just add it to config."...

90795899 03/27/2014 09:58 am Dimitris Aragiorgis

(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 included in the
request body. Based on that, extend RebootInstance() and
RemoveInstance() so that they can take extra arguments (e.g....

d2049832 03/27/2014 09:57 am Dimitris Aragiorgis

(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. Currently this is not
supported. External reservations should act as holes in the pool and...

c9d06eaa 03/27/2014 09:57 am Dimitris Aragiorgis

(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 query args and return a
(body, specific_static) tuple eventually passed to FillOpCode()....

58625baa 03/27/2014 09:57 am Dimitris Aragiorgis

(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 ('X' in map) that cannot be changed
afterwards, although they may need to (e.g. in case of node...

75b21ca0 03/27/2014 09:57 am Dimitris Aragiorgis

(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 generally
supported. Call this RPC early in CheckPrereq() and abort if
hotplug is not supported. Currently only KVM hypervisor with...

ecb07da9 03/27/2014 09:57 am Dimitris Aragiorgis

(2.10) SimpleRetry on BlockDev.Remove()

Sometimes, upon disk removal, corresponding file descriptors
are kept briefly open by various processes (hypervisor, blkid, etc.).
With this patch, we retry several times before raising the appropriate
error, thus making disk removal more robust against those corner cases....

a1764192 03/27/2014 09:57 am Dimitris Aragiorgis

(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/lvremove
the device without errors.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

d0d1f2c4 03/27/2014 09:57 am Dimitris Aragiorgis

(2.10) Minor changes regarding hotplug support

  • Mention restrictions in NEWS
    - RBD userspace access mode
    - In case of a downgrade instances should suffer a reboot to be migrateable
  • Bypass interactive verification in NIC modifications via --force option...
014d9fac 03/27/2014 09:57 am Dimitris Aragiorgis

(2.10) Fix in RPC

Use _SingleDiskDictDP() instead of _ObjectDict() for serializing
a disk.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

In stable-2.10 rpc methods take node as first argument....

a80a1d16 03/27/2014 09:57 am Dimitris Aragiorgis

(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-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

68169c48 03/27/2014 09:57 am Dimitris Aragiorgis

(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 wants to support it, we must override VerifyHotplugSupport()
and implement the Hot* method....

df07c18f 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Some fixes in _GenerateKVMBlockDevicesOptions()

  • Add docstring.
  • fix missed usecase of boot_disk=False if kernel_path is given.
  • Use devlist arg in GenerateKVMBlockDeviceOptions()
    This is previously calculated in _ExecuteKVMRuntime()
    so there is no need to rerun the same command....
07809f7d 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Add unittests for Hotplug support

Try base InstanceSetParams tests that modify instance's
devices with hotplug=True.

Add some unittests for kvm hypervisor regarding runtime file
manipulation. Based on a sample runtime file search for
specific disk and nic entries based on their UUID....

8ccc89da 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Extend qa to test hotplug support

Only if default hypervisor is KVM try all hotplug related actions.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

d13cc2f9 03/27/2014 09:56 am Dimitris Aragiorgis

(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 is only supported for
the KVM Hypervisor version >= 1.0.

Signed-off-by: Dimitris Aragiorgis <>...

a4c78220 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Hotplug: client support

Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after reboot.

Ask user confirmation in case NIC modify + hotplug because it will
be done via removing old NIC (and the corresponding tap) and adding...

5398bd02 03/27/2014 09:56 am Dimitris Aragiorgis

(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 eventually by
constructor of each BlockDev.

This is not needed in 2.10 since physical_id has become deprecated....

3531ba0b 03/27/2014 09:56 am Dimitris Aragiorgis

(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 that we
pass it to the corresponding hypervisor command and include it
in block_devices entry in runtime files....

d26af78e 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Hotplug: cmdlib support

Hotplugging is done by functions invoked by ApplyContainerMods(). In
order hotplugging to take place the --hotplug option must be passed
otherwise the modifications will take place after reboot.

NIC hotplug supports add, remove and modify. The modify is done by removing...

3ae003d8 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Hotplug: rpc support

Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the following
arguments: device type, action, device, extra info, seq.
Device type can be NIC or DISK, action can be ADD, REMOVE,...

878ddc80 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Introduce hotplug methods (hypervisor inteface)

4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with the backend.
In general they read current runtime info, do the actual hotplug
and update the runtime file....

ce0248c6 03/27/2014 09:56 am Dimitris Aragiorgis

(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: MonitorSocket

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

a05ff8a2 03/27/2014 09:56 am Dimitris Aragiorgis

(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 not installed (NIC hotplug)
- chroot (Disk hotplug)
- security mode other than None (Disk hotplug)...
2ef37146 03/27/2014 09:56 am Dimitris Aragiorgis

(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 <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>...

7dff7128 03/27/2014 09:56 am Dimitris Aragiorgis

(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_devid = <device_type>-<part of uuid>-pci-<pci_slot>
Device ids must be reproduce-able when we want to remove them....

2485a35d 03/27/2014 09:56 am Dimitris Aragiorgis

(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 have
three items in block_devices and kvm_disks tuples.

We this patch we remove the third value.
...

49c3a39c 03/27/2014 09:56 am Dimitris Aragiorgis

(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 ? command. Currently
ganeti uses `if` property of driver to define the disk type to use...

7115b660 03/27/2014 09:56 am Dimitris Aragiorgis

(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 used to be
encapsulated inside kvm_cmd, live now separately just like nics do
but in tupples of (L{objects.Disk}, dev_path)....

1b1a2905 03/27/2014 09:56 am Dimitris Aragiorgis

(2.10) Introduce _GenerateKVMBlockDevicesOptions()

Simply move logic that generates block device related
options out of _GenerateKVMRuntime().

NOTE: Back-port corresponding commit from stable-2.10

- 2.8 does not have user-space access support for rbd

Signed-off-by: Dimitris Aragiorgis <>

bd7fed67 03/27/2014 09:56 am Dimitris Aragiorgis

(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 store it
temporarily in runtime files.
Add HOTPLUG_* constants to define device types an hotplug actions....

683d0600 03/27/2014 09:56 am Dimitris Aragiorgis

(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 /usr/lib/ganeti/vif-ganeti and then add is a hypervisor
parameter.

Signed-off-by: Dimitris Aragiorgis <>...

b008fa25 03/27/2014 09:56 am Dimitris Aragiorgis

(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
flexible.

Extract common code from kvm-ifup and insert it in a new
file net-common that is being sourced by kvm-ifup and...

880f8869 03/27/2014 09:56 am Dimitris Aragiorgis

(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 any vif script. The file location is:
/var/run/ganeti/xen-hypervisor/nic/<domname>/<nicidx>....

9580efd9 03/27/2014 09:56 am Dimitris Aragiorgis

(2.8r) Workaround for Issue 621

Upon LUNetworkDisconnect() and LUNetworkConnect() try to acquire
all cluster's instances.

By that _LS_ACQUIRE_ALL acquire mode is set and not
_LS_ACQUIRE_EXACT and thus the deleted lock does cause any problem.

NOTE: This workaround is not merged upstream. They prefer to have...

4991a030 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Bump new upstream version

Signed-off-by: Dimitris Aragiorgis <>

2db82983 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Add new debian/changelog section

Signed-off-by: Dimitris Aragiorgis <>

0159c66d 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Change source package to snf-ganeti

..and make ganeti2 dummy package depend on snf-ganeti.

Signed-off-by: Dimitris Aragiorgis <>

2747236e 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Remove debian patch that cannot apply

Since we run autogen.sh inside debian rules Makefile.in is not
included in original source tree and thus a debian patch that
changes this file cannot apply.

Signed-off-by: Dimitris Aragiorgis <>

593f6ea7 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) ganeti -> snf-ganeti in debian/rules

Override dh_install init, cron, logrotate with --name option.

Additional changes:
- Let ganeti run as root
- Do not enable restricted commands and do not require specific user/group.

Signed-off-by: Dimitris Aragiorgis <>

69739b6e 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Run ./autogen.sh before configure

This is needed so that packaging can be done by using official
src tree found on git repo.

Official debian packages provide in orig tarball the files
that get generated by automake, autoconf, and aclocal:

  • configure...
0092ea0a 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Rename ganeti.* debian files to snf-ganeti.*

Change genscript.py to search for those files

Signed-off-by: Dimitris Aragiorgis <>

b9a1948d 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) ganeti -> snf-ganeti in debian/control

snf-ganeti Provides, Replaces, Conflicts ganeti
ganeti-haskell replaces snf-ganeti
- /usr/share/man/man8/ganeti-confd.8.gz
was in Ganeti 2.6 but now is provided by ganeti-haskell
ganeti still replaces deprecated ganeti2 package...

3dfd61f8 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Remove debian patch that does not apply on 2.8

Signed-off-by: Dimitris Aragiorgis <>

9bdbd7bf 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Import debian files from wheezy-backports

Signed-off-by: Dimitris Aragiorgis <>

dcceefd7 03/27/2014 09:55 am Dimitris Aragiorgis

(debian) Add vcs-version file

Signed-off-by: Dimitris Aragiorgis <>

ddaf6cd3 03/26/2014 05:37 pm Hrvoje Ribicic

Add aliases for nodes

This patch adds a single alias for the secondary_ip property of the
node.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

f351ad77 03/26/2014 05:37 pm Hrvoje Ribicic

Add the RAPI symmetry test for nodes

This patch adds the RAPI symmetry test for nodes.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

3fd0d720 03/26/2014 05:37 pm Hrvoje Ribicic

Add renaming of group custom ndparams, ipolicy, diskparams

This patch adds the ability to set the group-specific parameters in the
same way they are described when returned by the info command - with
the "custom_" prefix.

Signed-off-by: Hrvoje Ribicic <>...

4589d0e6 03/26/2014 05:37 pm Hrvoje Ribicic

Add test for group custom parameter renaming

This patch introduces a simple test checking if a custom_* parameter is
renamed and passed to the opcode correctly.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

da235ee4 03/26/2014 05:37 pm Hrvoje Ribicic

Extend RAPI symmetry tests with RAPI-only aliases

This patch allows users to specify specific parameter aliases enabled
by RAPI, and test whether their value can be retrieved and set.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

25082733 03/26/2014 05:37 pm Hrvoje Ribicic

Add RAPI symmetry tests for groups

This patch invokes the RAPI symmetry tests for groups.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

d42394f2 03/26/2014 05:37 pm Hrvoje Ribicic

Add renaming of instance custom params

Much like the groups before, this patch allows custom_* params to be
submitted under the same name they can be retrieved as in the info
call.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

a903ca89 03/26/2014 05:37 pm Hrvoje Ribicic

Add unittests for instance modify parameter renaming

The get/put QA test could be used for instances as well, but unlike
other objects, instances have a very large number of discrepancies and
missing fields. To avoid enumerating every discrepancy and testing...

b25e6d35 03/26/2014 05:37 pm Hrvoje Ribicic

Sort imports

This patch does some housecleaning and sorts imports.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

33b9e4b2 03/26/2014 05:37 pm Hrvoje Ribicic

Provide tests for GET/PUT symmetry

The RAPI should allow all the parameters of objects to be gotten and
set under the same names. This patch adds a test that checks if this is
the case by using the underlying opcode arguments.

Signed-off-by: Hrvoje Ribicic <>...

286c0df2 03/26/2014 05:37 pm Hrvoje Ribicic

Add support for value aliases to RAPI

This patch extends the metaclass used to generate RAPI handlers to
allow creating aliases of certain values returned by GET methods.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

bbdf78f5 03/26/2014 05:37 pm Hrvoje Ribicic

Add aliases for cluster parameters

This patch adds aliases for two cluster parameters.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

13df0089 03/26/2014 05:37 pm Hrvoje Ribicic

Fix failing cluster query test

This patch makes a mock use a dictionary instead of an object, allowing
alias finding to work on it.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

25e9c2ce 03/26/2014 05:37 pm Hrvoje Ribicic

Add cluster RAPI symmetry test

This patch adds the test for RAPI symmetry at the cluster level. There
are some fields that have not been exposed yet, and their absence was
noted.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

4c4bf2fb 03/26/2014 05:37 pm Hrvoje Ribicic

Allow choice of HTTP method for modification

The original design of the RAPI symmetry test assumed that all RAPI
calls that modify parameters use the PUT method. This is not true in
the case of the node parameter modification method, and while that
itself should be addressed or at least examined, the test method has...

8ae4d0de 03/26/2014 05:16 pm Michele Tartara

Add reason parameter to RAPI client functions

Only the functions for starting, stopping and rebooting a VM had a reason
parameter. Now, all the RAPI client functions generating opcodes do.

Also, one test is expanded to verify that a RAPI request with both body and...

0828635b 03/26/2014 12:32 pm Klaus Aehlig

Also consider filter fields for deciding if using live data

If the query fields don't require live data, we use the shortcut
and don't request live data. However, we cannot take this shortcut
if the fields the filter depends on requires live data.

Signed-off-by: Klaus Aehlig <>...

62eef7c0 03/26/2014 12:06 pm Apollon Oikonomopoulos

Document the python-fdsend dependency

KVM NIC hotplugging requires python-fdsend to be installed, but this
is only reported in the hotplug design document. We add mentions in
INSTALL and NEWS.

Signed-off-by: Apollon Oikonomopoulos <>
Signed-off-by: Thomas Thrainer <>...

3b8ca90f 03/24/2014 03:39 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Make watcher submit queries low priority

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>

b4ff41d7 03/24/2014 03:25 pm Klaus Aehlig

Make watcher submit queries low priority

Make the watcher collect its data using low-priority jobs,
to avoid blocking user/admin jobs. Note that repair jobs are
still submitted normal priority. Fixes issue 772.

Signed-off-by: Klaus Aehlig <>...

e9bae2dd 03/20/2014 01:32 pm Thomas Thrainer

Bump version to 2.10.2

Change the release version to 2.10.2 in configure.ac.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

bac7c7b5 03/20/2014 01:32 pm Thomas Thrainer

Prepare NEWS file for 2.10.2

Mention all relevant changes / fixes which go into this release.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

ee92ab54 03/20/2014 01:32 pm Thomas Thrainer

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 the release on Monday is
scheduled on Thursday.

Signed-off-by: Thomas Thrainer <>...

7a476412 03/20/2014 11:06 am Thomas Thrainer

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 separate file
    Add optional ordering of QA patch files
    Allow multiple QA patches
    Refactor current patching code...
ade40547 03/20/2014 10:52 am Thomas Thrainer

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 separate file
    Add optional ordering of QA patch files
    Allow multiple QA patches
    Refactor current patching code...
7d76de75 03/20/2014 10:26 am Thomas Thrainer

Include qa/patch in Makefile

Fix the build by including the qa/patch directory in Makefile.am.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

7488cf4b 03/19/2014 08:32 pm Hrvoje Ribicic

Handle empty patches better

The previous patch loading utilities omitted empty patches, as they
were thought to be of no significance, and when no patches were used,
the import and therefore dependency should not be used. If a user has
added an empty patch file, and made an entry in the order file, the QA...

6d96ede4 03/19/2014 08:32 pm Hrvoje Ribicic

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 factors the function
calls into a separate file. Also reorders imports in touched files.

Signed-off-by: Hrvoje Ribicic <>...

7441bb96 03/19/2014 08:32 pm Hrvoje Ribicic

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 that will be executed
first, and in the order listed, before all the other patches that still
follow an alphabetical order....

a60fc78e 03/19/2014 08:32 pm Hrvoje Ribicic

Allow multiple QA patches

This patch allows support for multiple patches placed in the "patch"
directory, which are executed in alphabetical order.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Michele Tartara <>

c8bf5cf4 03/19/2014 08:32 pm Hrvoje Ribicic

Refactor current patching code

  • Refactors the current patch code to allow for multiple patches that
    can be applied, yet leaves only one for now.
  • Rewords the message shown to the user in case the modules needed for
    patching are missing.

Signed-off-by: Hrvoje Ribicic <>...

3a72e34a 03/17/2014 06:30 pm Dimitris Aragiorgis

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 bridge.
2) Slot 1 will always be ISA bridge.
3) Slot 2 will always be VGA controller (even with -display none)....

d13fb3f1 03/17/2014 06:30 pm Dimitris Aragiorgis

Fix bitarray ops wrt PCI slots

Introduce new method `_GetFreeSlot()` responsible only for bitarray
operations. It fixes search in case of bitarray is either '0000..'
or '1111..'.

Use it instead of `_UpdatePCISlots()` and in `_GetFreePCISlot()`.

Signed-off-by: Dimitris Aragiorgis <>...

4cbe5138 03/07/2014 07:53 pm Klaus Aehlig

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
    Improve RAPI detection of the watcher
    Add patching QA configuration files on buildbots
    Enable a timeout for instance shutdown...
ddc64582 03/07/2014 07:32 pm Michele Tartara

Fix error introduced during merge

A parameter was lost while resolving a conflict in the signature of a function.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

74a4fc94 03/07/2014 07:25 pm Klaus Aehlig

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 corresponding
absolute path.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

85530402 03/07/2014 07:07 pm Michele Tartara

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 timeout for instance shutdown
    Allow KVM commands to have a timeout
    Allow xen commands to have a timeout...
6177890b 03/07/2014 05:15 pm Michele Tartara

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 752.

Signed-off-by: Michele Tartara <>
Reviewed-by: Hrvoje Ribicic <>

b7630577 03/07/2014 01:59 pm Petr Pudlak

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 careful not to commit it!) The file must conform to RFC6902
    and describes what changes should be done to the QA JSON...
874f6148 03/07/2014 12:08 pm Michele Tartara

Enable a timeout for instance shutdown

Add the timeout parameter to the StopInstance function of the hypervisor base
class and to all its implementations.

Also, change the tests as required by this change.

Signed-off-by: Michele Tartara <>...

2a2d087a 03/07/2014 12:08 pm Michele Tartara

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 after which the command is killed.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

7066724d 03/07/2014 12:07 pm Michele Tartara

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 command is killed.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

« Previous 1 2 3 4 5 ... 120 Next » (201-300/11958) | Per page: 25, 50, 100

Also available in: Atom