Packages from ceilometer_developer_mode_distro_packages were moved
to ceilometer_devel_distro_packages list.
Change-Id: Ia47c56d7fccb36d99a6368b836b48613500beea6
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: Ib7f90af561bf97b898a125ed10a8773570ff79fc
This patch makes available to completely move to zuul templates,
by adding openstack-ansible-role-distro_install-jobs into list.
Added small fixes to make them working.
Centos has gnocchi_resources.yaml packed with ceilometer-common package,
so test was failing on db_setup task.
Also ceilometer user was not created, as it checks for existance of
ceilometer_central_container group, which was not defined in inventory.
Change-Id: I7fd7a949724f4fa52fa48534a6ef6c8a8efdc290
It appears that ceilometer itself has no tests now that there
is no API, so we switch to simply verifying if the services
are up.
Distro installs for xenial are not working, which is not
surprising given that the service is using queens packages.
We therefore disable the test for follow up in another patch.
Change-Id: Ia06438c22430c3432f6dff523c22ec3cd7bdddf8
There is no record for why we implement the MQ vhost/user creation
outside of the role in the playbook, when we could do it inside the
role.
Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.
In this patch we remove the test vars and tasks which were duplicated
as they are no longer required.
Change-Id: I0bd200f584919196e1c4066abed380bf60cd7218
This introduces oslo.messaging variables that define the RPC and
Notify transports for the OpenStack services. These parameters replace
the rabbitmq values and aure 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 ceilometer service.
This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Update transport_url generation in config template
* Add oslo.messaging to tests inventory
* Update tests
* Add release note
Change-Id: Ib14a7a5ec0348933eee4fb1a151010841b29ca1f
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. As there are no required packages left, the task to install them is
also removed.
The openstack_openrc role is now executed once on the designated host, so
it is no longer necessary as a meta-dependency for the role.
Ceilometer no longer has an API service, so the service setup task for it is
removed as it is unnecessary, along with the related variables which are no
longer used.
Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Change-Id: I4072acc1770432526a8bc26ebb5833b6fdd61f0a
Ceilometer no longer requires or supports a database. Instead
it now forwards everything it collects to the message queue
for collection by the other Telemetry services.
Change-Id: Ib8cb1ca3e0ef81c16a6483d20705fa3b237bbc48
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: If149972b6b7ff9ea92ddc9d115697df3c5737ee6
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: Ib700db2b61109d475a9cdcd46f6f843002968850
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: Idcf3555759c30d117d2886d7a33ad5d3a06936ae
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: I48243f5c0ee52ffead357bd5208296a18590e06c
Ceilometer no longer stores any data so the MongoDB installation
playbook is not used. In addition, it no longer has an API so
the api-paste file is useless as well.
Closes-Bug: #1747612
Change-Id: I20104cc357f78b01e2b1246a3f51d609bb2f4f24
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: Ie76b4452e58b3da82c8119b9bdb3bbb274e17137
The role 'ceph_client' was not found in openstack-ansible-os_ceilometer,
so add it.
Change-Id: Ib3de8435097bc96ef20827bdc47e98ddbabcdd9f
Closes-Bug: #1704294
Add support for the openSUSE Leap distributions. Nothing special is
required for this except for adding the appropriate distro variables
file and also update the zypper cache before package installation.
Moreover, for tests to pass, we need to use the OBS repository to
install the MongoDB packages since they are not provided in the default
openSUSE distribution repositories for Leap < 42.3
Change-Id: Ifa3968f7f578174cf12737c758fa2bca30393fb0
Newer mongodb packages (>=3) have switched to YAML syntax for
the configuration file. In order to simplify the test environment,
and support both 2.x and 3.x versions, we provide our own configuration
template file based on the CentOS7 one.
Change-Id: If126f2cf813055cfb84cdcafaadcea4f204a76ee
It's important to know when the creation of the admin user fails
since subsequent tasks may fail if the user doesn't exist.
Change-Id: I67bf22415a0dd2eee8bbf4811615d5b4119d35a5
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: Ie822e7b415897cbdde0bbbbe3f947847663b3944
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: I237c550b85e4a06938591280a65ecdfb8de24e46
to match the naming convention of all of the other
containers. This is needed to properly deprecate
the ceilometer-api service in the integrated repo
Change-Id: I65c5f463fd9cbe471128595432451f3408f0e34d
Partial-Bug: 1666640
Ceilometer API is now deprecated in favor of using
Gnocchi, Aodh, and Panko to pull telemetry information.
Change-Id: I4464fc6bd4ad3ef14e2638abcdb86180e82615e1
Closes-Bug: 1666640
Per https://review.openstack.org/#/c/413920/, the ceilometer-collector
service is now deprecated.
This commit removes the inventory group mappings to the
ceilometer-collector service/container. It also removes
the service from the bootstrap and testing inventory.
Gnocchi is now explicity used as a publisher in the
pipeline.
Partial-Bug: 1666238
Change-Id: I396b154d106c0afba44d57792ae6dad39b33a6f5
The config for tests inventory is based on the keystone configuration.
Depends-On: I42e01d8e591c8702a077e4510e2de67932aecf17
Change-Id: I6855362c80ebdfa2243425eb65ad9c5aff27628e
This moves the IP range used by test containers to match up with other
hosts, and avoid possible IP conflicts that we've seen by using the
10.100.100.0/24 range
Change-Id: I25e93b088b008e6a6d855665907d9c5b2d2d2b6b
This changes 'ansible_ssh_host' to 'ansible_host'. The 'ansible_ssh_host'
variable has been deprecated as noted here: [0].
[0] - http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
Change-Id: I9afd09d4c76febea5896cf6bf7bc284dabea38c3
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Latest commit moved the glance parts into the ceilometer container
(located on openstack1 in our tests). This ensures "isolation" again.
Change-Id: I4b1bcc1a363c1dc881e345779735c944f7b4bfb7
This change removes the use of 'ignore_errors: true' because it causes deployers
to see red output and a stacktrace, which traditionally means something is broken,
even when the failure is known to have a fall back option or be intentional. This
conversion will provide a generally cleaner interface.
It should be noted that the 'failed' filter will still function normally. Tasks
with the 'failed_when: false' option will still be marked as 'failed' in any
registered variable. This change simply makes the output look cleaner.
Change-Id: Ide6ae6a5ea5d2279c42003f379b3a3460e62a525
Closes-Bug: #1633438
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The ceilometer/api/app.wsgi file upstream was modified and broke the
ceilometer role such that the ceilometer api will not start. This
change fixes the role by updating the template derived from that file
to match the new invocation method.
An example of the error being remedied can be seen in patch set 1 of
Related-Change: Ieb5569982f080446295cecc33fb70c6b5d1cb9d6
Additionally, ceilometer-api is served with Apache mod_wsgi so an
init script shouldn't be created.
Also, the ceilometer_db_type now defaults to blank which will omit
the [database] group from the ceilometer.conf which matches the new
upstream default. The db type is overridden as mongodb for testing.
Also fixes an issue in inventory introduced by Change:
Ia74bbcac35c27928f7e96056b9449932253b75de
Change-Id: I48ca99ea58fbb624b8bccf205e40000115c53060
The tox ansible-playbook run specifies the overrides
as extra vars so they need not be referenced within the
playbooks themselves.
Change-Id: Iba0a684250724cac74aeeeef5ec3eecbf0a14533
This gate test omits installation of MongoDB
and uses gnocchi for all metric storage
Change-Id: I15fff275b3e5eaecb36a0da01c5aafc824c5a288
Closes-Bug: #1628952
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: Ia5f46e3892ee029e41a3a178d3ce82832e7f9e03