Revision 170ac4b1

b/ci/ci_squeeze.conf
1
[Global]
2
# Timeouts in seconds
3
build_timeout = 240
4
# Apt repository to use
5
apt_repo =
6
    deb http://apt.dev.grnet.gr squeeze/
7
    deb http://packages.x2go.org/debian squeeze main
8
# Synnefo git repo.
9
# If not set, snf-ci will copy and use the local repo.
10
synnefo_repo = https://code.grnet.gr/git/synnefo
11
# Git branch to test (specify sha1 or branch name). If not set, the
12
# branch/sha will result from the current repository.
13
synnefo_branch =
14
# Defines the schema that snf-deploy will use
15
schema = one_node_squeeze
16
# Local dir to save builded packages
17
pkgs_dir = /tmp/synnefo_pkgs
18
# If True patch the pydist.py module (see Debian bug #657665)
19
patch_pydist = True
20
# Configuration of git (on remote server)
21
git_config_name = Buildbot
22
git_config_mail = synnefo@builder.dev.grnet.gr
23
# Network address from which we allow access to server.
24
# If not set, access to server is not restricted.
25
accept_ssh_from =
26
# Config file to save temporary options (eg IPs, passwords etc)
27
temporary_config = /tmp/ci_temp_conf
28
# File to save the x2goplugin html file
29
x2go_plugin_file = /tmp/x2go.html
30

  
31

  
32
[Deployment]
33
# Choose the 'cloud' to use from .kamakirc
34
kamaki_cloud =
35
# Server name to use for our machine
36
server_name = Synnefo_CI
37
# A list of flavors (comma seperated) to choose from
38
# The user can specify a flavor name (reg expression)
39
# with "name:" or a flavor id with "id:".
40
flavors = name:C8R8...D20ext_.*, name:C8R8...D20drbd, id:1
41
# A list of images (comma seperated) to choose from
42
# The user can specify an image name (reg expression)
43
# with "name:" or an image id with "id:".
44
images = name:SynnefoCISqueeze.*,  name:Debian Base \(OldStable\), id:72d9844f-1024-4a07-a3c3-60d650b8f5cd
45
# File containing the ssh keys to upload/install to server
46
# If not set, no ssh keys will be installed
47
ssh_keys = ~/.ssh/id_rsa.pub
48

  
49

  
50
[Burnin]
51
# Maybe add some burnin options
52
# (e.g. tests to run/ignore, timeouts etc)
53
cmd_options = --nofailfast --no-ipv6 --action-timeout=240
54

  
55

  
56
[Unit Tests]
57
component = astakos cyclades
58

  
59

  
60
[Repository]
61
# Projects reside on this repo
62
projects =
63
    snf-common
64
    astakosclient
65
    snf-django-lib
66
    snf-webproject
67
    snf-branding
68
    snf-astakos-app
69
    snf-pithos-backend
70
    snf-cyclades-gtools
71
    snf-cyclades-app
72
    snf-pithos-app
73
    snf-tools
b/ci/ci_wheezy.conf
1
[Global]
2
# Timeouts in seconds
3
build_timeout = 240
4
# Apt repository to use
5
apt_repo =
6
    deb http://apt.dev.grnet.gr wheezy/
7
    deb http://packages.x2go.org/debian wheezy main
8
# Synnefo git repo.
9
# If not set, snf-ci will copy and use the local repo.
10
synnefo_repo = https://code.grnet.gr/git/synnefo
11
# Git branch to test (specify sha1 or branch name). If not set, the
12
# branch/sha will result from the current repository.
13
synnefo_branch =
14
# Defines the schema that snf-deploy will use
15
schema = one_node_wheezy
16
# Local dir to save builded packages
17
pkgs_dir = /tmp/synnefo_pkgs
18
# If True patch the pydist.py module (see Debian bug #657665)
19
patch_pydist = False
20
# Configuration of git (on remote server)
21
git_config_name = Buildbot
22
git_config_mail = synnefo@builder.dev.grnet.gr
23
# Network address from which we allow access to server.
24
# If not set, access to server is not restricted.
25
accept_ssh_from =
26
# Config file to save temporary options (eg IPs, passwords etc)
27
temporary_config = /tmp/ci_temp_conf
28
# File to save the x2goplugin html file
29
x2go_plugin_file = /tmp/x2go.html
30

  
31

  
32
[Deployment]
33
# Choose the 'cloud' to use from .kamakirc
34
kamaki_cloud =
35
# Server name to use for our machine
36
server_name = Synnefo_CI
37
# A list of flavors (comma seperated) to choose from
38
# The user can specify a flavor name (reg expression)
39
# with "name:" or a flavor id with "id:".
40
flavors = name:C8R8...D20ext_.*, name:C8R8...D20drbd, id:1
41
# A list of images (comma seperated) to choose from
42
# The user can specify an image name (reg expression)
43
# with "name:" or an image id with "id:".
44
images = name:^Debian Base$, id:72d9844f-1024-4a07-a3c3-60d650b8f5cd
45
# File containing the ssh keys to upload/install to server
46
# If not set, no ssh keys will be installed
47
ssh_keys = ~/.ssh/id_rsa.pub
48

  
49

  
50
[Burnin]
51
# Maybe add some burnin options
52
# (e.g. tests to run/ignore, timeouts etc)
53
cmd_options = --nofailfast --no-ipv6 --action-timeout=240
54

  
55

  
56
[Unit Tests]
57
component = astakos cyclades pithos
58

  
59

  
60
[Repository]
61
# Projects reside on this repo
62
projects =
63
    snf-common
