1. 27 May, 2021 1 commit
    • Julia Kreger's avatar
      Limit the number of malloc arenas for qemu-img convert · 79901aff
      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
      (cherry picked from commit 76cbb962)
      (cherry picked from commit f4cabc04)
      79901aff
  2. 22 Feb, 2021 1 commit
    • Arne Wiebalck's avatar
      Handle EBRs and tiny partitions when removing metadata · d2e477d3
      Arne Wiebalck authored
      Extended boot records (EBRs) are used in the MSDOS partitioning
      scheme to manage extended partitions. EBRs are small partitions
      themselves and Ironic will therefore treat them like any other
      partition during cleaning. Since EBRs are smaller than a GPT
      (33 sectors), dd'ing 33 sectors will fail. This patch proposes
      a fix to handle EBRs (and other tiny paritions) by adjusting
      the number of blocks writtent to be the partition size at max.
      
      Story: #2008539
      Task: #41628
      Change-Id: Ie9809b3e4fe2bea6b66ee95c442111942e85d618
      (cherry picked from commit 9a60d385)
      d2e477d3
  3. 14 Jan, 2021 1 commit
  4. 17 Dec, 2020 1 commit
    • Riccardo Pittau's avatar
      Remove lower-constraints job · 561b2084
      Riccardo Pittau authored
      As discussed during the upstream ironic community meeting on
      Monday Dec 14 2020, the lower-constraints job is being removed.
      
      Also Cap version of ipa-builder to 2.2.0
      
      Versions higher than 2.2.0 of ironic-python-agent-builder use
      tinycore 11.x to build tinyipa, and that uses a kernel too recent
      to be built on bionic.
      
      Change-Id: Iab279c57676dba8faa87ab7523e577d3b65eb428
      (cherry picked from commit 0bbba8e6)
      (cherry picked from commit d5ae74e9b8a6b2aa602095b60286d5ab2f1da63a)
      561b2084
  5. 14 Dec, 2020 1 commit
    • Julia Kreger's avatar
      Fix other out of memory error for qemu-img convert · 000ea74d
      Julia Kreger authored
      qemu-img convert makes a number of allocation requests, and less
      common than the "Resource temporarily unavailable" error is
      "Cannot allocate memory". The first seems to be largely raised
      upon a thread creation for the image conversion, where the first
      appears to be on buffer setup on the original process.
      
      Regardless, we should check for both and retry conversion
      automatically.
      
      rhbz# 1892773
      
      Note: Because of a later patch which transformed the retry logic to
      leverage tenacity, this change has been modified accordingly.
      
      Change-Id: If435ed0efe034d4bb99f0281ebc73840c0f38fb3
      (cherry picked from commit 9be6afc7)
      (cherry picked from commit 97902803)
      000ea74d
  6. 09 Jun, 2020 1 commit
  7. 08 Jun, 2020 2 commits
  8. 13 May, 2020 2 commits
  9. 13 Apr, 2020 1 commit
  10. 10 Apr, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri · 945281d4
      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: I8942016ef88695fb9c2fad14f179168a608e4af9
      945281d4
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/ussuri · 804988ae
      OpenStack Release Bot authored
      Change-Id: I754a39e53aaae57313f2f2a53f4a3d7f4861f6e9
      804988ae
  11. 01 Apr, 2020 1 commit
  12. 30 Mar, 2020 1 commit
    • Dmitry Tantsur's avatar
      Bump hacking to 3.0.0 · 6c9d5dc5
      Dmitry Tantsur authored
      The new version enables a lot of standard flake8 checks, so a few
      fixes are required. W503 is disabled as it conflicts with W504
      and the latter seems to be preferred nowadays.
      
      Change-Id: I929ff36eaa47a42bc551f5c37bd40f64bc4f14d0
      6c9d5dc5
  13. 23 Mar, 2020 1 commit
    • Riccardo Pittau's avatar
      Explicitly set ramdisk type · f2053341
      Riccardo Pittau authored
      The ironic-lib-base job is based on ironic-base job which
      will default to dib.
      To prevent breaking the ironic-lib CI we set the ramdisk
      type to tinyipa for now and we'll convert the jobs here later.
      
      Change-Id: I9a03943a838b53518b052874296744c97feea249
      f2053341
  14. 10 Mar, 2020 1 commit
    • Dmitry Tantsur's avatar
      Improve device hints logging · cb19b075
      Dmitry Tantsur authored
      1) Log which hints matches the final root device
      2) Log each rejection for easier debugging
      3) Remove mentions of "root" from find_devices_by_hints, it's going
         to be also used for RAID ddevices.
      
      Change-Id: I90e39f9a9bc9f690d0453bfe00cea8c08e8dbda1
      cb19b075
  15. 09 Mar, 2020 1 commit
  16. 22 Jan, 2020 1 commit
  17. 08 Jan, 2020 1 commit
  18. 23 Dec, 2019 1 commit
  19. 11 Dec, 2019 1 commit
  20. 06 Dec, 2019 1 commit
    • Riccardo Pittau's avatar
      Stop using six library · 0e01f073
      Riccardo Pittau authored
      Since we've dropped support for Python 2.7, it's time to look at
      the bright future that Python 3.x will bring and stop forcing
      compatibility with older versions.
      This patch removes the six library from requirements, not
      looking back.
      
      Change-Id: I4bf885bc7d1ccdf46dde3e0b10a8dbec304aaf9b
      0e01f073
  21. 05 Dec, 2019 2 commits
  22. 03 Dec, 2019 1 commit
  23. 29 Nov, 2019 1 commit
    • Riccardo Pittau's avatar
      Updating testing doc to py3 · 3b13e5d5
      Riccardo Pittau authored
      Also adding some more useful info on tox and link to its
      official docs.
      
      Change-Id: I13f2ba79c5f1df55e5926f00046a647f09bfbe4b
      3b13e5d5
  24. 24 Nov, 2019 1 commit
    • Dmitry Tantsur's avatar
      mdns: support IPv6 addresses · 78249cc9
      Dmitry Tantsur authored
      Updates the zeroconf requirement to 0.24.0, breaking compatibility
      with Python 2 (dropped in an earlier patch).
      
      Change-Id: Ib77720c3223074e89705f019848e1e4d19ebfdba
      78249cc9
  25. 22 Nov, 2019 1 commit
  26. 20 Nov, 2019 1 commit
    • Iury Gregory Melo Ferreira's avatar
      Fix Jobs · 5b80af8a
      Iury Gregory Melo Ferreira authored
      - Remove unused ironic-python-agent-build-image-coreos
      - Fix typo on tinyipa job name on post.
      
      Change-Id: Iaff62b407a61ebc6f4f0c12fd84979d33803a3e9
      5b80af8a
  27. 01 Nov, 2019 1 commit
    • Iury Gregory Melo Ferreira's avatar
      Add equivalent py3 jobs · d95114ee
      Iury Gregory Melo Ferreira authored
      This patch adds two new py3 jobs to cover the following py2 jobs:
      - ironic-lib-partition-bios-ipmi-direct-tinyipa-src-python2
      - ironic-lib-wholedisk-bios-ipmi-direct-tinyipa-src-python2
      
      Also dropping unecessary variable `USE_PYTHON3` in the base job
      that uses ironic-base.
      
      Change-Id: Ib35683896f909a9cd88f88bb8170d8cde74364bd
      d95114ee
  28. 21 Oct, 2019 1 commit
  29. 25 Sep, 2019 1 commit
  30. 09 Sep, 2019 1 commit
  31. 06 Sep, 2019 1 commit
  32. 30 Aug, 2019 1 commit
  33. 21 Aug, 2019 2 commits
    • Zuul's avatar
      Merge "Rescan after making partition changes" · 18f775b7
      Zuul authored
      18f775b7
    • Julia Kreger's avatar
      Rescan after making partition changes · 2a83c0ad
      Julia Kreger authored
      Long story short, we need to rescan after making
      partition changes.
      
      Without forcing a filesystem sync and rescan operation,
      we rely upon lazy write-out from buffers to the block
      device when operating with a ramdisk.
      
      This is because ramfs does NOT actually operate with fsync
      where as GNU parted utilizes fsync on the device in an
      attempt to force the write to disk to occur. This is fine
      if your booted with devfs, or say even a physical block
      device that backs /dev, just not ramfs.
      
      Change-Id: I66481d5f3c17a489f7bdf0af82e31b9107605968
      Story: 2006423
      Task: 36316
      2a83c0ad
  34. 20 Aug, 2019 1 commit
  35. 04 Jul, 2019 1 commit