Commit Graph

349 Commits

Author SHA1 Message Date
Ghanshyam Mann db03a1c4f5 Moving IRC network reference to OFTC
Change-Id: I031cd649e431a80d1b5cfdd40547f42896569bd3
2021-07-08 18:42:07 -05:00
Martin Chacon Piza 91022f3e80 Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content

Change-Id: Ie446c1cd447789d189a9e723fff9ee783dd3cf4f
2021-02-22 14:57:15 +01:00
Hervé Beraud f73bff83cb Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I781b979d11c3b974701ae38574899e6160fdc6bb
2020-06-15 15:32:36 +02:00
Zuul 6763cd6e19 Merge "Change repository links usage in Dockerfile and build image" 2020-06-03 21:30:08 +00:00
Sean McGinnis b3e4ac9554 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I9f7227ec5ed4d84efd36d87fec7f0536276fc151
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-28 12:33:21 +02:00
Zuul 8a66b89e0f Merge "Cleanup py27 support" 2020-05-27 09:40:51 +00:00
Andreas Jaeger d2f2144ebb Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Use sphinx-build everywhere
- Remove py27 testing, use victoria jobs template
- Set ignore_basepython_conflict in tox.ini

Change-Id: I8067cc94f5a8d29c836771173399f3ce71897ad8
2020-05-27 09:06:04 +02:00
Andreas Jaeger 08739b0377 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Remove hacking and friends from lower-constraints, they are not needed
there.

Change-Id: I7614df314c211dc3acca2e3e8cb647bddddd6c16
2020-05-26 20:18:43 +00:00
Zuul fc3c885e3e Merge "Switch to newer openstackdocstheme and reno versions" 2020-05-26 19:10:46 +00:00
Witek Bedyk 95c7774a6d Update nodejs and npm packages
Update nodejs from 8.10.0 to 10.17.0
Update npm from 3.5.4 to 6.11.3

Configure Monasca tempest plugin to use the correct Kibana version.

This is a partial port of https://review.opendev.org/727195

Depends-On: https://review.opendev.org/730637
Change-Id: Id93ee30bcd803e7a48074da67b9538496e7d1063
Story: 2003881
Task: 38494
2020-05-25 18:00:57 +02:00
Andreas Jaeger a8d2c2e2da Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

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.

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: Id0886a73e1bd1c8a30dd7d1f50af7c7eab90d916
2020-05-22 16:30:30 +02:00
Witek Bedyk 4eccad156f Deprecate monasca-log-api
Change-Id: I2437729bd1840b7943b0883574344404827a50ea
Story: 2003881
Task: 38493
2020-05-22 10:27:17 +00:00
Adrian Czarnecki e4ad4bfff3 Replace deprecated log api test with up-to-date version
This version use only monasca devstack plugin with option to install old log api.

Remove python2 tempest test.

Depends-On: https://review.opendev.org/#/c/718512/
Change-Id: Ie21a34260ad16dcdd1592762da2942c6eeeccfae
2020-05-18 15:39:15 +00:00
Martin Chacon Piza bf5a1a7adc Migrate from ujson to simplejson
The change updates the imports to use simplejson instead of ujson and
monasca_log_api.common.rest instead of monasca_common.rest

Temporarily set monascalog-python3-tempest as voting false

This is an alternative to this change
https://review.opendev.org/#/c/724658/

Change-Id: Iae94376b38cae8a1eb8aa6a704fc2ca5d383adaf
Story: 2007549
Task: 39601
2020-05-12 11:53:33 +02:00
Dobroslaw Zybort a91f77617e Change repository links usage in Dockerfile and build image
Used to be: git.openstack.org/openstack/monasca-persister?h=stable/pike
Now : releases.openstack.org/constraints/upper/pike

Since the way links to specific branches changed, usage of
those links has to be changed as well.
CONSTRAINTS_BRANCH variable was removed because CONSTRAINTS_FILE
contains link to the upper-requirements file with specified branch.

