summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ignore prlimit argument on Windowsmitaka-eolstable/mitakaLucian Petrut2016-10-052-5/+32
| | | | | | | | | | | | | The built in 'resource' module is used in order to apply process resource limits. This is not available on Windows. For the moment, we'll ignore this argument and log a warning message. In the future, we may provide a portable implementation for this feature. Change-Id: I6a82916eb68fbf8737b45a65f71cae1f835d12d1 Closes-Bug: #1627766 (cherry picked from commit 9ac99b675eae255b660b03d3a1e61599d09f8316)
* processutils: add support for missing process limits3.7.1Daniel P. Berrange2016-06-093-11/+85
| | | | | | | | | | | | | | | The original commit adding support for process limits only wired up address space, max files and resident set size limits. This is not sufficient to enable nova to protect qemu-img commands against malicious images. This commit adds support for the remaining limits supported by python: core file size, cpu time, data size, file size, locked memory size, max processes and stack size. Related-bug: #1449062 Change-Id: I164c4b35e1357a0f80ed7fe00a7ae8f49df92e31 (cherry picked from commit 8af826953d1ad2cab2ecf360e0c794de70a367c3)
* Updated from global requirementsOpenStack Proposal Bot2016-04-291-1/+1
| | | | Change-Id: Ic6cf38f038e73ecfd628787bfe7b18ef6766d1f5
* Updated from global requirementsOpenStack Proposal Bot2016-04-181-1/+1
| | | | Change-Id: I75291c595d1ba84b6d899788981474e958477e38
* Updated from global requirements3.7.0OpenStack Proposal Bot2016-03-241-1/+1
| | | | Change-Id: I92c636228a83b1dbf54558b1a65a71bf36a59d2f
* Update .gitreview for stable/mitakaDoug Hellmann2016-03-091-1/+2
| | | | Change-Id: I8e64fac1066db44ba612c9b24bd841fa5698d309
* Updated from global requirements3.6.0OpenStack Proposal Bot2016-02-201-1/+1
| | | | Change-Id: I535d094e5097b3b20cba25828df860f643b84fa4
* Merge "Make ProcessExecutionError picklable"3.5.0Jenkins2016-02-202-4/+27
|\
| * Make ProcessExecutionError picklableAngus Lees2016-02-192-4/+27
| | | | | | | | | | | | | | | | | | | | | | Serialising/deserialising exceptions in python follows the protocol defined by pickle. It relies on the base Exception.__init__ setting self.args, and later resurrects exceptions with class(*args). This change rewrites processutils.ProcessExecutionError so it survives a pickle.dumps/loads round-trip. Change-Id: I9b8d104f60df868be7b808c72c932d08f1752777
* | Updated from global requirementsOpenStack Proposal Bot2016-02-191-1/+1
|/ | | | Change-Id: I34f0b21afc4eba3a2503e3021ac121180d588948
* Updated from global requirementsOpenStack Proposal Bot2016-02-101-1/+1
| | | | Change-Id: Ibeffb23a0ef4f94d2f8f18f2fdebb491f88b3943
* Merge "Add prlimit parameter to execute()"3.4.0Jenkins2016-02-013-0/+250
|\
| * Add prlimit parameter to execute()Victor Stinner2016-01-283-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new oslo_concurrency.prlimit module which is written to be used on the command line: python -m oslo_concurrency.prlimit --rss=RSS -- program arg1 ... This module calls setrlimit() to restrict the resources and then executes the program. Its command line is written to be the same than the Linux prlimit system program. Add a new ProcessLimits class processutils: resource limits on a process. Add an optional prlimit parameter to process_utils.execute(). If the parameter is used, wrap the command through the new oslo_concurrency prlimit wrapper. Linux provides a prlimit command line tool which implements the same feature (and even more), but it requires util-linux v2.21, and OpenStack targets other operating systems like Solaris and FreeBSD. Change-Id: Ib40aa62958ab9c157a2bd51d7ff3edb445556285 Related-Bug: 1449062
* | Update translation setupAndreas Jaeger2016-01-2810-7/+7
|/ | | | | | | | | | | | | | | Follow new infra setup for translations, see spec http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html for full details. This basically renames oslo.concurrency/locale/oslo.concurrency.pot to oslo_concurrency/locale/oslo_concurrency.pot. For this we need to update setup.cfg. Update also domain name in i18n.py. Change-Id: Ie774c4252f8481f2541ed0a2cad565d149dfcc72
* Updated from global requirementsOpenStack Proposal Bot2016-01-261-1/+1
| | | | Change-Id: I5d9484bae360143185fe6efbc2633ce9b01614b1
* Updated from global requirementsOpenStack Proposal Bot2016-01-241-1/+1
| | | | Change-Id: I3396829a7b7d3c31e6cae816aefca222d1048cbc
* Updated from global requirementsOpenStack Proposal Bot2016-01-231-1/+1
| | | | Change-Id: I26110041758b218b7ce93c884082042019ee1d0e
* Updated from global requirementsOpenStack Proposal Bot2016-01-181-1/+1
| | | | Change-Id: Ia560a40275adf735f529c29c7ced64003ca2709b
* Merge "Updated from global requirements"Jenkins2016-01-162-10/+10
|\
| * Updated from global requirementsOpenStack Proposal Bot2016-01-162-10/+10
| | | | | | | | Change-Id: I0302364cb544b7e94ddb3f4f314ff0975a5b8ff2
* | Imported Translations from ZanataOpenStack Proposal Bot2016-01-166-46/+49
|/ | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I42faa1a3e1c6119c33301d83a64000dc32dceb9e
* Remove unnecessary package in setup.cfg3.3.0Davanum Srinivas2016-01-111-1/+0
| | | | | | | | We don't need two entries as fixtures is under oslo_concurrency Hat Tip to @clarkb Change-Id: Ifb2b5b761ec3832de42beaf0505510d30251efba
* Updated from global requirementsOpenStack Proposal Bot2016-01-071-1/+1
| | | | Change-Id: Ie68b9a373cc0ed970cb4fd5c1b2dbe5a3914b47d
* Updated from global requirementsOpenStack Proposal Bot2016-01-061-1/+1
| | | | Change-Id: Ie5b9073721623f11d6adebd1bdf769383a88bde5
* Updated from global requirements3.2.0OpenStack Proposal Bot2015-12-151-1/+1
| | | | Change-Id: I5541e38ad5c9f9c23526b39798eedbf79004ff77
* Merge "Trival: Remove 'MANIFEST.in'"Jenkins2015-12-141-6/+0
|\
| * Trival: Remove 'MANIFEST.in'ChangBo Guo(gcb)2015-12-051-6/+0
| | | | | | | | | | | | | | Everything in this file is automatically generated by pbr. There appears to be no good reason to keep it around. Change-Id: I830530b18ff4c7cc87e8beb740d11808cca6683b
* | Updated from global requirementsOpenStack Proposal Bot2015-12-111-1/+1
| | | | | | | | Change-Id: I2f5de70cc6086af4b74c8c5a1266d06c60728a9d
* | Add complementary remove lock with prefix functionJoshua Harlow2015-11-301-0/+28
|/ | | | | | | | | | | | It seems we provide (and projects use) the provided decorator 'synchronized_with_prefix' but we don't provide an equivalent function to complement that function to clean up its created lock files. Providing a complementary method seems pretty useful for projects that actually clean up these lock files (if any actually do in the first place). Change-Id: I601ce3992411e6a2ddded13aba4ac068cf8f14e2
* Drop python 2.6 support3.1.0ChangBo Guo(gcb)2015-11-231-2/+1
| | | | Change-Id: I921e29d25e0cfb089028f780bc942a60c9712278
* Updated from global requirements3.0.0OpenStack Proposal Bot2015-11-192-2/+2
| | | | Change-Id: I531dd958b014b614b567b53826748073a9fb37e6
* Updated from global requirementsOpenStack Proposal Bot2015-11-181-1/+1
| | | | Change-Id: I5658b3ff8b7ec0c9556a1b368f532fe07c4e1f60
* Remove python 2.6 classifierChangBo Guo(gcb)2015-11-171-1/+0
| | | | Change-Id: I58d2d5717a6ea1823a3c7651eb0d67ac7407c165
* Remove python 2.6 and cleanup tox.iniDavanum Srinivas2015-11-161-12/+2
| | | | | | | | | | | | | | | | * Remove support for python 2.6 * Remove skipsdist : Needs to be set only if sdist is expensive * Remove usedevelop : only needed when skipsdist is set to True * Remove install_command : We can just use the default, we don't need to override * Remove setenv : We can just use the default as we don't need any extra environment variables * Remove requirements.txt from deps, as this is already added automatically Change-Id: I5c4addd8be5797fec439b011d99c00a7801704cd
* Use versionadded and versionchanged in docVictor Stinner2015-11-054-1/+48
| | | | | | | | | | | | | | | | Document in which version new types and functions were added using ".. versionadded:: x.y". Document changes using ".. versionchanged:: x.y." For watchdog module, add the versionadded tag in the module top docstring, not on each type/function. Add docstring to ssh_execute(). I used "git blame" + "git tag --contains=SHA1" to find these version, and then I checked manually each version. Change-Id: I56a7d8a4335833e9b49eedab026d20adfeedf942
* Updated from global requirementsOpenStack Proposal Bot2015-10-231-1/+1
| | | | Change-Id: I1c0877c5a80b1ac657103a8445dc7789cda3c5e7
* Imported Translations from ZanataOpenStack Proposal Bot2015-10-239-89/+27
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ibc27f809c8c1e7a7aa2e3c05c8a8660320c10f27
* Updated from global requirementsOpenStack Proposal Bot2015-10-191-1/+1
| | | | Change-Id: Id263a4dcd9bf5a4e870d93a7adcd0a7b0d609ee6
* Updated from global requirements2.8.0OpenStack Proposal Bot2015-10-161-1/+1
| | | | Change-Id: Icce6e2e54276c253eb3bbb678a9154c5d125afaf
* Merge "Fix Tests to run under OSX"2.7.0Jenkins2015-10-081-6/+9
|\
| * Fix Tests to run under OSXDavanum Srinivas2015-10-051-6/+9
| | | | | | | | Change-Id: I700b6de69411330b2a0fd8f2cdafa4026f85f1c7
* | Fix coverage configuration and executionRonald Bradford2015-10-053-4/+6
|/ | | | | | | | | | A number of configuration errors prevent the successful creation of code coverage. This corrects the .coveragerc source/omit setup and the tox package name generation. http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html Change-Id: If85385ac8b0817e9e5d167940ace37e733cacd41
* Imported Translations from ZanataOpenStack Proposal Bot2015-09-268-41/+47
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I7d65353af7de58234ff6ac06a5374dcc379475d8
* Move 'history' -> release notes sectionJoshua Harlow2015-09-251-1/+8
| | | | | | | | This seems to better match what the other oslo libraries are calling this section, so we might as well call it that to. Change-Id: I4a486d0ca61f81413ea398d5955b4027d66ce360
* add auto-generated docs for config optionsJoshua Harlow2015-09-243-2/+11
| | | | | | | Add automatically generated documentation for the configuration options using oslo_config.sphinxext. Change-Id: If7eb94b268bb82e0fcfbac9dfd231ea25ff53b24
* Change ignore-errors to ignore_errorsMonty Taylor2015-09-211-1/+1
| | | | | | Needed for coverage 4.0 Change-Id: If3bca5810ef046a7e8bb984945eb9c70a1ea27b1
* Updated from global requirementsOpenStack Proposal Bot2015-09-172-2/+2
| | | | Change-Id: Ibfbd714bf5b90faf19950423e5dff1219571d511
* Imported Translations from ZanataOpenStack Proposal Bot2015-09-161-4/+6
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I5cf17c569f01d44570b459bec0b6d0230d4ad987
* Merge "Use int enumerations for log error constants"Jenkins2015-09-142-14/+35
|\
| * Use int enumerations for log error constantsJoshua Harlow2015-09-012-14/+35
| | | | | | | | Change-Id: Iac6f4d860c220c653bbae17e7b1d69249259bd88