1. 05 Apr, 2022 2 commits
  2. 17 Jan, 2022 1 commit
  3. 18 Oct, 2021 2 commits
    • Julia Kreger's avatar
      Fix BackOffLoopingCall error so it is not misleading · 1e039d63
      Julia Kreger authored
      The backoff looping call logging was previously making
      a decision on if timeout had or was going to be exceeded
      by including idle time and it's internal time, however
      this is misleading as the overall operation may take
      30 seconds externally, a user initiated timeout of 30
      seconds is requested, and the error might say something
      like 18 seconds has passed, when that is incorrect.
      
      The logic is actualy correct, the logging was just
      misleading.
      
      Fixes the exception message to use the total time.
      
      Change-Id: Ie9ef5a53abb24f6ab7de0ad57a672c0a8d7ff0ee
      (cherry picked from commit d3ee8ef0)
      1e039d63
    • Sebastian Lohff's avatar
      Fix fo() backdoor command for non-class objects · c487850a
      Sebastian Lohff authored
      The backdoor command fo() uses isinstance() to check if an object is an
      instance of a class. This only works with objects that have a __class__
      attribute, else an AttributeError is raised by isinstance(). This is
      seldomly the case, though if there is one such object fo() will cease to
      work. Therefore we need to protect us against this case by checking for
      a __class__ attribute before calling isinstance().
      
      An example for an object without __class__ would be
      functools._lru_list_elem.
      
      Change-Id: Ia4c5cbdc249535d36f6e71f7b2a7359bc6fdf219
      Closes-Bug: #1946072
      (cherry picked from commit eb191548)
      c487850a
  4. 10 Sep, 2021 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/xena · 7be76c24
      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/xena branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: Ie7829cbcc77f6e71e0678e300318174756804530
      7be76c24
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/xena · 48881c42
      OpenStack Release Bot authored
      Change-Id: I92699934eeb62263cafaf4e0dc03e57d313e4fc5
      48881c42
  5. 01 Jun, 2021 1 commit
  6. 05 May, 2021 1 commit
    • YuehuiLei's avatar
      setup.cfg: Replace dashes with underscores · 19f369a6
      YuehuiLei authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: Ide75d5a0fb9215a81f0410b6ffa77849463cf888
      19f369a6
  7. 29 Apr, 2021 1 commit
  8. 16 Apr, 2021 3 commits
  9. 15 Apr, 2021 2 commits
  10. 23 Mar, 2021 1 commit
  11. 18 Mar, 2021 2 commits
  12. 19 Feb, 2021 1 commit
  13. 03 Feb, 2021 1 commit
  14. 21 Jan, 2021 1 commit
  15. 18 Jan, 2021 1 commit
  16. 14 Jan, 2021 1 commit
  17. 03 Jan, 2021 1 commit
  18. 24 Dec, 2020 1 commit
    • zhangboye's avatar
      Use TOX_CONSTRAINTS_FILE · 7e72bbf0
      zhangboye authored
      UPPER_CONSTRAINTS_FILE is old name and deprecated
      This allows to use upper-constraints file as more
      readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
      
      Change-Id: Ice493f64ecabdeb7a66c14e1fd864c605c5384e5
      7e72bbf0
  19. 18 Dec, 2020 1 commit
  20. 30 Nov, 2020 1 commit
  21. 04 Nov, 2020 2 commits
  22. 01 Nov, 2020 1 commit
  23. 22 Sep, 2020 1 commit
  24. 11 Sep, 2020 2 commits
  25. 08 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · 10ce88ed
      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: Ib18f38dbec9...
      10ce88ed
  26. 06 Aug, 2020 2 commits
  27. 04 Aug, 2020 1 commit
  28. 24 Jul, 2020 1 commit
  29. 20 Jul, 2020 1 commit
    • Rodolfo Alonso Hernandez's avatar
      Do not import "oslo.log" in the main module · 91d4eee9
      Rodolfo Alonso Hernandez authored
      The LOG instance is not being used and there is no need to import
      "oslo_log". This will also prevent the circular import detected
      in the related bug.
      
      Change-Id: Id560ba80472b9efbcfbc289a18d4df312961fdb1
      Related-Bug: #1888213
      91d4eee9
  30. 23 Jun, 2020 1 commit