Change-Id: Ic67b2b30906768fa6249d10ed2c7e8037df0f544
Story: 2005666
Task: 30971
2020-05-08 09:16:56 +02:00
Zuul 0b5ea44874 Merge "Change Grafana dashboards initialization" 2019-12-02 10:29:02 +00:00
arseni.lipinski eed43d0233 Change Grafana dashboards initialization
The change was made due to plugin trying to install grafana dashboards
using python2 instead of python3.

Change-Id: I305b2930470b259b8abc6e28580f036862b454b9
2019-11-28 14:42:13 +01:00
Ghanshyam Mann 98f8469157 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-log-api is ready with python 3 and ok to drop the
python 2.7 support.

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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I3909027440b3af91d5c4fb964e862dedceaa6bed
2019-11-16 14:23:06 +00:00
OpenStack Release Bot 673087bad1 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: I666c87c8e53432ce6dd0f55157a6070e096a95d8
Sem-Ver: feature
2019-09-25 09:14:39 +00:00
Zuul 7977a03339 Merge "Add Python 3 Train unit tests" 2019-07-29 10:23:06 +00:00
pengyuesheng d64ab32105 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I091a3f6b611803d53170928cf2b77e3c691c68ce
2019-07-26 15:24:53 +08:00
Zuul 0fdd8a3fc9 Merge "Return valid url when querying versions endpoint" 2019-07-25 15:54:09 +00:00
Bharat Kunwar 2f2593fcce Return valid url when querying versions endpoint
Use rpartition instead of replace to do a more targeted stripping of
path to render a correct base_uri.

Change-Id: Idc2a5a6bd0e9e2675883f2188d4856b01ba5fdb8
Story: 2006147
Task: 35643
2019-07-25 14:42:40 +01:00
Andreas Jaeger deb5ae0a6d Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I7b93ead6885bf7f2a71b982f2fb215456f178ec5
2019-07-22 18:50:59 +02:00
Corey Bryant 4de81f8eff Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Id18ba326da128998d7deb25e305fe2a2150a9f6f
Story: #2005924
Task: #34223
2019-07-05 13:09:04 -04:00
Zuul d85bc00492 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-07-01 15:10:53 +00:00
Adrian Czarnecki 5b73565afa Remove unused log v2 endpoints
Log v2 api is deprecated and should not be used.

Change-Id: I4c00809fd91de8266284dfb843c5af17c786373e
2019-06-27 14:17:21 +02:00
zhulingjie 55e7a787a7 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I4edf3307be5a2d668306efa33c0ab55f6867d8a6
2019-06-26 13:40:04 +00:00
Adrian Czarnecki 29e25e6e29 Add support for using Falcon 2.0.0
Falcon 2.0.0 introduces some breaking changes. The relevant ones here are:

- falcon.testing.TestCase.api property was removed
- falcon.testing.TestBase class was removed
- falcon.HTTPRequestEntityTooLarge exception was renamed to
 falcon.HTTPPayloadTooLarge

Additionally, the default behaviour for handling trailing slashes on
URIs also changed:

https://falcon.readthedocs.io/en/latest/user/faq.html#how-does-falcon-
handle-a-trailing-slash-in-the-request-path

This commit adds support for using the new release.

Story: 2005695
Task: 33474

Change-Id: I2379522efef81b919098a0143b66cc259a184e70
2019-06-10 13:45:57 +02:00
OpenDev Sysadmins 21736bb927 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:27:27 +00:00
Zuul 345b5487cf Merge "Push Docker image to Docker Hub" 2019-04-17 14:08:28 +00:00
Ghanshyam Mann a8402b4ef5 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I036824344601821624f674f05edb6842b1b1baf3
2019-04-15 18:14:14 +00:00
Dobroslaw Zybort 15a9dc08aa Push Docker image to Docker Hub
Story: 2001694
Task: 30516

