1. 19 Apr, 2019 1 commit
  2. 24 Mar, 2019 1 commit
  3. 25 Sep, 2018 1 commit
    • cheng's avatar
      Check GPT table with sgdisk insread of partprobe · c0a5309f
      cheng authored
      On centos7.2, it doesn't happen every time, but sometimes, partprobe
      fails with error `Device or resource busy` in _fix_gpt_structs. In fact,
      this is not a problem, I tried ignoring this error and ran remain code.
      Things went well. The target of running `partprobe` is to check GPT
      table, we can run `sgdisk -v` instead.
      
      This patch is to replace `partprobe` command in _fix_gpt_structs to
      avoid `Device or resource busy` error.
      
      Change-Id: I43182f17b1c6229132814313f7582ab30245f6bb
      (cherry picked from commit b9a109c6)
      c0a5309f
  4. 13 Sep, 2018 1 commit
  5. 31 Aug, 2018 1 commit
    • Yolanda Robla's avatar
      Make search for config drive partition case insensitive · 45038ff2
      Yolanda Robla authored
      Currently the search for config drive is just done for config-2
      in lowercase. If we pass the label with vfat, the label will
      be in uppercase by convention. So the comparison will fail, and
      this needs to be case insensitive to work.
      
      Change-Id: I1dd196841fc3599333d68459eac606bd3b104b7b
      Story: #2003547
      Task: #24834
      (cherry picked from commit 65b3df1a)
      45038ff2
  6. 16 Aug, 2018 1 commit
    • Doug Hellmann's avatar
      import zuul job settings from project-config · 2ae48b63
      Doug Hellmann authored
      This is a mechanically generated patch to complete step 1 of moving
      the zuul job settings out of project-config and into each project
      repository.
      
      Because there will be a separate patch on each branch, the branch
      specifiers for branch-specific jobs have been removed.
      
      Because this patch is generated by a script, there may be some
      cosmetic changes to the layout of the YAML file(s) as the contents are
      normalized.
      
      See the python3-first goal document for details:
      https://governance.openstack.org/tc/goals/stein/python3-first.html
      
      Change-Id: Ia0cac32cd9f490ba6ba9fd8aa43e2e5cc61f7c52
      Story: #2002586
      Task: #24302
      2ae48b63
  7. 18 Jul, 2018 1 commit
    • Olivier Bourdon's avatar
      Fix GPT bug with whole disk images · c538dfcc
      Olivier Bourdon authored
      Whole disk images with GPT partition tables would encounter
      errors after the initial deploy as secondary copy of the
      GPT partition table did not match the first table. This is
      something we explicitly need to act upon for ironic.
      
      Original commit message:
      
      As suggested by TheJulia, the `_fix_gpt_structs` code
      which is currently not accessible/callable from outside of ironic-lib
      should be exposed so that other code like ironic-python-agent
      can use it such as https://review.openstack.org/#/c/568524/
      
      Continuation of backport commit message:
      
      To enable backporting of this patch such that we can address
      the bug that it fixes in older releases, the method has been
      preserved as a hidden method with a leading underscore.
      
      Change-Id: Icd824982d23966605fb179270bbf428cab23a41d
      (cherry picked from commit e4f16012d98907c76e0994a0999c3332c41c8ead)
      c538dfcc
  8. 09 Jul, 2018 1 commit
  9. 27 Jan, 2018 1 commit
    • James E. Blair's avatar
      Zuul: Remove project name · 73dd9589
      James E. Blair authored
      Zuul no longer requires the project-name for in-repo configuration.
      Omitting it makes forking or renaming projects easier.
      
      Change-Id: Ie349dda7d6c247e6bb9791259c494c7d4f412bfd
      73dd9589
  10. 18 Jan, 2018 1 commit
    • Ian Pilcher's avatar
      Use dd conv=sparse when writing images to nodes · 9347e60f
      Ian Pilcher authored
      When using whole disk images, one generally wants the *virtual*
      size of the image to be close to the size of the overcloud nodes'
      physical disks (since no partition/logical volume/filesystem
      expansion is done). As an example, one might end up with a 4GB
      overcloud image (QCOW file) that has a virtual size of 100GB or
      more.
      
      Ironic uses qemu-img to convert this QCOW file to a "raw" image,
      which is a *sparse* file. When the image is copied to an overcloud
      node's disk (via iSCSI), we currently write all 100GB (mainly of
      zeroes) across the network to the node's disk.
      
      Adding conv=sparse to the dd command makes it skip the "holes" in
      the image file; it will only the write the portions of the image
      that actually contain data across the network.
      
      Closes-Bug #1743651
      
      Change-Id: Ief3688b210c3b19ce8be45c5f9571b7ba6e79127
      (cherry picked from commit ab0492a3)
      9347e60f
  11. 14 Dec, 2017 1 commit
  12. 13 Nov, 2017 1 commit
    • John L. Villalovos's avatar
      zuul: Centralize irrelevant-files in legacy-ironic-lib-dsvm-base · 2e8e553b
      John L. Villalovos authored
      Create a new base job: legacy-ironic-lib-dsvm-base
      
      Define 'irrelevant-files' in legacy-ironic-lib-dsvm-base and remove
      them from project.yaml. This means we only define 'irrelevant-files'
      once. Also makes project.yaml much easier to read.
      
      Fix the 'irrelevant-files' section to make sure we do test when
      changes are made to 'requirements.txt'.
      
      Sort the jobs lists in project.yaml.
      
      Conflicts:
          zuul.d/project.yaml
      
      Change-Id: I0534be1ff4ac4d3d2e40f282966683c7b60fc7ba
      (cherry picked from commit bff1d934)
      2e8e553b
  13. 31 Oct, 2017 1 commit
    • Vladyslav Drok's avatar
      Move legacy ironic-lib jobs in-tree · cc3008e6
      Vladyslav Drok authored
      This patch moves the legacy ironic-lib CI jobs into the ironic-lib
      tree instead of storing them in openstack-infra/openstack-zuul-jobs
      to give us control as we migrate the legacy jobs to the new ansible
      roles.
      
      Change-Id: Id9b0c22b73135ca0e9a952e909e8295550ad899f
      (cherry picked from commit 5ab2d5c6)
      cc3008e6
  14. 20 Aug, 2017 1 commit
  15. 11 Aug, 2017 1 commit
  16. 28 Jul, 2017 2 commits
  17. 19 Jul, 2017 3 commits
  18. 18 Jul, 2017 1 commit
  19. 15 Jul, 2017 1 commit
  20. 27 Jun, 2017 1 commit
  21. 19 Jun, 2017 1 commit
  22. 16 Jun, 2017 1 commit
    • ChangBo Guo(gcb)'s avatar
      Adjust test with option 'backend' · f0a2e979
      ChangBo Guo(gcb) authored
      Config option 'backend' with parameter choices =['noop', 'statsd'],
      that means oslo.config will ensure value is one of them, otherwise
      a ValueError will be raised, so don't need handle and test config
      option 'backend' with invalid value.
      
      Change-Id: Ibda809416c565d57f19179d7f13f4cee8f8145ff
      f0a2e979
  23. 15 Jun, 2017 2 commits
  24. 13 Jun, 2017 1 commit
  25. 10 Jun, 2017 1 commit
  26. 09 Jun, 2017 1 commit
  27. 08 Jun, 2017 2 commits
    • Ramamani Yeleswarapu's avatar
      Support for NVMe drives for config drives · af50acd6
      Ramamani Yeleswarapu authored
      NVMe drives use different device naming convention for partitions:
      
      > lsblk /dev/nvme0n1
      NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
      nvme0n1     259:0    0  1.8T  0 disk
      |-nvme0n1p1 259:2    0  1.3G  0 part
      `-nvme0n1p2 259:1    0   64M  0 part
      
      The ironic-python-agent fails to provision NVMe drives,
      because it does not expect the 'p' letter before the partition number.
      
      This patch fixes that.
      
      Change-Id: I5061f6d5b00f404d4aaadc6b18675039ba2ed854
      Closes-Bug: #1695265
      af50acd6
    • lingyongxu's avatar
      Remove unnecessary setUp function in testcase · 9ab65835
      lingyongxu authored
      In testcase, setUp will be called automatically. This patch used to
      remove setUp functions that do nothing. Besides, it will keep code clean.
      
      Change-Id: I015e4faa2e185a49609078c281f449c65a0d8b27
      9ab65835
  28. 02 Jun, 2017 1 commit
  29. 30 May, 2017 1 commit
    • Dmitry Tantsur's avatar
      Add 'sgdisk -Z' to destroy_disk_metadata · 4491a52c
      Dmitry Tantsur authored
      Apparently, wipefs still leaves some metadata around, which can break ceph.
      Use sgdisk's zapping feature to be absolutely sure.
      
      Change-Id: I51aea8fb5ba02d63a05a3794405caf000ff28e75
      Closes-Bug: #1690458
      4491a52c
  30. 25 May, 2017 1 commit
  31. 23 May, 2017 1 commit
  32. 17 May, 2017 2 commits
    • John L. Villalovos's avatar
      Prevent tests from using utils.execute() · 61a0c258
      John L. Villalovos authored
      This change introduces a new base test class that mocks out
      utils.execute() and similar functions and forces an exception if it
      gets called. If utils.execute() is mocked by the test case then it
      will work. What this does is prevent un-mocked access to
      utils.execute() / processutils.execute() and similar subprocess
      library functions.
      
      Inspired by Julian Edwards' patch to ironic-python-agent
      
      Change-Id: Ie5bda8f4c65cf4dfb40b91c11b61485c954addde
      61a0c258
    • OpenStack Proposal Bot's avatar
      Updated from global requirements · fc75e159
      OpenStack Proposal Bot authored
      Change-Id: Ic1215a9ef301e5db92f660f91a6c823e64e1b853
      fc75e159
  33. 16 May, 2017 1 commit
  34. 15 May, 2017 1 commit