1. 17 Jun, 2021 1 commit
  2. 05 Jun, 2021 2 commits
    • David Vallee Delisle's avatar
      config-generator yaml format doesn't work with i18n fields · be3558bb
      David Vallee Delisle authored
      This is because there's no yaml representer for i18n Messages object.
      This patch aims to add this representer and allow the generation of
      configurations using oslo.i18n strings.
      
      One example of this is cinder.
      
      Closes-bug: #1928582
      Change-Id: I70ab87c9bed093cad883b6301b8a09753fc470d9
      (cherry picked from commit e5fc313e)
      (cherry picked from commit de1dbeed)
      (cherry picked from commit 0950f82e)
      be3558bb
    • David Vallee Delisle's avatar
      Updating lower-constraints.txt · f1ab2587
      David Vallee Delisle authored
      There's currently a conflict when installing test-requirements.txt with
      lower-constraints.txt.
      
      The conflict is caused by:
          The user requested flake8<3.8.0 and >=3.6.0
          The user requested (constraint) flake8==2.5.5
          oslotest 3.2.0 depends on python-subunit>=1.0.0
          stestr 2.1.0 depends on python-subunit>=1.3.0
      
      Change-Id: Id6f70b27df117f35a6bd5a6b38b4ffaee7e930b3
      f1ab2587
  3. 03 Nov, 2020 1 commit
    • Hervé Beraud's avatar
      Add a new type HostDomain. · 1fcb3e8a
      Hervé Beraud authored
      HostDomain is like HostAddress with the support of
      _ character - RFC1033
      
      openstack services are failing to start when a hostname with underscore
      _ is provided.
      
      Example:
      
      ```
      overcloud-novacompute_edge1-0.internalapi.localdomain
      overcloud-novacompute_edge1-0.internalapi
      ```
      
      Nova use `HostAddressOpt` to define `live_migration_inbound_addr`,
      and if a hostname with underscore is present in the config file
      then the service fail to start.
      
      Example:
      
      ```
      /etc/nova/nova.conf
      live_migration_inbound_addr =
      overcloud-novacompute_edge1-0.internalapi.localdomain
      ```
      
      FQDN is a domain name that specifies its exact
      location in the tree hierarchy of the Domain Name System (DNS).
      
      Underscore are allowed by RFC1033 [1][2][3]. Indeed, while a hostname may not
      contain other characters, such as the underscore character (_), other
      DNS names may contain the underscore.[1][2].
      Systems such as DomainKeys and service records use the underscore.
      
      These changes allow us to use underscore with the `HostDomain`.
      
      [1] https://www.ietf.org/rfc/rfc1912.txt
      [2] https://www.ietf.org/rfc/rfc1033.txt
      [3] http://domainkeys.sourceforge.net/underscore.html
      
      
      
      Co-authored-by: default avatarDaniel Bengtsson <dbengt@redhat.com>
      Change-Id: I0a0670207f96a987996d329e5efa9a5eb2ce000c
      Closes-Bug: #1892044
      (cherry picked from commit 64803569)
      (cherry picked from commit f37bcc77)
      1fcb3e8a
  4. 19 May, 2020 3 commits
    • OpenStack Release Bot's avatar
      Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri · acb54b9f
      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: I36fb84fdb2894f5286490499f02cc19dcf5392dc
      acb54b9f
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/ussuri · ecb665e2
      OpenStack Release Bot authored
      Change-Id: Ib3aecf1f14cec56d9e329a0c9c58a485d9c772e8
      ecb665e2
    • Sean McGinnis's avatar
      Remove redundant class docstring info · fe7d72ce
      Sean McGinnis authored
      This now fails with the newest Sphinx due to multiple entries between
      the added reference to the class's docstrings, and the docstrings
      themselves. This fixes the warnings by just removing the duplication.
      
      Also includes a squash of b1836ad4
      
      
      to cap flake8 to be < 3.8.0. The pep8 job will fail without this one,
      but that can't merge because the docs job fails without this docstring
      change.
      
      Change-Id: I284a49a5df9506f936ebf1846688339c94d9a6b8
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      (cherry picked from commit 1b248b4f)
      fe7d72ce
  5. 09 Mar, 2020 1 commit
  6. 07 Mar, 2020 1 commit
  7. 19 Feb, 2020 2 commits
  8. 13 Feb, 2020 2 commits
  9. 12 Feb, 2020 4 commits
  10. 11 Feb, 2020 1 commit
  11. 10 Feb, 2020 2 commits
  12. 06 Feb, 2020 2 commits
  13. 03 Feb, 2020 1 commit
  14. 30 Jan, 2020 1 commit
  15. 08 Jan, 2020 1 commit
    • Hervé Beraud's avatar
      tox: Trivial cleanup · db72309a
      Hervé Beraud authored
      Move 'basepython' to the top-level 'testenv'.
      
      Change-Id: I4957925d96c2eea0f9a2d791feb71b6d3f54a224
      db72309a
  16. 20 Dec, 2019 4 commits
  17. 17 Dec, 2019 2 commits
  18. 13 Dec, 2019 1 commit
    • Stephen Finucane's avatar
      Ensure option groups don't change during logging · e3e2ba55
      Stephen Finucane authored
      
      
      oslo.config allows us to configure groups and options dynamically. This
      can cause a race with our logging as we attempt to iterate through
      option groups that are changing under our feet. This wouldn't be a huge
      issue, since these are just logs are we can always log again, if needed,
      but we store groups in a dictionary and Python doesn't like us changing
      the size of a dict it's iterating through:
      
        RuntimeError: dictionary changed size during iteration
      
      Given that we're only reading through this option group and don't need
      to worry about a group _disappearing_, the solution is pretty simple:
      create a copy of our option group names ahead of time so we don't need
      to worry about new ones coming and messing things up.
      
      No tests are included since this is a race and the only way I see to
      reproduce this would involve lots of ugly threading.
      
      Change-Id: Id3b28465d645a24f0fcebff2dd68a9bd30e21594
      Signed-off-by: default avatarStephen Finucane <sfinucan@redhat.com>
      Closes-Bug: #1856312
      e3e2ba55
  19. 02 Dec, 2019 2 commits
  20. 14 Nov, 2019 1 commit
  21. 04 Nov, 2019 1 commit
  22. 24 Oct, 2019 2 commits
    • pengyuesheng's avatar
      Switch to Ussuri jobs · 2dc529f8
      pengyuesheng authored
      Change-Id: Icd54952c987153b0473872733db2bf7253d7c1f1
      2dc529f8
    • caoyuan's avatar
      tox: Keeping going with docs · 0f7244f9
      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: Ied9f46640cf2f338a5784e1c72998f93b5c860c5
      0f7244f9
  23. 15 Oct, 2019 1 commit
  24. 10 Oct, 2019 1 commit