125 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
3b8e5a18d8 Cleanup after repo_build and pip_install retirement
Change-Id: Ieea08d0aa195a3b5184335ef6051aa8f487a7c66
2020-05-12 23:27:56 +03:00
Zuul
d4e7e8c498 Merge "[ussuri][goal] Updates for python 2.7 drop" 2020-05-12 10:44:36 +00:00
OpenStack Proposal Bot
92a672685d Updated from OpenStack Ansible Tests
Change-Id: I9441de994aae787fd360b63960e929ad950a2578
2020-05-05 13:34:15 +00:00
Zuul
cccfd3bbae Merge "Cleanup py27 support" 2020-04-14 23:15:03 +00:00
Andreas Jaeger
102cb9d0f8 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.
- Move basepython to testenv, to use it everywhere in tox.ini.

Change-Id: I1f06b471e1a1ce1570862b281bdff82d27c6d381
2020-04-13 20:07:16 +02:00
OpenStack Proposal Bot
a273e87c3b Updated from OpenStack Ansible Tests
Change-Id: I159f83f9e946d93292b4641daddc9345d101f7cd
2020-04-13 17:54:29 +00:00
Dmitriy Rabotyagov
a240a29b80 Drop commented out values from configs
To make configs more readable it's worth dropping out commented out
lines. Also some issues in configs has been fixed.

Change-Id: I1d2316fbe9ae0c74b9d516d3a143c7a58ff59365
2020-03-26 21:11:29 +02:00
Dmitriy Rabotyagov
7ee1939c1c 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] and fix zun-docker
systemd config.

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

Change-Id: Ic7b31506177ebb0f4f24eaff4db134aace5c0b1a
2020-03-25 22:26:05 +02:00
Ghanshyam Mann
e2ee23a7b0 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

