1. 15 Apr, 2021 3 commits
  2. 19 Jan, 2021 3 commits
  3. 18 Jan, 2021 1 commit
    • Sofia Enriquez's avatar
      Fix json to_primitive when using IO OBjects · 02037330
      Sofia Enriquez authored
      
      
      Currently, using Cinder's backup service with RBD the
      backup-create operation gets stuck when logging
      ('use_json=True' must be set in the config file).
      
      The oslo.log JSONFormatter gets stuck when passing an
      RBDVolumeIOWrapper from os-brick. This happens via os-brick's
      utils.trace() method which passes a connector containing
      {'path': RBDVolumeIOWrapper}.
      The oslo.log JSONFormatter format() method calls
      oslo_serialization's jsonutils.to_primitive and passes in
      this RBDVolumeIOWrapper object.
       
      Therefore the to_primitive method eventually calls
      RBDVolumeIOWrapper.read(). In order to fix this the current
      path avoids mapping io.IOBase objects and fallback the wrapper
      RBD volume object.
      
      Co-authored-by: default avatarEric Harney <eharney@redhat.com>
      Closes-Bug: #1908607
      Change-Id: I3c416e855cb5f0dc32d14b2749ba92aba8964574
      02037330
  4. 18 Dec, 2020 1 commit
  5. 05 Nov, 2020 1 commit
  6. 04 Nov, 2020 1 commit
  7. 22 Sep, 2020 1 commit
  8. 17 Sep, 2020 1 commit
    • zhoulinhui's avatar
      Fix hacking min version to 3.0.1 · a2b52b13
      zhoulinhui authored
      flake8 new release 3.8.0 added new checks and gate pep8
      job start failing. hacking 3.0.1 fix the pinning of flake8 to
      avoid bringing in a new version with new checks.
      
      Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
      flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
      break the pep8 job if new check are added.
      
      To avoid similar gate break in future, we need to bump the hacking min
      version.
      
      - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
      
      Change-Id: Idc5d70e753953aeb006caeb3ba8f78f5ceeafdf3
      a2b52b13
  9. 11 Sep, 2020 2 commits
  10. 08 Sep, 2020 2 commits
    • Hervé Beraud's avatar
      ignore reno generated artifacts · be517b4a
      Hervé Beraud authored
      Change-Id: I81068c9d9c3aa542684c6f9f8bbb5113ddbfe05a
      be517b4a
    • Hervé Beraud's avatar
      Adding pre-commit · b8289101
      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: I8c993d6ffa...
      b8289101
  11. 24 Jul, 2020 1 commit
  12. 30 Jun, 2020 1 commit
  13. 09 Jun, 2020 1 commit
  14. 08 Jun, 2020 3 commits
  15. 04 Jun, 2020 1 commit
  16. 03 Jun, 2020 1 commit
  17. 02 Jun, 2020 1 commit
  18. 26 May, 2020 1 commit
  19. 22 May, 2020 1 commit
  20. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · f716c679
      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 problems
      
      Update Sphinx version as well.
      
      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.
      
      Set openstackdocs_auto_name to use 'project' as name.
      
      Depends-On: https://review.opendev.org/728938
      Change-Id: If90af1920749efd1b314884a4b366d6d2c939521
      f716c679
  21. 15 May, 2020 2 commits
  22. 04 May, 2020 1 commit
  23. 27 Apr, 2020 1 commit
  24. 24 Apr, 2020 3 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · e5e55b37
      Sean McGinnis authored
      
      
      Python 3.8 is now our highest level supported python runtime.
      This updates the default tox target environments to swap out
      py37 for py38 to make sure local development testing is
      covering this version.
      
      This does not impact zuul jobs in any way, nor prevent local
      tests against py37. It just changes the default if none is
      explicitly provided.
      
      Change-Id: I72444ae863915b98182a6badeef94ea9109036ab
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      e5e55b37
    • Sean McGinnis's avatar
      Add py38 package metadata · e3a1e94f
      Sean McGinnis authored
      
      
      Now that we are running the Victoria tests that include a
      voting py38, we can now add the Python 3.8 metadata to the
      package information to reflect that support.
      
      Change-Id: I3dea2c56eae81c42173cbcdfb349172b2ad720d9
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      e3a1e94f
    • Hervé Beraud's avatar
      Add release notes links to doc index · d2d78fc1
      Hervé Beraud authored
      Also uniformize titles to match a common format used on oslo's projects.
      
      Change-Id: I687c647f5b978d87e3a9aa3d788d59d7bce26a21
      d2d78fc1
  25. 14 Apr, 2020 2 commits
  26. 02 Apr, 2020 1 commit
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 5ee9b7bf
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found.
      
      Remove hacking and friends from lower-constraints, they are not needed
      for installation.
      
      Change-Id: I94aabb5b1ef43e8f0a5850620afce91ae0755e97
      5ee9b7bf
  27. 24 Mar, 2020 1 commit
  28. 23 Mar, 2020 1 commit