Skip to content
Snippets Groups Projects
  1. Apr 06, 2022
  2. Mar 04, 2022
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. Jan 30, 2018
  9. Jan 13, 2018
  10. Dec 08, 2017
  11. 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
  12. 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
  13. 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
  14. Jul 18, 2017
  15. 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
  16. 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
  17. May 23, 2017
  18. 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
  19. Mar 01, 2017
  20. Feb 27, 2017
  21. Feb 24, 2017
  22. Jan 04, 2017
  23. 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
  24. Oct 26, 2016
  25. 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
  26. 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
  27. Feb 25, 2016
  28. 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