Commit Graph

42 Commits

Author SHA1 Message Date
Ghanshyam Mann d58ee7fb08 Retire openstack-health
openstack-health is QA repo and service to know the
job/test success/failure rate. But for a long (more than
a year), this code is broken. We do not have any maintainer
in QA to fix and maintain it. As it is broken, QA and infra team
agree to stop the service

- http://status.openstack.org/openstack-health/#/

In QA zed PTG, we decided to retire the repo also

- https://etherpad.opendev.org/p/qa-zed-ptg

Needed-By: https://review.opendev.org/c/openstack/governance/+/836706
Change-Id: Ie15aa8e469b0bb3aff47dcad422c0676fea640d2
2022-04-05 18:47:38 -05:00
Ghanshyam Mann 1abd0617a3 Fix followup comment from review 768227
Change-Id: I589b8443ed2584f05bbd2f6c94a891a16b22c9a1
2020-12-23 13:45:46 -06:00
Ghanshyam Mann b91c0054e4 Move openstack-health-nodejs10-run-test-browser to Firefox
openstack-health-nodejs10-run-test-browser job started failing on
chrome browser
- https://bugs.launchpad.net/stackviz/+bug/1909021

Horizon and its plugins also moved the nodejs browser jobs to
firefox now, let's move openstack-health jobs to firefox.

Closes-Bug: #1909021
Change-Id: I06476189c17323101b4904c3da52248ce04bfb83
2020-12-22 23:33:59 +00:00
wangqian c42c009975
Modify README.rst and tox.ini
Replace openstack.org URLs with opendev.org URLs

Change-Id: Iad34d786d182729cc9d7acd5fc51fbe8624140c3
2019-06-07 16:56:09 +09:00
mccasland, trevor (tm2086) b942859fcf update test section about requiring chromium
when running npm test and npm run unit without the chromium-browser
package installed, the tests fail to run[1]. This commit aims to make
the requirement for this package clear to testers.

[1] http://paste.openstack.org/show/727761/
Change-Id: I5685af1160321378829df27f31c0da1724d263ab
2018-08-10 15:11:26 +00:00
Flavio Percoco d78525592b Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/7b03f05a7697b44b99ce883fce1e4be9\n'

Change-Id: Ifdf0cb971f491acf95ff2b194ca4aa9cf32a2c39
2016-11-25 13:43:07 +01:00
Yushiro FURUKAWA 2c415ddce1 Add prefix "$" for command examples
Change-Id: I56f3bd67c46fbf2ec3ddc48c499c9706ea75898e
2016-09-30 21:52:51 +09:00
Masayuki Igawa 68407b0806 Fix typos in README and comments
This commit fixes typos in README and comments.

Change-Id: I8236c1c21ec7ae8fbd8f5c8f9ecad31fb9250e32
2016-06-03 15:10:11 +09:00
Matthew Treinish d5a542cc6e
Add DBM cache backend that uses memcached locking
This commit adds a new dogpile.cache backend that uses the memcached
distributed locking mechanism to enable async workers but still uses
the dbm file storage. This should enable us to cache large JSON blobs
without worrying about the memacached size constraints, but at the
same time reap the benefits of having an async worker update the
cache in the background. The tradeoff here is configuration complexity
because you still need to install memcached to leverage this.

Change-Id: Ied241ca1762c62a047bd366d7bd105028a884f30
2016-06-02 13:34:16 -04:00
Jenkins d0d3369965 Merge "Fix docs warning and error" 2016-06-01 05:03:36 +00:00
Masayuki Igawa cc75b48162 Fix docs warning and error
This commit fixes a docs warning and error.

README.rst:154: WARNING: malformed hyperlink target.
README.rst:149: ERROR: Unknown target name:
"dogpile.cache.api.cachebackend".

Change-Id: I7e5e4f992ece1893fba5d9c90e470c73b9f743fc
2016-05-27 17:19:55 +09:00
Matthew Treinish a839a02be1
Update dogpile cache with an async worker
This commit changes how we refresh our cache from doing it directly on
stale requests to do it async in the background with a worker thread.
This leverages dogpile.cache's async_creation_runner mechanism to start
a background thread when the cache goes stale that will update the cache
while still returning the cached copy in them meantime.

