Commit Graph

74 Commits

Author SHA1 Message Date
Will Szumski 37c2ab2aaa Support exposing prometheus_server externally
This avoids the need to use a proxy, or some other means, to connect to
Prometheus. This is disabled by default and can be enabled by setting
enable_prometheus_server_external to true.

Change-Id: Ia0af044ff436c2a204b357750a16ff49fcdfec45
2023-11-07 14:52:06 +00:00
Mark Goddard fc2292b230 Use jinja2.pass_context instead of contextfilter
The contextfilter decorator was deprecated in jinja2 3.0.0, and has been
dropped in 3.1.0. This results in the following warning, and failed
attempts to use filters:

    [WARNING]: Skipping plugin (filters.py) as it seems to be invalid:
    module 'jinja2' has no attribute 'contextfilter'

This change switches to use the pass_context decorator. The minimum
version of Jinja2 is raised to 3 to ensure pass_context is present.

Change-Id: I649dd6211d3ae72b9539bc44652ef8cf5d579777
2022-03-24 16:29:26 +00:00
Scott Solkhon 6bf74aa20d Support storing passwords in Hashicorp Vault
This commit adds two new cli commands to allow an operator
to read and write passwords into a configured Hashicorp Vault
KV.

Change-Id: Icf0eaf7544fcbdf7b83f697cc711446f47118a4d
2021-06-30 15:16:12 +01:00
Radosław Piliszek 234272eb64 Cleanup py27 support
Removes and/or replaces all mentions of py27.

Cleans up obsolete requirements and their lower-constraints.

Separates test-requirements.

Makes lower-constraints pass outside of CI (MarkupSafe).

Adds FIXMEs about some hacky Mocks that may misbehave.

Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
2020-04-26 12:16:44 +02:00
Mark Goddard 3f10f70840 Drop python 2 support from action plugins
These are executed on the local host where we run ansible-playbook,
and we have agreed to drop Python 2 support there.

Partially Implements: blueprint drop-py2-support
Change-Id: Id2190c3a22a56f4f048afbf0f7200daa8f41a292
2019-12-11 16:07:37 +00:00
Mark Goddard d0122fff69 Add jmespath to requirements.txt
jmespath is required for the json_query Jinja filter, which is used in
the neutron rolling upgrade playbooks.

Change-Id: I2100d757e07d8400402a8a16747e0f88ef7fc7c5
Closes-Bug: #1804242
2018-11-20 14:22:37 +00:00
wanghui 476a88052a Remove stestr from requirements.txt
The stestr requirement has been added to test-requirements.txt

Change-Id: Id68e542ebc64a8d70e230b1c6a31f1df903fca62
2018-11-06 19:13:27 +08:00
Vu Cong Tuan 47d88430ce Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I63079f352ff36dda4f3f64a8681431a319791f0e
2018-07-24 14:18:20 +07:00
OpenStack Proposal Bot 421f060947 Updated from global requirements
Change-Id: I562fd5272088d387e5d66314e352ff1d38ea0413
2018-03-17 08:35:39 +00:00
OpenStack Proposal Bot b066eb9eb8 Updated from global requirements
Change-Id: I836b0d6e915c32074d8062b5914277497ec4f444
2018-03-14 05:34:06 +00:00
OpenStack Proposal Bot 1429ddbdc6 Updated from global requirements
Change-Id: Ia9a7b76a9db4a149d9e0df16ac576ecd706df22b
2018-03-06 12:48:47 +00:00
OpenStack Proposal Bot 026a3f7865 Updated from global requirements
Change-Id: Icc36a176946f2d74cc6ec29d5279f4f3d6f3048e
2017-12-19 01:20:45 +00:00
OpenStack Proposal Bot 64a0c3a091 Updated from global requirements
Change-Id: I5eec1a3513df71b081b93440a52943d8d8686133
2017-11-29 08:58:59 +00:00
OpenStack Proposal Bot 874ca4db4c Updated from global requirements
Change-Id: Ica929fd8d3ef1972fec0daeb4ae2c00b9a9be3a0
2017-11-16 11:07:43 +00:00
OpenStack Proposal Bot 826658e7d4 Updated from global requirements
Change-Id: I05d9982f64918abc9da32ca40a25328a15f328d6
2017-11-14 03:59:51 +00:00
OpenStack Proposal Bot 0a1a6f2a1d Updated from global requirements
Change-Id: I8d097af4a75bdc4225e0df04bfbdc555d1529aae
2017-09-12 14:02:52 +00:00
OpenStack Proposal Bot 582e5235e0 Updated from global requirements
Change-Id: I87ab7673dd74d9275dc043eb556ce980d353b810
2017-09-06 03:22:47 +00:00
OpenStack Proposal Bot 96e8ab2042 Updated from global requirements
Change-Id: Ic043dcac9d9483374fbdac7287d686ba4a72fc6b
2017-07-27 05:23:28 +00:00
Jenkins 7333ae330f Merge "Upgrade from docker-py to docker" 2017-07-19 03:19:33 +00:00
OpenStack Proposal Bot 322c0733bf Updated from global requirements
Change-Id: I4fdefac7bd2cd9959bb5ffb69351bc68441f9746
2017-07-14 23:03:31 +00:00
Hongbin Lu 3daeea37ea Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.

Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/

