Skip to content
Snippets Groups Projects
  1. Jan 21, 2025
  2. Aug 12, 2024
    • Ivan Halomi's avatar
      Refactor of kolla_container_facts · 4ce47e22
      Ivan Halomi authored
      
      Refactor that prepares kolla_container_facts
      module for introducing more actions that will be moved
      from kolla_container module and kolla_container_volume_facts.
      
      This change is based on a discussion about adding a new action
      to kolla_container module that retrieves all names of the running
      containers. It was agreed that kolla-ansible should follow Ansible's
      direction of splitting modules between action modules and facts
      modules. Because of this, kolla_container_facts needs to be able
      to handle different requests for data about containers or volumes.
      
      Change-Id: Ieaec8f64922e4e5a2199db2d6983518b124cb4aa
      Signed-off-by: default avatarIvan Halomi <ivan.halomi@tietoevry.com>
      4ce47e22
  3. Jan 04, 2024
  4. Aug 30, 2023
  5. Aug 02, 2023
    • Christian Berendt's avatar
      ironic: add ironic_agent_files_directory parameter · 58b5ca27
      Christian Berendt authored
      With the parameter ironic_agent_files_directory it is possible to provide
      the directory for the ironic-agent.kernel and ironic-agent.initramfs
      files. By default the parameter is set to the value of node_custom_config.
      This corresponds to the existing behaviour.
      
      Change-Id: I53bb0eddc5380713a967356c85897d8df8ce505f
      58b5ca27
  6. Jan 12, 2023
    • Mark Goddard's avatar
      Fix prechecks in check mode · 46aeb984
      Mark Goddard authored
      When running in check mode, some prechecks previously failed because
      they use the command module which is silently not run in check mode.
      Other prechecks were not running correctly in check mode due to e.g.
      looking for a string in empty command output or not querying which
      containers are running.
      
      This change fixes these issues.
      
      Closes-Bug: #2002657
      Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
      46aeb984
  7. Nov 02, 2022
  8. Sep 29, 2022
    • Radosław Piliszek's avatar
      [ironic] Remove useless tasks · b95de04f
      Radosław Piliszek authored
      They served us well in Yoga but they are no longer needed in Zed.
      This also avoids the early deletion of the ironic-conductor, making
      it really roll.
      
      Change-Id: I9bc85d894b5bf947ac8fca505df446b99b0bb99b
      b95de04f
  9. Apr 13, 2022
    • Maksim Malchuk's avatar
      Multiple DHCP ranges for Ironic Inspector · 762aecbf
      Maksim Malchuk authored
      
      Add a new parameter 'ironic_dnsmasq_dhcp_ranges' and enable the
      configuration of the corresponding 'dhcp-range' and 'dhcp-option'
      blocks in Ironic Inspector dnsmasq for multiple ranges.
      
      The old parameters 'ironic_dnsmasq_dhcp_range' and
      'ironic_dnsmasq_default_gateway' used for the only range are now
      removed.
      
      This change implements the same solution used in the TripleO several
      years ago in the: Ie49b07ffe948576f5d9330cf11ee014aef4b282d
      
      Also, this change contains: Iae15e9db0acc2ecd5b087a9ca430be948bc3e649
      fix for lease time.
      The value can be changed globally or per range.
      
      Change-Id: Ib69fc0017b3bfbc8da4dfd4301710fbf88be661a
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      Co-Authored-By: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      762aecbf
  10. Apr 06, 2022
  11. Mar 04, 2022
  12. Feb 28, 2020
    • Mark Goddard's avatar
      Add Ansible group check to prechecks · 49fb55f1
      Mark Goddard authored
      We assume that all groups are present in the inventory, and quite obtuse
      errors can result if any are not.
      
      This change adds a precheck that checks for the presence of all expected
      groups in the inventory for each service. It also introduces a common
      service-precheck role that we can use for other common prechecks.
      
      Change-Id: Ia0af1e7df4fff7f07cd6530e5b017db8fba530b3
      Partially-Implements: blueprint improve-prechecks
      49fb55f1
  13. Nov 22, 2019
    • Michal Nasiadka's avatar
      Change local_action to delegate_to: localhost · 10099311
      Michal Nasiadka authored
      As part of the effort to implement Ansible code linting in CI
      (using ansible-lint) - we need to implement recommendations from
      ansible-lint output [1].
      
      One of them is to stop using local_action in favor of delegate_to -
      to increase readability and and match the style of typical ansible
      tasks.
      
      [1]: https://review.opendev.org/694779/
      
      Partially implements: blueprint ansible-lint
      
      Change-Id: I46c259ddad5a6aaf9c7301e6c44cd8a1d5c457d3
      10099311
  14. Jun 06, 2019
    • Mark Goddard's avatar
      Use become for all docker tasks · b123bf66
      Mark Goddard authored
      Many tasks that use Docker have become specified already, but
      not all. This change ensures all tasks that use the following
      modules have become:
      
      * kolla_docker
      * kolla_ceph_keyring
      * kolla_toolbox
      * kolla_container_facts
      
      It also adds become for 'command' tasks that use docker CLI.
      
      Change-Id: I4a5ebcedaccb9261dbc958ec67e8077d7980e496
      b123bf66
  15. Mar 06, 2019
    • Jim Rollenhagen's avatar
      Allow ironic services to use independent hostnames · d1d1837c
      Jim Rollenhagen authored
      This allows ironic service endpoints to use custom hostnames, and adds the
      following variables:
      
      * ironic_internal_fqdn
      * ironic_external_fqdn
      * ironic_inspector_internal_fqdn
      * ironic_inspector_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds ironic_api_listen_port and ironic_inspector_listen_port
      options, which default to ironic_api_port and ironic_inspector_port for
      backward compatibility.
      
      These options allow the user to differentiate between the port the
      service listens on, and the port the service is reachable on. This is
      useful for external load balancers which live on the same host as the
      service itself.
      
      Change-Id: I45b175e85866b4cfecad8451b202a5a27f888a84
      Implements: blueprint service-hostnames
      d1d1837c
  16. May 25, 2018
    • Will Szumski's avatar
      Add support for enabling ipxe boot with ironic · 0a1ccc26
      Will Szumski authored
      When enable_ironic_ipxe is set in /etc/kolla/globals.yml,
      the following happens:
      
      - a new docker container, ironic_ipxe, is created. This contains
        an apache webserver used to serve up the boot images
      - ironic is configured to use ipxe
      
      Change-Id: I08fca1864a00afb768494406c49e968920c83ae7
      Implements: blueprint ironic-ipxe
      0a1ccc26
  17. Jan 30, 2018
  18. Jan 13, 2018
  19. Dec 08, 2017
  20. Oct 20, 2017
    • Jeffrey Zhang's avatar
      Remove check flat network type task in ironic pre-check.yml · 175c65e4
      Jeffrey Zhang authored
      flat network type is not mandatory. There are two cases,
      
      1. ironic with flat network: we can use neutron vlan network to
         provision baremetal nodes, as long as the interface of the baremetal
         nodes are configured to use the same vlan.
      
      2. ironic with neutron network: all provision and cleaning_network can
         be vlan type and no flat is needed at all.
      
      So we should remove the task.
      
      Change-Id: I176ded6d2a8b14e350f665f63bc37eb488d32679
      Closes-Bug: #1725170
      175c65e4
  21. Sep 04, 2017
    • John Garbutt's avatar
      Fix typo in ironic prechecks · d9a11a3a
      John Garbutt authored
      Before this change ironic prechecks failed with the error:
      'tenant_network_types' is undefined
      
      This problem appears to have been introduced in:
      296ddbeb
      
      Closes-Bug: #1714946
      
      Change-Id: I609ae20c4558370a0a8c4c316cd47cbd1d086331
      d9a11a3a
  22. Jul 19, 2017
    • Mark Goddard's avatar
      Make Ironic inspector honour inventory · 922eb494
      Mark Goddard authored
      Ironic inspector should honour the Ansible inventory group
      ironic-inspector. Ironic inspector may not be required at all. If
      Ironic inspector is required then it should only run on a single
      node, and this should be reflected by the inventory.
      
      This change makes a number of Ironic inspector-related tasks dependent
      upon the host's membership of the ironic-inspector group. Also, we
      couple the ironic-dnsmasq container with the ironic-inspector group
      rather than ironic-conductor, as the service is for inspector rather
      than Ironic.
      
      Change-Id: Ifd90753b0fe1a55c11b7723c28e1d14ab3d32737
      Closes-Bug: #1665257
      922eb494
  23. Jul 18, 2017
  24. Jul 05, 2017
    • Bertrand Lallau's avatar
      Avoid launching "local" actions too many times · a9113fc4
      Bertrand Lallau authored
      In order to speed up deployment time some "local" actions should be run
      only once using 'run_once: True'.
      This will decrease deployment time in case of multihost configuration.
      
      Change-Id: I6015d772d35c15e96c52f577013b6e41197cb41a
      a9113fc4
  25. Jun 21, 2017
    • Vladislav Belogrudov's avatar
      Add possibility to configure tenant network types and type drivers · 296ddbeb
      Vladislav Belogrudov authored
      This patch add configuration options for tenant network types and type
      drivers. Both lists are checked so that tenant types are listed in
      drivers. For ironic 'flat' driver is mandatory and is added explicitly
      into ironic prechecks.
      
      Change-Id: Ie5775001165412910a258cbed2d2ebbb8ebbd879
      Closes-Bug: #1694725
      296ddbeb
  26. May 23, 2017
  27. May 04, 2017
    • Jeffrey Zhang's avatar
      Add timeout parameter for precheck tasks · b1f01561
      Jeffrey Zhang authored
      wait_for module waits 300 seconds for the port started or stopped.  This
      is meaningless and useless in precheck. This patch change timeout to 1
      seconds.
      
      Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
      Closes-Bug: #1688152
      b1f01561
  28. Mar 01, 2017
  29. Feb 27, 2017
  30. Feb 24, 2017
  31. Jan 04, 2017
  32. Nov 03, 2016
    • Jeffrey Zhang's avatar
      Move precheck into its own role · fa458019
      Jeffrey Zhang authored
      * Merge prechecks.yml and site.yml playbook
      * Create empty precheck.yml into all roles.
      
      Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
      Implements: blueprint condition-pre-check
      fa458019
  33. Oct 26, 2016
  34. Aug 31, 2016
    • Sean Mooney's avatar
      generate bifrost yaml configs · d7dfae75
      Sean Mooney authored
      - This change indroduces a merge_yaml action_plugin
      - This change generates bifrost yaml configs.
      
      Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f
      Implements: blueprint bifrost-support
      d7dfae75
  35. Apr 12, 2016
    • Serguei Bezverkhi's avatar
      Adds ansible code for iscsid and tgtd containers · 6c2d7c79
      Serguei Bezverkhi authored
      This partially implements iscsi and lvm2 support for cinder
      in Kolla. Adds ansible code for iscsid and tgtd containers.
      
      Change-Id: I2a4cfcf104397396ea61a09637d9ef3fc77b515f
      Partially-Implements: blueprint iscsi-lvm2-docker
      6c2d7c79
  36. Feb 25, 2016
  37. Jan 26, 2016
    • Michal Jastrzebski's avatar
      Add stub upgrade.yml · 375965dd
      Michal Jastrzebski authored
      After introduction of pull action and turing every main.yml into
      {{action}}.yml we lost ability to perform upgrade
      
      Change-Id: Ie9fa2cd083b061033abc733fba53d54f9c55e393
      Fixes-Bug: #1538210
      375965dd
Loading