64
    astakosclient
65
    snf-django-lib
66
    snf-webproject
67
    snf-branding
68
    snf-astakos-app
69
    snf-pithos-backend
70
    snf-cyclades-gtools
71
    snf-cyclades-app
72
    snf-pithos-app
73
    snf-tools
/dev/null
1
[Global]
2
# Timeouts in seconds
3
build_timeout = 240
4
# Apt repository to use
5
apt_repo =
6
    deb http://apt.dev.grnet.gr squeeze/
7
    deb http://packages.x2go.org/debian squeeze main
8
# Synnefo git repo.
9
# If not set, snf-ci will copy and use the local repo.
10
synnefo_repo = https://code.grnet.gr/git/synnefo
11
# Git branch to test (specify sha1 or branch name). If not set, the
12
# branch/sha will result from the current repository.
13
synnefo_branch =
14
# Defines the schema that snf-deploy will use
15
schema = one_node
16
# Local dir to save builded packages
17
pkgs_dir = /tmp/synnefo_pkgs
18
# If True patch the pydist.py module (see Debian bug #657665)
19
patch_pydist = True
20
# Configuration of git (on remote server)
21
git_config_name = Buildbot
22
git_config_mail = synnefo@builder.dev.grnet.gr
23
# Network address from which we allow access to server.
24
# If not set, access to server is not restricted.
25
accept_ssh_from =
26
# Config file to save temporary options (eg IPs, passwords etc)
27
temporary_config = /tmp/ci_temp_conf
28
# File to save the x2goplugin html file
29
x2go_plugin_file = /tmp/x2go.html
30

  
31

  
32
[Deployment]
33
# Choose the 'cloud' to use from .kamakirc
34
kamaki_cloud =
35
# Server name to use for our machine
36
server_name = Synnefo_CI
37
# A list of flavors (comma seperated) to choose from
38
# The user can specify a flavor name (reg expression)
39
# with "name:" or a flavor id with "id:".
40
flavors = name:C8R8...D20ext_.*, name:C8R8...D20drbd, id:1
41
# A list of images (comma seperated) to choose from
42
# The user can specify an image name (reg expression)
43
# with "name:" or an image id with "id:".
44
images = name:SynnefoCISqueeze.*,  name:Debian Base \(OldStable\), id:72d9844f-1024-4a07-a3c3-60d650b8f5cd
45
# File containing the ssh keys to upload/install to server
46
# If not set, no ssh keys will be installed
47
ssh_keys = ~/.ssh/id_rsa.pub
48

  
49

  
50
[Burnin]
51
# Maybe add some burnin options
52
# (e.g. tests to run/ignore, timeouts etc)
53
cmd_options = --nofailfast --no-ipv6 --action-timeout=240
54

  
55

  
56
[Unit Tests]
57
component = astakos cyclades
58

  
59

  
60
[Repository]
61
# Projects reside on this repo
62
projects =
63
    snf-common
64
    astakosclient
65
    snf-django-lib
66
    snf-webproject
67
    snf-branding
68
    snf-astakos-app
69
    snf-pithos-backend
70
    snf-cyclades-gtools
71
    snf-cyclades-app
72
    snf-pithos-app
73
    snf-tools
