1. 02 Feb, 2021 2 commits
    • Sofia Enriquez's avatar
      Fix json to_primitive when using IO OBjects · ab5c68d3
      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
      (cherry picked from commit 02037330)
      (cherry picked from commit fcd737e2)
      ab5c68d3
    • Hervé Beraud's avatar
      Dropping lower constraints testing · 752607d9
      Hervé Beraud authored
      We facing errors related to the new pip resolver, this
      topic was discussed on the ML and QA team proposed to
      to test lower-constraints [1].
      
      I propose to drop this test because the complexity and recurring pain needed
      to maintain that now exceeds the benefits provided by this mechanismes.
      
      [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html
      
      Change-Id: Ie53b809ab031525958b58730a12cb37d0bdf5c82
      (cherry picked from commit 3799d180)
      (cherry picked from commit 57fd9dd9)
      752607d9
  2. 14 Apr, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri · 63b32828
      OpenStack Release Bot authored
      Update the URL to the upper-constraints file to point to the redirect
      rule on releases.openstack.org so that anyone working on this branch
      will switch to the correct upper-constraints list automatically when
      the requirements repository branches.
      
      Until the requirements repository has as stable/ussuri branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: Ia2563c83a544762e2448e284051b30f0192cf257
      63b32828
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/ussuri · 574dcc91
      OpenStack Release Bot authored
      Change-Id: Ib3066064c0cd54dd8f8e5dcdc6d251dd94e6c57d
      574dcc91
  3. 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
  4. 24 Mar, 2020 1 commit
  5. 23 Mar, 2020 1 commit
  6. 13 Mar, 2020 1 commit
  7. 06 Mar, 2020 1 commit
  8. 02 Mar, 2020 1 commit
  9. 27 Feb, 2020 1 commit
  10. 21 Feb, 2020 1 commit
  11. 17 Feb, 2020 1 commit
  12. 14 Feb, 2020 1 commit
  13. 13 Feb, 2020 2 commits
  14. 10 Feb, 2020 1 commit
  15. 06 Feb, 2020 1 commit
  16. 03 Feb, 2020 1 commit
  17. 20 Dec, 2019 1 commit
  18. 18 Dec, 2019 1 commit
  19. 25 Oct, 2019 1 commit
  20. 24 Oct, 2019 1 commit
    • caoyuan's avatar
      tox: Keeping going with docs · fa87c3cd
      caoyuan authored
      Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
      suggests, keeps the build running when it encounters non-fatal errors.
      This is exceptionally useful in avoiding a continuous edit-build loop
      when undertaking large doc reworks where multiple errors may be
      introduced.
      
      [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
      
      Change-Id: Iace9acb9bcbc29760de5b5c12b0a92353edde80e
      fa87c3cd
  21. 20 Sep, 2019 1 commit
    • OpenStack Release Bot's avatar
      Update master for stable/train · a61f012f
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/train.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/train.
      
      Change-Id: I5e8957ae5a5de418558a1bb6b021c82a89494faf
      Sem-Ver: feature
      a61f012f
  22. 05 Jul, 2019 1 commit
  23. 17 Jun, 2019 1 commit
  24. 11 Jun, 2019 1 commit
  25. 06 Jun, 2019 1 commit
  26. 03 Jun, 2019 1 commit
    • gujin's avatar
      Sync Sphinx requirement · 4dabeff8
      gujin authored
      Sync sphinx dependency with global requirements. It caps python 2 since
      sphinx 2.0 no longer supports Python 2.7.
      
      Change-Id: Icce5210e32f7f1c41b5bbf5211ea3cf1edc514d5
      Closes-Bug: #1831411
      4dabeff8
  27. 21 May, 2019 2 commits
  28. 03 May, 2019 1 commit
  29. 02 May, 2019 1 commit
    • Ben Nemec's avatar
      Explicitly set default_flow_style to False · 448807a7
      Ben Nemec authored
      In PyYAML 5.1 they changed this default in the library. Because
      we weren't explicitly setting it, this broke our unit tests.
      Since default_flow_style=False is usually what you want (hence why
      PyYAML changed it), let's set it explicitly.
      
      Also note that this was already being set for dump, but not for
      dumps. This is also more consistent.
      
      Change-Id: I3f7dfce5ceb5d3b802878c410406994cbb0988b6
      448807a7
  30. 19 Apr, 2019 1 commit
  31. 25 Mar, 2019 1 commit
  32. 18 Mar, 2019 1 commit
    • OpenStack Release Bot's avatar
      Update master for stable/stein · e56a5b71
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/stein.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/stein.
      
      Change-Id: Ie0157e3139921532790974b0dea14642c6817651
      Sem-Ver: feature
      e56a5b71
  33. 21 Feb, 2019 1 commit
    • Hervé Beraud's avatar
      Introduce a base yaml parser for all openstack components · 35dae9c2
      Hervé Beraud authored
      
      
      A lot of openstack components like:
      - solum
      - tosca-parser
      - heat
      - murano
      - etc...
      
      reimplement theirs own yaml parser for loading and dumping.
      
      These implementations sometimes forgot to use a safe loader
      or safe dumper, our implementation use safe by default.
      
      You can deactive safe by passing the argument is_safe to false when
      you call oslo_serialization.yamlutils.load or oslo_serialization.yamlutils.dump.
      
      Change-Id: I63e85a2b4fc999e6acac12ae51c2ab8c64bddbc6
      Co-Authored-By: default avatarNatal Ngétal <hobbestigrou@erakis.eu>
      35dae9c2
  34. 20 Feb, 2019 1 commit
  35. 19 Feb, 2019 1 commit
  36. 17 Feb, 2019 1 commit
    • ZhijunWei's avatar
      Update hacking version · c9b464c0
      ZhijunWei authored
      Use latest release 1.1.0 and compatible changes w.r.t pep8
      
      Change-Id: I95d62bbce7fe20dd2f9ec8a96cdffeeefcda75be
      c9b464c0