Commit Graph

180 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 5f76a510ac Deprecate os-panko role
Since upstream Panko project has retired, we deprecating role for it.

Since we might want to get some patches in for stable branches, we're
deprecating role instead of retiring it.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/799802
Change-Id: I35e008bcc9b35373dc6db2672ee1cabb328e7f9b
2021-07-07 15:44:31 +03:00
Dmitriy Rabotyagov b2056f6f4d Fix wsgi_venv path for panko-api
Previous to this change the uwsgi config had virtualenv include /bin,
leading to $venv/bin/bin in execution

Change-Id: I9e2e211c966f71dc047cdf92d9774e55c736d505
2021-06-02 13:15:58 +03:00
Dmitriy Rabotyagov 1105314486 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: I50adb2dc1b763a3c32912dca606dca410191c56b
2021-05-21 15:53:23 +03:00
Zuul ece14c96e5 Merge "[goal] Deprecate the JSON formatted policy file" 2021-04-19 20:40:46 +00:00
Jonathan Rosser d83e139831 Fix cron module special_time parameter.
The original commit used the wrong module parameter name, fix it.

Change-Id: I34566ff3522bfa2366ca7b2ec412ed18c65874d4
2021-04-15 22:42:44 +01:00
Dmitriy Rabotyagov a396d45942 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to replace policy.json to
policy.yaml and remove deprecated policy.json.

config_template has been choosen instead of the copy, since it can
properly handle content that has been lookuped.

