add a playbook to install kolla dependencies.

Registered by sean mooney

during the Austin summit we discussed creating a reusable playbook to automate the installation of
kolla dependencies on provisioned servers.

the intention of this playbook was to bring a node to a stage where kolla's deploy playbook can be run.
the playbook should be reusable regardless of how the server was provisioned assuming that they are at least
accessable via ssh.

the exact scope of this playbook should be defined as part of the blueprint but should at minium
install docker
installl docker-py
create the kolla directory
configure firewalld
install an ssh key for ansible to use if provided.

other changes to make the pre check tox env pass?

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
sean mooney
Direction:
Approved
Assignee:
sean mooney
Definition:
Approved
Series goal:
Proposed for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-3
Started by
sean mooney
Completed by
sean mooney

Related branches

Sprints

Whiteboard

kolla-host workflow:
- clone http://github.com/openstack/kolla && cd kolla
- deploy host os on server possibly with a tool of your choice
  e.g. bifrost: https://blueprints.launchpad.net/kolla/+spec/bifrost-support
- tools/kolla-host build-host-deploy
 This will install ansible if not installed then invoke a playbook to install
 All build dependencies and generate the kolla-build.conf passwords.yml and global.yml.
     Install kolla python package
- configure multinode inventory file with servers to bootstrap
- tools/kolla-hosts bootstrap-servers
  Installs all kolla deploy dependencies
  Docker ect. This will also optionally do things such as
  Configure hugepages, configure cpu isolation, firewall settings
  Or any other platform level config for example apply labels to ceph
  Disks .
  This role will reboot the remote server at the end of the role if required
  e.g. after installing The wily kernel on Ubuntu 14.04

current state:

implement tools/kolla-host build-host-deploy (started but needs to be split out into separate playbook https://review.openstack.org/#/c/325631/)
 This will install ansible if not installed then invoke a playbook to install
 All build dependencies and generate the kolla-build.conf passwords.yml and global.yml.
     Install kolla python package

- tools/kolla-ansible bootstrap-servers (started but needs to be split out into separate playbook https://review.openstack.org/#/c/325631/)
  Installs all kolla deploy dependencies
  Docker ect. This will also optionally do things such as
  Configure hugepages, configure cpu isolation, firewall settings
  Or any other platform level config for example apply labels to ceph
  Disks .
  This role will reboot the remote server at the end of the role if required
  e.g. after installing The wily kernel on Ubuntu 14.04

Gerrit topic: https://review.openstack.org/#q,topic:bp/kolla-host,n,z

Addressed by: https://review.openstack.org/325631
    add baremetal role to install kolla deps.

Gerrit topic: https://review.openstack.org/#q,topic:kolla-host,n,z

Addressed by: https://review.openstack.org/351412
    This change allow setting kernel commandline args

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.