Revision:

Revisions

# Date Author Comment
86879b97 12/11/2014 01:11 pm Dimitris Aragiorgis

Bump new upstream version

Signed-off-by: Dimitris Aragiorgis <>

495abb3c 12/11/2014 01:09 pm Dimitris Aragiorgis

Merge branch 'stable-2.10-bpo2' into debian-2.10

6070be5b 12/11/2014 01:08 pm Dimitris Aragiorgis

Fix NIC env in case seq is 0

Commit bd770b4 introduced a bug where the INTERFACE_INDEX was not
exported in scripts' environmenti if NIC's seq was 0. Fix this.

Signed-off-by: Dimitris Aragiorgis <>

0d1b82ce 12/11/2014 01:08 pm Dimitris Aragiorgis

Add --dry-run option to gnt-cluster add-tags

This will be useful for checking snf-ganeti-eventd/snf-dispatcher
sanity. By running:

  1. gnt-cluster add-tags --dry-run snf:enentd:heartbeat

snf-ganeti-eventd should send a message that snf-dispatcher will
receive....

fc203c6c 12/11/2014 01:08 pm Dimitris Aragiorgis

Fix tcpudp_port_pool in cfgupgrade

Use --fix-pool to fix tcpudp_port_pool and highest_used_port
in case they are not in sync.

Signed-off-by: Dimitris Aragiorgis <>

080245dc 12/11/2014 01:08 pm Dimitris Aragiorgis

(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 'secs'
params are given then 'cyls' is calculated from the disk size.

TODO: export these params in IDISK_PARAMS since the can be...

81344ab0 12/11/2014 01:08 pm Dimitris Aragiorgis

(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
template that allow arbitrary params. The corresponding
param that should be used is 'cache'....

daec079b 12/11/2014 01:08 pm Dimitris Aragiorgis

(ext) Do not remove disks if --keep-disks and DT_EXT

Signed-off-by: Dimitris Aragiorgis <>

ab86530b 12/11/2014 01:08 pm Dimitris Aragiorgis

(grnet) Remove deprecated physical_id if found

In 2.8 disks have been added to runtime files for hotplug support.
Back then physical_id slot existed. Remove this slot in the early
stage of Disk.FromDict() otherwise an exception will be raised.

Signed-off-by: Dimitris Aragiorgis <>

0cf1515d 12/11/2014 01:07 pm Dimitris Aragiorgis

(grnet) Upgrade runtime files

Each disk entry should include (disk dict, link name, disk uri).

When hotplug was backported in 2.8 access uri was not supported.
Thus the relevant entry for each disk entry might be missing from
the runtime files. Add an empty string in this case....

1a93514a 12/11/2014 01:07 pm Dimitris Aragiorgis

(b64) Use base64 encoding in networks' bitarrays

This is needed for GRNET'S production environment.

Signed-off-by: Dimitris Aragiorgis <>

45460c20 12/11/2014 01:07 pm Dimitris Aragiorgis

(snap) LUInstanceSnapshot for the ext disk template

Add support for snapshotting disks of an instance. This will
only work for the ext disk template. Example:

gnt-instance snapshot --disk &lt;ident&gt;:snapshot_name=snap inst1

This will take a snapshot of the disk identified by <ident> (e.g...

cab1c252 12/11/2014 01:07 pm Dimitris Aragiorgis

Revert "Fix query mechanism wrt networks and vlans"

Synnefo 0.15.2 still expects only mode and link and not vlan
in group_list field of the GetNetwork() query response.

Until it gets fixed we do not return the vlan netparam.

This reverts commit b6afa809538b9f6dd80953362e99a129147bf634.

c4fa9e56 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Use new methods to unconfigure NICs

We unconfigure a NIC (invoke ifdown script) during:

  • instance cleanup
  • finalizing successful migration on source node
  • hot-unplugging a NIC

In case of migration we do only a local cleanup.

Signed-off-by: Dimitris Aragiorgis <>

fd5af336 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Use new methods to create NIC files

NIC files containing corresponding tap name are created during:

  • instance startup
  • NIC hot-add

For compatibility we continue creating indexed based NIC files along
with uuid based ones.

Signed-off-by: Dimitris Aragiorgis <>

93610b9e 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Introduce _UnconfigureNIC() helper method

This method takes a NIC object, creates the proper invironment
and invokes ifdown script.

It takes an extra boolean argument only_local which is passed
to ifdown script as the second positional argument. It states...

1f0ab629 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Make Read/LoadKVMRuntime classmethods

.. and make LoadKVMRuntime() take instance_name rather than the
whole instance object as first argument. This will be needed during
instance cleanup where we the instance object is not available.

We are going to retrieve current NIC configuration from the runtime...

13e46f1a 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Extract env creation from ConfigureNic()

Introduce new helper method that creates the environment passed
to ifup/ifdown scripts. Instance tags and NIC index will be passed
only during ifup script since only then are available and valid.
Both can change until a NIC gets removed and thus will not be passed...

fcbf3d43 12/11/2014 01:07 pm Dimitris Aragiorgis

ifdown: Introduce helper methods

Until now Ganeti upon TAP creation, a NIC file was created
under $RUNDIR/kvm-hypervisor/nic/<instance_name>/<nic_index>

Since NICs have obtained a UUID, we are going to create another
file named after its UUID. This will be needed during ifdown...

e3e51401 12/11/2014 01:07 pm Dimitris Aragiorgis

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 instead
  • Pass positional argument to custom script

Signed-off-by: Dimitris Aragiorgis <>

9e0ced60 12/11/2014 01:07 pm Dimitris Aragiorgis

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 should be placed under /etc/ganeti/
and named `ganeti-kvm-ifdown`.

Signed-off-by: Dimitris Aragiorgis <>

5fcaa75b 12/11/2014 01:06 pm Dimitris Aragiorgis

(2.13) Fix Xen's NIC file

Xen exports all environment variables to a file so that an
external script (see vif_script hvparam) can source it.
In case of multiple values per variable (e.g. TAGS), we
should use XXX="a b c" instead of XXX=a b c. Fix this.

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

97b4a0af 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: Add new debian/changelog section

Signed-off-by: Dimitris Aragiorgis <>

2811d96d 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: ganeti.* -> snf-ganeti.* debian files

Change genscript.py to search for those files

Signed-off-by: Dimitris Aragiorgis <>

c6141806 12/11/2014 01:01 pm 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 <>

1 2 3 ... 644 Next » (1-25/16089) | Per page: 25, 50, 100

Also available in: Atom