From d339d774394d0366cfcd5526e01b21b33f40c205 Mon Sep 17 00:00:00 2001 From: Alexander Kislitsky Date: Tue, 21 Mar 2017 14:55:45 +0300 Subject: [PATCH] Packages for distributed serialization added to bootstrap All packages required for fuel-nailgun added to the bootstrap image. Dask worker startup added. Change-Id: I7155601a0f95c891a40f3c9d02d1758936ffbb45 Implements: blueprint distributed-serialization --- .../xenial/usr/bin/fix-configs-on-startup | 3 ++ .../fuel_bootstrap/settings.yaml.sample | 42 +++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/contrib/fuel_bootstrap/files/xenial/usr/bin/fix-configs-on-startup b/contrib/fuel_bootstrap/files/xenial/usr/bin/fix-configs-on-startup index 9cf47e82..a56dc271 100755 --- a/contrib/fuel_bootstrap/files/xenial/usr/bin/fix-configs-on-startup +++ b/contrib/fuel_bootstrap/files/xenial/usr/bin/fix-configs-on-startup @@ -71,3 +71,6 @@ while true; do done echo "identity = $(head -n 1 /etc/nailgun_uid)" >> /etc/mcollective/server.cfg service mcollective restart + +# starting distributed serialization worker +/usr/bin/dask-worker --nprocs=`nproc` --nthreads 1 @MASTER_NODE_IP@:8002 diff --git a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/settings.yaml.sample b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/settings.yaml.sample index ca93b76e..35779a6e 100644 --- a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/settings.yaml.sample +++ b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/settings.yaml.sample @@ -54,6 +54,48 @@ packages: - ifenslave - irqbalance - iputils-arping + # Packages required for distributed serialization + - python-distributed + - python-alembic + - python-amqplib + - python-anyjson + - python-babel + - python-cinderclient + - python-crypto + - python-decorator + - python-fysom + - python-iso8601 + - python-jinja2 + - python-jsonschema + - python-keystoneclient + - python-keystonemiddleware + - python-kombu + - python-mako + - python-markupsafe + - python-migrate + - python-netaddr + - python-netifaces + - python-networkx + - python-novaclient + - python-oslo-config + - python-oslo-db + - python-oslo-serialization + - python-paste + - python-ply + - python-psycopg2 + - python-pydot-ng + - python-requests + - python-simplejson + - python-six + - python-sqlalchemy + - python-stevedore + - python-tz + - python-urllib3 + - python-uwsgidecorators + - python-webpy + - python-wsgilog + - python-yaml + - python-yaql # Ignore proxy for this repos #direct_repo_addresses: # - 127.0.0.1