ansible_python_interpreter is now set to auto in the tests repo.
it doesn't need to be overwritten in the test anymore.
Depends-On: https://review.opendev.org/734676/
Change-Id: Iad9eca9922613631e1300bd7fb0e380d03e1aa35
The current default is 1024 however this is not sufficent for most
deployments and it will cause a lot of issues if it does hit the
limit as the server will stop responding.
The overhead for this is very low and other deployment tooling
usually sets this to 8192[1], so 4096 is even very conservative.
[1]: https://github.com/saz/puppet-memcached/blob/bb9d55a2/manifests/init.pp#L26
Change-Id: I604f96a9431076e1f630d2045eac4c88a92935c1
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: I2ccaa1df08aaf772058607653059ba3ccfc3fc86
This change cleans up the role a little bit making it more consistent.
A new configuration file has been added which will further isolate
our services using a named cgroup; this is similar to what we already do in
our openstack services. By further isolating the service from the system
we get quite a bit more control and accountability.
Change-Id: I02a84a2560853473c986ad0db26874341a23fc82
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
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: Iaee6f1c1836ee85770fd46a215e65cf2b2d517fa
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: I6de4c78710f655b3a8a8be070e6dec4ad2c65e7e
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.
Change-Id: I5e703e24fe0b3aed2784fbf63d0f2e8f81d44f0b
This patch consumes the centralised Ansible test scripts
implemented in https://review.openstack.org/381853
Change-Id: I486582d6793f61a08e09da8fe04203fac9c214bd
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: Iece5efb32143979f4d4a0322e3b26aaa5f10d66a
This commit updates the memcached_server role to work on Trusty,
Xenial, and CentOS 7.
NOTES:
1. This role no longer creates the memcache user since both Ubuntu and
CentOS already install a suitable user
2. We have temporarily disabled testing of the log file since CentOS and
Xenial do not log to file
3. On Ubuntu we drop ulimits into /etc/defaults/memcached, we need to
figure out how to do the equivalent on CentOS
4. We update tasks/memcached_config.yml to use the correct memcached
user in limits.conf, however neither these limits or the ones in
templates/memcached.debian.j2 actually seem to be taking effect.
More work in an additional review will need to be done to clean this
all up.
Implements: blueprint multi-platform-host
Change-Id: I4c32f3d60939615c5d0c6fb202e96aacb35ab9b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
- Moved to the right folder to get it accessed on bare metal
when containerized
- Making it work for rsyslog and logrotation's existing
roles
- Changed the gate tests to reflect path change
Closes-Bug: #1569171
Change-Id: I3a1c2f50ab63b55b39318ba40c0921f6b738cafb
This patch updates the tox.ini the same bashate exceptions as are
currently in the OpenStack-Ansible playbook repo.
It also ensures that the linters and all lint targets work
appropriately and normalises the tox.ini configuration to use
uniform formatting.
The use of ansible.cfg is removed as there is no way of being
certain which paths can be used without reverting to an ugly
sed hack in the commands. This is why it is preferred to make
use of environment variables which make use of tox's default
substitutions instead. It's a more reliable way of achieving
the goal for the purpose of gating and testing.
The switch to using a git clone instead of ansible-galaxy to
download the plugins is due to the path spec not being able to
work in Ansible 2.x. [1]
[1] https://github.com/ansible/ansible/issues/13563
Change-Id: I7c4b2e14487dcfa63e3b85e1cd4e7ff7c4113d23