Commit Graph

586 Commits

Author SHA1 Message Date
Tony Breeds 9fa494ef1c 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: I5d4716597ccf5dec27c4bfd0217a51b30fcaa088
2017-09-12 16:07:35 -06:00
ChangBo Guo(gcb) 5a8a712c26 Update URLs in documents according to document migration
Change-Id: I71f5444055b997905a913fdaaf31080cfbe85513
2017-07-12 23:28:29 +08:00
Akihiro Motoki 21de4a7c51 rearrange existing documentation to fit the new standard layout
Change-Id: I920d02fd4843c21f41c57f0effed31441ec5998e
2017-07-01 19:52:23 +09:00
Akihiro Motoki 343ce056ea switch from oslosphinx to openstackdocstheme
Change-Id: I068331d11e661ed28001607d66a761292699026c
2017-07-01 19:11:26 +09:00
OpenStack Proposal Bot ca3a40a3df Updated from global requirements
Change-Id: I6af7ed52f97baa8ed5528c56636d3309c682b392
2017-06-27 12:20:33 +00:00
OpenStack Proposal Bot c692329035 Updated from global requirements
Change-Id: I21a40f8fdb689a0b9ebe93ccc97aa6c20d974ee4
2017-06-15 16:33:15 +00:00
OpenStack Proposal Bot e353820df2 Updated from global requirements
Change-Id: I044f65adf5873deed593441e584dfa358d01a10a
2017-06-10 13:35:43 +00:00
OpenStack Proposal Bot b5ef78ae14 Updated from global requirements
Change-Id: I1ec70ee9213bc234295957f45327d9f4f72387d0
2017-06-02 22:05:40 +00:00
OpenStack Proposal Bot 64173f9362 Updated from global requirements
Change-Id: If9a390eec35d2e557013b7985de5bfd8b0c94df6
2017-06-02 02:35:21 +00:00
OpenStack Proposal Bot d8fde3225e Updated from global requirements
Change-Id: I566a0a486a820ce8bf1352a9469a766d1e7e2422
2017-05-23 11:58:17 +00:00
OpenStack Proposal Bot ec2820e0c6 Updated from global requirements
Change-Id: I02ffc1d5974d1c5303e155768c7158dfc8e66926
2017-05-20 04:43:25 +00:00
OpenStack Proposal Bot 8ba069a036 Updated from global requirements
Change-Id: I037c0d8c86258ff6d5fb0a43a981659cae33e28f
2017-05-15 00:53:12 +00:00
melanie witt 8f67ed7d53 Add min_interval to BackOffLoopingCall
The backoff timer has a few issues that can cause it to get stuck
in an infinite loop and never time out.

  1. The random.gauss() function used to generate random jitter can
     return negative values, so when it does, it makes the elapsed time
     self._error_time go "backward."
  2. The random jitter is used as a multiplier for the self._interval,
     so self._interval can deviate far away from the mean over time and
     walk to zero, causing self._interval to be 0, which will prevent
     the timer from making progress from that point on because idle
     will always evaluate to zero and the elapsed time won't increase.
  3. The evaluated interval doesn't have a lower bound, so over time
     it can get extremely small if jitter (the mean) < 0.5.

This adds a min_interval keyword argument to the BackOffLoopingCall
start() function that defaults to 0.001s and uses it to lower bound
the interval calculations. We'll also take the absolute value of the
return from random.gauss() to prevent elapsed time going backward, and
we'll calculate the running self._interval separately to make it track
the desired growth rate of the backoff and not let it drift with the
random.gauss() values.

Closes-Bug: #1686159

Change-Id: Id17668a34d5cedbe870c9056350a7e9c7196faa7
2017-04-25 17:13:46 +00:00
OpenStack Proposal Bot 3be392497a Updated from global requirements
Change-Id: Ic82e1f871905cc3efa4c4cbe47f1582ecf197325
2017-04-01 15:31:57 +00:00
Jenkins 8175ab232d Merge "Use Sphinx 1.5 warning-is-error" 2017-03-29 10:50:59 +00:00
Jenkins b20bd84cbe Merge "Fix some reST field lists in docstrings" 2017-03-29 10:34:34 +00:00
OpenStack Proposal Bot 055119f71f Updated from global requirements
Change-Id: I946fa4d67447d2f1bac19a1989915f95977e5f2a
2017-03-28 21:36:33 +00:00
Duan Jiong d10c8fe38b Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I52be02c3db254f63bb37270fa504694431d7671b
2017-03-23 16:04:59 +08:00
Stephen Finucane 7c5ab22f8f Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.

Change-Id: If31f68a80ab9e490dbf1457c274ac9f0c78239c4
2017-03-22 13:26:14 +00:00
Duan Jiong add1b72780 Fix some reST field lists in docstrings
Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.

[1] http://sphinx-doc.org/domains.html#info-field-lists

Change-Id: I242b83c5713cc1faa30dcdffa2d989fb9a63b3ef
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2017-03-22 13:24:21 +00:00
OpenStack Proposal Bot dd941b0e1c Updated from global requirements
Change-Id: I054d3aa7060947cfc094c703af139b48f996dbb3
2017-03-13 19:40:20 +00:00
OpenStack Proposal Bot 0099d768f6 Updated from global requirements
Change-Id: I83b221c4eaa7e10127955321c85439294a10292d
2017-03-03 00:03:22 +00:00
ricolin 7b540dfbf2 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Ia99ace49991a7bced6169f024e32832f1b190588
2017-03-02 18:31:57 +08:00
OpenStack Proposal Bot d7437925bc Updated from global requirements
Change-Id: I0f0dcaf53fea457bb631afe6f3ff531b5da5fb27
2017-03-01 04:14:56 +00:00
Jenkins 2ea2c102ff Merge "Fix race condition with fast threads" 2017-02-10 12:37:30 +00:00
OpenStack Proposal Bot dc9e443cc9 Updated from global requirements
Change-Id: Iab93c839e13e2a3e8a8ebcfe6aa7675013e2170d
2017-02-10 05:57:59 +00:00
Thomas Herve e371821a01 Fix race condition with fast threads
When a green thread dies quickly, it will call the linked callbacks on
the link call synchronously. In this case, an error will happen when
ThreadGroup is used, as the thread is not accounted for until the link
is done. This manages this race condition by reverting the operations to
link after.

