1. 15 Nov, 2021 1 commit
    • Riccardo Pittau's avatar
      Restore blkid compatibility with Centos 7 · 731e2f9c
      Riccardo Pittau authored
      The blkid version included in util-linux 2.23.2 does not allow long
      options name for probe and match-tag.
      Use the short single letter name to restore compatibility with Centos 7
      
      Story: 2009328
      Task: 43764
      
      Change-Id: I10a52c16ebe4e519d0af63b36c3a89fd5d371319
      731e2f9c
  2. 20 Oct, 2021 1 commit
  3. 23 Sep, 2021 1 commit
    • Derek Higgins's avatar
      Allow qemu-img to write out zeros to disk · b6416eee
      Derek Higgins authored
      Allow the sparse_size for qemu-img to be specified in order
      instruct it to write out all zeros(when set to 0). Doing this
      will cause it not to zero out the entire block device
      which can be very costly on a slow HDD.
      
      Story: 2009227
      Task: 43315
      Change-Id: I480352be378020a6063fe247238b18713031f6b0
      b6416eee
  4. 10 Sep, 2021 1 commit
  5. 07 Sep, 2021 1 commit
  6. 27 Aug, 2021 1 commit
    • Dmitry Tantsur's avatar
      Avoid using blkid in favour of lsblk and parted · b7f12117
      Dmitry Tantsur authored
      Per blkid man page, we should rather use lsblk, which has much better
      debugging output (blkid essentially only returns an exit code). Since
      the partition table type is not available in lsblk, copy the procedure
      using parted from ironic-python-agent.
      
      Change-Id: I3b20754727de904dbe72f358a21f31f00a5fbb77
      b7f12117
  7. 20 Aug, 2021 1 commit
    • Dmitry Tantsur's avatar
      Drop an explicit requirement of oslo.log · ac958880
      Dmitry Tantsur authored
      This library is designed for leaf applications (services, CLI). For
      libraries it's enough to use the generic logging.
      
      Unit tests needed adjustment since LOG.exception is implemented via
      LOG.error internally.
      
      Change-Id: I943e1f07a23e76354966acae5e4594e41dd4822b
      ac958880
  8. 19 Aug, 2021 2 commits
  9. 18 Aug, 2021 3 commits
  10. 06 Aug, 2021 1 commit
    • Riccardo Pittau's avatar
      Add lower-constraints job to current development branch · b750b74c
      Riccardo Pittau authored
      The lower-constraints test was removed because of an issue where pip
      could not correctly determine the required packages versions to install,
      ending in an almost infinite loop that would end up in timeout, failure,
      and general mayhem.
      Recently the issue has been fixed and, if properly configured, the
      lower-constraints test can provide good indication of which minimum
      versions are required to support the current code.
      This patch adds the test back to the current development branch, and it
      runs only on master.
      The lower-constraints file will stay in the future stable branches.
      
      Fix olso.utils min requirement and remove doc8 from test-requirements
      as it's already included in tox.ini config.
      
      Change-Id: Ic0174f59b95a878539ab17f659f1663548e94ed7
      b750b74c
  11. 29 Jul, 2021 1 commit
  12. 06 Jul, 2021 1 commit
    • Takashi Kajinami's avatar
      Use the json format output of qemu-img info · d33cf3e0
      Takashi Kajinami authored
      Support for the human format by oslo_utils.imageutils.QemuImgInfo was
      deprecated since oslo.utils 4.9.1 [1]. This change replaces the human
      format with the json format which will be used by default.
      
      [1] 73eb0673f627aad382e08a816191b637af436465
      
      Change-Id: I4c9bdbccb9345e2259ddb0737f37c09d99dd1c4f
      d33cf3e0
  13. 15 Jun, 2021 1 commit
  14. 06 Jun, 2021 1 commit
  15. 02 Jun, 2021 1 commit
  16. 26 May, 2021 1 commit
    • Julia Kreger's avatar
      Limit the number of malloc arenas for qemu-img convert · 76cbb962
      Julia Kreger authored
      Under heavy load, the qemu-img convert method may attempt to create
      additional malloc arenas to complete its work. By default this number
      is 8 * ncpu * which at about 250 MB of memory which can be consumed
      in this mannor should the.
      
      Since this is only something which should realistically occur under
      heavy cross-thread load where memory locking prevents a thread from
      unlocking a range of memory, (such as what can happen with hypervisors
      and VMs inside those hypervisors), then a new arena gets created, and
      the memory consumption spikes.
      
      More information is avialable at:
      https://www.gnu.org/software/libc/manual/html_node/Memory-Allocation-Tunables.html
      
      Change-Id: I8b2b490f2cc0ac5f47c3aaaaa249ce59db6602d6
      Story: 2008928
      Task: 42529
      76cbb962
  17. 18 May, 2021 2 commits
  18. 17 May, 2021 2 commits
  19. 16 May, 2021 1 commit
    • yangyawei's avatar
      setup.cfg: Replace dashes with underscores · 37ac4338
      yangyawei 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: I0f8a792afc5a346d273b92e3aa77d59781b04a37
      37ac4338
  20. 10 May, 2021 1 commit
  21. 30 Apr, 2021 1 commit
  22. 26 Apr, 2021 1 commit
    • Dmitry Tantsur's avatar
      Remove runtime dependency on pbr · 4cf1b4f2
      Dmitry Tantsur authored
      Pbr is a very heavy package to depend on. It requires git-core, which is
      16 MiB on my Fedora. We only use it to detect the version, which can be
      done without pbr by any consumer (e.g. with importlib_metadata).
      
      This is technically a breaking change, although since ironic-lib is an
      internal library it should not be an issue.
      
      Change-Id: I6f5ee64226ffc6a30804c09bb28b3d6680b095d1
      4cf1b4f2
  23. 18 Mar, 2021 1 commit
  24. 04 Mar, 2021 1 commit
  25. 01 Mar, 2021 1 commit
  26. 28 Feb, 2021 1 commit
  27. 25 Feb, 2021 2 commits
  28. 23 Feb, 2021 1 commit
    • Dmitry Tantsur's avatar
      Import json_rpc from ironic · 22a944bd
      Dmitry Tantsur authored
      To be able to use the same JSON RPC implementation for ironic-inspector,
      it is now imported in ironic-lib. Some additional abstraction laters are
      added to avoid hard dependency on oslo.context and oslo.messaging.
      
      Change-Id: I0e790cebcd086d26bf27b909f73842c3f46bbd77
      22a944bd
  29. 22 Feb, 2021 1 commit
  30. 18 Feb, 2021 1 commit
  31. 17 Feb, 2021 2 commits
  32. 11 Feb, 2021 2 commits