Commit Graph

19 Commits

Author SHA1 Message Date
Guilherme Steinmüller d5244c86ef Retire openstack-ansible-os_searchlight
Change-Id: Ie7c495b997ea91b1bcccfc031b60284e30d9c6f6
2019-04-17 23:49:05 +00:00
Ian Wienand 815b20a3fc Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I9701692270a6443d77e8e28bb00d682d33710751
2019-03-24 20:35:02 +00:00
Jesse Pretorius 9f3324c8c8 Set container_name as host_var in test inventory
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: I20d7b4a3afc39ca11f7c48a1cce71119e36bd750
2018-10-22 12:55:21 +01:00
Zuul 83faf6b6f5 Merge "Trvial: Fix the pep8 warning" 2018-08-17 05:12:20 +00:00
caoyuan 24d67e5e75 use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

Switch to include_tasks or import_playbook as necessary

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Change-Id: I8dbe7ca1354c204d17f2f4bc0ac3be23f4a7cdc9
2018-08-15 16:59:05 +08:00
wangqi 970111be59 Trvial: Fix the pep8 warning
The yaml should start with "---"# 请为您的变更输入提交说明。以 '#' 开始的行将被忽略,而一个空的提交

Change-Id: If27537b613c9759e2d9f5a76cc78a1317ef131e2
2018-08-06 07:55:05 +00:00
Jesse Pretorius 76421ccb31 Clean up vars, tests and overrides
1. It would appear that searchlight does not make use of rabbitmq,
   so we remove the vhost/user setup and vars.
2. The searchlight_requirements_git_repo repo was cloned, but not
   used anywhere. This is a relic of the past and has now been
   removed.
3. The service URI defaults use the load balancer addresses, so
   so instead of overriding all the URI's we simply set the load
   balancer addresses.
4. The 'functional test' installed curl, but didn't use it. It
   used a var to refer to the correct port. This requires the
   duplicating of the var in overrides which is a bit over the top.

Change-Id: Ibd4fd8564ae5f858a2a2676d35de417e673c483c
2018-07-29 15:16:03 +01:00
Zuul ff3be7e3d9 Merge "Remove the unnecessary space" 2018-07-20 15:39:46 +00:00
Jesse Pretorius 70016bb4ee Execute service setup against a delegated host using Ansible built-in modules
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.

Change-Id: I81bb3f872dc93e54861cb720e3b37ab7660a074a
2018-07-14 14:00:14 +00:00
Jean-Philippe Evrard cdfac3eaca Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I032103fdc1fa2bb8599db3f113fb4fc7203a5672
2018-07-12 17:02:05 +02:00
zhulingjie d43aec724c Remove the unnecessary space
Change-Id: Ia68b4a4a183afdbcb0f9fa4c065f186c0cd6e1c1
2018-07-11 23:16:43 -04:00
Zuul cf2690115f Merge "ansible-role-requirements: Add common systemd_service role" 2018-03-26 04:18:08 +00:00
Zuul 0bf2fb8b91 Merge "Remove jinja delimiters in when" 2018-03-25 20:28:05 +00:00
OpenStack Proposal Bot db26966a4d Updated from OpenStack Ansible Tests
Change-Id: I6a13841beaf57cc3162a1b7d2e8620a3ab7fc440
2018-03-25 19:51:18 +00:00
Jesse Pretorius eaefc36da9 ansible-role-requirements: Add common systemd_service role
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: Ie83cdbaf7043139b9c80ce480f5b7ec658de6a37
2018-03-25 20:30:07 +01:00
Jesse Pretorius 87a8107046 ansible-role-requirements: Add common python_venv_build role
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: I67513f3c137988558087f79a24e0481e08cffec7
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-24 23:21:36 +00:00
Major Hayden c40b02e086
Remove jinja delimiters in when
Change-Id: I45ddf973776e4083ed8dbef12092c84875be30aa
2018-02-14 17:17:59 -06:00
Jesse Pretorius 82241cc2ee Initial OSA zuul v3 role jobs
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.

Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: I3cb805ca067970033ba49f9ec5ef6c2db1fb8719
2017-10-18 17:33:44 +00:00
Neill Cox 6139bbed0f Import initial os_searchlight role.
Import the initial verison of the os_searchlight role.

This role currently does the following:
- Installs a jdk, elasticsearch and searchlight
- Starts the searchlight services (api and listener)
- Does an initial DB sync
- Listens for messages from other openstack services
- installs the openstack CLI plugin

Current issues / TODO list:
- linting of Stouts.elasticsearch role
- Setup Apache site properly.

Change-Id: I3ff72c9fbfc96a1f80f5cdd51a91f4d7ef638682
2017-06-05 15:06:59 +01:00