1. 23 Mar, 2022 2 commits
  2. 22 Mar, 2022 1 commit
  3. 20 Mar, 2022 1 commit
  4. 18 Mar, 2022 1 commit
  5. 17 Mar, 2022 1 commit
  6. 16 Mar, 2022 2 commits
  7. 14 Mar, 2022 1 commit
    • Riccardo Pittau's avatar
      Use pycdlib to extract deploy iso · 7d1d2da0
      Riccardo Pittau authored
      Use pycdlib to extract the content of the deploy iso to get efiboot
      and grub config.
      
      Story: 2009704
      Task: 44033
      
      Change-Id: I62cdf2a09bc4233056799b64b7fdb87ad21b5bbd
      7d1d2da0
  8. 12 Mar, 2022 1 commit
  9. 11 Mar, 2022 3 commits
  10. 09 Mar, 2022 1 commit
  11. 08 Mar, 2022 1 commit
  12. 07 Mar, 2022 1 commit
    • Julia Kreger's avatar
      Suppress Bandit B509 in snmp.py · e02ab894
      Julia Kreger authored
      Bandit's B509 (SNMPv3 no authentication/privacy) check is
      triggered by our line wrapping, as the check looks at the
      number of arguments, and triggers if it only parses 3 arguments.
      
      In Ironic's case, we pass five arguments. Presumably, this is due
      to the line wrapping. Ultimately this bandit check is very new
      having only been added with in the last few months.
      
      Change-Id: Idaee72a53a1f33bcab940c6ebe1e7c113a1cb1ce
      e02ab894
  13. 04 Mar, 2022 1 commit
    • Ruby Loo's avatar
      Fix rebuilds using anaconda deploy interface · ab68c9d8
      Ruby Loo authored
      The anaconda deploy interface was saving internal information in
      the node's instance_info, in the user-facing 'stage2' and
      'ks_template' fields. This broke rebuilds using a different image
      with different stage2 or template specified in the image properties.
      This has been fixed by saving the information in the node's
      driver_internal_info instead.
      
      Addresses comments/nits from
      https://review.opendev.org/c/openstack/ironic/+/827924.
      
      Change-Id: Id9428518d21290fb38a0f7471a2cb69a6cb3ffb2
      ab68c9d8
  14. 03 Mar, 2022 3 commits
    • Ruby Loo's avatar
      Anaconda deploy handles configdrive correctly · 09d8a94d
      Ruby Loo authored
      The anaconda deploy interface wasn't handling configdrive
      correctly. This fixes:
      
      - the code was incorrectly treating the config drive as a dict,
        whereas it could also be in iso6600 format,
        gzipped and base64-encoded. It is handled properly now.
      
      - kickstart commands that deal with the config drive were added
        to the end of the kickstart file. Which means that they are
        executed after an ironic API request is sent to ironic to
        indicate that the node has been provisioned and is ready
        to be rebooted. Which means that there is a possible race
        condition wrt these commands being completed before the node
        is powered off. This has been fixed by putting the API request
        at the end of the kickstart file. Also, a sync was added to
        ensure that all modifications are written to disk.
      
      - extra newlines ('\n') were incorrectly added to the user data content.
        This broke the content-type decoding and cloud-init was unable to
        proces them. The extra newlines have been removed.
      
      Change-Id: If00342a1bfa3e87b2094061b0e2b0b69de3a8a4f
      09d8a94d
    • Zuul's avatar
      Merge "More fixes for anaconda deploy interface" · 4e6a3d52
      Zuul authored
      4e6a3d52
    • Zuul's avatar
      Merge "Minor updates to rbac doc" · 8eec87bb
      Zuul authored
      8eec87bb
  15. 02 Mar, 2022 10 commits
  16. 01 Mar, 2022 4 commits
  17. 28 Feb, 2022 1 commit
    • Ruby Loo's avatar
      More fixes for anaconda deploy interface · 06cc5d47
      Ruby Loo authored
      The anaconda deploy interface has a few issues that are
      addressed here:
      
      - fixes logic in get_instance_image_info() for anaconda. If the
        ironic node's instance_info doesn't have both 'stage2' and
        'ks_template' specified, we weren't using any values from the
        instance_info. This has been fixed to use values from
        instance_info if specified. Otherwise, they are set as follows:
        The 'stage2' value is taken from the image properties.
        We use the value for 'ks_template' if it is specified in the
        image properties. If not (since it is optional), we use the
        config option's '[anaconda]default_ks_template' value.
        setting.
      - For anaconda's stage2 directory, we were incorrectly creating a
        directory using the full path of the stage2 file. It now
        correctly creates the right directory.
      - The anaconda deploy interface expects the node's instance_info
        to be populated with the 'image_url'; added code to do that in
        PXEAnacondaDeploy's prepare() method.
      - When the deploy is finished and the bm node is being rebooted,
        we incorrectly set the node's provision state to 'active'
        instead of doing it via the provisioning state machine mechanism.
      - The code that was doing the validation of the kickstart file was
        incorrect and resulted in errors; this has been addressed.
      - The '%traceback' section in the packaged 'ks.cfg.template' file
        is deprecated and fails validation, so it has been removed.
      
      Change-Id: I953e948bcfa108d4c8e7b145da2f52b652e52a10
      06cc5d47
  18. 25 Feb, 2022 1 commit
  19. 24 Feb, 2022 2 commits
  20. 23 Feb, 2022 1 commit
  21. 22 Feb, 2022 1 commit