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>
* 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>
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
When using VirtualBox as a provider, "slaves" had the same MAC as first network adapter in "master",
which was causing issues with networking. Now MAC will be randomly created.
This is not required as a multiple default routes
seem not working as expected, hence
removing the hack.
The default route via eth0 should be just preserved
as is.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This is required for the SDN resource
to not owerwrite default route provided
for the eth0 NAT interface, by vbox design.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>