Commit Graph

4700 Commits

Author SHA1 Message Date
Tony Breeds 66005e08a9 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I2210814ef992df70767b0b41355dbcb88c268ef8
2017-09-12 15:29:00 -06:00
Nguyen Van Trung bdd47a1b44 Replace deprecated test.attr with decorators.attr
Tempest has deprecated decorator 'tempest.test.attr'
and moved to 'tempest.lib.decorators.attr' in version 16.1.0.

Change-Id: I99f1017cd49623fc9fdf49e39072eca904e393aa
2017-07-25 09:33:57 +07:00
Jenkins 749200601e Merge "Update the response table info of some sample commands in doc." 2017-07-24 18:12:46 +00:00
Hangdong Zhang ad00e3a52a Update aodh commands in doc
There were some commands in doc out of date and can not work now.
By the way, I also unified "ALARM*"->"ALARM_*" in a command.

PS: It seems someone have done partial works for the bug

Change-Id: Id854b4bc787c5c036da9045736ce3f37b0d83ce4
Closes-Bug: #1704251
2017-07-19 09:55:38 +08:00
Andreas Jaeger de4eb0c809 Fix releasenote RST syntax
Add an empty line so that display of the release notes works and it gets
passed as proper RST enumeration. Fix also a typo.

Change-Id: I994aa3cf173ec8a9412239544e3269aca17adc25
2017-07-18 21:38:49 +02:00
Jenkins 2abc8ab213 Merge "Update and optimize documentation links" 2017-07-18 14:26:55 +00:00
Jenkins 1a6a97360a Merge "Added examples to create event based alarm" 2017-07-18 14:26:45 +00:00
Hangdong Zhang ad7efeca19 Update and optimize documentation links
1. Update URLs according to document migration
2. Update the dead links
3. Optimize (e.g. http -> https)

Change-Id: I171ce5fcd437747fed07884d80db833cf3db2358
2017-07-18 16:03:22 +08:00
Sachin c875113961 Added examples to create event based alarm
- Aodh event based alarm using single and multiple traits
- New sub-section in 'Debug alarm'
- Correct path to aodh.conf.sample file
- Seperated example sections into
  - Threshold based alarm
  - Composite alarm
  - Event based alarm

Change-Id: I0b025a7401ad7feaf05f7e31e77cd3f92c9761a0
Signed-off-by: Sachin Patil <psachin@redhat.com>
2017-07-18 06:57:38 +00:00
Jenkins e2b48c9fb2 Merge "turn on warning-is-error for doc builds" 2017-07-17 13:42:44 +00:00
Jenkins a432ab8d32 Merge "Update URL home-page in documents according to document migration" 2017-07-17 13:36:06 +00:00
Jenkins ecbf257dba Merge "add missing sphinx extension" 2017-07-17 09:46:30 +00:00
Jenkins 61326e4625 Merge "move class api reference into contributor docs" 2017-07-17 09:46:20 +00:00
chenxing d87e55fa75 Update URL home-page in documents according to document migration
Change-Id: Id48b89713ffa5e272d5168d2a490e20f66fb25ed
2017-07-14 16:03:15 +00:00
Doug Hellmann a597136e8a turn on warning-is-error for doc builds
Turn on the flag in setup.cfg.

Fix some formatting issues with a couple of docstrings.

Fix some mistakes in the rst files.

Suppress warnings from Sphinx extensions that used to be suppressed by
pbr with older versions of Sphinx.

Change-Id: I549292b5e22cf8ae0f54f878793a36f2cd3b8e6c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 10:06:41 -04:00
Doug Hellmann 4f9c5b6048 add missing sphinx extension
The sphinxcontrib.httpdomain extension is being installed, but not
initialized. Add it to the list of extensions to eliminate warnings
about the http:get and http:post directives.

Change-Id: I60bd5196ffa0a0bc482a4b40c80cf09b5fa53b95
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 10:05:53 -04:00
Doug Hellmann 7805ec4306 move class api reference into contributor docs
Change-Id: I89b11d8e542feadb6a424234a8aaeb59a29862c3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 10:01:11 -04:00
OpenStack Proposal Bot 2c795471fe Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I9366ad77b32ff25aa4f222497cd2d0a43e2787d2
2017-07-14 11:23:27 +00:00
Hangdong Zhang ee801ff3e8 Update the response table info of some sample commands in doc.
I found the response table info of some sanple commands were out of date,
so I update them after my practice with the latest codes.

Change-Id: Ife8d6365aad5a34d518985d25547ed5a71d41c5e
2017-07-14 14:55:08 +08:00
Jenkins 1b78978cba Merge "copy admin-guide" 2017-07-13 17:53:27 +00:00
Jenkins 990414712f Merge "move install-guide under install dir" 2017-07-13 17:53:12 +00:00
Jenkins 2f7240ffed Merge "move developer docs under contributor" 2017-07-13 17:53:06 +00:00
Jenkins ceabd801ce Merge "switch to openstackdocstheme" 2017-07-13 17:52:55 +00:00
Mehdi Abaakouk 3b365a1876 tests: rework functional live tests
This allows to run functional live tests without devstack.
And runs tests within the normal tox target without devstack

This increases test coverage because all backend are now tested.

Change-Id: If475b6d1f43a44540f276209a3651e7e790c2233
2017-07-13 12:57:41 +02:00
gord chung c9f2c43dae copy admin-guide
copy alarms admin-guide from openstack-manuals

