Remove Foreman from the add hosts task

Change-Id: Id06ff628333e99640da79ebb237d731c713c992c
Change pre to post in the foreman playbook

Change-Id: I990cc6c4fb01d87be064ee5e429364e7814dea38
python-kombu is required for glance

Change-Id: Iafe00a640168aa4d65fe7fc39fa9a4c689662aa5
Allow specification of a destination directory for source clone

This allows a destination directory to be specified for the clone of the
astapor and opm source, to account for differeneces in versions.

Change-Id: Ief7f7f4cd77876e9015b2133cd79616575241c62
python-kombu should be in workaround-prep

Change-Id: Ie32ff6b5a03b566a90aee183a58be347b2b70949
update to python-kombu workaround

Change-Id: I247c8c42040c5a4798683da73011eeee801121cd
glance workaround add pymongo

* see error in glance api logs:
 Failed to configure store correctly: Store gridfs
 could not be configured correctly. Reason:
 Missing dependencies: pymongo Disabling add method

Change-Id: I7a05a72334c9759b6897ea1f181a0ac4f50a78e0
repodiff: old repo would be production, new would be stage

Change-Id: I2affbf71da6bedc912c7ccbe19b236de69e68ff7
rabbitmq-server requires python-anyjson

* [-] Could not load 'rabbit': No module named anyjson

Change-Id: Idc921621fefea98559c76c701bb3789a859f5e2e
selinux should be set in job_settings not in functions.bash and settings.yml

Change-Id: I64f3bcac1816cf44310d738f1c8b598dbcc817b0
move selinux check right after provision

* selinux check for permissive vs enforcing right
after provision.

* change the selinux setting on the box if it does
not match expected setting

* use ansible selinux module, sets current state
and sets /etc/selinux/config

Change-Id: I7cb46c19c50879f1ca529a58e64b4ea272e2f755
Setting.yml generation script

- run.sh: fix parsing args
- settings.py: fix tempest settings generation
- Adds test to test run.sh
- run.sh: fix collect_logs: failure when REMOTE_USER is not set
- test_run tests aio-rhel7
- run.sh: properly parse args, respect TAGS and SKIP_TAGS
- Remove Foreman from the add hosts task
- (cherry picked from commit 040baa227d9a00cd5ef498a8d5d9beeb0d57f8bf)
- Change pre to post in the foreman playbook
- (cherry picked from commit 5ed1d2c91fca1c3e81378b7620d748f476ac5f6f)
- settings: do not store tags and skip tags
- Ansible is broken is tags and skip tags are stored as
- variables. Probably reserved!
- run.sh: show settings files

- settings.py rewrite using CRUD functions

  Introduced Settings class to contain and handle the settings
  Introduced KeyPath class and keypaths (strings of keys separated by a
  dot)
  All configuration settings can be now addressed via a keypath.

  Order of the operations and defaults:
  job defaults are loaded from build/defaults.yml and tempest/defaults.yml
  The build paramaters are loaded from
  - job name (is splitted into basic components and assigned to config
    variables)
  - site/<site>.yml
  - build/<variant>.yml
  - tempest/<testsuite>.yml

  then a parameter can be overriden using four value sources, in order of
  ascending priority:
  - existent setting addressed via keypath
  - environment variable
  - cli command argument (when available)
  - generic CRUD function (--{update,set,delete,create}-variable)

  more than one generic CRUD function command line argument is allowed,

  CAVEATS
  - keys in keypaths cannot contain dots ".". When a dot is needed, a colon
  should be used instead (Ex "6:5" instead of "6.5")
  - numeric keys in keypaths during "create,set" are interpreted as list
  index and a list will be created

Change-Id: I79f22a41c0d5462ad6fc8efff9193fa7a692d9a3