From 1b8728539c9f78c79000cfa9ab01aa58d48ef22c 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 | 4 +- .../fuel_bootstrap/settings.yaml.sample | 43 ++++++++++++++++++- 2 files changed, 43 insertions(+), 4 deletions(-) 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 2a375e25..11fa4eed 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,5 +71,5 @@ done echo "identity = $(head -n 1 /etc/nailgun_uid)" >> /etc/mcollective/server.cfg service mcollective restart -# restart the dispynode service -systemctl restart dispynode +# 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 4d9b093f..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 @@ -55,8 +55,47 @@ packages: - irqbalance - iputils-arping # Packages required for distributed serialization - - python-dispy - - python-psutil + - 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