1. 29 Sep, 2021 1 commit
  2. 27 Aug, 2021 2 commits
    • Thomas Goirand's avatar
      Now packaging 2.6.2. · 244dfbc9
      Thomas Goirand authored
      244dfbc9
    • Thomas Goirand's avatar
      Merge tag '2.6.2' into debian/xena · a6a6d429
      Thomas Goirand authored
      oslo.privsep 2.6.2 release
      
      meta:version: 2.6.2
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: Iff10cee7c7fef06b855f9c536b47aaacd1b4646b
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      a6a6d429
  3. 23 Aug, 2021 2 commits
    • Thomas Goirand's avatar
      Now packaging 2.6.1 · cfed9070
      Thomas Goirand authored
      cfed9070
    • Thomas Goirand's avatar
      Merge tag '2.6.1' into debian/xena · 818937b9
      Thomas Goirand authored
      oslo.privsep 2.6.1 release
      
      meta:version: 2.6.1
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: Id7ebd54c7d585550fff0e3e78a4ba3b9449dcd9c
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
      818937b9
  4. 20 Aug, 2021 1 commit
  5. 16 Aug, 2021 1 commit
  6. 10 Aug, 2021 1 commit
  7. 02 Aug, 2021 1 commit
    • Corey Bryant's avatar
      Add except path with exception debug to send_recv · 4f145067
      Corey Bryant authored
      The related bug resulted when an exception occurred within the
      future.result() call. This caused the finally block to be executed,
      and therefore myid to be deleted from self.outstanding_msgs prior
      to _reader_main() checking if the msgid not in self.outstanding_msgs.
      This caused _reader_main() to raise an AssertionError because the
      msgid was no longer in outstanding_msgs. This is a small step forward
      to log a warning when this siutation occurs.
      
      Related-Bug: #1927868
      Change-Id: I2eed242e0c796b8a2aa3d1b21bd1da4c497f624d
      4f145067
  8. 23 Jun, 2021 1 commit
    • elajkat's avatar
      Add timeout to PrivContext and entrypoint_with_timeout decorator · f7f3349d
      elajkat authored
      
      
      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: default avatarRodolfo Alonso <ralonsoh@redhat.com>
      Change-Id: Ie3b1fc255c0c05fd5403b90ef49b954fe397fb77
      Related-Bug: #1930401
      f7f3349d
  9. 22 Jun, 2021 1 commit
  10. 07 Jun, 2021 1 commit
  11. 18 May, 2021 1 commit
  12. 14 May, 2021 1 commit
    • yangyawei's avatar
      setup.cfg: Replace dashes with underscores · bd989a3c
      yangyawei authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: Ia53113f891bcb081c63778e3c943896bc743c34b
      bd989a3c
  13. 10 May, 2021 1 commit
    • Gorka Eguileor's avatar
      Allow finer grained log levels · 71c732c8
      Gorka Eguileor authored
      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
      71c732c8
  14. 16 Apr, 2021 2 commits
  15. 15 Apr, 2021 2 commits
  16. 07 Apr, 2021 1 commit
  17. 11 Mar, 2021 3 commits
    • Thomas Goirand's avatar
    • Thomas Goirand's avatar
      Now packaging 2.5.0. · 288131fc
      Thomas Goirand authored
      288131fc
    • Thomas Goirand's avatar
      Merge tag '2.5.0' into debian/wallaby · ca4ffe85
      Thomas Goirand authored
      oslo.privsep 2.5.0 release
      
      meta:version: 2.5.0
      meta:diff-start: -
      meta:series: wallaby
      meta:release-type: release
      meta:pypi: yes
      meta:first: yes
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: I7895d1cf5f258a4da3486882a019d51d4f39db8d
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      ca4ffe85
  18. 04 Nov, 2020 2 commits
  19. 16 Oct, 2020 3 commits
  20. 22 Sep, 2020 1 commit
  21. 13 Sep, 2020 3 commits
    • Thomas Goirand's avatar
      Fix version of cffi to >= 1.14.0. · b973c04c
      Thomas Goirand authored
      b973c04c
    • Thomas Goirand's avatar
      Now packaging 2.4.0 · 906f9278
      Thomas Goirand authored
      906f9278
    • Thomas Goirand's avatar
      Merge tag '2.4.0' into debian/victoria · b20b6216
      Thomas Goirand authored
      oslo.privsep 2.4.0 release
      
      meta:version: 2.4.0
      meta:diff-start: -
      meta:series: victoria
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Ben Nemec <bnemec@redhat.com>
      meta:release:Commit: Ben Nemec <bnemec@redhat.com>
      meta:release:Change-Id: I3ae7c0913864b949dfb01fd31e1c7567fc4b7fd7
      meta:release:Code-Review+2: Hervé Beraud <hberaud@redhat.com>
      meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com>
      meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
      b20b6216
  22. 11 Sep, 2020 2 commits
  23. 09 Sep, 2020 3 commits
    • Thomas Goirand's avatar
      Switch to debhelper-compat 11. · 39aba3d7
      Thomas Goirand authored
      39aba3d7
    • Thomas Goirand's avatar
      Now packaging 2.3.0 · f9c3f55a
      Thomas Goirand authored
      f9c3f55a
    • Thomas Goirand's avatar
      Merge tag '2.3.0' into debian/victoria · 8cbd74f0
      Thomas Goirand authored
      oslo.privsep 2.3.0 release
      
      meta:version: 2.3.0
      meta:diff-start: -
      meta:series: victoria
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: I673491f8ee38ab4b2ffed1ef8629002b4fd8a896
      meta:release:Code-Review+1: Ben Nemec <openstack@nemebean.com>
      meta:release:Code-Review+1: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>
      meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com>
      meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
      8cbd74f0
  24. 08 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · d7f6ddc5
      Hervé Beraud authored
      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: default avatarMoisés Guimarães de Medeiros <moguimar@redhat.com>
      d7f6ddc5
  25. 06 Aug, 2020 1 commit
  26. 04 Aug, 2020 1 commit