1. 04 May, 2022 1 commit
    • Dmitry Tantsur's avatar
      Use a pre-defined partition UUID to detect configdrive on GPT · 27305f01
      Dmitry Tantsur authored
      Using partition numbers is currently broken for devicemapper devices.
      Fortunately, GPT has partition UUIDs, so we can just generate one and
      use it for lookup.
      
      Adapted from IPA change I41ffe4f8e4c6e43182090b5aa2a2b4b34f32efd5,
      but uses a simplified version of get_partition (just findfs).
      
      Change-Id: Id71da0fef3783619f3d07667cfab25c88638867b
      27305f01
  2. 21 Feb, 2022 1 commit
  3. 16 Nov, 2021 1 commit
    • Riccardo Pittau's avatar
      Restore blkid compatibility with Centos 7 · 972eda90
      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
      (cherry picked from commit 731e2f9c)
      972eda90
  4. 12 Oct, 2021 2 commits
  5. 07 Sep, 2021 1 commit
    • Dmitry Tantsur's avatar
      Avoid using blkid in favour of lsblk and parted · daf31553
      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
      (cherry picked from commit b7f12117)
      daf31553
  6. 07 Jun, 2021 1 commit
  7. 27 May, 2021 1 commit
    • Julia Kreger's avatar
      Limit the number of malloc arenas for qemu-img convert · 53d422f0
      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)
      53d422f0
  8. 26 May, 2021 1 commit
  9. 18 Mar, 2021 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/wallaby · 5d54fe07
      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/wallaby branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: Id217caf5de50762e894459f06d4403331240d4e4
      5d54fe07
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/wallaby · 3db58249
      OpenStack Release Bot authored
      Change-Id: Iea117f4f1a651007fd11c44e10d0f1b6cd50c24f
      3db58249
  10. 04 Mar, 2021 1 commit
  11. 01 Mar, 2021 1 commit
  12. 28 Feb, 2021 1 commit
  13. 25 Feb, 2021 2 commits
  14. 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
  15. 22 Feb, 2021 1 commit
  16. 18 Feb, 2021 1 commit
  17. 17 Feb, 2021 2 commits
  18. 11 Feb, 2021 5 commits
  19. 10 Feb, 2021 1 commit
  20. 08 Feb, 2021 3 commits
  21. 30 Jan, 2021 1 commit
  22. 29 Jan, 2021 2 commits
  23. 27 Jan, 2021 1 commit
  24. 25 Jan, 2021 1 commit
    • Arne Wiebalck's avatar
      Handle EBRs and tiny partitions when removing metadata · 9a60d385
      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
      9a60d385
  25. 22 Jan, 2021 3 commits
    • Dmitry Tantsur's avatar
      Get rid of oslo.serialization · daa5b425
      Dmitry Tantsur authored
      Not needed now that we only support Python 3.
      
      Change-Id: I241ae6f62e5b91c253c73964ce31e0c3fcc28de1
      daa5b425
    • Dmitry Tantsur's avatar
      Allow binary data for configdrive · bb935f1b
      Dmitry Tantsur authored
      There is no reason to force standalone users to base64 encode
      and gzip their config drives.
      
      Change-Id: Ic221c4bbc165cd717b36fff8bdd66edebb08be9a
      bb935f1b
    • Dmitry Tantsur's avatar
      Correct base64 error handling · 0704bcdd
      Dmitry Tantsur authored
      The base64 module can raise many exceptions, TypeError doesn't even
      seem one of them. Capture all errors and provide the exact message.
      
      Change-Id: Id3748e729f8dd31aa6d2d7084bd01088cd9a7ecd
      0704bcdd
  26. 21 Jan, 2021 1 commit
  27. 15 Jan, 2021 1 commit