diff --git a/ci/schemas/one_node_wheezy/synnefo.conf b/ci/schemas/one_node_wheezy/synnefo.conf index e34dad35807941de0aee1951f4edf8241ced778e..6b20884dad84a9337704cb34afd082d08cf0b9f7 100644 --- a/ci/schemas/one_node_wheezy/synnefo.conf +++ b/ci/schemas/one_node_wheezy/synnefo.conf @@ -38,3 +38,7 @@ synnefo_public_network_subnet = 10.2.1.0/24 synnefo_public_network_gateway = 10.2.1.1 synnefo_public_network_netmask = 255.255.255.0 synnefo_public_network_type = CUSTOM + +# Ganeti git repo +# git://git.ganeti.org/ganeti.git +ganeti_url = https://code.grnet.gr/git/snf-ganeti diff --git a/snf-deploy/conf/synnefo.conf b/snf-deploy/conf/synnefo.conf index e34dad35807941de0aee1951f4edf8241ced778e..6b20884dad84a9337704cb34afd082d08cf0b9f7 100644 --- a/snf-deploy/conf/synnefo.conf +++ b/snf-deploy/conf/synnefo.conf @@ -38,3 +38,7 @@ synnefo_public_network_subnet = 10.2.1.0/24 synnefo_public_network_gateway = 10.2.1.1 synnefo_public_network_netmask = 255.255.255.0 synnefo_public_network_type = CUSTOM + +# Ganeti git repo +# git://git.ganeti.org/ganeti.git +ganeti_url = https://code.grnet.gr/git/snf-ganeti diff --git a/snf-deploy/files/tmp/configure-2.10 b/snf-deploy/files/tmp/configure-2.10 deleted file mode 100755 index 6379dae32f984bd8223c9ed695c1227d02ce732c..0000000000000000000000000000000000000000 --- a/snf-deploy/files/tmp/configure-2.10 +++ /dev/null @@ -1,12 +0,0 @@ -./configure \ - --prefix=/usr \ - --localstatedir=/var \ - --sysconfdir=/etc \ - --with-export-dir=/var/lib/ganeti/export \ - --with-iallocator-search-path=/usr/local/lib/ganeti/iallocators,/usr/lib/ganeti/iallocators \ - --with-os-search-path=/srv/ganeti/os,/usr/local/lib/ganeti/os,/usr/lib/ganeti/os,/usr/share/ganeti/os \ - --with-extstorage-search-path=/srv/ganeti/extstorage,/usr/local/lib/ganeti/extstorage,/usr/lib/ganeti/extstorage,/usr/share/ganeti/extstorage -\ - --docdir=/usr/share/doc/ganeti \ - --disable-symlinks - diff --git a/snf-deploy/files/tmp/configure-2.8 b/snf-deploy/files/tmp/configure-2.8 deleted file mode 100755 index ab2141b82f3fa9d25153cd20538abfffa305ccc3..0000000000000000000000000000000000000000 --- a/snf-deploy/files/tmp/configure-2.8 +++ /dev/null @@ -1,12 +0,0 @@ -./configure \ - --prefix=/usr \ - --localstatedir=/var \ - --sysconfdir=/etc \ - --with-export-dir=/var/lib/ganeti/export \ - --with-iallocator-search-path=/usr/local/lib/ganeti/iallocators,/usr/lib/ganeti/iallocators \ - --with-os-search-path=/srv/ganeti/os,/usr/local/lib/ganeti/os,/usr/lib/ganeti/os,/usr/share/ganeti/os \ - --with-extstorage-search-path=/srv/ganeti/extstorage,/usr/local/lib/ganeti/extstorage,/usr/lib/ganeti/extstorage,/usr/share/ganeti/extstorage -\ - --docdir=/usr/share/doc/ganeti \ - --enable-htools-rapi - diff --git a/snf-deploy/files/tmp/configure-ganeti b/snf-deploy/files/tmp/configure-ganeti new file mode 100755 index 0000000000000000000000000000000000000000..951759e8bc9531ff58652143974ff616ce4fb02d --- /dev/null +++ b/snf-deploy/files/tmp/configure-ganeti @@ -0,0 +1,12 @@ +cd %GANETI_SRC_DIR% +./autogen.sh +./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --with-export-dir=/var/lib/ganeti/export \ + --with-iallocator-search-path=/usr/local/lib/ganeti/iallocators,/usr/lib/ganeti/iallocators \ + --with-os-search-path=/srv/ganeti/os,/usr/local/lib/ganeti/os,/usr/lib/ganeti/os,/usr/share/ganeti/os \ + --with-extstorage-search-path=/srv/ganeti/extstorage,/usr/local/lib/ganeti/extstorage,/usr/lib/ganeti/extstorage,/usr/share/ganeti/extstorage \ + --docdir=/usr/share/doc/ganeti \ + --enable-symlinks diff --git a/snf-deploy/files/tmp/qa-init.sh b/snf-deploy/files/tmp/qa-init.sh new file mode 100755 index 0000000000000000000000000000000000000000..55a3078291b7a3debaa8702ef4b52d63f9794a84 --- /dev/null +++ b/snf-deploy/files/tmp/qa-init.sh @@ -0,0 +1,127 @@ +apt-get install \ + gawk \ + automake \ + bridge-utils \ + cabal-install \ + fakeroot \ + fping \ + ghc \ + ghc-haddock \ + git \ + graphviz \ + hlint \ + hscolour \ + iproute \ + iputils-arping \ + libghc-attoparsec-dev \ + libcurl4-gnutls-dev \ + libghc-crypto-dev \ + libghc-curl-dev \ + libghc-haddock-dev \ + libghc-hinotify-dev \ + libghc-hslogger-dev \ + libghc-hunit-dev \ + libghc-json-dev \ + libghc-network-dev \ + libghc-parallel-dev \ + libghc-quickcheck2-dev \ + libghc-regex-pcre-dev \ + libghc-snap-server-dev \ + libghc-temporary-dev \ + libghc-test-framework-dev \ + libghc-test-framework-hunit-dev \ + libghc-test-framework-quickcheck2-dev \ + libghc-base64-bytestring-dev \ + libghc-text-dev \ + libcurl4-gnutls-dev \ + libghc-utf8-string-dev \ + libghc-vector-dev \ + libghc-comonad-transformers-dev \ + libpcre3-dev \ + libghc6-zlib-dev \ + libghc-lifted-base-dev \ + shelltestrunner \ + lvm2 \ + make \ + ndisc6 \ + openssl \ + pandoc \ + pep8 \ + pylint \ + python \ + python-bitarray \ + python-coverage \ + python-epydoc \ + python-ipaddr \ + python-openssl \ + python-pip \ + python-pycurl \ + python-pyinotify \ + python-pyparsing \ + python-setuptools \ + python-simplejson \ + python-sphinx \ + python-yaml \ + qemu-kvm \ + socat \ + ssh \ + vim \ + python-fdsend + + +cabal update +cabal install \ + json \ + network \ + parallel \ + utf8-string \ + curl \ + hslogger \ + Crypto \ + hinotify==0.3.2 \ + regex-pcre \ + vector \ + lifted-base==0.2.0.3 \ + lens==3.10 \ + base64-bytestring==1.0.0.1 + + +# cluster is not initialized +if ! gnt-cluster getmaster; then + + mkdir -p /etc/ganeti + mkdir -p /srv/ganeti/file-storage + mkdir -p /srv/ganeti/shared-file-storage + mkdir -p /var/lib/ganeti/rapi + + cat >> /etc/ganeti/file-storage-paths <> /etc/modprobe.d/drbd.conf <> /etc/modules <> /var/lib/ganeti/rapi/users <