Change-Id: I9d84699c0bc668b0fa063fe04ac7bcbecd04c0d2
2019-04-15 15:26:53 +02:00
Dobroslaw Zybort 3c79ce57c6 Use proper naming for docker service image zuul job
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: I4a509b60f6a294f6766796ba3bf6c4230485de99
Depends-On: https://review.openstack.org/#/c/650011
2019-04-09 10:56:07 +02:00
OpenStack Release Bot 32aaf1122b 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: I37076d2ba5d4c2d0420f54864398c169c39ca024
Sem-Ver: feature
2019-04-01 12:52:50 +00:00
Ian Wienand ea3f5b4beb Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I95cf79aa121b36ff559c21759e91b83be0cbecfe
2019-03-24 20:34:15 +00:00
Dobroslaw Zybort 9fd973e497 Use global job for building docker image
Change-Id: I4a2a3b28ed2aa7f227706153ac94f1de25e2609a
Story: 2001694
Task: 23213
2019-02-18 11:16:47 +01:00
Thomas Bechtold 5c2ebbed54 Use monasca-log-api.conf for doc, devstack and docker
api-log.conf is the deprecated path for the configuration file. The
new path is /etc/monasca/monasca-log-api.conf .
So use this new path in devstack, documentation and docker.

Change-Id: I2208b7e27d3dbec38290ffb8ba66bc64a5129744
Story: 2004831
Task: 29024
2019-02-05 06:31:28 +01:00
Thomas Bechtold d8f53e80c8 Replace log-api.conf with monasca-log-api.conf
log-api.conf is the deprecated path for the configuration file. The
new path is /etc/monasca/monasca-log-api.conf .

Change-Id: Ib58d926c1551a6eade66127b7d05a16a311f87f0
Story: 2004831
Task: 29023
2019-01-22 07:06:14 +01:00
Thomas Bechtold c6d28fe2bf devstack: Use 2.4.6 as elasticsearch version
Update to the latest available 2.4.x version.

Change-Id: I3ffdcc8e2a6bfc9d390ac0e59c93d0b8d4f3cfd9
2019-01-21 12:25:31 +01:00
Adrian Czarnecki e07786bfa5 Add python3 tempest tests
Change-Id: Idba7e5b843b761f9984b241b1bf413a14eb28942
2019-01-03 08:52:48 +00:00
Zuul 397a25f1d8 Merge "Migrate DevStack plugin to Ubuntu Bionic" 2018-12-18 09:17:55 +00:00
Zuul 95f97dfbf1 Merge "Run init_agent only when agent is installed" 2018-12-10 14:15:06 +00:00
Zuul fe48d1a255 Merge "Update links in README" 2018-12-10 12:32:07 +00:00
Adrian Czarnecki 30de0514a6 Run init_agent only when agent is installed
Change-Id: Id6c608c6627d87aac8e9d9c888242b0fdbf4127b
2018-12-10 13:20:50 +01:00
melissaml bec512b59e Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I37729b5a9f44302cc149340b3c174e98a04062ac
2018-12-05 01:56:13 +08:00
Witold Bedyk db7388bd48 Upgrade Logstash Monasca output plugin
This change also installs the Monasca output plugin from RubyGems
instead of local gem file.

Change-Id: I828fddf75990e4b6841a33fcb16a8ccc664df3f6
Story: 2004514
Task: 28242
2018-12-03 16:38:19 +01:00
Witold Bedyk 53b8b96494 Migrate DevStack plugin to Ubuntu Bionic
We want to migrate to the latest Ubuntu LTS release 18.04 aka Bionic.
See [0] for the big picture.

This change installs Node.js from Ubuntu packages.

[0] https://etherpad.openstack.org/p/devstack-bionic

Story: 2004474
Task: 28175
Change-Id: I38c6c239597f58fb871171f7e25ac99edf8bf91b
Depends-On: https://review.openstack.org/618169
Depends-On: https://review.openstack.org/619572
2018-11-30 13:26:35 +01:00
Zuul 8523586d41 Merge "Add grafana dashboards" 2018-11-28 13:54:13 +00:00
zreigz 29a6e8f118 Add grafana dashboards
Change-Id: Ie8446cd863bdf1befb41f6324ef9b36ef9d37ea2
Story: 2003623
Task: 25752
2018-11-23 12:40:52 +01:00