Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.
Change-Id: If539762d5de0730ce97d8f8aaefb4c096d850902
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.
Change-Id: Iecdf744d45b4bbec3c7907bde62f1b0801ba9268
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.
The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.
With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.
Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Depends-On: https://review.openstack.org/580156
Change-Id: I261a49e374d34d00d0be1863da701b7a13ceb3c6
This introduces oslo.messaging variables that define the RPC and
Notify transports for the OpenStack services. These parameters
replace the rabbitmq values and are used to generate the messaging
transport_url for the service. The association of the messaging
backend server to the oslo.messaging services will then be
transparent to the heat service.
This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Update transport_url generation
* Add oslo.messaging to inventory
* Add release note
Depends-On: If4326a6848d2d32af284fdbb94798eb0b03734d5
Depends-On: I2b09145b60116c029fc85477399c24f94974b61d
Change-Id: I4ee0a94028e7390b319d4e1ceb4ab7f7c28ad9ba
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.
Change-Id: I14162d6d1c597cb3ad08618807385f35c0af6732
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.
Change-Id: Ic426d6fe42f9b409d3d18affb112dd7f1e1ad07d
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.
Change-Id: Ifa401202a334ea15f724c7ac35ac7b9d0ffc1348
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
In order to allow tests to work with https://review.openstack.org/551028
merged, add the role to the a-r-r file.
Change-Id: I2e1cc1b2967c7f2fdb87c3af632c518a173ecf42
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
Change-Id: Iee88a28032645e5d2ba7d7a4959963f34a086bdb
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.
Change-Id: I73f69b0f168ee7f8f7ea1a473102c12c3afdc878
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Move test host vars from the inventory to individual files for each
host. 'ansible_become' has been removed from localhost's vars since it
should be handled on a playbook basis.
Change-Id: Iac43677546a62798772c09350f52ce3712d5425e
The config for tests inventory is based on the keystone configuration.
Depends-On: I24a6b34b4e308ae16347b6da7577b9f9891b49d2
Change-Id: Iaf518ffc9ea750c2ec43edfe592bf7dc67bc30c6
The Heat functional tests simply validate the
heat APIs are reachable. Tempest testing would require
installation of glance, nova and neutron so it is
reserved for the integrated gate.
Co-Authored-By: Travis Truman <travis_truman@cable.comcast.com>
Change-Id: I619dcc085c1a2c5d23c685cc63dc2e70b1bd530e
Closes-bug: #1624518
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.
Change-Id: I6a84d8d24353f1fe5eccd16ef2b573050122e1af
Ansible 2.1.1 introduces a regression in the way conditional
includes are handled which results in every task in the
included file being evaluated even if the condition for the
include is not met. This extends the run time significantly
for a deployment.
This patch forces all conditional includes to be dynamic.
Change-Id: Ia72f89adc8a85e3b9b62392f24b63ede24898dc0
Related-Bug: https://github.com/ansible/ansible/issues/17687
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.
This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.
Change-Id: Iae52d01acd33f6caa91a526f6c19c2ac19161702
If multiple regions exist, keystone_authtoken should contain region_name.
This prevents the service from authenticating across regions.
Also set default for all services to the region heat is installed in.
Change-Id: I14b2d145b52c1d396ac22c724a5b9ecb8fa7929e
All rabbitmq connection vars are now namespaced. Namespace support
was previously inconsistent which limited deployer override options.
Introduced new variables so the transport_url values
used for RPC and notifications can vary. By default
they will remain the same.
Change-Id: I0a3d7130493d8a0c46cf0695cbe98a94657ca0a7
Implements: blueprint multi-rabbitmq-clusters
The openstack_hosts role is not used in any of the test playbooks
or required by dependent roles and can be removed from the test
role requirements.
Change-Id: If7bf75319f42525999967ddf826d407db52c6476
heat_profiler_hmac_key and heat_cfn_service_password
are no longer referenced within any tasks or templates
within this role and should be removed.
Change-Id: I42ca62a64a6985b37d73f7f14093207d02fefb5d
The pip_install and pip_lock_down roles have been merged.
Remove pip_lock_down from the role's meta dependencies and test
requirements.
Change-Id: If6f57db0acbb08dd062230d40705bd9650c7da9a
The db create tasks have been removed from the role and have been
relocated into the playbooks.
Change-Id: Id545604a4e15316bf4cc7c55bc6245b45dd97d27
Depends-On: If58e482034a65c0e50241448dbe298a73c1ae71b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This updates the repository SHA's to use stable/mitaka where
available and updated SHA's where not.
It also updates all paste, policy and rootwrap configurations
to match the current contents found in stable/mitaka.
Change-Id: Ifd95483bf26d492ceec5466d6dc20ea61c6834e0
Now that auth token usage is deprecated, prefer the admin
user and password for all heat setup tasks run against
keystone.
Change-Id: I0f51ce6531bc9c52317a8727f9815de86f5a50de
This commit updates tests/test.yml to deploy rabbitmq, galera,
keystone, and heat in a functional test. Note that we point at
a non-existent memcached server, but this can be adjusted to build
memcached if deemed necessary.
Note that we also have to install openstack-ansible-plugins in the
ansible-lint job as test.yml uses string_2_int filter which is
included in openstack-ansible-plugins.
Closes-Bug: #1553969
Change-Id: I650120b1605220b4d79c35db9c06c416b241da92