10 Commits

Author SHA1 Message Date
Miguel Alex Cantu
5db330d9dc Configuring AODH DB now that it uses MySQL.
AODH now uses MySQL and needs Ansible tasks
to setup the respective DB and user.

Related: I94a585f9c1da51c4f278f4a12e29d395a261e716x
Change-Id: Ie5705ead548f2ceed50348131cdc5ab8f72e12f4
2016-06-14 15:15:35 +00:00
Jimmy McCrory
810e0a7d32 Use combined pip_install role
The pip_install and pip_lock_down roles have been merged.

Update playbooks to make use of the merged pip_install role by providing
the 'pip_lock_to_internal_repo' variable to based on whether or not
'pip_links' contains any entries.

Change-Id: I59ad75ac54fd2c54172b404c53cc2659b9dfe482
2016-06-02 13:27:36 -07:00
Bjoern Teipel
e22641abbf
Execute rabbitmq sorts for config tags
This fix executes the rabbitmq deterministic sorting
while using the product-config tag, e.g. nova-config
in order rewrite the OpenStack configs (nova/neutron etc)

Change-Id: If47e7b7abea61d3e7a00fe217a6181f8f03c5f7b
Closes-Bug: #1575297
2016-04-26 15:35:08 -05:00
Andrew Mitry
34f18c3da7 Fix: AODH sort rabbitmq hosts pre-task should use 'aodh_all' group
When performing the "Sort rabbitmq hosts" pre-task, the Aodh playbook
should reference the 'aodh_all' group instead of 'metering-alarm_all'.

Closes-Bug: #1553370
Change-Id: I57235cc5eb12db7aeb48518b4bf0d7e6f16f363d
2016-03-09 12:56:20 -05:00
Byron McCollum
65061307c0 Do not setup messaging vhost and user when Rabbit is not installed
When RabbitMQ is not installed by OSA, because a deployer is using an
existing RabbitMQ installation, or because it is not needed
(eg. Standalone Swift), then do not setup messaging vhost and user for
the various services.

Change-Id: Ia35c877939cb3d4a6b0d792165af8729a7062a6e
2016-03-08 01:32:15 +00:00
Byron McCollum
8f260135f8 Migrate setup of messaging vhost and user from role to playbook
The Keystone role previously migrated the messaging vhost and user setup to
a pre-task in the os-keystone-install.yml playbook. This review continues this
migration for all other roles where this is applicable.

Change-Id: I3016039692d8130654fe1bff422f24ef2afc196e
2016-03-06 03:19:15 +00:00
Jimmy McCrory
bcbc5b27fc Remove unneeded playbook vars
ansible_hostname is not used within any tasks and, by default, is the
same value as container_name.

ansible_ssh_host and container_address are also the same value by
default, both are assigned to hosts through the dynamic inventory script.
Additionally, overriding ansible_ssh_host through playbook vars breaks
tasks that delegate to other hosts when using Ansible2.

Change-Id: I2525b476c9302ef37f29e2beb132856232d129e2
2016-01-25 16:21:22 -08:00
Kevin Carter
8d2e5f62a7 Implement shippable venvs
The change builds venvs in a single repo container and then
ships them to to all targets. The built venvs will be within
the repo servers and will allow for faster deployments,
upgrades, and more consistent deployments for the life cycle
of the deployment.

This will create a versioned tarball that will allow for
greater visablility into the build process as well as giving
deployers/developers the ability to compair a release in
place.

Change-Id: Ieef0b89ebc009d1453c99e19e53a36eb2d70edae
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-10-22 18:35:17 -05:00
Kevin Carter
b0cdb0de46
Implement aodh venv support
This commit conditionally allows the os_aodh role to
install build and deploy within a venv. This is the new
default behavior of the role however the functionality
can be disabled.

Change-Id: I9f9e09b2a68e843da1d92a782cd29fc563379a6d
Implements: blueprint enable-venv-support-within-the-roles
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-10-15 08:22:53 -05:00
Miguel Alex Cantu
cf335efa89 Seperated out Telemetry Alarming (Aodh)
The alarming function of Telemetry has been seperated out
by design. This patchset creates new containers for these
alarming services and deploys them accordingly.

See:
http://lists.openstack.org/pipermail/openstack-dev/2015-September/073897.html

DocImpact
UpgradeImpact
Implements: blueprint liberty-release
Change-Id: I25294a25afa76d4d8bddad0a51c48485f33a6d20
2015-10-15 11:20:53 +01:00