1. 11 Feb, 2022 1 commit
  2. 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
  3. 10 Sep, 2021 2 commits
  4. 20 Aug, 2021 1 commit
  5. 10 Aug, 2021 1 commit
  6. 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
  7. 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
  8. 22 Jun, 2021 1 commit
  9. 07 Jun, 2021 1 commit
  10. 18 May, 2021 1 commit
  11. 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
  12. 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
  13. 16 Apr, 2021 2 commits
  14. 15 Apr, 2021 2 commits
  15. 07 Apr, 2021 1 commit
  16. 04 Nov, 2020 2 commits
  17. 22 Sep, 2020 1 commit
  18. 11 Sep, 2020 2 commits
  19. 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
  20. 06 Aug, 2020 1 commit
  21. 04 Aug, 2020 1 commit
  22. 24 Jul, 2020 1 commit
  23. 15 Jul, 2020 1 commit
  24. 30 Jun, 2020 1 commit
  25. 11 Jun, 2020 1 commit
  26. 04 Jun, 2020 1 commit
  27. 26 May, 2020 4 commits
  28. 22 May, 2020 1 commit
  29. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · c9cc4281
      Andreas Jaeger authored
      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
      c9cc4281
  30. 15 May, 2020 2 commits
  31. 04 May, 2020 1 commit