Commit c7a5e2d7 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: Support Ganeti 2.10

..and later but NOT 2.8.

In Ganeti 2.10 --no-lvm-storage and --no-drbd-storage options of
gnt-cluster init are removed in favor of --enabled-disk-templates.

Additionally the packaging has changed. A valid ganeti installation
has: ganeti-haskell-2.10, ganeti-htools-2.10, ganeti-2.10,
snf-ganeti, ganeti2.

Since snf-ganeti (or ganeti) depends on all other we remove
ganeti-haskell and ganeti-htools from the REQUIRED_PACKAGES of
the Ganeti component. ganeti2 is a dummy transitional package that
satisfies external components dependencies (snf-image,
snf-cyclades-gtools, etc.)

The version to be installed is configurable in packages.conf.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 53240749
[DEFAULT]
vg = ganeti
vg_size = 2G
# whether to add synnefo related packages
synnefo = True
[ganeti]
name = ganeti
domain = synnefo.live
ip = 10.1.2.101
netdev = eth0
# whether to add synnefo related packages
synnefo = True
[ganeti-qa]
name = ganeti
domain = qa.synnefo.live
ip = 10.1.2.101
netdev = eth2
# whether to add synnefo related packages
netdev = eth0
synnefo =
......@@ -25,5 +24,3 @@ name = ganeti
domain = vcluster.synnefo.live
ip = 10.1.2.101
netdev = eth0
# whether to add synnefo related packages
synnefo = True
......@@ -5,5 +5,7 @@ blktap-utils = 2.0.90next~21~3a70c2f~1452b09-1
libcurl4-openssl-dev = 7.26.0-1+wheezy9
curl = 7.26.0-1+wheezy9
snf-image = 0.14-1~wheezy
snf-ganeti = unstable
ganeti2 = unstable
[ubuntu]
[DEFAULT]
vg = ganeti
vg_size = 2G
# whether to add synnefo related packages
synnefo = True
[ganeti]
name = ganeti
domain = synnefo.live
ip = 10.1.2.101
netdev = eth0
# whether to add synnefo related packages
synnefo = True
[ganeti-qa]
name = ganeti
domain = qa.synnefo.live
ip = 10.1.2.101
netdev = eth2
# whether to add synnefo related packages
netdev = eth0
synnefo =
......@@ -25,5 +24,3 @@ name = ganeti
domain = vcluster.synnefo.live
ip = 10.1.2.101
netdev = eth0
# whether to add synnefo related packages
synnefo = True
......@@ -5,5 +5,7 @@ blktap-utils = 2.0.90next~21~3a70c2f~1452b09-1
libcurl4-openssl-dev = 7.26.0-1+wheezy9
curl = 7.26.0-1+wheezy9
snf-image = 0.14-1~wheezy
snf-ganeti = unstable
ganeti2 = unstable
[ubuntu]
......@@ -537,12 +537,10 @@ class Ganeti(base.Component):
REQUIRED_PACKAGES = [
"qemu-kvm",
"python-bitarray",
"ganeti-htools",
"ganeti-haskell",
"bridge-utils",
"snf-ganeti",
"ganeti2",
"bridge-utils",
"ganeti-instance-debootstrap",
"ganeti-instance-debootstrap"
]
@update_admin
......@@ -676,7 +674,6 @@ gnt-node modify --master-capable=yes {0}
init = """
gnt-cluster init --enabled-hypervisors=kvm \
--no-lvm-storage --no-drbd-storage \
--nic-parameters link={0},mode=bridged \
--master-netdev {1} \
--default-iallocator hail \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment