Activity

From 11/27/2013 to 12/26/2013

12/20/2013

11:34 am Revision 4fdfdb26: Update the NEWS file with the Issue 640 fix
Add an entry in the NEWS file describing the fix of Issue 640.
Signed-off-by: Michele Tartara <mtartara@google.com>
...
Michele Tartara
11:34 am Revision 6ee8fdd3: Ensure that all the hypervisors exist in the config file
All the hypervisors are supposed to exist in the config file, but it might not
be so after upgrades from old versions...
Michele Tartara
11:34 am Revision 52a988f2: Fix testEncodeInstance test input
The input of the testEncodeInstance test was not adherent to the actual format
of the Ganeti configuration file: kvm ...
Michele Tartara

12/17/2013

01:11 pm Revision 74d2fa21: Bump new upstream version
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
01:01 pm Revision b60e353a: Merge branch 'stable-2.8.4-grnet' into debian-2.8.4-grnet
Dimitris Aragiorgis
01:00 pm Revision cc1d9016: (packaging) Add vcs-version file
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:56 pm Revision d396d21e: Change source package to snf-ganeti
..and make ganeti2 dummy package depend on snf-ganeti.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:56 pm Revision 27e874da: Add new debian/changelog section
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:56 pm Revision cb49d1f5: 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 ...
Dimitris Aragiorgis
12:56 pm Revision 4f64f422: 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 pat...
Dimitris Aragiorgis
12:56 pm Revision b6772b46: Rename ganeti.* debian files to snf-ganeti.*
Change genscript.py to search for those files
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:56 pm Revision c55058f4: ganeti -> snf-ganeti in debian/rules
override dh_install init, cron, logrotate with --name option.
Additional changes:
- Let ganeti run as root
- Do no...
Dimitris Aragiorgis
12:56 pm Revision 42591fbb: Remove debian patch that does not apply on 2.8
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:56 pm Revision ed88923f: ganeti -> snf-ganeti in debian/control
snf-ganeti Provides, Replaces, Conflicts ganeti
ganeti-haskell replaces snf-ganeti
- /usr/share/man/man8/ganeti-conf...
Dimitris Aragiorgis
12:56 pm Revision 45b6a5b4: Import debian files from wheezy-backports
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:46 pm Revision 2e1b72ee: (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:46 pm Revision a82a94e1: (ext) Do not remove disks if --keep-disks and DT_EXT
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:46 pm Revision f14863bc: (kvm) Add migration capabilities if supported
This just adds two monitor commands before migration
in order to optimize performance. If the migrate_set_capability
...
Dimitris Aragiorgis
12:46 pm Revision 9209d947: (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:46 pm Revision 566853c4: (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:46 pm Revision 50fc5dfc: (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:46 pm Revision 11e90588: (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:46 pm Revision 06c2fb4a: (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:46 pm Revision f44c88c7: (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:46 pm Revision d0ccd946: (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:46 pm Revision 150e31ec: (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:46 pm Revision e2800fca: (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:46 pm Revision 0500f6fd: (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:46 pm Revision 6ba0093c: (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:46 pm Revision 7d4ae909: (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:46 pm Revision 45ba54c4: (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:46 pm Revision 569f47dd: (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:46 pm Revision 22001b78: (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:46 pm Revision e7a77eb8: (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:46 pm Revision bdf3ba80: (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:46 pm Revision e5370111: (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:46 pm Revision 52fc37bd: (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:46 pm Revision 9de92521: (2.10) SimpleRetry on BlockDev.Remove()
Sometimes, upon disk removal, corresponding file descriptors
are kept briefly open by various processes (hypervisor, ...
Dimitris Aragiorgis
12:46 pm Revision caf74756: (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:46 pm Revision 4c6e8e1a: (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:46 pm Revision 1c6c4d6d: (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:46 pm Revision d05afa85: (2.10) Fix in RPC
Use _SingleDiskDictDP() instead of _ObjectDict() for serializing
a disk.
Signed-off-by: Dimitris Aragiorgis <dimara@...
Dimitris Aragiorgis
12:46 pm Revision 9f395c32: (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:46 pm Revision 4a44d8aa: (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:46 pm Revision e419e42f: (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:46 pm Revision dcedd81a: (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:46 pm Revision 67c450d1: (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:46 pm Revision d7185512: (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:46 pm Revision 97cf0763: (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:46 pm Revision 82b948e4: (2.10) Hotplug: client support
Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted, modifications become effective after rebo...
Dimitris Aragiorgis
12:46 pm Revision 9b28d122: (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:46 pm Revision e8e50805: (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:46 pm Revision 860bf930: (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:46 pm Revision 172a75dc: (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:46 pm Revision af2f716d: (2.10) Introduce hotplug methods (hypervisor inteface)
4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with...
Dimitris Aragiorgis
12:46 pm Revision 0288e7bf: (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:46 pm Revision d7583563: (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:46 pm Revision 8b7be6f2: (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:46 pm Revision 58502c9e: (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:46 pm Revision 277a9de7: (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:46 pm Revision 8e1c6109: (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:46 pm Revision ece1057c: (2.10) Introduce _GenerateKVMBlockDevicesOptions()
Simply move logic that generates block device related
options out of _GenerateKVMRuntime().
NOTE: Back-port correspo...
Dimitris Aragiorgis
12:46 pm Revision 994ccaf2: (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:46 pm Revision 2c04ae0d: (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:46 pm Revision fa466513: (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:46 pm Revision adea59b3: (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
12:46 pm Revision 865cdc2e: (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/16/2013

06:55 pm Revision 3eaa6e1d: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add support for blktap2 file-driver
Update opcodes test to include network tags
Make network tags ...
Klaus Aehlig
05:53 pm Revision a5c50971: Version bump for 2.10.0~rc1
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Thomas Thrainer
05:53 pm Revision 890fdff7: Update NEWS for 2.10.0 rc1 release
Mention inherited changes as well as the (very few) changes made to
stable-2.10 since beta1.
Signed-off-by: Thomas T...
Thomas Thrainer
05:53 pm Revision 4a65d4fd: Fix pylint 0.26.0/Python 2.7 warning
pylint 0.26.0 on Python 2.7 generates a warning on the string '\ ',
recommending to use the r prefix. This patch adds...
Thomas Thrainer
05:53 pm Revision bd341bff: Update INSTALL and devnotes for 2.10 release
The following changes are made:
* Add M4 as required dependency
* Change reference to qemu-img package to qemu-util...
Thomas Thrainer
05:53 pm Revision 7bc2c097: Add support for blktap2 file-driver
Newer Xen versions use blktap2 instead of blktap. This patch adds support
for it in Ganeti.
Fixes Issue 638.
Signed...
Michele Tartara
05:31 pm Revision a4c589d2: Add network tag tests to QA
The QA did not have a test for network tags until now, and this patch
remedies the situation.
Signed-off-by: Hrvoje ...
Hrvoje Ribicic
05:31 pm Revision 95e00de7: Update opcodes test to include network tags
This patch adds the network tags to the list of all other tag types
that can be tried in QuickCheck tests.
Signed-of...
Hrvoje Ribicic
05:31 pm Revision 36ccc662: Make network tags searchable
This patch adds the network tags to the tags searched by gnt-cluster
search-tags, and in the process cleans up the co...
Hrvoje Ribicic
05:31 pm Revision 92ea7d79: Fix RAPI network tag handling
The network tags were absent from an if check used to actually list
tags. The patch fixes the oversight, and adds a p...
Hrvoje Ribicic
05:31 pm Revision 9d0b521e: Fix gnt-network list-tags
Define network tags in haskell part.
This fixes issue 641.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Dimitris Aragiorgis
12:37 pm Revision c486fb6c: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Bump revision for 2.9.2
Update NEWS for 2.9.2 release
Pass hvparams to GetInstanceInfo
Adapt par...
Thomas Thrainer

12/13/2013

03:09 pm Revision 89c63fbe: Bump revision for 2.9.2
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Klaus Aehlig
03:09 pm Revision c7a4a8c8: Update NEWS for 2.9.2 release
Besides a few local fixes, the main improvement are the changes
inherited from stable 2.8.
Signed-off-by: Klaus Aehl...
Klaus Aehlig

12/12/2013

06:33 pm Revision e34f46e6: Document format of the file-storage-paths file
The format of the /etc/ganeti/file-storage-paths file was not documented
in the man page. This patch adds a short not...
Thomas Thrainer
04:22 pm Revision 3d680d45: Pass hvparams to GetInstanceInfo
...so that the xen command to be called can be determined. This
fixes another semantical conflict of the last merge.
...
Klaus Aehlig
02:55 pm Revision ed2fea64: Adapt parameters that moved to instance variables
Due to a change in the code organization in stable-2.9, some
method variables became instance variables, causing a se...
Klaus Aehlig
11:17 am Revision 791e87b8: Avoid lines longer than 80 chars
...as they're a lint error.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@goog...
Klaus Aehlig

12/11/2013

07:43 pm Revision affe1792: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Version bump for 2.8.3
Update NEWS for 2.8.3 release
Support reseting arbitrary params of ext disk...
Klaus Aehlig
02:38 pm Revision 6ce56f8f: Version bump for 2.8.3
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
02:37 pm Revision 390fa990: Update NEWS for 2.8.3 release
List all the changes that happened between 2.8.2 and 2.8.3.
Signed-off-by: Michele Tartara <mtartara@google.com>
Rev...
Michele Tartara
01:27 pm Revision e228ab9c: Support reseting arbitrary params of ext disks
If param=default and the param already exists then we remove
it from params dict. This is stolen by GetUpdatedParams(...
Dimitris Aragiorgis
01:27 pm Revision c5c72215: Allow modification of arbitrary params for ext
Disks of ext template are allowed to have arbitrary parameters
stored in the Disk object's params slot. Those paramet...
Dimitris Aragiorgis
01:26 pm Revision 54666867: Do not clear disk.params in UpgradeConfig()
Commits 5dbee5e and cce4616 fix disk upgrades concerning params
slot. Since 2.7 params slot should be empty and gets ...
Dimitris Aragiorgis

12/09/2013

02:51 pm Revision a63985f3: SetDiskID() before accepting an instance
SetDiskID() fills physical_id slot of a Disk object.
LUInstanceSetParams() does not invoke SetDiskID() upon creation...
Dimitris Aragiorgis
01:59 pm Revision 8b9887c5: Lock group(s) when creating instances
This is required to prevent race conditions such as removing a network
from a group and adding an instance at the sam...
Petr Pudlak

12/05/2013

03:10 pm Revision 9cbcb1be: Fix job error message after unclean master shutdown
According to commit 599ee321eb, any job-related error messages should
be encoded within a Ganeti-specific error and n...
Hrvoje Ribicic
11:39 am Revision 77b0d264: Add default file_driver if missing
If the file driver of an instance with file based storage is not specified, the
default one is automatically added by...
Michele Tartara
11:03 am Revision 3fc1dc2f: Update tests
Update hypervisor unit tests.
Partial cherry-pick from d2e4e099e4248832fef8ed7b0755d01bd4178e3a
Signed-off-by: Jose...
Jose A. Lopes
11:03 am Revision 364c350f: Xen handle domain shutdown
Update Xen backend to properly recognize when a domain has been
shutdown by the user and to properly cleanup a shutdo...
Jose A. Lopes

12/04/2013

04:51 pm Revision 67ec18c0: Fix evacuation out of drained node
* fix node daemon not to skip data, such as, memory and disk size,
when building the node list to send to HBal, giv...
Jose A. Lopes
04:51 pm Revision 0eb83d70: Refactor reading live data in htools
This simplifies different handling of individual items.
Cherry-picked from 8c72f7119f50a11661aacba2a1abffdfdc6f7cfa....
Bernardo Dal Seno

12/03/2013

12:05 pm Revision 9d7e8218: master-up-setup: Ping multiple times with a shorter interval
In the case of network problems, one ping packet can possibly get lost.
Sending multiple packets is safer. The interv...
Petr Pudlak

12/02/2013

03:38 pm Revision 71b75e7a: Add a packet number limit to "fping" in master-ip-setup
This fixes issue #630. Apparently there is a bug in fping 3.5 where it
loops forever without "-c" given an unreachabl...
Petr Pudlak
12:39 pm Revision e8cbe174: Introduce _UpgradeSerializedRuntime() method
This method is invoked during _AnalizeSerializedRuntime() and is
meant to modify runtime files in the way cfgupgrade ...
Dimitris Aragiorgis
12:03 pm Revision 4eef428e: Fix a bug in InstanceSetParams concerning names
In case no name is passed in disk modifications we should
keep the old one. If name=none then set disk name to None.
...
Dimitris Aragiorgis

11/29/2013

02:41 pm Revision 546c5100: SingleNotifyPipeCondition: don't share pollers
As widely known Ganeti uses a better[1] lock condition notification
library based on operating system pipes.
Inside ...
Guido Trotter

11/28/2013

04:45 pm Revision b4e8599b: build_chroot: hard-code the version of blaze-builder
The newest version does not build on Debian squeeze, so avoid
it being pulled in as a dependency.
This is the same i...
Petr Pudlak

11/27/2013

04:52 pm Revision 3ddc7650: Fix error printing
Fixes issue 616.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
03:43 pm Revision ee2a6b3f: build_chroot: install pyinotify inside the chroot
Commit 0e3f65d2 erroneously installed pyinotify on the host system.
This commit fixes that and adds a comment on why ...
Santi Raffa
03:04 pm Revision 62810f07: Allow link local IPv6 gateways
Each host using IPv6 always has a link local address in fe80::/10. It is
common to use fe80::1 as default gateway to ...
Thomas Thrainer
02:44 pm Revision 4289f617: Fix NODE/NODE_RES locking in LUInstanceCreate
Both NODE and NODE_RES locks were acquired opportunistically if so
requested by the user. LUInstanceCreate requires, ...
Thomas Thrainer
09:40 am Revision 289e7fcc: eta-reduce isIpV6
This is not only better style, but also fixes a lint error.
Also use the infix form of `elem` to increase readability...
Klaus Aehlig
« Previous
Next »
 

Also available in: Atom