1. 05 Feb, 2021 1 commit
    • Sofia Enriquez's avatar
      Fix json to_primitive when using IO OBjects · a9c4bfab
      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)
      (cherry picked from commit ab5c68d3)
      a9c4bfab
  2. 08 Jan, 2021 1 commit
  3. 20 Sep, 2019 2 commits
    • OpenStack Release Bot's avatar
      Update TOX/UPPER_CONSTRAINTS_FILE for stable/train · 52680cea
      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/train branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I319ab1ef2e90568590315b3c43e18a9c1ea48785
      52680cea
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/train · 2757e5d1
      OpenStack Release Bot authored
      Change-Id: Ib4c43c86d23c0e0bca52a7455c66f6f02d7066ac
      2757e5d1
  4. 05 Jul, 2019 1 commit
  5. 17 Jun, 2019 1 commit
  6. 11 Jun, 2019 1 commit
  7. 06 Jun, 2019 1 commit
  8. 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
  9. 21 May, 2019 2 commits
  10. 03 May, 2019 1 commit
  11. 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
  12. 19 Apr, 2019 1 commit
  13. 25 Mar, 2019 1 commit
  14. 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
  15. 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
  16. 20 Feb, 2019 1 commit
  17. 19 Feb, 2019 1 commit
  18. 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
  19. 04 Feb, 2019 1 commit
    • Martin Kopec's avatar
      Fix README · 4f24d023
      Martin Kopec authored
      The README points to the documentation instead of to Launchpad
      where bugs are reported.
      The patch fixes that.
      
      Change-Id: Ia13633dc02e74c39565429c93d5a217bba5acbb2
      4f24d023
  20. 20 Dec, 2018 1 commit
  21. 05 Dec, 2018 1 commit
  22. 15 Oct, 2018 1 commit
    • ZhongShengping's avatar
      Clean up .gitignore references to personal tools · d67f8862
      ZhongShengping authored
      Developers run all sorts of different tools within Git repositories,
      any of which can leave their own special trashfiles all over the
      place. We can't every hope to catalog them all, so better to
      recommend developers simply configure a global core.excludesfile to
      filter the irrelevant files which tend to get created by their
      personal choice of tools.
      
      To this end, remove the long-standing sections for "Mr Developer"
      and "Editors" since their mere existence here sends the signal that
      we welcome (and have time to review) additions for any old tool
      someone ever might happen to try. Also add a comment block
      explaining this, for clarity.
      
      We can, and should of course, continue to list files created by the
      tools recommended by our workflow (test frameworks called from tox,
      documentation and packaging builds, et cetera).
      
      This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb
      from the openstack-dev/oslo-cookiecutter repository.
      
      Change-Id: I78cf243f3ddb...
      d67f8862
  23. 28 Aug, 2018 1 commit
  24. 27 Aug, 2018 1 commit
  25. 13 Aug, 2018 2 commits
  26. 11 Aug, 2018 1 commit
  27. 07 Aug, 2018 1 commit
  28. 03 Aug, 2018 3 commits
  29. 30 Jul, 2018 1 commit
    • Corey Bryant's avatar
      py37: deal with Exception repr changes · 254e0ae8
      Corey Bryant authored
      Under Python 3.7, a trailing comma is no longer added to
      the init parameters generated by a repr() call:
      
          >>> repr(Exception('It Works'))
          "Exception('It Works')"
      
      vs
      
          >>> repr(Exception('It Works'))
          "Exception('It Works',)"
      
      Support pre and post Python 3.7 formats in test cases.
      
      Change-Id: I45bdf565e170793d0342a907628638369d4d0f2f
      Closes-Bug: #1783638
      254e0ae8
  30. 26 Jul, 2018 1 commit
  31. 04 Jul, 2018 1 commit
  32. 21 Jun, 2018 1 commit
  33. 15 Jun, 2018 1 commit
  34. 06 Jun, 2018 1 commit
    • Doug Hellmann's avatar
      fix tox python3 overrides · 988a758b
      Doug Hellmann authored
      
      
      We want to default to running all tox environments under python 3, so
      set the basepython value in each environment.
      
      We do not want to specify a minor version number, because we do not
      want to have to update the file every time we upgrade python.
      
      We do not want to set the override once in testenv, because that
      breaks the more specific versions used in default environments like
      py35 and py36.
      
      Change-Id: I671e0108b2cafd14e10184f68d38172519075f22
      Signed-off-by: default avatarDoug Hellmann <doug@doughellmann.com>
      988a758b
  35. 03 Jun, 2018 1 commit
    • Morgan's avatar
      Stop using encoding='utf-8' with msgpack · d5855294
      Morgan authored
      msgpack is throwing a warning that the unpacker has deprecated the use
      of encoding argument. Instead the unpacker uses `raw=False`, which
      does an unpack with similar behavior to the old encoding='utf-8'
      mechanism.
      
      This will reduce a lot of warning spam for projects using msgpack
      such as Keystone. The change to the kwarg "raw" from "bytes_as_raw"
      happned between 0.5.1 and 0.5.2. Changing the lower constraint is
      required to ensure the new arguments are matching the method
      signature.
      
      Change-Id: Iadbee3ec8def9512369a415fb4603dc05d0cbc56
      d5855294