Rename the cloud_archive task to uca/rdo tasks for ubuntu/centos
Rename the worker_upstrart task to the worker
Rework the OSTYPE env var to "when: ansible_os_family"
TODO
* PXE (PREPROVISIONED=false) to be working for centos as well
* pygraphviz for centos7, see also https://bugs.launchpad.net/fuel/+bug/1510884
* fix ubuntu only compatible examples, for example riak cluster deploy
Closes-bug: 1553988
Change-Id: Iab130c3c79b3db99deb14ea50572c073532f4694
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Supported parameters
- pool_size how big is the pool
- pool_overflow how many overflow connections should be allowed
Change-Id: Iba92eb94754ef7314bc3d4bf0e413e7d61e027f8
* Separate OSTYPE specific tasks/files.
* Keep only common tasks and files in the
playbooks dir.
TODO pxe case to be working for centos as well
note, the cmtools.sh installs ansible 2.0.1.0
in centos7, while we have 2.0.0.2 for ubuntu trusty
note, the base.yaml installs python-keystoneclient
1:1.3.0-1.el7 from kilo-2 (no juno for centos7),
while for ubuntu we have one from juno
note, there is no pygraphviz for centos7, see also
https://bugs.launchpad.net/fuel/+bug/1510884
Closes-bug: #1548851
Change-Id: Icec5637f9242104322d1104725f9f132d1ca16f0
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* Add docker Ubuntu Trusty packer template.
* Rework cmtools to install ansible and puppet
* Add support for Vagrant provider docker.
* Containers will share the host system docker daemon
and images in the storage, so may be run nested.
* Ensure the rsyslogd and sshd is running in containers.
* Also ensure the /var/log/solar dir, which is required for docker.
* W/a Solar-hardcoded and vbox specific ssh key paths
for docker case.
* Update FAQ and docs
Depends-on: I881d362968a10d816cbd368cb185900dfaa0b3bc
Partial-bug: #1547587
Note, vagrant does not support vm.network and exec based
provisioning for docker, so there are workarounds.
Change-Id: Idf91bd6ed2fb90601f517064705df7721aeae3fb
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fix docker mounts to allow the riak docker container
to be started nested.
Also note about nested containers in the docs.
Related-bug: #1548851
Related-bug: #1547587
Change-Id: I2fb448ac439b717eae1c3deee2cd067ac8b4f0c7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
As we are using ansible 2.0, we should move from sudo to become to
avoid deprecation.
Change-Id: I7a99df005dcdcd12e9a2afdeb0c908fe2069cc57
Related-bug: 1547430
Changes included:
- non standard docker image (alpine-postgres)
- new setting in vagrant-settings.yaml_defaults (solar_db_backend)
- multidb logic in playbooks (databases.yaml)
- possibility to set backend by SOLAR_DB_BACKEND in jenkins run.sh
- packer images version 0.3.0.pre0 (pre builded docker image)
Change-Id: Id48236aa778597ed787f8455ec4d4c869d0ef1cf
Closes-bug: #1546205
- preinstall solar pytthon requirements
- download riak image
It speedups test and provision time making image little bigger.
Related-bug: #1533609
Change-Id: I52247bc400b992f42014d13faf148fa909b41bb0
In order to make GID and UID configurable those values will be
souorced from /etc/default/solar-worker during pre-script and script
stanzas in upstart
Change-Id: I6b23e4fb176043533522a68e448fb635324fa4d2
- Removed all packages and container related to redis
- docker-compose will start only riak container
- add init script isntallation for solar-celery
- cleanedup some of the commented code in bootstrap scripts
- disable host key verification for vagrant user
Change-Id: I9b10d07fe6ab527bc029518da407c5165f9b3d22
new location is https://github.com/Mirantis/solar-resources,
later will be changed to openstack one.
- vagrant stuff assumes that solar-resources is cloned into /vagrant/solar-resources
- adjusted docker compose file
- added solar-resources to .gitignore
Change-Id: If2fea99145395606e6c15c9adbc127ecff4823f9
- create dir if it doesn't exist
- set env for new config paths. Defaults from config.py were removed
Change-Id: I580def8813595ffe18160f44894acf458f0d655a