Change-Id: Ibcd5a57a1fbf55dcc5a690e41f20917f95b63da0
2017-07-10 14:19:28 +00:00
Jenkins 1529d4e54e Merge "Use cryptography instead of pycrypto" 2017-06-19 10:44:53 +00:00
OpenStack Proposal Bot 7c3b1c8668 Updated from global requirements
Change-Id: I18803a33abeb65b4725691e2e025fe65506ab98c
2017-06-15 16:24:59 +00:00
OpenStack Proposal Bot ff1087fac1 Updated from global requirements
Change-Id: Ife8a3f6acee02c4af965a044cba2074f36223cc3
2017-06-06 01:49:08 +00:00
Rui Yuan Dou 43d42d07df Use cryptography instead of pycrypto
pycrypto is no longer maintained [1]. This patch rewrites functions
using pycrypto and replaces them with the cryptography equivalent

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html

Change-Id: I375b5876ec2f4c4f32b9f6b3f41d209a59a0f615
2017-04-24 17:30:13 +08:00
OpenStack Proposal Bot a148895098 Updated from global requirements
Change-Id: Ibb7a51e736de2a7d1a711b08c253292ea04eb071
2017-04-15 17:43:22 +00:00
Bertrand Lallau d72b19eee2 Cleanup requirements.txt file
- pycrypto: added for nova-ssh container
- gitdb and GitPython: ability to make tarballs from Git clones

All of them have been moved to Kolla project.

Change-Id: Icd7e66cea441bd5165dc2ffe748f01b479effc17
2017-03-22 16:17:38 +01:00
OpenStack Proposal Bot 43965ea0dd Updated from global requirements
Change-Id: If1a7aa67c83bafcef036ee4d34c6aef541739e61
2017-03-22 12:17:38 +00:00
OpenStack Proposal Bot d5017bda22 Updated from global requirements
Change-Id: I79a1a89ce4e1aee56d076bd796cce29517ebf3d8
2017-03-14 11:20:00 +00:00
OpenStack Proposal Bot 3172a2ccf5 Updated from global requirements
Change-Id: I275f2ec2ad608c2d71fefd330a4585c15d5265b3
2017-03-08 23:24:28 +00:00
OpenStack Proposal Bot 52588d34d0 Updated from global requirements
Change-Id: If66146987a6316917e54e99fcefa6ec3f3884d2f
2017-03-02 17:44:00 +00:00
OpenStack Proposal Bot 1e42095189 Updated from global requirements
Change-Id: Ic0c7362dcea143e6ace440a797295bc29936cc7c
2017-02-24 00:09:02 +00:00
OpenStack Proposal Bot e6b235e1c7 Updated from global requirements
Change-Id: I5b3ff286dfbd3b494d8d61219f90de00c06992b7
2017-01-13 18:44:26 +00:00
OpenStack Proposal Bot eecd54aa49 Updated from global requirements
Change-Id: I63139521c09dada7b64af05a8ac00596154f8c4e
2016-12-21 15:23:51 +00:00
David Moreau-Simard 1b69ae9023 Add PyYAML to requirements.txt, dependency of genpwd
PyYAML is a dependency of the genpwd command.
Not listing it as an explicit requirement leads to import failures
when running kolla-ansible out of a fresh virtual environment.

