Commit Graph

47 Commits

Author SHA1 Message Date
Zuul 7d42213243 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:26:30 +00:00
Zuul 62577b2d4c Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:18:19 +00:00
Zuul 7375e6d19d Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:11:47 +00:00
OpenStack Release Bot 44e16d63f4 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Ia1af098d026e47fa815839bd6ac096eb1f7d70c1
2024-03-08 14:23:08 +00:00
OpenStack Release Bot 2caee2b19e reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I8fd9b0b90b290e13568d4a35591a2a13c8f06edc
2024-03-07 14:26:46 +00:00
OpenStack Release Bot 5df1c1f681 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I07e11ba899cda493b4f182acfcc578a3eba65f0d
2024-03-07 14:22:27 +00:00
OpenStack Release Bot 5f629586e7 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I236a657c41113965a7dd24fa51839d01de896dbe
2024-03-07 14:17:05 +00:00
OpenStack Release Bot bb92acbdb4 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ib885d27b46a1c8dfb95b93ce0afae32de4ab6b83
2024-02-06 14:29:04 +00:00
OpenStack Release Bot f79b916b5b Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I3edb58e46a1a0f401179033e73d7fa984a2ff3b5
2023-09-07 09:37:52 +00:00
Zuul e46ad9c44d Merge "setgid should be called before setuid" 2023-07-14 15:22:09 +00:00
OpenStack Proposal Bot 1f9d71260e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3f263194f71469ca9ca67f3d99b10dc75c448e20
2023-06-22 04:16:41 +00:00
Max Lamprecht 33fec1971b setgid should be called before setuid
If you setuid to a non-zero value first(meaning you're no longer root),
then call setgroups, the effective uid of the process
is now no longer root, meaning that the internal setgid call fails

This also removes the duplicated if loop

Closes-Bug: #1628360
Change-Id: I5d66fccd9ffb07df0c2e4435ec3da767b3b61117
2023-03-03 08:49:26 +01:00
OpenStack Release Bot e2a4f5cf77 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I269a611aa0abfef841c4a90b12ad60b4b930fd17
2023-02-24 15:21:53 +00:00
OpenStack Release Bot 6537764258 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I2c7531ae610eb4f6a734f06445f097401e313405
2022-09-09 09:17:56 +00:00
songwenping fa16f4dc6e Remove unnecessary unicode prefixes
All strings are unicode by default in Python 3. No need to mark them as
such.

Change-Id: I506a7bcd8fb3de2088bf37ebbb117896de9ddc77
2022-04-19 15:11:57 +08:00
Pierre Riteau 46e1920d3b Fix formatting of release list
Change-Id: I5ea3060d9f8271391636e48ebb1b8ee54d0ef8c1
2022-03-22 12:21:40 +00:00
OpenStack Release Bot 4ff6561c36 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I25b75ca2f3d0b9da30398e6364f2211636ed2aed
2022-03-04 17:19:17 +00:00
OpenStack Release Bot df622f166d Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I9a7ec424eddc04346da8cbeadbe9f03c521de583
2021-09-10 14:37:54 +00:00
elajkat f7f3349d6a Add timeout to PrivContext and entrypoint_with_timeout decorator
entrypoint_with_timeout decorator can be used with a timeout parameter,
if the timeout is reached PrivsepTimeout is raised.
The PrivContext has timeout variable, which will be used for all
functions decorated with entrypoint, and PrivsepTimeout is raised if
timeout is reached.

Co-authored-by: Rodolfo Alonso <ralonsoh@redhat.com>
Change-Id: Ie3b1fc255c0c05fd5403b90ef49b954fe397fb77
Related-Bug: #1930401
2021-06-23 09:43:33 +02:00
Gorka Eguileor 71c732c833 Allow finer grained log levels
Currently all privsep calls use the same logging level as they use the
``oslo_privsep.daemon`` logger.

This creates a problem for services like nova where we don't want to
log its own privsep debug messages by default (even in debug mode) but
we want them for os-brick privsep calls.

This patch introduces a new string parameter to ``PrivContext`` called
``logger_name`` to control the name of the logger to use, which defaults
to ``oslo_privsep.daemon``.

Related-Bug: #1922052
Change-Id: Ie7cc25ed53563dd500f7b10ff43a48518d46a2e0
2021-05-10 19:17:41 +02:00
OpenStack Release Bot c4d05344af Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I42e7777b0955092cb33fcc53040ba1332a5861c4
2021-04-15 18:25:08 +01:00
Zuul 83870bd265 Merge "Adding pre-commit" 2020-09-22 17:34:48 +00:00
OpenStack Release Bot 6808e50693 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I7789349e07a11a0107db7b149ae0e71b301c31db
Sem-Ver: feature
2020-09-11 20:59:52 +00:00
Hervé Beraud d7f6ddc55c Adding pre-commit
Introduced changes:
- pre-commit config and rules.
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.

Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.

pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker
  (check-byte-order-marker);
- Checks that non-binary executables have a proper
  shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings
  (check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
  calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)

For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks

Change-Id: Ic88cf026a74e9da4acaf9e00c50fddd2c8a48fbe
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 14:17:12 +02:00
Rodolfo Alonso Hernandez 1dc378c76f Undo the eventlet monkey patch for the privileged daemon
Change-Id: I422125b137a3beadb0a79f5944a19fce62f093d6
Closes-Bug: #1887506
2020-07-15 14:48:08 +00:00
melissaml 485f396424 Fix pygments style
New theme of docs respects pygments_style.

more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I0027294e6b0af6cbf8edbbde4ca4098e50648229
2020-06-04 14:46:02 +08:00
Andreas Jaeger c9cc428182 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering
Update Sphinx version as well.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Depends-On: https://review.opendev.org/728938
Change-Id: I5511824a7ebba08c330efaf5118f130630aa52ae
2020-05-18 20:53:43 +02:00
OpenStack Release Bot e79579cf95 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I96f32dc4b3c89a9dff098d75b427cd5666bb9654
Sem-Ver: feature
2020-04-14 10:16:25 +00:00
Hervé Beraud c4d72cfcdf [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ia01dfa4bc5d7224bb0f753116cd23bdcc22df146
Sem-Ver: api-break
2020-02-06 10:25:13 +01:00
pengyuesheng 48fe5e3e3f Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ib800f8d30c59adc6f46960c5810cba782839a902
2019-11-12 17:11:51 +08:00
OpenStack Release Bot b8a69417a2 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Ie71b1433596dd50876eddd110b427eb4ae08f077
Sem-Ver: feature
2019-09-20 16:36:08 +00:00
Eric Fried ddde706469 Reno for SIGHUP fix
Adds a release note for the fix at
I8096fc7fd014e6dd299fae8ab073336c7cae362a

Change-Id: I4682950ac12f763737489c510246d54aed80b80f
Related-Bug: #1715374
2019-08-30 13:24:00 -05:00
OpenStack Release Bot d84c76108b Update master for stable/stein
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: I32e9980724205383bfc9272db92c3605c2dd90f6
Sem-Ver: feature
2019-03-18 14:46:01 +00:00
TommyLike f368430f13
Use threads to process target function
This patch takes advantages of threads to make privsep daemon process
concurrently.

Change-Id: Ib20b27d5ea07bd0af61891c7d8c0d352a393aa21
2018-11-02 09:28:34 -05:00
OpenStack Release Bot aea141ed58 Update reno for stable/rocky
Change-Id: Idfbeb3d9918304467d6d9d714b6327f3f502945c
2018-07-26 12:39:26 +00:00
OpenStack Proposal Bot 840a390f28 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I708ab6dd6cce830033f7b2350621fe7178f14fc4
2018-03-01 07:02:35 +00:00
OpenStack Proposal Bot 3ac2f5855f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I816e1179e0ab6c8f3daec00d9f28e606da2110f0
2018-02-07 07:02:25 +00:00
OpenStack Release Bot 29e899ece6 Update reno for stable/queens
Change-Id: I92f567250c84a11aa750458bb92ba37ebf3f2e44
2018-01-24 18:06:52 +00:00
Andreas Jaeger 92b80bddfc Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: Ic0c6f8a7c7fe84968fb11388124ef336dfa6968f
2017-11-16 21:47:15 +01:00
OpenStack Proposal Bot 7f599599a7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1756577467a5aeeb4c9312fa6d1c660a2d080d03
2017-10-08 09:34:52 +00:00
OpenStack Release Bot 85ada845e7 Update reno for stable/pike
Change-Id: Iaf28bdd2acd297f32263ddb02449ab87f6ad99cf
2017-07-28 21:05:17 +00:00
Doug Hellmann 10b2dbb376 switch from oslosphinx to openstackdocstheme
Change-Id: Ibce1f74853c68bdaeb443700070a90044e8ab28a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-07 14:48:17 -04:00
OpenStack Release Bot d4ede6d6a0 Update reno for stable/ocata
Change-Id: I23f877348c363d89a3e09506361bc4a4e79df8fd
2017-01-20 19:15:43 +00:00
OpenStack Proposal Bot 38117a3e2e Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I6adae3736b6dd59fe3f88702c5a2a31ab1d37568
2016-10-24 07:29:40 +00:00
Andreas Jaeger 9dab41120e Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I204009ec49068f992cee89a5f721684512959f1e
2016-10-06 20:42:55 +02:00
Doug Hellmann af91d7a298 Update reno for stable/newton
Change-Id: Idc1379b2db35852737a809b0e56c127f2699c6c7
2016-09-01 23:48:57 +00:00
Kirill Bespalov f0370ac773 Add reno for release notes management
An initial patch to add reno and create a base directory for
release notes

Change-Id: If4c4e681e175315b4c6c5d51d339833fd83fb560
2016-07-04 12:55:50 +03:00