Change-Id: Ib52147918db7c3d5ee5ba504b61657aa483abee2
2017-07-12 11:55:01 +00:00
gord chung 0bdef603c9 move install-guide under install dir
Change-Id: I2571feb78d1793f1e03539b568ed49f2fe01c93e
2017-07-12 11:54:39 +00:00
gord chung bc16dd747a move developer docs under contributor
- drop _template since there's nothing

Change-Id: I850eda1d7b3e729f5d68562f469ecdfa1ce162a0
2017-07-12 11:53:23 +00:00
gord chung ead7d16f11 switch to openstackdocstheme
Change-Id: I64cc7124cab48ea8a53ace957efe20d2b68ef2ef
2017-07-12 11:53:10 +00:00
Jenkins bddc811398 Merge "Clean maintainer list" 2017-07-12 09:19:33 +00:00
Jenkins 2fd66c3734 Merge "Remove genconfig tox target" 2017-07-12 06:28:46 +00:00
Jenkins 1a249df13d Merge "Fix aodh-config-generator" 2017-07-12 06:28:40 +00:00
Jenkins f3e23f0882 Merge "Fix html_last_updated_fmt for Python3" 2017-07-12 06:28:34 +00:00
Jenkins fdee469535 Merge "Add a description of the parameters to function." 2017-07-12 06:28:28 +00:00
Julien Danjou 0512ff47ba Clean maintainer list
Chris, Ildiko, Liusheng, Riota and ZhiQiang did not contribute to Aodh ever or
for a long time. Let's make it clear it's a very small team job now.

Change-Id: I6c65d5c0b4e983364aa3717b1e34396d25d2bd28
2017-07-12 05:45:15 +00:00
Jenkins fac669adbd Merge "add sqlalchemy-utils" 2017-07-11 23:40:56 +00:00
Jenkins 6ba001adaf Merge "Imported Translations from Zanata" 2017-07-11 14:01:53 +00:00
OpenStack Proposal Bot 51c539b9c8 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib554ae19cbe98734ca7b9aa69879f018d6e7ee2c
2017-07-11 11:07:21 +00:00
Mehdi Abaakouk 169bc31922 gnocchi: return better 'insufficient data' reason
Change-Id: I571b78eb2aad8089fcc534380677723136e090e8
2017-07-11 11:18:24 +02:00
Mehdi Abaakouk 4e42caa809 Don't translate alarm reason
Alarm translate are something translated sometimes not. It doesn't make
sense to use the current locale for this message as is API visible.

Also storing a i18n object in database is not going to works.

Change-Id: Idccaeb4128468e5b426097c16aa2146603496f79
2017-07-11 11:18:24 +02:00
Mehdi Abaakouk dfa63a5e4e Expose alarm state reason to API
We currently show no reason from the API point of view
of why we don't have enough data to evaluate alarms or why
we change the state of the alarm.

This change exposes the reason we known to the API.

Change-Id: Ic1fe95090339d39ad9638654db815aee41a7921e
2017-07-10 15:16:13 +02:00
Julien Danjou 6f8fb5f181 Fix aodh-config-generator
This program does not work:
  Unable to build sample configuration file: Failed to find some config files: /home/jenkins/workspace/gate-aodh-python27-ubuntu-xenial/aodh/cmd/aodh-config-generator.conf

But the gate did not catch it because the returned value is still 0. This
patches fixes that.

It also fix the location of the aodh-config-generation.conf file to be in the
proper place, and remove the default output location since there is no such
directory in $PWD by default, obviously

Change-Id: Ib63bec174de0c3108d42ad0623baba96c6cbe78b
Closes-Bug: #1702476
2017-07-09 11:53:10 +02:00
Jenkins 343742cecf Merge "Enable some off-by-default checks" 2017-07-06 13:02:45 +00:00
lingyongxu f4faf2a869 Enable some off-by-default checks
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

Change-Id: Ic641fcc099ce51ee4c03b0ce17a6f57d326dfd3f
2017-07-06 09:03:02 +08:00
Julien Danjou 6e0179da3a Remove genconfig tox target
Change-Id: I9e08334bff9d4fc5cc01cf2f4eae26fa7e6e302d
2017-07-05 16:03:07 +02:00
xugang e99e9666ab Add a description of the parameters to function.
Add a description of the parameters to function.

The content is as follows:
:param enforcer: policy enforcer

Change-Id: I4726a0025d9e32bf0248e732bf27a11415cd9ab8
2017-07-05 16:48:47 +08:00
Jenkins ba461b4f03 Merge "simplify crud notification test" 2017-06-26 18:01:30 +00:00
gord chung e9bf3190a7 add sqlalchemy-utils
we use it in tests

Change-Id: Ic410666e32d6310405325489db7bb8c029f51e66
2017-06-21 19:55:27 +00:00
Jenkins e2403f02c7 Merge "gnocchi: fix alarms for unpriviledged user" 2017-06-21 17:24:59 +00:00
gord chung b231f83f38 simplify crud notification test
test_alarms_sends_notification will hang forever if it fails.
we don't really need to test that its notification is received by
other, just that it sends a notification. drop the test so it
verifies only that.

Change-Id: I99f9996e5a3dd1e652d4142c7b596ae87da5e698
2017-06-21 16:36:42 +00:00
Thomas Herve 4c82f2e433 Fix Zaqar notifier doc
It had an incorrect example for the susbcriber option.

Change-Id: Icff8abc2b6fd0cc5d690c11063b7a6be2401e057
2017-06-15 16:09:29 +02:00