Commit Graph

27 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov ebe439abb4 Replace NFS test with integrated one
This also adds ceph integrated test usecase.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/821096
Change-Id: Icf8f2eb3b27033597cb75a6c990b7492706f1d05
2021-12-08 18:44:40 +02:00
Dmitriy Rabotyagov ac545c353e Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.


Change-Id: I1c457250eab70abcf717f04feb2d26ce34830d79
2021-05-21 15:52:35 +03:00
dmitriy ab46154a25 [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.


Change-Id: I2687550dab90dc928a3bcfaa3003af82eb03ac8a
2021-01-22 18:25:19 +02:00
Guilherme Steinmüller f8e04e4564 Drop v2 registry job and ubuntu-xenial nodeset
The registry service was scheduled for removal in
the S cycle, for that reason we don't need the job
Also we don't have support for xenial anymore so we
are replacing to ubuntu bionic in the nfs job.

Change-Id: Iccb14a8a16af8404e448e3a201e3389bf0356978
2019-05-22 04:43:31 +00:00
Zuul 81b529140b Merge "missing document start "---"" 2019-04-24 19:54:53 +00:00
Jesse Pretorius 2041df74b6 Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to the
functional testing using the integrated repo. This replaces
the previous role 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.

Depends-On: https://review.openstack.org/647840
Depends-On: https://review.openstack.org/648502
Depends-On: https://review.openstack.org/648551
Change-Id: I56680ae20ab4dbe7169ce161d90f9c06aa05fbfc
2019-03-28 23:47:52 +00:00
wangqi 6b1d43bdf6 missing document start "---"
Change-Id: I9109e8a2deddd0b59628d733227a9cb067301239
2018-10-30 07:38:28 +00:00
Andreas Jaeger dbc0fec36f Zuul: Use openstack-ansible-role-distro_install-jobs template
Use the template instead of individual jobs so that we can easily
updat the template as new jobs become available.

The template has the same content as the jobs removed.

Change-Id: I5878fd6fed09c280b1050fafae13b89db00270b0
2018-10-10 09:16:42 +02:00
Markos Chandras 4a3ec0c6d0 SUSE: Add support for openSUSE Leap 15
Change-Id: I3226e8c38fe40a7b9a049f6ff5545b84eb18341a
Depends-On: https://review.openstack.org/#/c/603114/
2018-09-20 14:02:03 +01:00
Jesse Pretorius 221e1549ff Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We remove the 'ssl' job, given that the person working on
   that is no longer doing so, and no-one else has picked up
   the work.
2. We remove the 'upgrade' job, given that it's been broken
   all cycle due to the way the job executes and we need to
   regroup to figure out another way to do it.
3. We promote the distro_install jobs, given that they are
   all now working.

Change-Id: I9d33daeb6d591c6919f131aafd62c4a33e4ff68f
2018-09-07 13:30:01 +00:00
huang.zhiping 353d2a68b9 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

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

Change-Id: I19f2e24b06f1d608359e50261bc2695d70ad0e45
Story: #2002586
Task: #24319
2018-08-21 13:21:55 +00:00
huang.zhiping dfedc56320 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: I3b763b3b28ab77ad6d8b27a9e5d1e494082f2798
Story: #2002586
Task: #24319
2018-08-21 13:07:24 +00:00
Jonathan Rosser 33b0e35e06 Remove glance v1 api and tests
The glance v1 endpoints were removed in [1].

[1] 3dde3204d5

Change-Id: I90f0b7c6963c433aba6d91e7f4df4401e410439e
2018-07-30 17:37:23 +01:00
Mohammed Naser ce7a39a00d Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

Depends-On: I2608fc5a0230436cebb0e6c579deae7bd4d7c209
Change-Id: I5095570373729b6da67a19cd5b5c65ccb24ea5c8
2018-06-16 21:04:16 -04:00
Mohammed Naser bc792c2064 Switch non-voting jobs to use Zuul stanza
The extra jobs that we have are not something that is needed, we simply can
set the jobs to non-voting in the project definition and avoid having non
voting jobs.

Change-Id: Ib3fed02865cb761db906ec609a82ff8a64006e36
2018-06-13 21:49:06 -04:00
Markos Chandras 3d7cf92bda vars: Do not install build dependencies for distro installs
The glance_distro_packages contain packages which are build dependencies
to the 'PIP' ones so we don't need to install them when we are using the
Glance distribution packages. This also renames the '*glance_wsgi_bin'
to '*glance_uwsgi_bin' since it refers to the actual uwsgi package.
Finally, we add the missing 'install_method' conditional when recording
the local facts.

Implements: blueprint openstack-distribution-packages
Change-Id: I063a73ca7d50a0ad0bee57ccc42604802ab08220
2018-05-14 12:01:53 +01:00
Markos Chandras ba64ce3083 Add support for using distribution packages for OpenStack services
Distributions provide packages for the OpenStack services so we add
support for using these instead of the pip ones.

Change-Id: I026a440b6a0fda43b613e30f359b2a23c3c1151f
Depends-On: I5a78e2120e596d36629b4ba978b2b5df76b149b0
Implements: blueprint openstack-distribution-packages
2018-05-04 15:42:26 +01:00
Paul Belanger 0c541c2e93
Stop running non-voting jobs in gate
There isn't a need to run non-voting jobs in gate, as it ends up just
wasting CI resources.  Results can be obtained from the check pipeline
results.

Change-Id: I8fd31e28981863f582c00ccfe823950bb08ba0cf
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-12 11:07:50 -05:00
James E. Blair 025f1c1d3e 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: I5134a8e409b924f35f3903a78b9d27071fff8a4d
2018-02-01 19:23:43 -08:00
Jimmy McCrory e5ac2f07e3 Add MySQL connection SSL support
When 'glance_galera_use_ssl' is True, use an encrypted connection to
the database using either a self-signed or user-provided CA certificate.

A new non-voting test has been added to verify that the role remains
functional when enabling SSL features.

Partial-Bug: 1667789

Change-Id: I18e9d47e88e61ff287e5120dead49b02cdf1f8ac
Depends-On: I95cc994df5118fce7ce588fc0bff979bc283a6f3
2017-12-13 17:12:14 -08:00
Kevin Carter 477d44cab9
Update glance NFS for systemd
Systemd has the ability to manage mounts and ensure functionality
/ resource management. Using a systemd mount has the benifit of not
requiring writes to the legacy fstab file which can impact OS
functionality especially when deploying on baremetal. This change
moves the glance NFS mount to a systemd unit file allowing systemd
to manage it independently with no potentially breaking impact to
the underlying operating system.

Changes:
 - This PR corrects a long standing issue when using Glance+NFS where
   initial deployment would work but if the playbooks were run again
   it would fail due to the glance images location being an NFS mount
   point with a potentially different UID/GID. To correct this we stat
   the directory and if it does NOT exist it is created.
 - Following the nova pattern options have been provided to set the UID
   and GID of the glance user.
 - To ensure out NFS backend solution works with the installation of
   glance a test has been added to deploy glance using an NFS backend.
 - An upgrade task has been added to this commit to clean up legacy
   mounts, This task should be removed in R.

Change-Id: I716c9fe35391629532e67e212d45ea27a5422d1b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-12-12 17:49:55 -06:00
Jean-Philippe Evrard c63b617e81 Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: I4a522985e114f2d945901e26a4789c00178f01b6
2017-12-06 08:22:12 +00:00
Jesse Pretorius 4fa9872510 Disable glance-registry and the v1 API by default
When using the glance v2 API the glance-registry service is
optional, and the intention is to remove the glance-registry
service in the S cycle.

The glance v1 API is scheduled to be removed in Queens.
This patch therefore disables the v1 API by default to give
us as much time as possible to identify the impact of that
and to get the issues resolved before it is removed from
the code-base.

The patch also cleans up the glance-registry init files
to handle the transition in an existing environment.

Tests are added to validate that enabling the v1 API still
works, and enabling the v2 registry still works.

Change-Id: I4c27aa0ca5b649e4fa76cfd0f326d80f50074db1
2017-11-20 12:48:55 +00:00
Jesse Pretorius 1416013cd4 Allow deployment without glance-registry
The glance v1 API is deprecated and intended to be removed
from the glance code within the Queens or Rocky cycles.

When using the glance v2 API the glance-registry service is
optional, and the intention is to remove the glance-registry
service in the S cycle. The glance-registry service is required
when using the v1 API though.

Furthermore, when using the glance-registry service it is not
possible to execute a rolling upgrade without losing API
transactions.

Given the above information, this patch enables the deployment
of glance with only the v2 API enabled, and without the
glance-registry service. It adds a per-commit test to validate
that this configuration works.

This patch also corrects a previous misconfiguration which
enabled the v2 registry service, but did not set the data_api
correctly for the API service to inform it that the registry
was operating.

The glance_enable_v1_registry variable is also removed as it
is meaningless. The v1 API *requires* the registry to be
enabled, so we just enable it if glance_enable_v1_api is
enabled.

Change-Id: Ie95daed286798d139f0a35ffdd2a4dd1cdda6ff9
2017-11-20 12:48:02 +00:00
Jesse Pretorius 45d84bf792 Remove unified queue from gate pipeline
Initially the intent for adding this was to better test
any patches for roles together before they merge, but it
has had the unintended side-effect of causing patches to
take much longer to merge (because they all get lined up
in a single queue, rather than independent queues) and
a lot more infra resources are used (because a patch
that fails at the top of the queue will result in all
subsequent patches restarting all their tests).

As discussed in the channel, we'd prefer to revert back
to the previous independent queue method of testing. It
has served us well.

Change-Id: I8b9146f9b4ca895d9d22e280c4a029ccfecd64ec
2017-10-23 11:18:35 +01:00
Jesse Pretorius 0e8e780aff Add openstack-ansible-linters test
Currently the linters test is in the project-config
repository, but those are meant to be used for standard
jobs which do not require any repository other than the
one given. Our lint tests use the 'openstack-ansible-tests'
repository, so we should rather use our own job definition.

Change-Id: I2f28cdbb62b033f48db909c59c5036b34a5bfc5d
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
2017-10-18 17:48:12 +01:00
Jean-Philippe Evrard 2cab2c2298 Update upgrade role for Queens from P
This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:

The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.

Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.

We need to generate the constraints for the previous version too.
This should do it.

On top of that, we needed to update the work for Zuul v3:
This implements the 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: I8710e7b9bb6010ba98279f61a63274ace56f6e8d
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2017-10-17 18:32:54 +00:00