Changed the container interaction process

This changes the way that containers are interacted with. With this
change, container actions are deletgated to the host instead of looping
through the hacky mess that we were doing. This change will make it
so that the entire container process is faster.

This also removes the needs for the "/openstack/monitoring" directory which
was held over cruft from long ago. This should address the race condition
when delegating to a host and the monitoring directory attempts to be created
at the same time on the same host.

Closes-Bug: #1399427
Change-Id: Ifaa0fa5719f79180610b4a63d590ca8bc681f87d
Remove redundant [C|c]ritical|CRITICAL pattern

This patch removes '[C|c]ritical|CRITICAL' from the AUDITLOGLEVEL
pattern as this pattern is more completely covered by the later
'[C|c]rit?(?:ical)?|CRIT?(?:ICAL)?' pattern.

This also removes a pattern bug as 'CRITICAL' should have been
'CRITICAL|' anyway.

Change-Id: I8c45ee13fb6b40e31bafa744f8fee5f4af7a90f5
Closes-Bug: 1401091
Change with_fileglob so appropriate remote files are listed

* with_fileglob works locally only
* Move to "ls" with a register and run chmod against the returned list.
* Adjust formatting on task in raxmon_agent_install task

Change-Id: Ied6d077784300c457644fed6396d62bc88bdbc24
Closes-Bug: 1399426
Merge "Changed the container interaction process"
Removed unused and unneeded RAX tools

This was a tool that was developed to simplify the deployment process.
Sadly this is unused, unneeded and can be removed.

Starts to Implement: rackspace-namesake

Change-Id: I3a3122a810c92a2e7efd95a0d9e7df93fdc3b149
Change nova scheduler filters

This commit changes AggregateCoreFilter to CoreFilter and
AggregateDiskFilter to DiskFilter.  Whilst these filters work even if
aggregates are not being used, icehouse does not have
AggregateDiskFilter so there CoreFilter and DiskFilter need to be used.
This change is more to bring the two branches in line, and if anyone
does explicitly need the aggregate filter then that can be added via a
local override.

Change-Id: I6cc01139db7274f80d138020c97368a0faece771
Closes-Bug: 1399366
Merge "Remove redundant [C|c]ritical|CRITICAL pattern"
Set cloudserver-aio.sh to make use of os-ansible-aio-check.sh

The cloudserver all in one server build will now use exactly the same
build script as is used in the OpenStack CI gating process.

Change-Id: I35874b717efd60531781849ae973cc9176a6d77a
Closes-Bug: #1401495
Correctly pipe the sshd check to /dev/null

This patch corrects the pipe of the sshd configuration check to
/dev/null. The script therefore no longer leaves a file called 'null'
behind on the deployment host.

Change-Id: Ib707d7462e5e444dddceff105b219263d0283e0c
Closes-Bug: #1401567
Correct Swift service health checks

The account, container, and object service checks currently fail
because they are trying to connect to the {{ ansible_ssh_host }}
address. The services are only bound to the storage network
interface. This does not effect the proxy service as it is bound
to all interfaces.

Additionally, the health check url is misspelled for all services.

  - Use the storage network address for Swift service checks
  - Correct the health check url spelling

Change-Id: I581ab1e58464e3a99edeb52039a7b8f6e88f3149
Closes-Bug: #1401701
Allow container directories to have non-standard modes

This change adds the ability to customise the mode applied to a
directory in the container_directories group_vars.  Additionally, we
change the default mode of a directory with an unspecified mode to 700.
This latter change requires us to flip the following back to 755
otherwise the respective service throws a permission denied error:

* /var/www/cgi-bin/keystone
* /var/lib/neutron
* /var/lib/nova

A fair bit of additional testing will need to be done before this
merges.

Change-Id: I40b0052876078c3472e88594a5c0d7e039b9817a
Closes-Bug: 1399428
Fix swift MaaS check/alarm setup

* Metric names adjusted to be correct
* Thresholds added for checks where required
* Moved swift checks into swift_maas so swift checks aren't installed for non-swift deploys
* Fixed targeted host groups for swift checks

Change-Id: I88cddb4461d2f0814108d0bec1f739452adc536b
Closes-Bug: #1401696
Correct interface information for bonds

When generating bonded interfaces, we still want to have an IP available
if the user has defined it. This change will make sure that the address,
netmask, and DNS information gets set on bonded interfaces.

Also, tagged interfaces that are based off a bond need to be set to
`manual`, so that they are not forced to have IPs.

Closes-Bug: #1402028
Change-Id: I6ad29f875be6ae8b770f0608874f6a650204f681
Add swift_all inventory to swift-common play

This patch adds the swift_all inventory to the swift-common play to
ensure that the correct service name is used when the play tries to
install the openstack software. Without including the inventory a
different service name is used when the software installation is
executed, resulting in the play attempting to install neutron instead.

Change-Id: Ie15f96ef22ff18fa3b4bc145174d6ce21e9fd69a
Closes-Bug: #1402582
Increase HAP server timeout

Various gate jobs have failed with 504 timeouts. This patch makes the
hap client and server timeouts configurable in the user config so that
they can be raised in the gate.

closes-bug: #1402580

Change-Id: Ia9663eafd7934a76a1839a40a5e250eefdc2085e
Add missing tilde to swift rsyslog configuration

This patch adds the missing drop action (~) to the swift rsyslog
configuration to ensure that the logging only gets written to the
designated swift log files.

Change-Id: I969bdcb07986563597729ddad4fb62d25deaa02b
Closes-Bug: #1402606
Merge "Set cloudserver-aio.sh to make use of os-ansible-aio-check.sh"
Merge "Add missing tilde to swift rsyslog configuration"
Merge "Increase HAP server timeout"
Pin tempest version

Currently tempest will not install due to us pinning
python-saharaclient to 0.7.5 while tempest requires 0.7.6.  Rather than
bumping python-saharaclient, this change will pin tempest to the commit
prior to requirements.txt updating.  This type of change was already
done to tempest in stable/icehouse.

Change-Id: I12fad99d32d6bc8c7096af0ac8bed5a849c24da8
Closes-Bug: #1402713