Commit Graph

105 Commits

Author SHA1 Message Date
OpenStack Proposal Bot a922f98e88 Updated from OpenStack Ansible Tests
Change-Id: Id3889830731a3a2c512fddf5367da1d94b498e1f
2019-06-10 15:45:25 +00:00
OpenDev Sysadmins f36bbe42c6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:30 +00:00
Ian Wienand 1e5709da17 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: I3f8ed2ad7e1b2485278afe2f431ccdcfce4005d4
2019-03-24 20:34:59 +00:00
huang.zhiping 567dce26df import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I35e3d136ecb4719c65620d6aa3208830a6053cd9
Story: #2002586
Task: #24319
2018-08-21 13:36:40 +00:00
Zuul db28c47667 Merge "Non-ascii characters in files" into stable/pike 2018-05-14 14:36:52 +00:00
Guilherme Steinmuller 6da88fc0eb Fix extras/repo_packages poiting to master
In stable/pike release, all git install branches are pointing to master
but should be pointing to stable/pike.

Change-Id: I61c3ca4795495307db1597a5c41e9edc6d5dc327
2018-05-10 15:03:32 -03:00
Ferenc Cserepkei efaf42cb2a Non-ascii characters in files
Ansible's Jinja2 templater reporting an error when encounters with
non-ascii characters:

An exception occurred during task execution.
To see the full traceback, use -vvv. The error was: UnicodeDecodeError:
'ascii' codec can't decode byte 0xe2 in position 278:
ordinal not in range(128)
fatal: [infra1_monasca_container-ba51ad87]: FAILED! =>
{"failed": true,
  "msg": "Unexpected failure during module execution.", "stdout": ""}

Change-Id: I4021b46dfe30cd51656dd4c7c68edd2f04b8f6fd
(cherry picked from commit 4774c28f71)
2018-05-10 14:41:28 +00:00
fpxie 560bf404b7 Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I2c281e33c1bb6bf52198e35a78b77ea3ede1f2cf
(cherry picked from commit f6ee455f2b)
2018-04-24 19:29:59 +00:00
Zuul 80ed2df0f5 Merge "Updated from OpenStack Ansible Tests" into stable/pike 2018-03-26 12:36:23 +00:00
James E. Blair 60ce78327c Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I6a31da768005238e624e2be3d14a61d5b4c7d1d7
2018-03-26 09:59:55 +00:00
OpenStack Proposal Bot cefe11c090 Updated from OpenStack Ansible Tests
Change-Id: I4edef7e1d7f95f006fc338996cb2cde8b22b2387
2018-03-26 09:59:39 +00:00
Jesse Pretorius d76177805c Make unstable functional test non-voting
Given that the functional build for this repo
rarely passes and the repo itself is only
maintained by those who use it, we can set the
functional test to non-voting in order to allow
general pattern changes to be implemented
without delay.

This does mean that reviewers applying functional
changes will have to be disciplined about checking
the results, but I think that is OK in this case.

Depends-On: https://review.openstack.org/556280
Change-Id: I1a236b88a8c80d82f162a92f6cdfeb9368b6eea7
(cherry picked from commit f3713f98f5)
2018-03-26 09:55:11 +00:00
Zuul a10f1b9a44 Merge "Initial OSA zuul v3 role jobs" into stable/pike 2017-11-24 16:36:07 +00:00
kaiokassiano f58399356f Update role default branch to stable/pike
Use stable/pike as the default project and requirements
install branch among monasca services.

Change-Id: I1dfcef1ccf0386d458e3cef08312c28a35ec1d1f
Signed-off-by: kaiokassiano <kaiokmo@lsd.ufcg.edu.br>
2017-11-12 22:23:53 -03:00
Jean-Philippe Evrard 0781776f88 Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

The role maturity state is "incubated", conformly to our
role maturity guidelines. This role work has been started in
ocata and can therefore still have the incubated status in Pike.

Change-Id: Ia2ca7803115547931b452eee778afd02d3e54137
2017-11-01 11:27:41 +00:00
Jesse Pretorius d83b69a0c3 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.

