Commit 6bf38c80 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: Fixes related to the GanetiDev component

Install the deb and cabal packages required for the latest ganeti
version (master branch of official repo).

Clone both official ganeti and snf-ganeti under config.shared_dir
(i.e. /srv/src). In ganeti-qa dev node is the same with nfs
so all qa nodes will see the same src and will be able to install
it from source (make install).
Signed-off-by: default avatarDimitris Aragiorgis <>
parent ab38f9b8
......@@ -2,5 +2,7 @@
python-nfqueue = 0.4+physindev-1~wheezy
python-scapy = 2.2.0+rfc6355-1
blktap-utils = 2.0.90next~21~3a70c2f~1452b09-1
libcurl4-openssl-dev = 7.26.0-1+wheezy9
curl = 7.26.0-1+wheezy9
......@@ -17,6 +17,7 @@ import re
import datetime
import simplejson
import copy
import os
from snfdeploy import base
from snfdeploy import config
from snfdeploy import constants
......@@ -1796,6 +1797,12 @@ class GanetiDev(base.Component):
......@@ -1824,7 +1831,18 @@ class GanetiDev(base.Component):
# "text",
......@@ -1838,8 +1856,12 @@ class GanetiDev(base.Component):
def prepare(self):
src = config.src_dir
url1 = "git://"
url2 = ""
return self._cabal() + [
"git clone git://"
"git clone %s %s/ganeti" % (url1, src),
"git clone %s %s/snf-ganeti" % (url2, src)
def _configure(self):
......@@ -1864,9 +1886,10 @@ class GanetiDev(base.Component):
def initialize(self):
d = os.path.join(config.src_dir, "ganeti")
return [
"cd ganeti; ./",
"cd ganeti; ./configure --localstatedir=/var --sysconfdir=/etc",
"cd %s; ./" % d,
"cd %s; ./configure --localstatedir=/var --sysconfdir=/etc" % d,
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