Commit 099005a6 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Christos Stavrakakis

deploy: Make archip segment_size configurable

..and use 2G for ci.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 4e11dd75
......@@ -39,3 +39,5 @@ vm_private_bridge = prv0
common_bridge = br0
debian_base_url = http://cdn.synnefo.org/debian_base-7.0-x86_64.diskdump
segment_size = 2048
......@@ -39,3 +39,5 @@ vm_private_bridge = prv0
common_bridge = br0
debian_base_url = http://cdn.synnefo.org/debian_base-7.0-x86_64.diskdump
segment_size = 512
......@@ -5,7 +5,7 @@ SEGMENT_PORTS = 2048
SEGMENT_DYNPORTS = 1024
# Max segment size
SEGMENT_SIZE = 512
SEGMENT_SIZE = %SEGMENT_SIZE%
# Start port of xsegbd devices
XSEGBD_START=0
# End port of xsegbd devices
......
......@@ -1158,11 +1158,12 @@ class Archip(SynnefoComponent):
def configure(self):
r1 = {"HOST": self.node_info.fqdn}
r2 = {"SEGMENT_SIZE": self.env.env.segment_size}
return [
("/etc/gunicorn.d/synnefo-archip", r1,
{"remote": "/etc/gunicorn.d/synnefo"}),
("/etc/archipelago/pithos.conf.py", {}, {}),
("/etc/archipelago/archipelago.conf", {}, {})
("/etc/archipelago/archipelago.conf", r2, {})
]
def restart(self):
......
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