1. 19 Apr, 2019 1 commit
  2. 03 Aug, 2018 1 commit
  3. 08 Jan, 2018 1 commit
  4. 05 Jan, 2018 1 commit
  5. 16 Nov, 2017 1 commit
    • IWAMOTO Toshihiro's avatar
      Protect rootwrap daemon socket against multiple threads · 3ab92c60
      IWAMOTO Toshihiro authored
      Wrap the call with eventlet.Semaphore. Simultaneous Client.execute
      calls can fail badly. Alternatively, rootwrap daemon connections
      could be made every time when Client.execute is called, without
      using a semaphore.
      
      Change-Id: Id9d38832c67f2d81d382cda797a48fee943a27f1
      Closes-bug: #1654287
      (cherry picked from commit 7711a6ce)
      3ab92c60
  6. 22 Mar, 2017 1 commit
    • IWAMOTO Toshihiro's avatar
      Allow rootwrap-daemon to timeout and exit · fdacd0e6
      IWAMOTO Toshihiro authored
      If the client side abnormally exits, its rootwrap daemon cannot
      receive a shutdown message and will be left forever. Let it timeout
      and exit to save such cases.
      
      Change-Id: I783717b5fa019371747b98bf92965b6e689603f6
      Related-bug: #1658973
      Related-bug: #1658977
      Related-bug: #1663458
      (cherry picked from commit 6285b635)
      fdacd0e6
  7. 02 Mar, 2017 1 commit
    • Claudiu Belu's avatar
      Avoid importing Linux specific modules on Windows · 776cd504
      Claudiu Belu authored
      oslo.rootwrap currently imports a few Linux-specific modules, which
      means that any services importing oslo.rootwrap modules will fail to
      start on Windows (e.g.: neutron-ovs-agent).
      
      Change-Id: I229c311939facdffdcde484f590e980102024b5a
      Closes-Bug: #1661326
      (cherry picked from commit 847c28ab)
      776cd504
  8. 16 Feb, 2017 1 commit
  9. 20 Jan, 2017 2 commits
  10. 23 Dec, 2016 1 commit
  11. 22 Dec, 2016 1 commit
  12. 13 Dec, 2016 1 commit
    • Tony Breeds's avatar
      Add Constraints support · 9e963136
      Tony Breeds authored
      Adding constraints support to libraries is slightly more complex than
      services as the libraries themselves are listed in upper-constraints.txt
      which leads to errors that you can't install a specific version and a
      constrained version.
      
      This change adds constraints support by also adding a helper script to
      edit the constraints to remove oslo.rootwrap.
      
      Change-Id: Ie14167eced0bba29f7d4e30f815785641c1da6c0
      9e963136
  13. 25 Nov, 2016 1 commit
  14. 09 Nov, 2016 1 commit
  15. 02 Nov, 2016 1 commit
  16. 22 Oct, 2016 1 commit
  17. 20 Oct, 2016 1 commit
  18. 18 Oct, 2016 1 commit
    • Thomas Bechtold's avatar
      Fix running unknown commands in daemon mode · 16c22e9b
      Thomas Bechtold authored
      Running a unknown command (which is mentioned in the filter
      but not available on the filesystem) leads currently to an exception.
      Make sure that the return codes for both, daemon and non-daemon mode
      are equal when running the same command.
      Also add functional tests for this case.
      
      Change-Id: I20004c3c370d004b5b76f4c8f8ab167d0949fabf
      Closes-Bug: #1632768
      16c22e9b
  19. 06 Oct, 2016 1 commit
    • Andreas Jaeger's avatar
      Enable release notes translation · d59692cd
      Andreas Jaeger authored
      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: Ib1a145799101da6196445e8ed78ba70863df30e2
      d59692cd
  20. 24 Sep, 2016 1 commit
  21. 14 Sep, 2016 1 commit
  22. 01 Sep, 2016 1 commit
  23. 31 Aug, 2016 1 commit
  24. 19 Aug, 2016 1 commit
    • Victor Stinner's avatar
      Enhance _program() and _program_path() · 04e2cd00
      Victor Stinner authored
      * _program_path() now uses shutil.which() if available
        (Python 3.3 and newer)
      * Convert _program_path() to static method (self is not needed)
      * Explain when os.readlink("/proc/pid/exe") result can contain NUL
        byte followed by junk data
      * PATH environment variable: use os.defpath if PATH is not set
        (as shutil.which())
      * Update test_KillFilter_renamed_exe() for Python 3 using
        shutil.which(): mock also os.path.exists() and os.access()
      * test_KillFilter_upgraded_exe(), test_KillFilter_renamed_exe(): use
        @mock.patch() decorator
      * Cleanup the code
      
      Change-Id: I91a7a8505380d4aeae7b2c0b3199e25b17b96888
      04e2cd00
  25. 02 Aug, 2016 1 commit
    • yan.haifeng's avatar
      Fix parameters of assertEqual are misplaced · a46b731c
      yan.haifeng authored
      Many assertEqual sentences don't follow assertEqual(expected, actual),
      These misplaces have 2 impacts:
      1, giving confusing messages when some tests failed.
      2, mislead other developers, new test modules may follow these wrong pattern.
      
      This patch fix all of them.
      
      Change-Id: I4adfc98d6eecd5ea117d725775b2476b237212d9
      Closes-Bug: #1604213
      a46b731c
  26. 22 Jul, 2016 1 commit
  27. 20 Jul, 2016 1 commit
    • Sean Dague's avatar
      always allow privsep-helper as a command · 37c2a041
      Sean Dague authored
      To support the seamless transition from oslo.rootwrap to oslo.privsep
      across multiple projects: nova, neutron, cinder, and libraries os-vif,
      os-brick we need to be able to execute privsep-helper as root from
      rootwrap.
      
      Rootwrap's use of etc (by default) for rules makes the upgrade path
      very manual for operators. Given that every project is going to add
      the same privsep-helper rule at some point over the next few cycles,
      instead of making every project have to have a manual update process,
      we just whitelist privsep-helper. This will immediately make it
      available for all, and upgrades become far more seamless.
      
      Change-Id: If8b60f2d671b9d12c58226019d787917efaedd9c
      37c2a041
  28. 12 Jul, 2016 1 commit
    • Yatin Kumbhare's avatar
      Add Python 3.5 classifier and venv · 5e5ed2e1
      Yatin Kumbhare authored
      Now that there is a passing gate job, we can claim support for
      Python 3.5 in the classifier. This patch also adds the convenience
      py35 venv.
      
      Change-Id: I7c1ce52e6d1427e797d4a002d0ee0543e11dd92b
      5e5ed2e1
  29. 30 Jun, 2016 1 commit
  30. 21 Jun, 2016 1 commit
  31. 02 Jun, 2016 1 commit
  32. 08 Apr, 2016 1 commit
  33. 19 Feb, 2016 1 commit
  34. 11 Feb, 2016 1 commit
  35. 04 Feb, 2016 1 commit
    • Ronald Bradford's avatar
      Remove unused use-syslog-rfc-format option · 6d104a3b
      Ronald Bradford authored
      Remove this option that appears ignored. For reference by similar name
      only, this option is marked as deprecated and to be removed from oslo.log
      in Mitaka. Refer to I9b77899fe437d359df2a15961866b194b564ca48.
      
      Change-Id: I9a97b53d829a9ca6b92ee4b545f616a3bc5b25be
      6d104a3b
  36. 24 Jan, 2016 1 commit
  37. 16 Jan, 2016 1 commit
  38. 10 Dec, 2015 1 commit
    • sonu.kumar's avatar
      Removes MANIFEST.in as it is not needed explicitely by PBR · 1fcd643f
      sonu.kumar authored
      This patch removes `MANIFEST.in` file as pbr generates a sensible
      manifest from git files and some standard files and it removes
      the need for an explicit `MANIFEST.in` file.
      
      Change-Id: Ib17ef621f8d71940d49aec4d9e0ca0eee9d91fca
      1fcd643f
  39. 26 Nov, 2015 1 commit
    • ChangBo Guo(gcb)'s avatar
      Drop python 2.6 support · c6443082
      ChangBo Guo(gcb) authored
      * Use weakref.WeakSet
      * Use memoryview
      * Allow test_graceful_death for eventlet
      
      Change-Id: I46651c2e84e2ef0057d338841bf4981e61cdc257
      c6443082