Change-Id: I4fcac09f94f9503c4fcb308db27f94d6db655b06
Closes-Bug: #1650399
2016-12-15 17:22:31 -05:00
Jenkins 8b8d10848f Merge "use uuidutils instead of uuid.uuid4()" 2016-11-29 08:40:51 +00:00
Surya Prakash Singh 1429198139 use uuidutils instead of uuid.uuid4()
Closes-Bug: #1082248
Change-Id: I9e52619a6805fa58ffdb396b76a6ca99e2376a7d
2016-11-23 20:36:55 +05:30
OpenStack Proposal Bot 471aa8b2fb Updated from global requirements
Change-Id: Ia1befbc1e3bd54ba4dcc3655d39c4a5445782bbf
2016-11-23 09:16:17 +00:00
OpenStack Proposal Bot 2f50beb452 Updated from global requirements
Change-Id: Ide3d614c0afd45fd029c229a37e235278c724a83
2016-11-10 10:15:50 +00:00
OpenStack Proposal Bot 198e8d2d6f Updated from global requirements
Change-Id: Iabb29ce10b346d7ef24747e957d701d80b64468d
2016-10-27 12:15:09 +00:00
Jenkins 77ab69cead Merge "Move graphviz dependency to test stage" 2016-10-19 12:20:46 +00:00
Jeffrey Zhang c0fd4389c6 Move graphviz dependency to test stage
Graphviz is only helpful and used for developer. It is useless for
deployment. So move it to test-requirements.txt file and warning users
when he wants to save dependency feature.

TrivialFix

Change-Id: Id8de76baa6f1455ad032abe4738d9779cf0cc5a6
2016-10-13 02:14:31 +08:00
OpenStack Proposal Bot a6ec0af4e1 Updated from global requirements
Change-Id: I1ee817b23e40e0c1d14fdcfc441b28516b4d480a
2016-10-12 16:26:40 +00:00
Christian Berendt a286be1966 Add netaddr to requirements file
netaddr is required by the ipaddr filter used in
ansible/roles/prechecks/tasks/port_checks.yml.

Change-Id: I766d87949553fb46ef2c0480e7706ee1ef2d26d0
Closes-bug: #1631921
2016-10-10 13:25:45 +02:00
OpenStack Proposal Bot 6f3d8aa242 Updated from global requirements
Change-Id: Ia6cc6c3d60c861e1051a6b4204d8d9ba962f08aa
2016-09-09 10:19:39 +00:00
Christian Berendt 4b69671a49 Improve script to check used source versions
* rename version_check.py to version-check.py
* move requirement beautifulsoup4 from requirements to test-requirements
* add new requirement PrettyTable to test-requirements
* add debug logging messages (can be enabled with --debug parameter)
* add support to load configured versions from a kolla-build.conf
  file (can be used with --config-file parameter)
* use PrettyTable to print out a nice result table

---snip---
+---------+-----------------+----------------+------------------...
| Project | Current version | Latest version | Comparing changes...
+---------+-----------------+----------------+------------------...
| aodh    | 2.0.3           | 2.0.4          | https://github.co...
| cinder  | 8.0.0           | 8.1.0          | https://github.co...
| ironic  | 5.1.1           | 5.1.2          | https://github.co...
| murano  | 2.0.0           | 2.0.1          | https://github.co...
| nova    | 13.1.0          | 13.1.1         | https://github.co...
+---------+-----------------+----------------+------------------...
---snap---

TrivialFix

Change-Id: I5b5d3db34396b2fc95714273612563ea14e78cf8
2016-09-06 09:11:40 +02:00
OpenStack Proposal Bot dee6f4f10c Updated from global requirements
Change-Id: I492ce6c1add8001f5efdef2c6cd99299807b4755
2016-08-04 02:36:01 +00:00
OpenStack Proposal Bot d4c0eecbd1 Updated from global requirements
Change-Id: Ibf2ba6e78edc9800185a983cf4d974b022914a51
2016-07-09 03:11:47 +00:00
OpenStack Proposal Bot 379de151b2 Updated from global requirements
Change-Id: I9b0fc0ebb2afd2afd958bfee4588ca45c889626c
2016-07-04 17:23:14 +00:00
OpenStack Proposal Bot 6994bb943a Updated from global requirements
Change-Id: I7742cbd0797d7a3773de004c61aacf5b4397c614
2016-06-03 18:13:44 +00:00