/dev/null
1
[packages]
2
# whether to use apt-get or local generated package found in packages dir
3
use_local_packages = True
4

  
5
# url to obtain latest synnefo packages.
6
# To use them change USE_LOCAL_PACKAGES setting to yes
7
# To get them run: snf-deploy packages
8
package_url = http://builder.dev.grnet.gr/synnefo/packages/Squeeze/40/
9

  
10
[dirs]
11
# dir to find all template files used to customize setup
12
# in case you want to add another setting please modify the corresponding file
13
templates = /var/lib/snf-deploy/files
14
# dir to store local images (disk0, disk1 of the virtual cluster)
15
images = /var/lib/snf-deploy/images
16
# dir to store/find local packages
17
# dir to locally save packages that will be downloaded from package_url
18
# put here any locally created packages (useful for development)
19
packages = /var/lib/snf-deploy/packages
20
# dir to store pidfiles (dnsmasq, kvm)
21
run = /var/run/snf-deploy
22
# dir to store dnsmasq related files
23
dns = /var/lib/snf-deploy/dnsmasq
24
# dir to lookup fabfile and ifup script
25
lib = /usr/lib/snf-deploy
26
# dir to store executed commands (to enforce sequential execution)
27
cmd = /var/run/snf-deploy/cmd
28

  
29
[keys]
30
# whether to create new keys
31
keygen = False
32
# whether to inject ssh keys found in templates/root/.ssh in nodes
33
key_inject = True
34

  
35
[options]
36
# Deploy Synnefo, specially tuned for testing. This option improves the speed
37
# of some operations, but is not safe for all enviroments. (e.g. disable
38
# fsync of postgresql)
39
testing_vm = True
/dev/null
1
[ganeti1]
2
cluster_nodes = node1
3
master_node = node1
4

  
5
cluster_netdev = eth0
6
cluster_name = ganeti1
7
cluster_ip = 192.168.0.13
8

  
9
vg = autovg
10

  
11
synnefo_public_network_subnet = 10.2.1.0/24
12
synnefo_public_network_gateway = 10.2.1.1
13
synnefo_public_network_type = CUSTOM
14

  
15
image_dir = /srv/okeanos
16

  
17
# To add another cluster repeat the above section
18
# with different header and nodes
/dev/null
1
# please note that currently is only supported deployment
2
# with nodes (both ganeti and synnefo) residing in the same subnet/domain
3
[network]
4
domain = synnefo.live
5

  
6
[os]
7
node1 = squeeze
8
# node2 = wheezy
9

  
10
[hostnames]
11
node1 = auto1
12
# node2 = auto2
13

  
14
[ips]
15
node1 = 192.168.0.1
16
# node2 = 192.168.0.2
17

  
18
# This is used only in case of vcluster
19
# needed to pass the correct dhcp responces to the virtual nodes
20
[macs]
21
node1 = 52:54:00:00:00:01
22
# node2 = 52:54:00:00:00:02
23

  
24
[info]
25
# Here we define which nodes from the predefined ones to use
26
nodes = node1
27

  
28
# login credentials for the nodes
29
# please note that in case of vcluster these are preconfigured
30
# and not editable.
31
# in case of physical nodes all nodes should have the same login account
32
user = root
33
password = 12345
34

  
35
public_iface = eth0
36
vm_public_iface = eth1
37
vm_private_iface = eth2
38

  
39
# extra disk name inside the nodes
40
# if defined, snf-deploy will create a VG for ganeti in order to support lvm storage
41
# if not then only file disk template will be supported
42
extra_disk = /dev/vdb
/dev/null
1
[debian]
2
rabbitmq-server = testing
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24

  
25

  
26
[synnefo]
27
snf-astakos-app = squeeze
28
snf-common = squeeze
29
snf-cyclades-app = squeeze
30
snf-cyclades-gtools = squeeze
31
snf-django-lib = squeeze
32
python-astakosclient = squeeze
33
snf-branding = squeeze
34
snf-webproject = squeeze
35
snf-pithos-app = squeeze
36
snf-pithos-backend = squeeze
37
snf-tools = squeeze
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
43

  
44
[other]
45
snf-cloudcms = squeeze
46
snf-vncauthproxy = squeeze
47
snf-pithos-webclient = squeeze
48
snf-image = squeeze
49
snf-network = squeeze
50
python-objpool = squeeze
51
nfdhcpd = squeeze
52
kamaki = squeeze
53
python-bitarray = squeeze-backports
54
nfqueue-bindings-python = 0.3+physindev-1
55

  
/dev/null
1
[debian]
2
rabbitmq-server = testing
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24

  
25

  
26
[synnefo]
27
snf-astakos-app = squeeze
28
snf-common = squeeze
29
snf-cyclades-app = squeeze
30
snf-cyclades-gtools = squeeze
31
snf-django-lib = squeeze
32
python-astakosclient = squeeze
33
snf-branding = squeeze
34
snf-webproject = squeeze
35
snf-pithos-app = squeeze
36
snf-pithos-backend = squeeze
37
snf-tools = squeeze
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
43

  
44
[other]
45
snf-cloudcms = squeeze
46
snf-vncauthproxy = squeeze
47
snf-pithos-webclient = squeeze
48
snf-image = squeeze
49
snf-network = squeeze
50
python-objpool = squeeze
51
nfdhcpd = squeeze
52
kamaki = squeeze
53
python-bitarray = squeeze-backports
54
nfqueue-bindings-python = 0.3+physindev-1
/dev/null
1
[cred]
2
synnefo_user = synnefo
3
synnefo_db_passwd = example_passw0rd
4
synnefo_rapi_passwd = example_rapi_passw0rd
5
synnefo_rabbitmq_passwd = example_rabbitmq_passw0rd
6
user_email = user@synnefo.org
7
user_name = John
8
user_lastname = Doe
9
user_passwd = 12345
10

  
11

  
12
[roles]
13
accounts = node1
14
compute = node1
15
object-store = node1
16
cyclades = node1
17
pithos = node1
18
cms = node1
19
db = node1
20
mq = node1
21
ns = node1
22
client = node1
23
router = node1
24

  
25

  
26
[synnefo]
27
pithos_dir = /srv/pithos
28
flavor_cpu = 1,2,4,8
29
flavor_ram = 128,256,512,1024,2048,4096,8192
30
flavor_disk = 2,5,10,20,40,60,80,100
31
flavor_storage = file
32

  
33
vm_public_bridge = br0
34
vm_private_bridge = prv0
35
common_bridge = br0
36

  
37
debian_base_url = https://pithos.okeanos.grnet.gr/public/RDISy7sNVIJ9KIm4JkmbX4
/dev/null
1
[image]
2
# url to get the base image. This is a debian base image with preconfigured
3
# root password and installed rsa/dsa keys. Plus a NetworkManager hook that
4
# changes the VM's name based on info provided by dhcp response.
5
# To create it run: snf-deploy image
6
squeeze_image_url = https://pithos.okeanos.grnet.gr/public/832xv
7
ubuntu_image_url =
8

  
9
# in order ganeti nodes to support lvm storage (plain disk template) it will
10
# be needed an extra disk to eventually be able to create a VG. Ganeti requires
11
# this VG to be at least of 30GB. To this end in order the virtual nodes to have
12
# this extra disk an image should be created locally. There are three options:
13
# 1. not create an extra disk (only file storage template will be supported)
14
# 2. create an image of 30G in image dir (default /var/lib/snf-deploy/images)
15
#    using dd if=/dev/zero of=squeeze.disk1
16
# 3. create this image in a local VG using lvgreate -L30G squeeze.disk1 lvg
17
#    and create a symbolic link in /var/lib/snf-deploy/images
18

  
19
# Whether to create an extra disk or not
20
create_extra_disk = False
21
# lvg is the name of the local VG if any
22
lvg =
23

  
24
# OS istalled in the virtual cluster
25
os = squeeze
26

  
27

  
28
[cluster]
29
# the bridge to use for the virtual cluster
30
# on this bridge we will launch a dnsnmasq and provide
31
# fqdns needed to the cluster.
32
# In ordrer cluster nodes to have internet access, host must do NAT.
33
# iptables -t nat -A POSTROUTING -s 192.0.0.0/28 -j MASQUERADE
34
# ip addr add 192.0.0.14/28 dev auto_nodes_br
35
# To create run: snf-deploy cluster
36
bridge = auto_nodes_br
37

  
38
[network]
39
subnet = 192.168.0.0/28
40
gateway = 192.168.0.14
/dev/null
1
[debian]
2
rabbitmq-server = testing
3
gunicorn =
4
qemu-kvm =
5
qemu =
6
python-gevent =
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server =
12
nfs-common =
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south =
24

  
25

  
26
[synnefo]
27
snf-astakos-app = wheezy
28
snf-common = wheezy
29
snf-cyclades-app = wheezy
30
snf-cyclades-gtools = wheezy
31
snf-django-lib = wheezy
32
python-astakosclient = wheezy
33
snf-branding = wheezy
34
snf-webproject = wheezy
35
snf-pithos-app = wheezy
36
snf-pithos-backend = wheezy
37
snf-tools = wheezy
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
43

  
44
[other]
45
snf-cloudcms = wheezy
46
snf-vncauthproxy = wheezy
47
snf-pithos-webclient = wheezy
48
snf-image = wheezy
49
snf-network = wheezy
50
python-objpool = wheezy
51
nfdhcpd = wheezy
52
kamaki = wheezy
53
python-bitarray = wheezy
54
nfqueue-bindings-python = 0.3+physindev-1~wheezy
b/ci/schemas/one_node_squeeze/deploy.conf
1
[packages]
2
# whether to use apt-get or local generated package found in packages dir
3
use_local_packages = True
4

  
5
# url to obtain latest synnefo packages.
6
# To use them change USE_LOCAL_PACKAGES setting to yes
7
# To get them run: snf-deploy packages
8
package_url = http://builder.dev.grnet.gr/synnefo/packages/Squeeze/40/
9

  
10
[dirs]
11
# dir to find all template files used to customize setup
12
# in case you want to add another setting please modify the corresponding file
13
templates = /var/lib/snf-deploy/files
14
# dir to store local images (disk0, disk1 of the virtual cluster)
15
images = /var/lib/snf-deploy/images
16
# dir to store/find local packages
17
# dir to locally save packages that will be downloaded from package_url
18
# put here any locally created packages (useful for development)
19
packages = /var/lib/snf-deploy/packages
20
# dir to store pidfiles (dnsmasq, kvm)
21
run = /var/run/snf-deploy
22
# dir to store dnsmasq related files
23
dns = /var/lib/snf-deploy/dnsmasq
24
# dir to lookup fabfile and ifup script
25
lib = /usr/lib/snf-deploy
26
# dir to store executed commands (to enforce sequential execution)
27
cmd = /var/run/snf-deploy/cmd
28

  
29
[keys]
30
# whether to create new keys
31
keygen = False
32
# whether to inject ssh keys found in templates/root/.ssh in nodes
33
key_inject = True
34

  
35
[options]
36
# Deploy Synnefo, specially tuned for testing. This option improves the speed
37
# of some operations, but is not safe for all enviroments. (e.g. disable
38
# fsync of postgresql)
39
testing_vm = True
b/ci/schemas/one_node_squeeze/ganeti.conf
1
[ganeti1]
2
cluster_nodes = node1
3
master_node = node1
4

  
5
cluster_netdev = eth0
6
cluster_name = ganeti1
7
cluster_ip = 192.168.0.13
8

  
9
vg = autovg
10

  
11
synnefo_public_network_subnet = 10.2.1.0/24
12
synnefo_public_network_gateway = 10.2.1.1
13
synnefo_public_network_type = CUSTOM
14

  
15
image_dir = /srv/okeanos
16

  
17
# To add another cluster repeat the above section
18
# with different header and nodes
b/ci/schemas/one_node_squeeze/nodes.conf
1
# please note that currently is only supported deployment
2
# with nodes (both ganeti and synnefo) residing in the same subnet/domain
3
[network]
4
domain = synnefo.live
5

  
6
[os]
7
node1 = squeeze
8
# node2 = wheezy
9

  
10
[hostnames]
11
node1 = auto1
12
# node2 = auto2
13

  
14
[ips]
15
node1 = 192.168.0.1
16
# node2 = 192.168.0.2
17

  
18
# This is used only in case of vcluster
19
# needed to pass the correct dhcp responces to the virtual nodes
20
[macs]
21
node1 = 52:54:00:00:00:01
22
# node2 = 52:54:00:00:00:02
23

  
24
[info]
25
# Here we define which nodes from the predefined ones to use
26
nodes = node1
27

  
28
# login credentials for the nodes
29
# please note that in case of vcluster these are preconfigured
30
# and not editable.
31
# in case of physical nodes all nodes should have the same login account
32
user = root
33
password = 12345
34

  
35
public_iface = eth0
36
vm_public_iface = eth1
37
vm_private_iface = eth2
38

  
39
# extra disk name inside the nodes
40
# if defined, snf-deploy will create a VG for ganeti in order to support lvm storage
41
# if not then only file disk template will be supported
42
extra_disk = /dev/vdb
b/ci/schemas/one_node_squeeze/packages.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24

  
25

  
26
[synnefo]
27
snf-astakos-app = squeeze
28
snf-common = squeeze
29
snf-cyclades-app = squeeze
30
snf-cyclades-gtools = squeeze
31
snf-django-lib = squeeze
32
python-astakosclient = squeeze
33
snf-branding = squeeze
34
snf-webproject = squeeze
35
snf-pithos-app = squeeze
36
snf-pithos-backend = squeeze
37
snf-tools = squeeze
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
43

  
44
[other]
45
snf-cloudcms = squeeze
46
snf-vncauthproxy = squeeze
47
snf-pithos-webclient = squeeze
48
snf-image = squeeze
49
snf-network = squeeze
50
python-objpool = squeeze
51
nfdhcpd = squeeze
52
kamaki = squeeze
53
python-bitarray = squeeze-backports
54
nfqueue-bindings-python = 0.3+physindev-1
55

  
b/ci/schemas/one_node_squeeze/squeeze.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24

  
25

  
26
[synnefo]
27
snf-astakos-app = squeeze
28
snf-common = squeeze
29
snf-cyclades-app = squeeze
30
snf-cyclades-gtools = squeeze
31
snf-django-lib = squeeze
32
python-astakosclient = squeeze
33
snf-branding = squeeze
34
snf-webproject = squeeze
35
snf-pithos-app = squeeze
36
snf-pithos-backend = squeeze
37
snf-tools = squeeze
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
43

  
44
[other]
45
snf-cloudcms = squeeze
46
snf-vncauthproxy = squeeze
47
snf-pithos-webclient = squeeze
48
snf-image = squeeze
49
snf-network = squeeze
50
python-objpool = squeeze
51
nfdhcpd = squeeze
52
kamaki = squeeze
53
python-bitarray = squeeze-backports
54
nfqueue-bindings-python = 0.3+physindev-1
b/ci/schemas/one_node_squeeze/synnefo.conf
1
[cred]
2
synnefo_user = synnefo
3
synnefo_db_passwd = example_passw0rd
4
synnefo_rapi_passwd = example_rapi_passw0rd
5
synnefo_rabbitmq_passwd = example_rabbitmq_passw0rd
6
user_email = user@synnefo.org
7
user_name = John
8
user_lastname = Doe
9
user_passwd = 12345
10

  
11

  
12
[roles]
13
accounts = node1
14
compute = node1
15
object-store = node1
16
cyclades = node1
17
pithos = node1
18
cms = node1
19
db = node1
20
mq = node1
21
ns = node1
22
client = node1
23
router = node1
24

  
25

  
26
[synnefo]
27
pithos_dir = /srv/pithos
28
flavor_cpu = 1,2,4,8
29
flavor_ram = 128,256,512,1024,2048,4096,8192
30
flavor_disk = 2,5,10,20,40,60,80,100
31
flavor_storage = file
32

  
33
vm_public_bridge = br0
34
vm_private_bridge = prv0
35
common_bridge = br0
36

  
37
debian_base_url = https://pithos.okeanos.grnet.gr/public/RDISy7sNVIJ9KIm4JkmbX4
b/ci/schemas/one_node_squeeze/vcluster.conf
1
[image]
2
# url to get the base image. This is a debian base image with preconfigured
3
# root password and installed rsa/dsa keys. Plus a NetworkManager hook that
4
# changes the VM's name based on info provided by dhcp response.
5
# To create it run: snf-deploy image
6
squeeze_image_url = https://pithos.okeanos.grnet.gr/public/832xv
7
ubuntu_image_url =
8

  
9
# in order ganeti nodes to support lvm storage (plain disk template) it will
10
# be needed an extra disk to eventually be able to create a VG. Ganeti requires
11
# this VG to be at least of 30GB. To this end in order the virtual nodes to have
12
# this extra disk an image should be created locally. There are three options:
13
# 1. not create an extra disk (only file storage template will be supported)
14
# 2. create an image of 30G in image dir (default /var/lib/snf-deploy/images)
15
#    using dd if=/dev/zero of=squeeze.disk1
16
# 3. create this image in a local VG using lvgreate -L30G squeeze.disk1 lvg
17
#    and create a symbolic link in /var/lib/snf-deploy/images
18

  
19
# Whether to create an extra disk or not
20
create_extra_disk = False
21
# lvg is the name of the local VG if any
22
lvg =
23

  
24
# OS istalled in the virtual cluster
25
os = squeeze
26

  
27

  
28
[cluster]
29
# the bridge to use for the virtual cluster
30
# on this bridge we will launch a dnsnmasq and provide
31
# fqdns needed to the cluster.
32
# In ordrer cluster nodes to have internet access, host must do NAT.
33
# iptables -t nat -A POSTROUTING -s 192.0.0.0/28 -j MASQUERADE
34
# ip addr add 192.0.0.14/28 dev auto_nodes_br
35
# To create run: snf-deploy cluster
36
bridge = auto_nodes_br
37

  
38
[network]
39
subnet = 192.168.0.0/28
40
gateway = 192.168.0.14
b/ci/schemas/one_node_squeeze/wheezy.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn =
4
qemu-kvm =
5
qemu =
6
python-gevent =
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server =
12
nfs-common =
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south =
24

  
25

  
26
[synnefo]
27
snf-astakos-app = wheezy
28
snf-common = wheezy
29
snf-cyclades-app = wheezy
30
snf-cyclades-gtools = wheezy
31
snf-django-lib = wheezy
32
python-astakosclient = wheezy
33
snf-branding = wheezy
34
snf-webproject = wheezy
35
snf-pithos-app = wheezy
36
snf-pithos-backend = wheezy
37
snf-tools = wheezy
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
43

  
44
[other]
45
snf-cloudcms = wheezy
46
snf-vncauthproxy = wheezy
47
snf-pithos-webclient = wheezy
48
snf-image = wheezy
49
snf-network = wheezy
50
python-objpool = wheezy
51
nfdhcpd = wheezy
52
kamaki = wheezy
53
python-bitarray = wheezy
54
nfqueue-bindings-python = 0.3+physindev-1~wheezy
b/ci/schemas/one_node_wheezy/deploy.conf
1
[packages]
2
# whether to use apt-get or local generated package found in packages dir
3
use_local_packages = True
4

  
5
# url to obtain latest synnefo packages.
6
# To use them change USE_LOCAL_PACKAGES setting to yes
7
# To get them run: snf-deploy packages
8
package_url = http://builder.dev.grnet.gr/synnefo/packages/Squeeze/40/
9

  
10
[dirs]
11
# dir to find all template files used to customize setup
12
# in case you want to add another setting please modify the corresponding file
13
templates = /var/lib/snf-deploy/files
14
# dir to store local images (disk0, disk1 of the virtual cluster)
15
images = /var/lib/snf-deploy/images
16
# dir to store/find local packages
17
# dir to locally save packages that will be downloaded from package_url
18
# put here any locally created packages (useful for development)
19
packages = /var/lib/snf-deploy/packages
20
# dir to store pidfiles (dnsmasq, kvm)
21
run = /var/run/snf-deploy
22
# dir to store dnsmasq related files
23
dns = /var/lib/snf-deploy/dnsmasq
24
# dir to lookup fabfile and ifup script
25
lib = /usr/lib/snf-deploy
26
# dir to store executed commands (to enforce sequential execution)
27
cmd = /var/run/snf-deploy/cmd
28

  
29
[keys]
30
# whether to create new keys
31
keygen = False
32
# whether to inject ssh keys found in templates/root/.ssh in nodes
33
key_inject = True
34

  
35
[options]
36
# Deploy Synnefo, specially tuned for testing. This option improves the speed
37
# of some operations, but is not safe for all enviroments. (e.g. disable
38
# fsync of postgresql)
39
testing_vm = True
b/ci/schemas/one_node_wheezy/ganeti.conf
1
[ganeti1]
2
cluster_nodes = node1
3
master_node = node1
4

  
5
cluster_netdev = eth0
6
cluster_name = ganeti1
7
cluster_ip = 192.168.0.13
8

  
9
vg = autovg
10

  
11
synnefo_public_network_subnet = 10.2.1.0/24
12
synnefo_public_network_gateway = 10.2.1.1
13
synnefo_public_network_type = CUSTOM
14

  
15
image_dir = /srv/okeanos
16

  
17
# To add another cluster repeat the above section
18
# with different header and nodes
b/ci/schemas/one_node_wheezy/nodes.conf
1
# please note that currently is only supported deployment
2
# with nodes (both ganeti and synnefo) residing in the same subnet/domain
3
[network]
4
domain = synnefo.live
5

  
6
[os]
7
node1 = wheezy
8
# node2 = wheezy
9

  
10
[hostnames]
11
node1 = auto1
12
# node2 = auto2
13

  
14
[ips]
15
node1 = 192.168.0.1
16
# node2 = 192.168.0.2
17

  
18
# This is used only in case of vcluster
19
# needed to pass the correct dhcp responces to the virtual nodes
20
[macs]
21
node1 = 52:54:00:00:00:01
22
# node2 = 52:54:00:00:00:02
23

  
24
[info]
25
# Here we define which nodes from the predefined ones to use
26
nodes = node1
27

  
28
# login credentials for the nodes
29
# please note that in case of vcluster these are preconfigured
30
# and not editable.
31
# in case of physical nodes all nodes should have the same login account
32
user = root
33
password = 12345
34

  
35
public_iface = eth0
36
vm_public_iface = eth1
37
vm_private_iface = eth2
38

  
39
# extra disk name inside the nodes
40
# if defined, snf-deploy will create a VG for ganeti in order to support lvm storage
41
# if not then only file disk template will be supported
42
extra_disk = /dev/vdb
b/ci/schemas/one_node_wheezy/packages.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn =
4
qemu-kvm =
5
qemu =
6
python-gevent =
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server =
12
nfs-common =
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south =
24

  
25

  
26
[synnefo]
27
snf-astakos-app = wheezy
28
snf-common = wheezy
29
snf-cyclades-app = wheezy
30
snf-cyclades-gtools = wheezy
31
snf-django-lib = wheezy
32
python-astakosclient = wheezy
33
snf-branding = wheezy
34
snf-webproject = wheezy
35
snf-pithos-app = wheezy
36
snf-pithos-backend = wheezy
37
snf-tools = wheezy
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
43

  
44
[other]
45
snf-cloudcms = wheezy
46
snf-vncauthproxy = wheezy
47
snf-pithos-webclient = wheezy
48
snf-image = wheezy
49
snf-network = wheezy
50
python-objpool = wheezy
51
nfdhcpd = wheezy
52
kamaki = wheezy
53
python-bitarray = wheezy
54
nfqueue-bindings-python = 0.3+physindev-1~wheezy
b/ci/schemas/one_node_wheezy/squeeze.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24

  
25

  
26
[synnefo]
27
snf-astakos-app = squeeze
28
snf-common = squeeze
29
snf-cyclades-app = squeeze
30
snf-cyclades-gtools = squeeze
31
snf-django-lib = squeeze
32
python-astakosclient = squeeze
33
snf-branding = squeeze
34
snf-webproject = squeeze
35
snf-pithos-app = squeeze
36
snf-pithos-backend = squeeze
37
snf-tools = squeeze
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
43

  
44
[other]
45
snf-cloudcms = squeeze
46
snf-vncauthproxy = squeeze
47
snf-pithos-webclient = squeeze
48
snf-image = squeeze
49
snf-network = squeeze
50
python-objpool = squeeze
51
nfdhcpd = squeeze
52
kamaki = squeeze
53
python-bitarray = squeeze-backports
54
nfqueue-bindings-python = 0.3+physindev-1
b/ci/schemas/one_node_wheezy/synnefo.conf
1
[cred]
2
synnefo_user = synnefo
3
synnefo_db_passwd = example_passw0rd
4
synnefo_rapi_passwd = example_rapi_passw0rd
5
synnefo_rabbitmq_passwd = example_rabbitmq_passw0rd
6
user_email = user@synnefo.org
7
user_name = John
8
user_lastname = Doe
9
user_passwd = 12345
10

  
11

  
12
[roles]
13
accounts = node1
14
compute = node1
15
object-store = node1
16
cyclades = node1
17
pithos = node1
18
cms = node1
19
db = node1
20
mq = node1
21
ns = node1
22
client = node1
23
router = node1
24

  
25

  
26
[synnefo]
27
pithos_dir = /srv/pithos
28
flavor_cpu = 1,2,4,8
29
flavor_ram = 128,256,512,1024,2048,4096,8192
30
flavor_disk = 2,5,10,20,40,60,80,100
31
flavor_storage = file
32

  
33
vm_public_bridge = br0
34
vm_private_bridge = prv0
35
common_bridge = br0
36

  
37
debian_base_url = https://pithos.okeanos.grnet.gr/public/RDISy7sNVIJ9KIm4JkmbX4
b/ci/schemas/one_node_wheezy/vcluster.conf
1
[image]
2
# url to get the base image. This is a debian base image with preconfigured
3
# root password and installed rsa/dsa keys. Plus a NetworkManager hook that
4
# changes the VM's name based on info provided by dhcp response.
5
# To create it run: snf-deploy image
6
squeeze_image_url = https://pithos.okeanos.grnet.gr/public/832xv
7
ubuntu_image_url =
8

  
9
# in order ganeti nodes to support lvm storage (plain disk template) it will
10
# be needed an extra disk to eventually be able to create a VG. Ganeti requires
11
# this VG to be at least of 30GB. To this end in order the virtual nodes to have
12
# this extra disk an image should be created locally. There are three options:
13
# 1. not create an extra disk (only file storage template will be supported)
14
# 2. create an image of 30G in image dir (default /var/lib/snf-deploy/images)
15
#    using dd if=/dev/zero of=squeeze.disk1
16
# 3. create this image in a local VG using lvgreate -L30G squeeze.disk1 lvg
17
#    and create a symbolic link in /var/lib/snf-deploy/images
18

  
19
# Whether to create an extra disk or not
20
create_extra_disk = False
21
# lvg is the name of the local VG if any
22
lvg =
23

  
24
# OS istalled in the virtual cluster
25
os = squeeze
26

  
27

  
28
[cluster]
29
# the bridge to use for the virtual cluster
30
# on this bridge we will launch a dnsnmasq and provide
31
# fqdns needed to the cluster.
32
# In ordrer cluster nodes to have internet access, host must do NAT.
33
# iptables -t nat -A POSTROUTING -s 192.0.0.0/28 -j MASQUERADE
34
# ip addr add 192.0.0.14/28 dev auto_nodes_br
35
# To create run: snf-deploy cluster
36
bridge = auto_nodes_br
37

  
38
[network]
39
subnet = 192.168.0.0/28
40
gateway = 192.168.0.14
b/ci/schemas/one_node_wheezy/wheezy.conf
1
[debian]
2
rabbitmq-server = testing
3
gunicorn =
4
qemu-kvm =
5
qemu =
6
python-gevent =
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server =
12
nfs-common =
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south =
24

  
25

  
26
[synnefo]
27
snf-astakos-app = wheezy
28
snf-common = wheezy
29
snf-cyclades-app = wheezy
30
snf-cyclades-gtools = wheezy
31
snf-django-lib = wheezy
32
python-astakosclient = wheezy
33
snf-branding = wheezy
34
snf-webproject = wheezy
35
snf-pithos-app = wheezy
36
snf-pithos-backend = wheezy
37
snf-tools = wheezy
38

  
39

  
40
[ganeti]
41
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
42
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~wheezy
43

  
44
[other]
45
snf-cloudcms = wheezy
46
snf-vncauthproxy = wheezy
47
snf-pithos-webclient = wheezy
48
snf-image = wheezy
49
snf-network = wheezy
50
python-objpool = wheezy
51
nfdhcpd = wheezy
52
kamaki = wheezy
53
python-bitarray = wheezy
54
nfqueue-bindings-python = 0.3+physindev-1~wheezy
b/ci/utils.py
21 21
from kamaki.clients.compute import ComputeClient
22 22
import filelocker
23 23

  
24
DEFAULT_CONFIG_FILE = "new_config"
24
DEFAULT_CONFIG_FILE = "ci_squeeze.conf"
25 25
# UUID of owner of system images
26 26
DEFAULT_SYSTEM_IMAGES_UUID = [
27 27
    "25ecced9-bf53-4145-91ee-cf47377e9fb2",  # production (okeanos.grnet.gr)
......
440 440
        self.logger.debug("Server's IPv4 is %s" % _green(server_ip))
441 441
        self.write_temp_config('server_port', server_port)
442 442
        self.logger.debug("Server's ssh port is %s" % _green(server_port))
443
        self.logger.debug("Access server using \"ssh -X -p %s %s@%s\"" %
443
        self.logger.debug("Access server using \"ssh -p %s %s@%s\"" %
444 444
                          (server_port, server['metadata']['users'],
445 445
                           server_ip))
446 446

  

Also available in: Unified diff