Change-Id: I73558ce52761381a3b61ff50f3394f2f1e50fa8f
2017-10-31 10:56:44 +00:00
Jenkins ce3bcd283f Merge "Update vars and test tooling for Pike" into stable/pike 2017-08-25 09:31:11 +00:00
Jesse Pretorius 3834234a30 Update vars and test tooling for Pike
Change-Id: Ic8b839dafd8a7b6bf0614b5fdabcb6641b066f70
2017-08-24 09:40:46 +00:00
OpenStack Proposal Bot 7c3d675931 Updated from OpenStack Ansible Tests
Change-Id: I89c16046377d554e555d371fd3c4299adfe8d166
2017-08-23 20:38:36 +00:00
OpenStack Proposal Bot 27f70c96ac Updated from OpenStack Ansible Tests
Change-Id: I49db38a4ef655463c7f1088a4c9bdafec5b24440
2017-08-22 20:08:44 +00:00
Jenkins 6a1c60edee Merge "Fix for monasca modules and other minor changes" 2017-08-22 19:25:52 +00:00
Flávio Ramalho 030df04ef8 Fix for monasca modules and other minor changes
This change fixes monasca modules to work with the latest version
of monascaclient.

Other minor changes:
  - Use cryptography instead of pycrypto
  - Removed duplicate variable for monasca_api_port
  - Added static paths for dashboards

Change-Id: Ib4fe27c276413bb2e1e5da3fe532d824745c5b99
2017-08-03 15:10:25 +02:00
OpenStack Proposal Bot 2b694a04e8 Updated from OpenStack Ansible Tests
Change-Id: I5342d59e732bbbeae5b95c12f9a2217b9a9a9508
2017-07-31 19:11:14 +00:00
Jenkins 1f0fa1af3c Merge "Updated from global requirements" 2017-07-28 18:33:57 +00:00
OpenStack Proposal Bot 915b4380d2 Updated from OpenStack Ansible Tests
Change-Id: I0fda85bcadc61d1fd2b0df1ba22111fdc77c6eff
2017-07-28 15:00:39 +00:00
OpenStack Proposal Bot b9d0de7e1a Updated from global requirements
Change-Id: I85eaa945a60e4fe8a734d67c17a1b40141354f5d
2017-07-27 19:17:43 +00:00
ZhongShengping 951a57aec0 Update URLs in documents according to document migration
Change-Id: Ifefed0b9e1e8af9f5c16650b8142aa7ad84ab935
2017-07-14 09:43:45 +08:00
OpenStack Proposal Bot ab0020ef54 Updated from OpenStack Ansible Tests
Change-Id: I15748fbeffb96d5299e63cf6555c31bd8af5df05
2017-07-06 21:08:36 +00:00
OpenStack Proposal Bot e05247b9f9 Updated from OpenStack Ansible Tests
Change-Id: I752fa89bc04f5db3c0f236dfaca0895fb7d1e959
2017-07-06 13:02:46 +00:00
Andy McCrae 049641f02d Allow the developer constraints to be adjusted
In order to do a developer mode that allows installation of packages
from local file, which take precedence over the developer_mode
constraints, we need to allow the order of the constraints to be
changed.

This patch adds a "pip_install_developer_constraints" var which is used
to set the developer mode constraints. By default this will leave the
same behaviour but will allow additional constraints to be added, or the
developermode constraints file to be overriden altogether.

Change-Id: I9fc7e0d9be83af274bb7cd02fff7010d58e908f1
2017-07-03 15:31:20 +01:00
ZhongShengping ca4f418505 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ic55b86dd7e836bf95416adb27d26f5e6187b77ed
2017-07-03 16:19:04 +08:00
OpenStack Proposal Bot 0eb0dcf3fe Updated from global requirements
Change-Id: I47b96f241adfe765b8564c0aaf3c757d29fbb6d7
2017-06-27 12:18:19 +00:00
OpenStack Proposal Bot 7cac2c9dd6 Updated from OpenStack Ansible Tests
Change-Id: I68e58344a262633805fef62cc98b4fe807e8be90
2017-06-26 13:45:04 +00:00
ZhongShengping f7b0ece64c Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I14aee62cd006c3a55758d965a9572c7431e05778
2017-06-26 11:36:14 +08:00
Flávio Ramalho b884927071 Monasca role refactoring[+docs]
This patch refactors the whole monasca role by bringing consistency
with the other openstack-ansible roles. Main changes include:
  - Install services on its specific cointainer;
  - monasca-thresh, monasca-notification and monasca-persister was
    not being installed/configured, now it is;
  - Tempest tests are ran for the whole monasca-api;
  - The service should be fully functional;
  - Added documentation.

The extras directory contains the changes necessary to openstack-
ansible to setup monasca.

