Commit 3179113f authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

snf-deploy: fix snf-deploy ganeti

A typo and explicitely install drbd8-utils package for ganeti.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent e0b56a35
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = squeeze-backports python-django-south = squeeze-backports
python-django = squeeze-backports python-django = squeeze-backports
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = squeeze-backports python-django-south = squeeze-backports
python-django = squeeze-backports python-django = squeeze-backports
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -21,6 +21,8 @@ bridge-utils = ...@@ -21,6 +21,8 @@ bridge-utils =
python-progress = python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = python-django-south =
python-django =
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = python-django-south =
python-django = python-django =
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -21,6 +21,7 @@ bridge-utils = ...@@ -21,6 +21,7 @@ bridge-utils =
python-progress = python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = squeeze-backports python-django-south = squeeze-backports
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = python-django-south =
python-django = python-django =
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = squeeze-backports python-django-south = squeeze-backports
python-django = squeeze-backports python-django = squeeze-backports
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = squeeze-backports python-django-south = squeeze-backports
python-django = squeeze-backports python-django = squeeze-backports
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -22,6 +22,7 @@ python-progress = ...@@ -22,6 +22,7 @@ python-progress =
ganeti-instance-debootstrap = ganeti-instance-debootstrap =
python-django-south = python-django-south =
python-django = python-django =
drbd8-utils =
[synnefo] [synnefo]
......
...@@ -944,6 +944,7 @@ def add_node(node): ...@@ -944,6 +944,7 @@ def add_node(node):
def enable_drbd(): def enable_drbd():
if env.enable_drbd: if env.enable_drbd:
debug(env.host, " * Enabling DRBD...") debug(env.host, " * Enabling DRBD...")
install_package("drbd8-utils")
try_run("modprobe drbd minor_count=255 usermode_helper=/bin/true") try_run("modprobe drbd minor_count=255 usermode_helper=/bin/true")
try_run("echo drbd minor_count=255 usermode_helper=/bin/true " + try_run("echo drbd minor_count=255 usermode_helper=/bin/true " +
">> /etc/modules") ">> /etc/modules")
......
...@@ -622,7 +622,7 @@ def main(): ...@@ -622,7 +622,7 @@ def main():
fabcommand(args, env, actions) fabcommand(args, env, actions)
if args.command == "ganeti": if args.command == "ganeti":
actions += get_actions("ganeti") actions = get_actions("ganeti")
fabcommand(args, env, actions) fabcommand(args, env, actions)
......
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