To enable this you need to use a dogpile.cache backend that supports
using a distributed_lock. This does not include the default dbm backend,
using a memcached based backend, like dogpile.cache.pylibmc, is
recommended for enabling this functionality.

Change-Id: I0fd29839c72ca2fdfb4c4724bb3da7e283e3d27d
2016-05-25 16:50:43 -04:00
Matthew Treinish 2a7d55ce8c
Update the deployment docs
This commit updates the deployment docs with missing sections on
configuring the DB access and the RSS configuration. With this all
the options in the configuration file should be documented now. We
should strive to keep the readme up to date as we add additional
configuration options.

Change-Id: Ifb4d6ad1f9adacbd5a3ab483d8d23063ba815c7b
2016-05-20 11:09:18 -04:00
Matthew Treinish 1b1b3af054
Add elastic-recheck data querying
This commit is the start of adding support for elastic-recheck data
to openstack-health. This will get the bug numbers for the recent
failed runs it's looking at. To actually use this feature it requires
having elastic-recheck installed and a new api config option for the
location on disk of the query files. This does add some install time
complexity especially as eleastic-recheck is only available via git.
The elastic recheck support is optional and will only be activated if
it is present at import time and the config flag telling the api
server where the queries are located on disk is set.

In order to make the response times reasonable when elastic-recheck
support is enabled dogpile caching is used to keep a cached copy
of the recent results list and limit the amount we're querying
elastic search. By default this is configured to use a dbm file
and refresh the cache every 30mins.

Depends-On: Icf203668690419c38f6d6be6b6fe4af8462845f3
Change-Id: Iccd9ec6d62e2249ec7c09d42ec02ea27c71144cc
2016-05-20 10:25:16 -04:00
Masayuki Igawa bca59b21e0 Fix resource links indents in README.rst
This commit removes resource links indents to avoid rendering as a
blockquote in README.rst.

Change-Id: I5d2e1025280135fbaf36cf568827072414259f1d
2016-03-25 15:14:29 +09:00
Masayuki Igawa 2056130df6 Add o-h links to README.rst
This commit adds launchpad and repo links to provide better information
to new comers.

Change-Id: If07df7a1e7689efec15e986a92d4241b5dc00d4e
2016-03-15 22:03:39 +00:00
Masayuki Igawa 6ee9d175f6 Fix description of running e2e tests in README.rst
This commit fixes the description to run only end-to-end tests. The
previous description "npm run e2e" doesn't work with "missing script:
e2e" error.

Change-Id: I3012b926bae3063ab4da5870a4ff37ef4c11fb78
2016-01-26 00:34:34 +00:00
Masayuki Igawa d0d25fe434 Fix typos in README and comment
This commit just fixes typos in the README and code comments.

Change-Id: Ic9c4f2de4f37be8b20d5c14fadfd078b0c26cbf2
2016-01-19 11:19:11 +09:00
Jenkins 91170d4b11 Merge "Enable coverage reporting." 2015-12-03 20:47:20 +00:00
Masayuki Igawa a1b654fd09 Fix api command name
This commit fixes the api command name in README.rst.

Change-Id: I4d1274493bf305ecd47c141aaee41c89d7f26120
2015-12-01 16:05:17 +09:00
Tim Buckley 03258a61c2 Enable coverage reporting.
This patch enables code coverage reporting during unit tests via
the `karma-coverage` plugin, and writes them in HTML form to the
`cover` directory where they can be collected as part of the test
job output.

Change-Id: Ic280664eaf5d5f85acfaeb3f54b314129e9ed786
2015-11-16 13:44:54 -07:00
Anderson Mesquita d89a6de57b Include rapid test instructions on README
This adds info on how to keep karma server running and watching for file
changes.

Change-Id: I67fca1ab0936297b4d37ce8484eb4db2730c9b1a
Co-Authored-By: Caio Carrara <ccarrara@thoughtworks.com>
2015-11-11 12:09:37 -02:00
Anderson Mesquita 124a739ce1 Normalize pre-formatted text on README
This removes initial ``$`` from code lines as most of them didn't have
the dollar sign already (plus it makes it annoying to copy/paste
commands) and normalizes indentation to 4 spaces (again, as most of them
were already formated as such).