Change-Id: Ib53d4311c4b4aa722c7cdf7b18632e23b8639a56
2017-06-19 14:45:02 -03:00
OpenStack Proposal Bot 344aa2b707 Updated from global requirements
Change-Id: I68eba174a497eeb1d4e765f9e07699873fba20f8
2017-06-12 12:59:29 +00:00
OpenStack Proposal Bot 8f79a467a9 Updated from global requirements
Change-Id: Iead63bac1d113b0799283969f17bd9b55bcefab6
2017-06-10 21:44:56 +00:00
Jesse Pretorius 0c9a8d08e3 Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.

When a version of these tools changes it often causes
problems for our testing.

This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.

Change-Id: I26067405d4acc93da9a74cabfd05b11d5ee6aa5b
2017-06-04 11:21:48 +01:00
OpenStack Proposal Bot 3deb793a8e Updated from global requirements
Change-Id: I906524991d39c59737ae5139b6a4ad09c918205c
2017-06-02 22:03:30 +00:00
Jenkins 91e9d6f212 Merge "Use zuul-cloner for tests repo in OpenStack-CI" 2017-05-18 04:21:07 +00:00
Jenkins 4884c2453b Merge "Use package module to install distro packages" 2017-05-18 04:20:47 +00:00
Jenkins b51330a2e5 Merge "Fix for lookup and get_url occuring in different places" 2017-05-17 19:24:48 +00:00
Jenkins e67cb43271 Merge "Reduce init restart/kill times" 2017-05-17 19:07:01 +00:00
Jesse Pretorius edd2093370 Use package module to install distro packages
Consolidate distro package install tasks into a
single task using the package module and pass
the package list into the name instead of using
a with_items loop.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: I5d87e5e5d11bd1dcffb6a6187733f6d8e4e72fbf
2017-05-17 18:12:12 +00:00
Rick Box 72d2de8437 Fix for lookup and get_url occuring in different places
We use an SSH bastion host which we do our deployment through. The
deployment host doesn't have direct access to the same network as the
host. As a result the venv local checksum lookup fails.

I have described this here:

https://bugs.launchpad.net/openstack-ansible/+bug/1689283

This is a simple fix for this problem, assuming everything is good it
will need repeating in multiple places in the code base.

Change-Id: I240605a8cd76b6ee2dfebde8eb47d577c4f93c95
2017-05-17 18:12:05 +00:00
Jesse Pretorius 8bd891f359 Use zuul-cloner for tests repo in OpenStack-CI
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.

Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29
Change-Id: I2fff63afb27266c2ade1ab70d86a423cc5235f21
2017-05-17 18:12:00 +00:00
Jesse Pretorius bdafeffe7a Reduce init restart/kill times
The systemd unit 'TimeoutSec' value which controls the time
between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting the service has been reduced from 300
seconds to 120 seconds. This provides 2 minutes for long-lived
sessions to drain while preventing new ones from starting
before a restart or a stop.

The 'RestartSec' value which controls the time between the
service stop and start when restarting has been reduced from
150 seconds to 2 seconds to make the restart happen faster.

These values can be adjusted by using the *_init_config_overrides
variables which use the config_template task to change template
defaults.

Change-Id: Ie14d80dd4134bd7bb9cd5467503e634fb5bd7b9d
2017-05-17 18:11:52 +00:00
OpenStack Proposal Bot 0beb1568fd Updated from global requirements
Change-Id: I9f36ee0f1b5e62e6488848f7308170364c5eea06
2017-05-17 18:11:46 +00:00
Jesse Pretorius 20b74b2098 Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: Id5018a0cf8f0190655cd6a6b0a342e7918c29dd0
2017-05-16 12:10:44 +01:00
Kevin Carter 2746142b68 Ensure the components are isolated from the system
This creates a specific slice which all OpenStack services will operate
from. By creating an independent slice these components will be governed
away from the system slice allowing us to better optimise resource
consumption.

See the following for more information on slices:

* https://www.freedesktop.org/software/systemd/man/systemd.slice.html

See for following for more information on resource controls:

* https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

Tools like ``systemd-cgtop`` and ``systemd-cgls`` will now give us
insight into specific processes, process groups, and resouce consumption
in ways that we've not had access to before. To enable some of this reporting
the accounting options have been added to the [Service] section of the unit
file.

Change-Id: I619ab58574eedece7e00e323f91aeaec4c5b5a6e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-30 15:10:50 +00:00