Change-Id: Iccf6edb0dfddda54552bd8787f64da84486061b7
Closes-Bug: #1662939
2017-02-08 17:26:28 +01:00
Jenkins e801066c62 Merge "Remove duplicated register_opts call" 2017-02-07 03:10:38 +00:00
Davanum Srinivas 8b68459985 pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
We need to pass into VersionInfo what one would expect from running:
 setup.py --name

 Right now we pass in say oslo_context and pbr fails if there is no .git in
  the python source tree

  Closes-Bug: #1662266

Change-Id: I9ff67b5c8a82c5efac155b228494f0a63a6cbf10
2017-02-06 12:49:21 -05:00
ChangBo Guo(gcb) 4ca23440a1 Remove duplicated register_opts call
We have registered all config options in method setUp of
ServiceBaseTestCase, don't need repeat them again in subclass.

Change-Id: Iad4452dc3e7d353a7e963547aee3a356afdf5ad5
2017-01-28 22:24:01 +08:00
OpenStack Release Bot 7fa34bf8e7 Update reno for stable/ocata
Change-Id: I0057dd27eec559268871197793e23f61387b02aa
2017-01-20 19:15:56 +00:00
Eric Brown 087d0c76b5 Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: I0f71ce22b44cdb59340f4101c60c507367842603
2017-01-17 10:37:12 -08:00
Wenzhi Yu d05e086b8d Add FixedIntervalWithTimeoutLoopingCall
Currently when using FixedIntervalLoopingCall, folks need to
add timeout checking logic in their function if they need it.
Adding a new class FixedIntervalWithTimeoutLoopingCall to
provide timeout checking support will save those effort.

Change-Id: I78bfb9e259c2394137d7efbc0ee96bb18a6dc5e7
2016-12-29 14:20:29 +08:00
Jenkins 7076774bb2 Merge "Add Constraints support" 2016-12-21 08:51:55 +00:00
Tony Breeds c113cfb139 Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove oslo.service.

Change-Id: I3cad0b8c3d4909b424358cf2f0bc20f80882cb33
2016-12-20 14:23:59 +11:00
Jenkins d2995952a5 Merge "Delete python bytecode file" 2016-12-19 10:05:34 +00:00
Jenkins 49c236f5dd Merge "Update .coveragerc after the removal of respective directory" 2016-12-19 09:49:26 +00:00
Flavio Percoco 8e6fd4be08 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/ad08d33bba8cd5813d63ab24925e378d\n'

Change-Id: I346e67e2acf258c0435be52454882d0528757478
2016-11-25 13:25:56 +01:00
OpenStack Proposal Bot 09d051b9f9 Updated from global requirements
Change-Id: I87c9088a3552d1ef52a64b799e6cadd0d5712326
2016-11-06 02:06:03 +00:00
OpenStack Proposal Bot 4a38e16f0e Updated from global requirements
Change-Id: Ib48ccd89abf0a8938f8bc601b21f072bfb26aafa
2016-11-02 15:39:28 +00:00
OpenStack Proposal Bot 6f08d3a2c9 Updated from global requirements
Change-Id: I18ebd25c7b13199f7018789683702518e75c16e7
2016-10-27 12:21:29 +00:00
OpenStack Proposal Bot a5b52746c4 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I93792d68453319551ba281b23104f6c28b26dd72
2016-10-23 07:31:58 +00:00
Iswarya_Vakati 53ba273b49 Update .coveragerc after the removal of respective directory
Change-Id: I3e80faa7a05059c5ccf4582a2695ee1d0edeafff
2016-10-18 17:45:44 +05:30
Jenkins a90c3a651b Merge "Enable release notes translation" 2016-10-18 11:08:25 +00:00
gecong1973 5077f4006f Delete python bytecode file
This patch delete python bytecode including pyo
before every test run

Change-Id: I17056d291980e0b249bfcc82d64af733948fc983
2016-10-18 08:43:51 +08:00
Jenkins 42adde23f7 Merge "Stay alive on double SIGHUP" 2016-10-17 03:39:16 +00:00
melissaml 93537f2801 Changed the home-page link
Set the correct link for home-page.

Change-Id: Ib934ae8ce6797b398cd2db63866a532729750b71
2016-10-16 21:05:31 +08:00
Jenkins c669849fde Merge "Replace 'MagicMock' with 'Mock'" 2016-10-13 22:38:18 +00:00
OpenStack Proposal Bot 91fb906fe5 Updated from global requirements
Change-Id: I2884af124b190861bbb0de6a157074f53eaf5f64
2016-10-12 22:53:01 +00:00
gecong1973 48bebc751f Replace 'MagicMock' with 'Mock'
MagicMock magically allow things to pass. Any usage should
be replaced with the Mock class and explicit attributes
should be set on it. [1]
[1] http://stackoverflow.com/questions/17181687/mock-vs-magicmock

Change-Id: I09866096a9b8f02b61153c127a11afed7196f40a
2016-10-11 09:38:45 +08:00