Change-Id: I7b77a1fd20134fa5d23a448a17629621ae0a6b05
2015-11-10 10:44:51 -02:00
Anderson Mesquita 0a07d60b66 Update README development usage notes
Plain installing the python package is cumbersome if you're doing any
development as new changes will not be picked up. This updates it to
also mention installing the package in development mode.

Change-Id: I48a402c0c4a98401144cb9cf445aff0a9105d169
2015-11-10 10:44:45 -02:00
Daryl Walleck f4cdb19970 Fixed markdown formatting issue for OSX install instructions
There needed to be an extra blank line after the description
for the commands to be formatted correctly.

Change-Id: Ic7f05d1b63ca1997ff0e96d11455c8cb08883c7f
2015-11-04 14:33:24 -06:00
Dhiana Deva 04ad7884c1 Adds testing instructions at README
Change-Id: I67218334430c34a739fd8de4e60115554d1e976a
2015-10-26 17:05:16 -02:00
Masayuki Igawa 2162a6dfd8 Fix typo in README.rst
Change-Id: Iff44c3296f551e26a8c56b0e97249f974bdb74e4
2015-10-22 23:37:12 +09:00
Michael Krotscheck 475471568a Updated README to include OSX instructions.
This adds homebrew-based instructions for running on OSX.

Change-Id: If430257b5c38896803145cd88be2e2a7c8b75072
2015-10-07 16:35:07 +00:00
David Lyle efb490cac9 Updating README to work for dev
Adding more detailed instructions to get the dev environment working.

Ideally upgrading the node version would be included, but that can
be added later. This will work.

Change-Id: I89c11a57e2191a0d302ac905b90d30ead85bfb4a
2015-10-07 09:21:15 -07:00
Matthew Treinish 5ac0e82075
Enable running under wsgi container
When running the rest api under wsgi container you need to pass the
app callable to uwsgi directly. However, the DB connection
initialization was previously done in the main() function which also
called app.run() which would conflict with running under a wsgi
container. This commit breaks the initialization out into the module
level before the app creation. This ensures that the DB initialization
bits are always run regardless of running under uwsgi, gunicorn,
mod_wsgi, or something else. Additionally, the readme is updated to
document how to run the service under uwsgi standalone.

Change-Id: If53b3a1e6fdecd403ebca44809c767caacbde7fe
2015-10-02 18:24:06 -04:00
Matthew Treinish e14b019cbb
Update README for api dev process
Change-Id: I20298cf6066e1a47e9e02b83a53b83eff41445ca
2015-09-17 13:31:07 -04:00
David Lyle 7dbd9d4b50 Rename to openstack-health 2015-09-14 14:16:34 -06:00
Tim Buckley b49f36f2ff Use `gulp-replace` to rewrite JS and CSS paths during `gzip` task. `index.html.gz` now links properly to gzipped resources allowing them to be distributed alone and unmodified. 2015-09-09 17:13:40 -06:00
austin81 eecb4023fe revert previous commit. oops. 2015-09-03 12:48:04 -06:00
austin81 1078cdfefe add sudo to npm install line 2015-09-03 11:55:25 -06:00
Tim Buckley cd66ab757d Reformat README.rst 2015-09-02 17:05:03 -06:00
Tim Buckley 1eac7831ae Update README with instructions for gulp + add a roadmap 2015-09-02 16:53:34 -06:00
Tim Buckley 7c08dbf3eb Update README.rst to reflect syntax changes to `stackviz-export` 2015-08-20 13:56:14 -06:00
Sachi King a9dd483839 On ubuntu you also need nodejs-legacy
On ubuntu you also need nodejs-legacy, otherwise the node executable
does not exist.
2015-08-12 13:02:02 +10:00
Tim Buckley 36473acceb Add testing instructions to README.rst 2015-08-03 15:33:51 -06:00
Tim Buckley f5f60b3c33 Change default test repository parent directory to `./test_data/` to avoid conflict with stackviz unit tests 2015-08-03 10:36:42 -06:00
Tim Buckley 4bf57c7152 Convert README to rst, and add documentation template from cookiecutter 2015-08-03 10:15:34 -06:00