614 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
37c8d659cc Updated from OpenStack Ansible Tests
Change-Id: Icf376172703a3223bdea10d43bb94e6563c500f7
2019-09-04 15:14:42 +00:00
OpenStack Proposal Bot
97686559e9 Updated from OpenStack Ansible Tests
Change-Id: I98afc09d48fff1b09dbb1807bd071531ebdea3e8
2019-08-20 03:06:08 +00:00
Zuul
6e98f55b25 Merge "tftp: start on boot & fix tftp paths" 2019-08-16 16:03:03 +00:00
Mohammed Naser
0a2092a087 tftp: start on boot & fix tftp paths
This fixes the tftp service name on CentOS and makes sure that
the service is running on boot.  It also makes sure that the
tftp_root is setup correctly for the default configuration
on CentOS.

Change-Id: I56944ea905b5ea908cf1e93d5ae1325e68788562
2019-08-16 11:11:04 +00:00
Zuul
035ffaf2dc Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-08-15 02:19:41 +00:00
Dmitriy Rabotyagov
61d96ee0cc service_setup: refactor service setup to a single file
This patch refactors the openstack user/service/endpoints creation to
service_setup.yml which will eventually be managed by
openstack-ansible-tests.

Change-Id: I5765e4e1e0ca29517a04976111ef14f20f77607c
2019-08-07 19:05:19 +03:00
Mohammed Naser
5d74ab936a redhat: add qemu-img-ev to dependencies
Ironic needs qemu-img in order to be able to convert images so this
commit adds it to the list of dependencies.

Change-Id: I429cffc8782c19fb2522520238ac356ab3c0a038
2019-07-31 16:06:04 -04:00
OpenStack Proposal Bot
ed43b3d570 Updated from OpenStack Ansible Tests
Change-Id: I484f637124471e3c16346da228cf8b46246b7199
2019-07-30 19:40:01 +00:00
OpenStack Proposal Bot
0d97ecb0b8 Updated from OpenStack Ansible Tests
Change-Id: I72dcf75c9944200ad8ba21e774946f336a462181
2019-07-20 09:33:09 +00:00
OpenStack Proposal Bot
d354f9849b Updated from OpenStack Ansible Tests
Change-Id: Ia67749c04dc194abef760012a6e18adb58c56ab5
2019-07-18 22:18:35 +00:00
Zuul
ff9b4ecc39 Merge "Use systemd-journald instead of log files" 2019-07-17 11:01:24 +00:00
Dmitriy Rabotyagov
64fdc9d685 Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald. We also disable uwsgi logging, since it dublicates
requests that are logged by service itself.

Change-Id: Iaddb2c158a52d90025899d9bfa5576358bef92dd
2019-07-17 00:57:58 +03:00
Dmitriy Rabotyagov
47bcaff4b3 Convert dynamic includes to static imports
When task/role files are included using include_tasks, tags are not
passed to the included tasks. As a result, tags like neutron-config
do not have the intended effect. This patch changes include_tasks
to import_tasks for all cases where dynamic vars or loops are not used
so that tags are properly handled.

Reference -
https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse.html
https://bugs.launchpad.net/openstack-ansible/+bug/1815043

Change-Id: I3acc79b933b7068a13f8c09daff16f0b6920e834
2019-07-17 00:31:19 +03:00
Zuul
146af4abe9 Merge "Convert systemd services to common role(s)" 2019-07-16 21:09:25 +00:00
Zuul
996e46ce8d Merge "Cap sphinx for py2 to match global requirements" 2019-07-16 16:49:29 +00:00
Dmitriy Rabotyagov
2f73f21e65 Convert systemd services to common role(s)
This removes the systemd service templates and tasks from this role and
leverages a common systemd service role instead. This change removes a
lot of code duplication across all roles all without sacrificing
features or functionality. The intention of this change is to ensure
uniformity and reduce the maintenance burden on the community when
sweeping changes are needed. The exterior role is built to be OSA
compatible and may be pulled into tree should we deem it necessary.

Change-Id: I404639ae7ebd349d4a11fc5ce1ef3d2805833217
2019-07-16 18:14:38 +03:00
Jean-Philippe Evrard
1388c2abd0 Add integrated coverage
Currently this role doesn't test the integrated jobs.

