Skip to content
Snippets Groups Projects
  1. 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
  2. Nov 02, 2022
  3. Mar 21, 2022
    • Mark Goddard's avatar
      libvirt: make it possible to run libvirt on the host · 4e41acd8
      Mark Goddard authored
      In some cases it may be desirable to run the libvirt daemon on the host.
      For example, when mixing host and container OS distributions or
      versions.
      
      This change makes it possible to disable the nova_libvirt container, by
      setting enable_nova_libvirt_container to false. The default values of
      some Docker mounts and other paths have been updated to point to default
      host directories rather than Docker volumes when using a host libvirt
      daemon.
      
      This change does not handle migration of existing systems from using
      a nova_libvirt container to libvirt on the host.
      
      Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/830504
      
      Change-Id: Ia1239069ccee39416b20959cbabad962c56693cf
      4e41acd8
  4. Jan 10, 2022
  5. 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
  6. Oct 16, 2019
    • Doug Szumski's avatar
      Support multiple nova cells · 78a828ef
      Doug Szumski authored
      
      This patch adds initial support for deploying multiple Nova cells.
      
      Splitting a nova-cell role out from the Nova role allows a more granular
      approach to deploying and configuring Nova services.
      
      A new enable_cells flag has been added that enables the support of
      multiple cells via the introduction of a super conductor in addition to
      cell-specific conductors. When this flag is not set (the default), nova
      is configured in the same manner as before - with a single conductor.
      
      The nova role now deploys the global services:
      
      * nova-api
      * nova-scheduler
      * nova-super-conductor (if enable_cells is true)
      
      The nova-cell role handles services specific to a cell:
      
      * nova-compute
      * nova-compute-ironic
      * nova-conductor
      * nova-libvirt
      * nova-novncproxy
      * nova-serialproxy
      * nova-spicehtml5proxy
      * nova-ssh
      
      This patch does not support using a single cell controller for managing
      more than one cell. Support for sharing a cell controller will be added
      in a future patch.
      
      This patch should be backwards compatible and is tested by existing CI
      jobs. A new CI job has been added that tests a multi-cell environment.
      
      ceph-mon has been removed from the play hosts list as it is not
      necessary - delegate_to does not require the host to be in the play.
      
      Documentation will be added in a separate patch.
      
      Partially Implements: blueprint support-nova-cells
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      Change-Id: I810aad7d49db3f5a7fd9a2f0f746fd912fe03917
      78a828ef
  7. Oct 01, 2019
    • Doug Szumski's avatar
      Copy Nova role as a basis for the Nova cell role · 952b5308
      Doug Szumski authored
      The idea is to factor out a role for deploying Nova related services
      to cells. Since all deployments use cells, this role can be used
      in both regular deployments which have just cell0 and cell1,
      and deployments with many cells.
      
      Partially Implements: blueprint support-nova-cells
      Change-Id: Ib1f36ec0a773c384f2c1eac1843782a3e766045a
      952b5308
  8. Sep 26, 2019
  9. 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
  10. Mar 15, 2019
  11. Feb 08, 2019
    • Jim Rollenhagen's avatar
      Allow nova services to use independent hostnames · 51c9e1b6
      Jim Rollenhagen authored
      This allows nova service endpoints to use custom hostnames, and adds the
      following variables:
      
      * nova_internal_fqdn
      * nova_external_fqdn
      * placement_internal_fqdn
      * placement_external_fqdn
      * nova_novncproxy_fqdn
      * nova_spicehtml5proxy_fqdn
      * nova_serialproxy_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds the following variables:
      
      * nova_api_listen_port
      * nova_metadata_listen_port
      * nova_novncproxy_listen_port
      * nova_spicehtml5proxy_listen_port
      * nova_serialproxy_listen_port
      * placement_api_listen_port
      
      These default to <service>_port, e.g. nova_api_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: I7bcce56a2138eeadcabac79dd07c8dba1c5af644
      Implements: blueprint service-hostnames
      51c9e1b6
  12. Oct 23, 2018
  13. May 18, 2018
  14. Dec 19, 2017
  15. Aug 04, 2017
  16. May 23, 2017
  17. 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
  18. Apr 26, 2017
    • Eduardo Gonzalez's avatar
      Add compute inventory precheck · fee4eee0
      Eduardo Gonzalez authored
      With nova cells_v2 at least one compute node is required in
      inventory to deploy nova.
      
      This change add prechecks to ensure at least 1 compute is present.
      
      Change-Id: I242518ad3bd149ad245515299301777f6b3bdd08
      Closes-Bug: #1686410
      fee4eee0
  19. Mar 19, 2017
  20. Mar 07, 2017
  21. Feb 24, 2017
  22. Jan 25, 2017
  23. Jan 12, 2017
  24. Jan 11, 2017
  25. 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
  26. Oct 26, 2016
  27. 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
  28. 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
  29. Feb 25, 2016
  30. 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