1. 29 Aug, 2022 2 commits
    • Thomas Goirand's avatar
      Now packaging 3.0.1 · b5e54af2
      Thomas Goirand authored
      b5e54af2
    • Thomas Goirand's avatar
      Merge tag '3.0.1' into debian/zed · e88a4ea6
      Thomas Goirand authored
      oslo.privsep 3.0.1 release
      
      meta:version: 3.0.1
      meta:diff-start: -
      meta:series: zed
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Elod Illes <elod.illes@est.tech>
      meta:release:Commit: Elod Illes <elod.illes@est.tech>
      meta:release:Change-Id: I3a6733a07e2d9739f4379f961b1afdc0ebfdb9f3
      meta:release:Code-Review+1: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
      e88a4ea6
  2. 16 Jul, 2022 1 commit
  3. 05 May, 2022 1 commit
  4. 19 Apr, 2022 1 commit
  5. 11 Apr, 2022 1 commit
  6. 25 Mar, 2022 2 commits
  7. 22 Mar, 2022 3 commits
  8. 04 Mar, 2022 2 commits
  9. 21 Feb, 2022 2 commits
    • Thomas Goirand's avatar
      Now packaging 2.7.0 · 378bf35a
      Thomas Goirand authored
      378bf35a
    • Thomas Goirand's avatar
      Merge tag '2.7.0' into debian/yoga · aa024f57
      Thomas Goirand authored
      oslo.privsep 2.7.0 release
      
      meta:version: 2.7.0
      meta:diff-start: -
      meta:series: yoga
      meta:release-type: release
      meta:pypi: yes
      meta:first: yes
      meta:release:Author: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Commit: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Change-Id: I59b1e5829619fde8bc43291ff42ff47ecb466116
      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>
      aa024f57
  10. 11 Feb, 2022 1 commit
  11. 21 Dec, 2021 1 commit
    • Stephen Finucane's avatar
      Remove six · 7f7b9d92
      Stephen Finucane authored
      
      
      This wasn't actually recorded in our list of dependencies, but we were
      using it all the same. In any case, it's no longer necessary so remove
      it.
      
      Change-Id: Ia29fdf5058c2b22327cb0ba16c28bef3660e9ceb
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      7f7b9d92
  12. 01 Dec, 2021 1 commit
    • Mohammed Naser's avatar
      Bump max_buffer_size for Deserializer · c223dbce
      Mohammed Naser authored
      Since msgpack 0.6.0, some limits were introduced for the
      deserializer which were put in to avoid any denial of service
      attacks using msgpack.  These limits were raised to 100MiB
      in the release of msgpack 1.0.0.
      
      The default buffer sizes that were implemented were quite low
      and when running certain `privsep` commands, especially for
      Neutron when using linux bridge, where there is a large amount
      of netdevs, privsep would crash since msgpack would fail to
      decode the message since it considers it too big:
      
        ValueError: 1174941 exceeds max_str_len(1048576)
      
      In this commit, the `max_buffer_size` is bumped to the value
      that ships with msgpack==1.0.0 to allow for users who don't
      have that to continue to function. Also, since `msgpack` is
      only being used by the internal API, we're not worried about
      a third party coming in and overwhelming the system by
      deserializing calls.
      
      This fix also addresses some weird behaviour where privsep
      will die and certain OpenStack agents would start to behave
      in a strange way once they hit a certain number of ports (since
      any privsep calls would start to fail).
      
      Closes-Bug: #1844822
      Closes-Bug: #1896734
      Related-Bug: #1928764
      Closes-Bug: #1952611
      Change-Id: I135917522daff95377d07566317ef0fc0d16e7cb
      c223dbce
  13. 29 Sep, 2021 1 commit
  14. 10 Sep, 2021 2 commits
  15. 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
  16. 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
  17. 20 Aug, 2021 1 commit
  18. 16 Aug, 2021 1 commit
  19. 10 Aug, 2021 1 commit
  20. 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
  21. 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
  22. 22 Jun, 2021 1 commit
  23. 07 Jun, 2021 1 commit
  24. 18 May, 2021 1 commit
  25. 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
  26. 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
  27. 16 Apr, 2021 2 commits
  28. 15 Apr, 2021 2 commits
  29. 07 Apr, 2021 1 commit