This is a problem because it's not consistent with other jobs.

Change-Id: Ibc4859326c39e07411a55c03b95d106a5a563130
2019-07-11 15:37:51 +00:00
Jean-Philippe Evrard
15cfbaeebf Fix CentOS installtion
The patch fixing packages names missed the syslinux-common
package, which also doesn't exist [1]. This should fix it.

Next to that, the location of files to copy are incorrect.
This should fix it.

[1]: https://review.opendev.org/#/c/670040/

Change-Id: I812436bb156eeee15b5e494e86b23069be82f814
2019-07-11 15:37:42 +00:00
melissaml
3f7ed9e51e Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ide9495e549aea76446d5ef03fa75955ae081385b
2019-07-10 22:58:32 +08:00
Jean-Philippe Evrard
c9b91a2585 Fix ironic package list
Without this patch, ironic would fail to install on CentOS, as
libffi-dev doesn't exist (and other packages have the same problem).

This should fix it.

Change-Id: I2a10ce390815962b55897ddc45da995e4e45f9c0
2019-07-10 13:35:17 +02:00
Jean-Philippe Evrard
9f0d4d3b33 Use ironic credentials when connecting to other APIs.
When ironic is connecting to another service's API, it should use
its own credentials to obtain an authtoken with keystone.

Without this patch, ironic deployment would fail with an undefined
variable "neutron_service_adminurl", which is not required.

It is not defined since a patch removed it from the group vars.

[1]: https://review.opendev.org/#/c/658178/

Change-Id: Ib8f67b195d1d74cc7997822fa1f5f0ac2176393d
2019-06-27 17:14:33 +02:00
OpenStack Proposal Bot
16b7848240 Updated from OpenStack Ansible Tests
Change-Id: I87a284e953d430b3c061326c26e607ad49c9cd85
2019-06-27 10:21:51 +00:00
Zuul
84ae2b0dc8 Merge "Updated from OpenStack Ansible Tests" 2019-06-19 20:51:01 +00:00
Zuul
59b1206b1b Merge "Add missing variable file for Redhat" 2019-06-18 23:28:59 +00:00
OpenStack Proposal Bot
9cd0e97dbc Updated from OpenStack Ansible Tests
Change-Id: I486e29b7d0d0f6ffc403c4e6b25b95641a1691fc
2019-06-18 18:15:52 +00:00
Zuul
34d4a4f20e Merge "Add variables for openSUSE" 2019-06-18 11:25:51 +00:00
Nicolas Bock
d7377d877e Add missing variable file for Redhat
Change-Id: I89be92c55be9d892afc133d3a95a8227174d0b80
Signed-off-by: Nicolas Bock <nicolas.bock@suse.com>
2019-06-18 11:57:34 +02:00
Nicolas Bock
ee59b1b35d
Add variables for openSUSE
Change-Id: I926586acdbc03816dccd6bfdd318aea95ffb881b
Signed-off-by: Nicolas Bock <nicolas.bock@suse.com>
2019-06-14 17:48:15 +02:00
OpenStack Proposal Bot
dc7f58d6b2 Updated from OpenStack Ansible Tests
Change-Id: I8b7a04242e139fdd9c565522fd1c7e8153ee4bf3
2019-06-11 22:17:59 +00:00
zhangboye
284299eb5d Cap sphinx for py2 to match global requirements
Change-Id: I8451d3d643019f06e8b199953e14f4bd1ab43079
2019-06-06 18:12:58 +08:00
Guilherme Steinmüller
d9dfa325c5 db_setup: refactor database setup to a common file
This patch refactors the database creation to db_setup.yml which
will eventually be managed by openstack-ansible-tests.

This also re-orders the mq_setup to be done earlier so these system
level dependencies are ready before service activation.