We make a separate task not to restart service when it's not needed.

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ib434e98cd4df42ea77bcb985eafe2e56b1ac6fe9
2021-04-06 12:21:54 +00:00
OpenStack Proposal Bot 21f767d08b Updated from OpenStack Ansible Tests
Change-Id: I05c84610387020412a536e2b638d38278bec5ea2
2021-03-22 08:48:37 +00:00
Jonathan Rosser 73863b9083 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I1f848a2d08be7975a1bde9832fea1e29f5e7b410
2021-03-16 08:14:58 +00:00
OpenStack Proposal Bot 5a3cf2607e Updated from OpenStack Ansible Tests
Change-Id: I6d87700aae6f144ccfa192e0645f0960f9730d65
2021-03-12 22:20:42 +00:00
Zuul 547a2cb2d5 Merge "[reno] Stop publishing release notes" 2021-03-12 15:56:42 +00:00
Zuul 2796994806 Merge "Remove references to unsupported operating systems" 2021-03-12 15:56:37 +00:00
dmitriy 444a5fd467 [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.

Depends-On: Ia88b8e606a19ad8ee20665e125df1079b0a771ff
Change-Id: I997bb15f5bdd3714df9ac42f9252d16b3a059825
2021-03-11 14:36:16 +00:00
Jonathan Rosser ee9c4f09c9 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Depends-On: Ia88b8e606a19ad8ee20665e125df1079b0a771ff
Change-Id: I1ad5aaaad5a8184d1a6aa41300bd6060fa6bc0e6
2021-03-11 14:35:48 +00:00
Jonathan Rosser 04626ad173 Switch default virtualenv to python3
Depends-On: Ia88b8e606a19ad8ee20665e125df1079b0a771ff
Change-Id: Ibaa9df812f29ee122cf252b483f607f0ba2ebea5
2021-03-11 14:35:21 +00:00
Jonathan Rosser cfd201d5c7 Move panko pip packages from constraints to requirements
This is necessary to use the new pip resolver

Change-Id: I76a21f085729373b81cff9e1d0bd9a190e1e7c18
2021-01-25 10:18:41 +00:00
Zuul d740c414c0 Merge "Updated from OpenStack Ansible Tests" 2021-01-11 13:44:33 +00:00
OpenStack Proposal Bot 8f42bece6b Updated from OpenStack Ansible Tests
Change-Id: Iaeb3d4b698c8c08cea20b59934acae1b40e53afb
2021-01-11 08:32:20 +00:00
Dmitriy Rabotyagov e1650e289e Use global service variables
Instead of overriding each service separatelly it might make
sense for deployers to define some higher level variable that
will be used first or fallback to default variable.

Change-Id: Ic2fd46eacfd67ec89f369068194494edd964a5d1
2021-01-08 18:15:39 +02:00
Zuul 518112a014 Merge "Reduce number of processes on small systems" 2020-12-01 20:18:27 +00:00
Dmitriy Rabotyagov e7c7796946 Reduce number of processes on small systems
Even the most modest 4C/8T system would run with the maximum 16 processes
due to the calculation being VCPU*2.

We devide amount of CPUs to number of threads for hyperthreaded CPUs

Change-Id: I91b62df6b54bb2e42c4b191c4a09ca4f2f854a75
2020-11-30 13:55:42 +02:00
zhoulinhui 53f57a91b6 Replace deprecated UPPER_CONSTRAINTS_FILE variable
Change-Id: I73d82381816d15548d0bfc8e3c01f3425b1701b4
2020-11-10 13:12:00 +08:00
Dmitriy Rabotyagov c2b945d1a1 Cleanup apache tasks
These tasks were added for upgrade purposes and are not
needed anymore.

Change-Id: I533b15e720fdaa366b1aae36151966780c043a40
2020-10-08 17:59:46 +03:00
OpenStack Proposal Bot 49f435a7aa Updated from OpenStack Ansible Tests
Change-Id: I6eeaa3e623da62c78d1984c7c400242b233f27d6
2020-10-07 09:21:03 +00:00
Dmitriy Rabotyagov 25a826e6a6 Define condition for the first play host one time
We use the same condition, which defines against what host some "service"
tasks should run against, several times. It's hard to keep it the same
across the role and ansible spending additional resources to evaluate
it each time, so it's simpler and better for the maintenance to set
a boolean variable which will say for all tasks, that we want to run
only against signle host, if they should run or not now.

Change-Id: I5bdf7a83d7a5809887f4a445619d87bc7e14b40b
2020-10-02 10:42:39 +00:00
Jonathan Rosser e2b691bb83 Revert "Remove CI jobs to allow db setup patch to merge"
This reverts commit a8c3c65372.

Change-Id: I205f02b08aa8b46de9a588c6ffac0ea870e991cf
2020-10-01 13:37:26 +00:00
Jonathan Rosser 3040ca268e Use the utility host for db setup tasks
Move it to the service setup host (defaults to utility[0]) instead
of the galera[0] host, and use galera_address (defaults to internal VIP)
as the endpoint instead of a local connection on the db host.

Depends-On: https://review.opendev.org/755484
Change-Id: Ic1e031510391795e0971a7fbcdfe79dc939c9bec
2020-10-01 13:37:12 +00:00
Jonathan Rosser bb55503e1f Remove CI jobs to allow db setup patch to merge
This requires patches to merge at the same time in os_panko,
os_gnocchi and os_aodh which is not possible.

Fix linter errors as linter version has been updated since this patch
was proposed

Depends-On: https://review.opendev.org/755484
Change-Id: I301a09fc94ed8f6e877f6cf9790b3d40626e859d
2020-10-01 13:36:56 +00:00
OpenStack Proposal Bot 97299c096c Updated from OpenStack Ansible Tests
Change-Id: Ic108f2ede39a439743fcf40a096b78572b2b7304
2020-08-12 11:34:53 +00:00
Dmitriy Rabotyagov 19a6d339c1 Revert CentOS 8 jobs to voting
Change-Id: Ied78e3d9a658d0aff67bd6716dfb778b9efe0ab9
2020-07-28 16:49:27 +03:00
root 52003c2162 Add centos-8 support
Renaming redhat-7.yml to redhat.yml for centos-8 support.

Change-Id: I5bc1a732cf5c7e3c94dbee613f52e0718fbe482e
2020-07-22 14:33:25 -04:00
OpenStack Proposal Bot 7b70b263d6 Updated from OpenStack Ansible Tests
Change-Id: I5430206cc18a4af4d0fb4de60910d69902e3933c
2020-06-08 19:56:39 +00:00
Zuul 13bba9a94a Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:41:58 +00:00
OpenStack Proposal Bot f8db0193cc Updated from OpenStack Ansible Tests
Change-Id: I0473f1f25357d8886e39fc38a8b92ecec02877be
2020-06-03 19:08:14 +00:00
Andreas Jaeger 7eb69a816c Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ic0976465fbbb30ab906b9648476a9a144bda9b23
2020-06-03 20:03:54 +02:00
OpenStack Release Bot df10539792 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: I12b347c01e6e0c4b22ced080170adf2cd35ef1e2
Sem-Ver: feature
2020-06-01 13:17:33 +00:00
OpenStack Proposal Bot 321e4c290a Updated from OpenStack Ansible Tests
Change-Id: I2639b51a06cd0e31bd66b89811ef4f8dd01c1ff8
2020-05-22 07:08:02 +00:00
Andreas Jaeger fa0827c16b Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I11fe422e134d4ca4599ccb629dc1979760d89bb5
2020-05-20 18:50:52 +02:00
Zuul 1d5c9626d7 Merge "[ussuri][goal] Update contributor documentation" 2020-05-16 07:50:07 +00:00
Zuul 6f9a1b8edd Merge "Updated from OpenStack Ansible Tests" 2020-05-13 17:03:02 +00:00
melissaml 3be2306707 Cleanup after repo_build and pip_install retirement
Change-Id: I7c350e86d7ae5f7eab4265e90b8e73fdac59eb7c
2020-05-13 16:39:31 +08:00
Dmitriy Rabotyagov 2533cfe856 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: If8017854d98fb0fc071d6afe23f6111da25aa8e4
2020-05-12 22:56:09 +03:00
OpenStack Proposal Bot 23910b8940 Updated from OpenStack Ansible Tests
Change-Id: I1bd3d6accb5e769ed4e780c0b9cb2d943ef90468
2020-05-12 18:04:51 +00:00
OpenStack Proposal Bot 8caeae7a71 Updated from OpenStack Ansible Tests
Change-Id: I14eec9f7a9c3c2d7bab2d7f9cd933c61acc75c93
2020-05-05 13:33:26 +00:00
melissaml b751bbe8e4 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup doc/source/conf.py to remove now obsolete content.

Change-Id: I4af66e0a6aa3a5f2091adcebd39d45bef659073e
2020-04-14 18:32:50 +08:00
OpenStack Proposal Bot d857c1fb66 Updated from OpenStack Ansible Tests
Change-Id: I2f83b662bd4280fea046a9e5bbfb4f6c8c51b7b3
2020-04-13 17:52:24 +00:00
Zuul 212b39a4b4 Merge "Trivial: Fix the pep8 warning" 2020-03-30 15:19:26 +00:00
wangqi 0f8d86c877 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Ic837b3c1b999368301f508d265244c2f4cce6933
2020-03-30 11:55:45 +01:00
Zuul 949c3ec0b9 Merge "format rst code" 2020-03-30 02:49:28 +00:00
Zuul 8ce396c572 Merge "remove unnecessary '='" 2020-03-30 02:49:17 +00:00
Guilherme Steinmüller 67fcd7723f Refactor memcached_servers
This patch aims to add a prefix for memcached_server
on each role to give the ability for deployers to
override the location of memcached cluster. I.e users
wants to create a single memcached cluster with k8s
for each service.

We also add pymemcache based on [1]

[1] https://review.opendev.org/711429

Change-Id: Ifc89958375ec860e9c75e84aadd420401336e2f6
2020-03-16 14:52:37 +00:00