Only update required is in tox to define common baspython as py3 os that
all tox env including [testenv:functional] will use py3 instead of py2.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I238a0342269ce3e71050594425ed2c5876ce9b54
2020-03-01 19:23:42 -06:00
jacky06
399db8a94e tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the unnecessary blank line for tox.ini

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Depends-On: Ie837d376bb1a1d93367369d25140dd8a9d5ac14e
Change-Id: I91d9104335ca7d432966b5c19f27dead6f8f57f1
2019-12-21 06:26:51 +00:00
OpenStack Proposal Bot
98b10b474f Updated from OpenStack Ansible Tests
Change-Id: I92a18673d48908c104de4be04635552641188eb6
2019-11-21 16:36:29 +00:00
Dmitriy Rabotyagov
f006a0c00a Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.
Also we change upper constraints url due to [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Depends-On: https://review.opendev.org/693841/
Change-Id: I0675fb5e77171a1456c08ef4d6bfe0b0d949bbf6
2019-11-14 19:09:18 +02:00
Dmitriy Rabotyagov
bc39aac81b Start using uWSGI role
Move service to use uWSGI role instead of internal python daemon.
This aims to unify deployments by using uwsgi for all services
api which support using them as wsgi applications.

Depends-On: https://review.opendev.org/693528
Change-Id: I69044a13106f16bbbef8ae83e79a08aa127a7d2a
2019-11-08 16:36:56 +02:00
Zuul
b64e106916 Merge "PDF Documentation Build tox target" 2019-11-07 23:57:04 +00:00
Zuul
7d4688b225 Merge "Update master for stable/train" 2019-11-07 23:46:14 +00:00
Zuul
3d7e2679fd Merge "Allow venv python interpreter to be overridden" 2019-11-07 23:46:13 +00:00
OpenStack Proposal Bot
f365d731d4 Updated from OpenStack Ansible Tests
Change-Id: I3a3c7bbccba4ebb9c176081e1f71e7d44d606fa5
2019-11-07 16:01:18 +00:00
c526498354 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: Iddd3f069e9a52364b6d9b9697d080b03920f573a
Sem-Ver: feature
2019-11-07 16:00:46 +00:00
Dmitriy Rabotyagov
c462c02e38 PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Change-Id: I43fb85532d1bbf0316a10664116a3bbbd9fdc66a
Story: 2006105
2019-11-07 15:01:00 +00:00
Jonathan Rosser
5425851cf3 Allow venv python interpreter to be overridden
Change-Id: Idf31f0a3cda2932ba041defef803ac66c88a2e8e
2019-11-07 14:59:14 +00:00
Dmitriy Rabotyagov
7cb2d444c0 Add uwsgi role into local a-r-r and test placement
Change-Id: I2efc775d7e38019eb39ca85b6135b8506fc76c52
2019-11-07 16:57:10 +02:00
OpenStack Proposal Bot
0f95ff232f Updated from OpenStack Ansible Tests
Change-Id: I4bd36131ea9a85cd467e57529861be05b2508ea6
2019-09-04 15:20:07 +00:00
OpenStack Proposal Bot
f931766200 Updated from OpenStack Ansible Tests
Change-Id: I229cb5c8aa71af417eb1cd0786155972dba152ed
2019-08-20 03:07:10 +00:00
Dmitriy Rabotyagov
54c580ced0 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: I8c9d80b5396ef486f1fd70857b0d8ebbffdf87a6
2019-08-08 14:32:18 +03:00
OpenStack Proposal Bot
ed5ece944a Updated from OpenStack Ansible Tests
Change-Id: Ib640ec1c12cdde8bd805d3af76a54bab89fa4660
2019-07-30 19:45:10 +00:00
Zuul
b6aaa3dbfe Merge "Fix docs linking and naming" 2019-07-27 20:43:26 +00:00
Dmitriy Rabotyagov
072394923b Fix docs linking and naming
Patch fixes titles for doc files and resolves naming problems

Change-Id: I7ceca25d48801c79348e23ca7c8a65db0a6daf4e
2019-07-23 13:04:17 +03:00
OpenStack Proposal Bot
a84033d2b1 Updated from OpenStack Ansible Tests
Change-Id: I6e15015e4309faba218e96e79b8226b77e36f36f
2019-07-20 09:39:27 +00:00
OpenStack Proposal Bot
9b79a32225 Updated from OpenStack Ansible Tests
Change-Id: I784d69e28fb046fdb407a1af2c6d62e5af1bd1e8
2019-07-18 22:20:28 +00:00
Dmitriy Rabotyagov
0839ec0935 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: Id466ac20d9d18fa86a4615a73433a51720bafc8e
2019-07-17 20:32:48 +03:00
Zuul
4329f2f3e5 Merge "Updated from OpenStack Ansible Tests" 2019-07-15 21:27:51 +00:00
Zuul
51e23044e6 Merge "Switch to the new canonical constraints URL on master" 2019-07-02 13:46:16 +00:00
Zuul
b57ffd43b9 Merge "Convert dynamic includes to static imports" 2019-06-28 13:16:56 +00:00
chenke
3551a3afbb Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: If1c35513a02a4162db05fcea5a68d643c2c21e83
2019-06-28 09:44:23 +08:00
Zuul
63602bfdfd Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-06-27 22:54:03 +00:00
OpenStack Proposal Bot
2e07702b34 Updated from OpenStack Ansible Tests
Change-Id: I1db75e2e7cb4b9656cdde2c1f4b8f8c472291081
2019-06-27 10:23:46 +00:00
Dmitriy Rabotjagov
373e2d3042 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: I7c4c7e6887cc756998ce028355402705a45e18ed
2019-06-24 19:26:20 +00:00
Dmitriy Rabotjagov
0475d4218e 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.

Additionally enabling extras repo for centos, since it's not
enabled by default but required by docker

Change-Id: I441feb4b74b72002af0284137e6025821024979e
2019-06-24 21:16:21 +03:00
xuanyandong
4d906711ec Cap sphinx for py2 to match global requirements
Change-Id: I173086cfe2165c1696dfe660e9a2160c8dadb135
2019-05-17 18:13:36 +08:00
OpenStack Proposal Bot
d7a91ed14a Updated from OpenStack Ansible Tests
Change-Id: I2c70a99d005eb4d7879de0105c924393f01b6288
2019-05-09 11:35:47 +00:00
melissaml
5123fcda0f Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ib975a6d7e81bad87bc7025b0e682081ceeff8da1
2019-05-06 19:30:47 +08:00
OpenStack Proposal Bot
41ac6d0509 Updated from OpenStack Ansible Tests
Change-Id: I8eb7eb4f7a9ceed21401318e3395fe4450db13b6
2019-04-22 07:16:44 +00:00
OpenDev Sysadmins
070f0d48be 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:40:43 +00:00
OpenStack Proposal Bot
cb1f62e253 Updated from OpenStack Ansible Tests
Change-Id: I3b745a3695f0498681b3c88ea3281699608c0aa5
2019-04-17 19:12:29 +00:00
OpenStack Proposal Bot
229a850c47 Updated from OpenStack Ansible Tests
Change-Id: I90f974021ef08c390ae59ffa2f123a747051bc9d
2019-04-17 07:26:12 +00:00
OpenStack Proposal Bot
3814184679 Updated from OpenStack Ansible Tests
Change-Id: Iceb19e0b004ec00669fd6a3fbf98c09e4d42f4ac
2019-04-13 20:24:10 +00:00
Guilherme Steinmüller
98701abb97 debian: add support
This patch updates the meta to reflect it's support
of Debian accordingly as well as rename ubuntu vars
file to debian.

We also add in vars/debian the correspondent docker-ce
uri and gpg_uri.

Change-Id: Icf91eee6e369d9a6a95dd0c8772c2760eaff5bd2
2019-04-11 00:37:05 +00:00
4a0586667d 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: I682f901c63d88f3094d707c960cc2cd1468a150e
Sem-Ver: feature
2019-04-08 09:22:31 +00:00
Mohammed Naser
dc80f6a2a2 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: I987f90aee31434ef79e960c449cfab576503c08b
2019-04-04 04:52:45 +00:00
OpenStack Proposal Bot
9e7c673605 Updated from OpenStack Ansible Tests
Change-Id: Ifd9b23af12f4a56309ac9f8d30dd0737ddf1b157
2019-04-01 13:19:37 +00:00