Change-Id: I08bde61baa956dfb190895b1d29ff3ff9df6ff91
2019-06-04 02:31:26 +00:00
Logan V
073199dbdc Remove Neutron LBaaS from test inventory
Change-Id: I2f992cb2396ac6198a5a5ab2348d7af96da6d77e
2019-05-16 15:49:38 -05:00
OpenStack Proposal Bot
64431f7483 Updated from OpenStack Ansible Tests
Change-Id: I12c47b03e466cad00569d3f741e3731ba9cec481
2019-05-09 11:34:43 +00:00
OpenStack Proposal Bot
81d324836a Updated from OpenStack Ansible Tests
Change-Id: I863a89ce3d7e423a7ae89b7518cb86ffc7014dd6
2019-04-22 07:14:31 +00:00
OpenDev Sysadmins
79854dc982 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:29:12 +00:00
OpenStack Proposal Bot
4503915dce Updated from OpenStack Ansible Tests
Change-Id: I241a6172fdf622a83319f0c7185ad13e848f9fc0
2019-04-17 19:11:41 +00:00
OpenStack Proposal Bot
a5c176ed90 Updated from OpenStack Ansible Tests
Change-Id: I33f36c9ea6b418ae65cc7bd010aea25cbae6f1ab
2019-04-17 07:25:28 +00:00
OpenStack Proposal Bot
7aa09a6ce2 Updated from OpenStack Ansible Tests
Change-Id: I0af2421e895d83ac4bb6d7b7a9a38b654e6ea73b
2019-04-13 20:22:27 +00:00
Zuul
e8f5f071aa Merge "Replace usage of netloc filters to urlsplit" 2019-04-12 09:58:44 +00:00
Guilherme Steinmüller
da2dc1abd5 debian: add support
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.

Depends-On: I9a92b73c419a0dc1cca40dacfef75de61a61db94
Change-Id: Ie9e9857ce1bd8fe93e63f3be3a02793c648f688b
2019-04-09 17:05:08 +00:00
6f82c1c7ad Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ia88cfe50a71c37bc7333e69b9c25b1b77fbb114c
Sem-Ver: feature
2019-04-08 09:18:58 +00:00
Georgina Shippey
78db69714b Replace usage of netloc filters to urlsplit
Removed the reference to netorigin as it will be taken out from openstack-ansible-plugins
Now using ansible 2.4's urlsplit filter as a replacement.

Change-Id: I4d8134e04d751e7506e21cd14424898c28200cb3
Related-Bug: #1820830
2019-04-08 10:16:05 +01:00
Mohammed Naser
aaec26325a docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I5c84109e985017ccc9a22f5cb07fbedc5bcac92b
2019-04-04 05:04:08 +00:00
OpenStack Proposal Bot
05683ee5c0 Updated from OpenStack Ansible Tests
Change-Id: I5eb8859350a6b3044cf686678f9c1fa0a4568776
2019-04-01 13:18:51 +00:00
Zuul
f57f2fb478 Merge "Update role for new source build process" 2019-03-29 18:42:51 +00:00
Zuul
06f60c0422 Merge "Updated from OpenStack Ansible Tests" 2019-03-29 18:06:30 +00:00
Mohammed Naser
fe8e6c052a Update role for new source build process
The variables ironic_developer_mode and ironic_venv_download
no longer carry any meaning. This review changes ironic to
do the equivalent of what developer_mode was all the time,
meaning that it always builds the venv and never requires
the repo server, but it will use a repo server when available.

As part of this, we move the source build out of its own file
because it's now a single task to include the venv build role.
This is just to make it easier to follow the code.

Change-Id: Id58a2bcc215abe4595b594c08be60ca2a1490205
2019-03-29 15:07:15 +00:00
OpenStack Proposal Bot
1d55b5e342 Updated from OpenStack Ansible Tests
Change-Id: I460d6c6202f56b9c9a3876f9ae447cde2a75aa63
2019-03-29 14:59:42 +00:00
wangqi
4086bcc695 missing document start "---"
Change-Id: I86064adec3799f773d49c519fa6bb3fae01f6e40
2019-03-29 14:59:32 +00:00
Mohammed Naser
8efb3efe4e Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to do the
functional testing using the integrated repo. This replaces
the previous functional test mechanism.

Any additional role tests are left as-is. They will require
some extra implementation in the integrated build before they
can be transferred.

In addition, policy-in-code is a thing in Ironic now so there
is no need to use a template-ized file.

Depends-On: https://review.openstack.org/647840
Depends-On: https://review.openstack.org/648502
Depends-On: https://review.openstack.org/648551
Depends-On: https://review.openstack.org/648575
Change-Id: I31747ea9273c435a3856c4fc277a2a25814c5b02
2019-03-29 14:56:35 +00:00