- 30 Aug, 2019 3 commits
-
-
Eric Fried authored
Adds a release note for the fix at I86a34c22d41d87a9cce2d4ac6d95562d05823ecf Change-Id: I4682950ac12f763737489c510246d54aed80b80f Related-Bug: #1794708
-
Zuul authored
-
Zuul authored
-
- 29 Aug, 2019 2 commits
-
-
Eric Fried authored
- Use some more :roles: to make more things linky. - Add some ``decoration`` around literals. - Fix up some grammar. Change-Id: I6b51a8774e502a34757a50aef5f4bc1fb37d8b96
-
Mohammed Naser authored
It seems that the code for handling SIGHUP currently calls stop() on the service, then calls reset(), then calls start() on it again. This is effectively a full service restart, which breaks the whole point behind using SIGHUP for hot and quick reloads. It also breaks our downstream projects in a few ways where they lose RPC on reload due to the fact that they don't expect to have stop() called on a reset(). This patch removes the stop and start when the restart_method is set to 'mutate' because in that case we should just be signaling the service to check for changes in its mutable config options. It also changes the signal sent to children in that case to SIGHUP, since SIGTERM will cause unnecessary restarts of child processes. The previous behavior is maintained for the 'reload' restart_method since that does a complete reload of the service config, which is not safe to do without restarting the service completely. Change-Id: I86a34c22d41d87a9cce2d4ac6d95562d05823ecf Closes-Bug: #1794708 Co-Authored-By:Ben Nemec <bnemec@redhat.com>
-
- 24 Aug, 2019 1 commit
-
-
caoyuan authored
Change-Id: I995f7c4e0152a19d2ae2890d6940419f30638444
-
- 05 Jul, 2019 1 commit
-
-
Corey Bryant authored
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: I6b399a382e18905aca344791bda18bd9ac98c049 Story: #2005924 Task: #34234
-
- 30 May, 2019 1 commit
-
-
Zuul authored
-
- 29 May, 2019 1 commit
-
-
Zuul authored
-
- 22 May, 2019 2 commits
-
-
Ben Nemec authored
We should be calling sphinx-build directly now. Change-Id: I030d79a9fb7639553a9f469b54e1888aa62bcef5
-
Sebastian Lohff authored
When multiple processes are spawned with the same configuration each process has the same backdoor_socket path configured and only the first process able to bind to the socket can later be accessed via the backdoor. To give each process a unique socket path we now expose the PID of the process as a format string argument, which can then be used like this: backdoor_socket = /var/lib/neutron/backdoor-{pid} Change-Id: I3f86f4867eb0cd5010abadf68620aa3450d3e64d
-
- 15 May, 2019 1 commit
-
-
Zuul authored
-
- 14 May, 2019 2 commits
-
-
Zuul authored
-
chenke authored
Bandit 1.6.0 accidentally changed how the exclusion list option is handled and breaks our use of it. Cap to the previous version until Bandit has fixed the problem. Sphinx 2.0 no longer works on python 2.7, so we need to start marking it there as well. Co-Authored-By:
Hervé Beraud <hberaud@redhat.com> Co-Authored-By:
Ben Nemec <openstack@nemebean.com> Reference: https://github.com/PyCQA/bandit/pull/489 Related to Ibaa10b092b262e49435d35f093906bb75dc9762f Change-Id: Ie3dd6c91c733b85c233213a1c6343009d5f34766
-
- 09 May, 2019 1 commit
-
-
chenke authored
If user set the type of worker to str or others, there will be no error here, but a lot of processes will be created, which may cause the system to crash. I recommend adding a type check here. Change-Id: I3ad0f7ec59f29a3106d23b057327c3dfef19a98f
-
- 30 Apr, 2019 1 commit
-
-
jacky06 authored
Change-Id: I4e964925d5a024545fc99f7fddbea3d9605b30d3
-
- 19 Apr, 2019 1 commit
-
-
OpenDev Sysadmins authored
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.
-
- 15 Apr, 2019 1 commit
-
-
Ghanshyam Mann authored
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: I578831a20138ecb2746bf61d6dce85e6f7c4b47a
-
- 18 Mar, 2019 1 commit
-
-
OpenStack Release Bot authored
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: Ifc8a52c83ab2f192ca4a265f4764218e6f42e591 Sem-Ver: feature
-
- 21 Feb, 2019 1 commit
-
-
Michael Johnson authored
The versions of yappi less than 1.0 have a bug[1] that causes it to fail to install[2]. This patch makes sure oslo.service uses version 1.0 of yappi that contains the fix. [1] https://github.com/sumerc/yappi/commit/ \ 778829f6f77928e4292e6a7dd4dfecf501f9a362 [2] http://logs.openstack.org/29/637929/2/check/octavia-v2-dsvm-scenario \ 4113e77/controller/logs/dib-build/amphora-x64-haproxy.qcow2_log.txt.gz \ #_2019-02-19_17_23_37_112 Change-Id: I6b72272dcc524ebab30324446fdeaeb742eddc81
-
- 20 Feb, 2019 1 commit
-
-
Zuul authored
-
- 19 Feb, 2019 3 commits
-
-
Zuul authored
-
Zuul authored
-
ZhongShengping authored
This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Story: #2004073 Task: #27440 Change-Id: I26a8616b1d3ca970d7b2dfb52aedf226f7464d2c
-
- 13 Feb, 2019 1 commit
-
-
ZhijunWei authored
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I8bb814f8db8c87ba6b757be482d79d40548a137d
-
- 11 Feb, 2019 1 commit
-
-
Zuul authored
-
- 23 Jan, 2019 1 commit
-
-
Ben Nemec authored
Prior versions of oslo.utils have known issues with the EventletEvent class that we use, so we should avoid them. Change-Id: Id46634bbbd69caa5294c07d2c0da70856c8cba5b Related-Bug: 1812922 Related-Bug: 1805706
-
- 17 Jan, 2019 1 commit
-
-
Zuul authored
-
- 16 Jan, 2019 1 commit
-
-
venkata anil authored
This patch enables profiling (capturing function call trace like cProfile [1]) worker processes on the fly while service is running. User requests the oslo service process to start profiling by writing "prof()" command to backdoor socket, once the service (like neutron-server) finishes expected processing (example finishing API call), user again writes "prof()" command with file name as argument to dump the function calltrace stats. Stats file (in pstat format with user provided filename by adding .prof) will be generated in temp directory. For example, to profile neutron server process, 1) echo "prof()" | nc localhost 8002 2) Issue neutron command (or run rally scenarios tests) neutron net-create n1 neutron port-create --name p1 n1 neutron port-delete p1 neutron net-delete n1 3) echo "prof('neutron')" | nc localhost 8002 where 8002 is the port which we set like below in neutron.conf backdoor_port=8002 We can later print the stats from the trace file like below stats = pstats.Stats('/tmp/neutron.prof') stats.print_stats() The trace file will look like in (for above neutron API calls) [2]. We use Yappi with context set to greenlet [3] to profile greenlets. We can't use GreenletProfiler [4], which does the same [5] 1) as it is no more maintained 2) Also compiling yappi source inside GreenletProfiler is failing for python3. [1] https://docs.python.org/2/library/profile.html [2] https://gist.github.com/venkataanil/64d5e672bf0206dc151e73fc1058a983 [3] https://bitbucket.org/sumerc/yappi/pull-requests/3 [4] https://pypi.org/project/GreenletProfiler/ [5] https://emptysqua.re/blog/greenletprofiler/ Depends-On: Ibea0cdb732923f1b53d5cb6aeeb4041fb5973494 Change-Id: Id2418093494f1e233a653f6c73bd6894e4a40184
-
- 10 Jan, 2019 1 commit
-
-
Ben Nemec authored
Instead of having a copy-pasted version in this project, let's just use the original directly. It is added to the public API of oslo.utils in the dependency. Depends-On: https://review.openstack.org/614806 Change-Id: If0dfac2505d097c117ef94c99399b1614f1e1f8f
-
- 04 Jan, 2019 1 commit
-
-
venkata anil authored
Oslo.service is binding to same port when we provide a port range as eventlet is internally setting SO_REUSEPORT flag (starting from eventlet version v0.20). And there is a flag (reuse_port) introduced in v0.22 to give control to user to avoid SO_REUSEPORT. In this patch, first we try passing reuse_port=False, if this fails then directly open socket and listen instead of eventlist.listen. Closes-Bug: #1810280 Change-Id: Idc842acc7e430199c76fe12785b0bf0e7a58e121
-
- 24 Dec, 2018 1 commit
-
-
Zuul authored
-
- 20 Dec, 2018 1 commit
-
-
Andreas Jaeger authored
Small cleanups: * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: Iafc19fc0148399c0a28cd9231879c61779f8a0fa Needed-By: https://review.openstack.org/623229
-
- 19 Dec, 2018 5 commits
-
-
Zane Bitter authored
This API is awkward, inefficient, incoherent, and unintuitive. The bug fix for which it was originally added was abandoned in favour of a different approach, so it was never used. It appears that no consumers are currently calling it. It would be best if none started. Add a deprecation warning to discourage its use and allow us to remove it altogether at some point in the future. Change-Id: I9559c7051024019fac957385faced645920b815c
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
- 12 Dec, 2018 1 commit
-
-
Zane Bitter authored
There were no docstrings for this API, which as a bonus is extremely subtle and poorly-designed. Document it so that users at least have a fighting chance of using it to do the things they intended. Change-Id: Id6677a7e5aaf8ec9ddeb597c6d5e8f97806e2248
-
- 10 Dec, 2018 1 commit
-
-
Zane Bitter authored
The intention of this test was to wait 5s after sending SIGHUP to a child process to make sure that it doesn't exit. However, due to a logic error, it just stopped checking and declared success immediately. Fix the logic so that we have a better chance of seeing if SIGHUP incorrectly kills the process. Change-Id: I1f320a8dfdd7a922b461d070491ad53e6cd2b20d Related-Bug: #1803731
-