Skip to content
Snippets Groups Projects
  1. Mar 14, 2019
    • Scott Solkhon's avatar
      Support separate Swift storage networks · a781c643
      Scott Solkhon authored
      Adds support to seperate Swift access and replication traffic from other storage traffic.
      
      In a deployment where both Ceph and Swift have been deployed,
      this changes adds functionalality to support optional seperation
      of storage network traffic. This adds two new network interfaces
      'swift_storage_interface' and 'swift_replication_interface' which maintain
      backwards compatibility.
      
      The Swift access network interface is configured via 'swift_storage_interface',
      which defaults to 'storage_interface'. The Swift replication network
      interface is configured via 'swift_replication_interface', which
      defaults to 'swift_storage_interface'.
      
      If a separate replication network is used, Kolla Ansible now deploys separate
      replication servers for the accounts, containers and objects, that listen on
      this network. In this case, these services handle only replication traffic, and
      the original account-, container- and object- servers only handle storage
      user requests.
      
      Change-Id: Ib39e081574e030126f2d08f51de89641ddb0d42e
      a781c643
  2. Mar 11, 2019
    • Erol Guzoglu's avatar
      Support the prometheus elasticsearch exporter · 14ab9a7c
      Erol Guzoglu authored
      This patch implements the support for the elasticsearch-exporter in
      kolla-ansible
      
      The configuration and prechecks are reused from the other exporters
      
      Depends-On: Id138f12e10102a6dd2cd8d84f2cc47aa29af3972
      Change-Id: Iae0eac0179089f159804490bf71f1cf2c38dde54
      14ab9a7c
  3. Mar 08, 2019
    • Doug Szumski's avatar
      Support customising Fluentd formatting · c8a22f10
      Doug Szumski authored
      In some scenarios it may be useful to perform custom formatting of logs
      before forwarding them. For example, the JSON formatter plugin can be
      used to convert an event to JSON.
      
      Change-Id: I3dd9240c5910a9477456283b392edc9566882dcd
      c8a22f10
  4. Mar 01, 2019
    • Mark Goddard's avatar
      Use new cinder target_helper option · 1c22da32
      Mark Goddard authored
      The iscsi_helper option was deprecated in favour of target_helper in
      Queens, and will be removed in the Stein release.
      
      This also renames the cinder_iscsi_helper variable to
      cinder_target_helper, deprecating but still supporting the former name
      until the Train release.
      
      Change-Id: Ie38c09b2dd8598f62b0733c8444eec5f6ce3daac
      1c22da32
  5. Feb 22, 2019
    • Mark Goddard's avatar
      Improve standalone ironic support · 54965c87
      Mark Goddard authored
      Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
      Setting this flag to 'no' will disable the core OpenStack services,
      including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
      
      Improves the default configuration of OpenStack Ironic when used in
      standalone mode. In particular, configures a noauth mode when Keystone
      is disabled, and allows the iPXE server to be used for provisioning as
      well as inspection if Neutron is disabled.
      
      Documentation for standalone ironic will be updated separately.
      
      This patch was developed and tested using Bikolla [1].
      
      [1] https://github.com/markgoddard/bikolla
      
      Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
      Implements: blueprint standalone-ironic
      54965c87
  6. Jan 24, 2019
    • binhong.hua's avatar
      Link kolla_log volume dir to /var/log/kolla · 93e5e8e6
      binhong.hua authored
      The path /var/lib/docker/volumes/kolla_logs/_data/ is too long
      shorter log path will help to debug from log.
      The volume path is compatible with docker-engine and docker-ce.
      
      Change-Id: I9195d5f24d938f5060fe748aac3ae58c79ec5abf
      93e5e8e6
    • binhong.hua's avatar
      add ulimit support for kolla_docker · 3d3f5f16
      binhong.hua authored
      By default, docker containers inherit ulimit from limits of docker
      deamon. On CentOS 7, docker daemon default NOFILE is 1048576.
      It can found in /usr/lib/systemd/system/docker.service.
      The big limit will cause many problem. we should control it in
      production environment.
      
      Change-Id: Iab962446a94ef092977728259d9818b86cfa7f68
      3d3f5f16
  7. Jan 21, 2019
    • Jorge Niedbalski's avatar
      [prometheus] Support the prometheus openstack exporter · 6c64b7c7
      Jorge Niedbalski authored
      This patch implements the initial support for the
      openstack-exporter[0] in the kolla-ansible
      prometheus monitoring system.
      
      The configuration and prechecks are reused from the other
      exporters and a new template is provided for generating
      a os-client-config file required by the exporter.
      
      The default scrape interval is 60 seconds, but it can
      be extended via a configuration option.
      
      [0] https://github.com/Linaro/openstack-exporter
      
      Change-Id: I4a34c4bb56e74b5cd544972cbd6540d9acb6e4a1
      6c64b7c7
  8. Jan 18, 2019
    • binhong.hua's avatar
      optimize qemu.conf · 023334df
      binhong.hua authored
      bump up the max_files to 32768 and max_processes to 131072.
      when nova used ceph as backend, the default limit 1024 is not enough.
      each connection from rbd image to osd needs 1 fd and 2 threads. if we
      have 200 osds, we need 200 fds and 400 threads for 1 image.
      
      Change-Id: I94c3ec111473ea2ccacdea5dbbf3fdc9c569859f
      023334df
  9. Dec 24, 2018
    • weiyj's avatar
      hinese quotes · 7ace98d9
      weiyj authored
      Change-Id: I07e4e563538b4a47d9b1707b4e660531ccce7b9b
      7ace98d9
  10. Dec 21, 2018
    • Martin Chlumsky's avatar
      Allow custom horizon policy files for disabled openstack projects. · 18dd74ac
      Martin Chlumsky authored
      Currently, you cannot deploy custom policy files in horizon for disabled
      openstack projects that don't have a horizon plugin.
      
      This patch allows customizing disabled openstack projects policy files
      used by horizon.  For services that do not have horizon plugins, it
      creates variables of the form `enable_*_horizon_policy_file` and sets
      these to the relevant `enable_*` variables by default. This ensures
      backwards compatibility.
      
      This patch is useful when you are migrating to kolla-ansible from
      another deployment method one openstack project at a time and you have
      custom policy files deployed by the old method.
      
      Partially-Implements: blueprint docs-migrating-to-kolla
      Closes-Bug: #1809314
      Change-Id: Ifc33ef65759fa4831c24d177b272af5b45f80931
      18dd74ac
  11. Dec 17, 2018
    • Mark Goddard's avatar
      Support Docker CE in bootstrap-servers · 48aea563
      Mark Goddard authored
      Kolla Ansible's bootstrap-servers command provides support for
      installing the Docker engine. This is currently done using the packages
      at https://apt.dockerproject.org and https://yum.dockerproject.org.
      These packages are outdated, with the most recent packages from May 2017
      - docker-engine-17.05.
      
      The source for up to date docker packages is
      https://download.docker.com, which was introduced with the move to
      Docker Community Edition (CE) and Docker Enterprise Edition (EE).
      
      This change adds support to bootstrap-servers for Docker CE for CentOS
      and Ubuntu.
      
      It also adds a new variable, 'enable_docker_repo', which controls
      whether a package repository for Docker will be enabled.
      
      It also adds a new variable, 'docker_legacy_packages', which controls
      whether the legacy packages at dockerproject.org will be used or the
      newer packages at docker.com. The default value for this variable is
      'false', meaning to use Docker CE.
      
      Upgrading from docker-engine to docker-ce has been tested on CentOS 7.5
      and Ubuntu 16.04, by running 'kolla-ansible bootstrap-servers' with
      'docker_legacy_packages' set to 'false'. The upgrades were successful,
      but result in all containers being stopped. For this reason, the
      bootstrap-servers command checks running containers prior to upgrading
      packages, and ensures they are running after the package upgrade is
      complete.
      
      As mentioned in the release note, care should be taken when upgrading
      Docker with clustered services, which could lose quorum. To avoid this,
      use --serial or --limit to apply the change in batches.
      
      Change-Id: I6dfd375c868870f8646ef1a8f02c70812e8f6271
      Implements: blueprint docker-ce
      48aea563
    • Patrick O'Neill's avatar
      Add support for Quobyte backend to Cinder and Nova · f77cc87e
      Patrick O'Neill authored
      Add an enable_cinder_backend_quobyte option to etc/kolla/globals.yml to
      enable use the Quobyte Cinder backend.
      Change the bind mounts for /var/lib/nova/mnt to include the shared
      propogation if Quobyte is enabled.
      Update the documentation to include a section on configuring the Cinder.
      
      Implements: blueprint cinder-quobyte-backend
      
      Change-Id: I364939407ad244fe81cea40f880effdbcaa8a20d
      f77cc87e
  12. Dec 11, 2018
  13. Dec 05, 2018
    • Eduardo Gonzalez's avatar
      Allow set tty for containers · 846c15d8
      Eduardo Gonzalez authored
      This change adds support to comfigure tty,
      it was enabled by default but a recent patch
      removed it. Some services such as Karaf in opendaylight
      requires a TTY during startup.
      
      Closes-Bug: #1806662
      Change-Id: Ia4335523b727d0e45505cbb1efb40ccf04c27db7
      846c15d8
  14. Nov 30, 2018
  15. Nov 26, 2018
    • Eduardo Gonzalez's avatar
      Support stop specific containers · 1a682fab
      Eduardo Gonzalez authored
      With this change, an operator may be able to stop a
      service container without stopping all services in a host.
      This change is the starting point to start
      fast-forward upgrades support.
      In next changes new flags will be introducced to disable
      stop dataplane services during upgrades.
      
      Change-Id: Ifde7a39d7d8596ef0d7405ecf1ac1d49a459d9ef
      Implements: blueprint support-stop-containers
      1a682fab
  16. Nov 22, 2018
    • Nick Jones's avatar
      Add new option to perform an on-demand backup of MariaDB · f704a780
      Nick Jones authored
      blueprint database-backup-recovery
      
      Introduce a new option, mariadb_backup, which takes a backup of all
      databases hosted in MariaDB.
      
      Backups are performed using XtraBackup, the output of which is saved to
      a dedicated Docker volume on the target host (which defaults to the
      first node in the MariaDB cluster).
      
      It supports either full (the default) or incremental backups.
      
      Change-Id: Ied224c0d19b8734aa72092aaddd530155999dbc3
      f704a780
  17. Nov 21, 2018
    • Eduardo Gonzalez's avatar
      Add glance-cache support · cc9dae4d
      Eduardo Gonzalez authored
      Glance cache is used to keep a locally cache image
      in the glance_api service.
      Is an usefull service when an image is commonly used
      to speed times between pulling from storage backend
      and send to nova.
      
      Change-Id: I8e684cc10e4fee1cb52c17a126e3b11f69576cf6
      cc9dae4d
  18. Nov 20, 2018
  19. Nov 19, 2018
    • caoyuan's avatar
      Use correct variable for default certificate paths · 9223deee
      caoyuan authored
      The variable {{ node_config_directory }} is used for the configuration
      directory on the remote hosts, and should not be used for paths on the
      deploy host (localhost).
      
      This changes the default value of the TLS certificate and CA file to
      reference {{ CONFIG_DIR }}, in line with the directory used for
      admin-openrc.sh (as of I0709482ead4b7a67e82796e17f85bde151e71bc0).
      
      This change also introduces a variable, {{ node_config }}, that
      references {{ CONFIG_DIR | default('/etc/kolla') }}, to remove
      duplication.
      
      Change-Id: Ibd82ac78630ebfff5824c329d7399e1e900c0ee0
      Closes-Bug: #1804025
      9223deee
  20. Nov 06, 2018
    • Paul Bourke's avatar
      Remove deprecated compute groups · cf609ba3
      Paul Bourke authored
      The concept of splitting the compute group into external/internal just
      to specify agent_mode for Neutron DVR was deemed to be heavy handed, and
      depreacated in the Pike cycle.
      
      Now that Rocky has been released we can remove these completely for Stein.
      
      Change-Id: I28a1eba7f40fee55a7ec41c27451e39e4d7fd8f0
      cf609ba3
    • Mark Goddard's avatar
      Set ramdisk logs path for ironic inspector · 7ebf548f
      Mark Goddard authored
      If the [processing] ramdisk_logs_dir option is set, logs returned by the
      ironic inspection ramdisk following hardware inspection will be stored
      at that location. This enables easier debugging if inspection fails.
      
      Change-Id: I36bdf75c04b088b67b5f54fdf20251c10bdddb63
      7ebf548f
  21. Nov 02, 2018
    • Doug Szumski's avatar
      Add support for deploying Monasca Grafana · 712c8976
      Doug Szumski authored
      The Monasca Grafana fork allows users to log into Grafana with their
      OpenStack user credentials and see metrics associated with their
      OpenStack project. The long term goal is to enable Keystone support
      in upstream Grafana, but this work seems to have stalled.
      
      Partially-Implements: blueprint monasca-grafana
      Change-Id: Icc04613b2571c094ae23b66d0bcc38b58c0ee4e1
      712c8976
    • Doug Szumski's avatar
      Support deploying the Monasca Agent · b7b45eff
      Doug Szumski authored
      The Monasca Agent collects metrics and in this change is deployed
      across the control plane. These metrics are collected into an OpenStack
      project. It supports configuring a small number of plugins, which can
      be extended in later commits. It also makes the Monasca Agent credentials
      available to other roles, such as the common role to allow forwarding
      logs to Monasca.
      
      Partially-Implements: blueprint monasca-roles
      Change-Id: I76b34fc5e1c76407a45fcf272268d5798b473ca2
      b7b45eff
  22. Oct 31, 2018
  23. Oct 29, 2018
  24. Oct 23, 2018
  25. Oct 19, 2018
  26. Oct 11, 2018
    • Doug Szumski's avatar
      Constrain the size of Docker logs · bd54b991
      Doug Szumski authored
      Even though Kolla services are configured to log output to file rather than
      stdout, some stdout still occurs when for example the container re(starts).
      Since the Docker logs are not constrained in size, they can fill up the
      docker volumes drive and bring down the host. One example of when this is
      particularly problematic is when Fluentd cannot parse a log message. The
      warning output is written to the Docker log and in production we have seen
      it eat 100GB of disk space in less than a day. We could configure Fluentd
      not to do this, but the problem may still occur via another mechanism.
      
      Change-Id: Ia6d3935263a5909c71750b34eb69e72e6e558b7a
      Closes-Bug: #1794249
      bd54b991
    • Cédric Jeanneret's avatar
      Load known, standard kernel modules from the host, not within containers · 778dba94
      Cédric Jeanneret authored
      Known kernel modules are:
      - dm-multipath (for multipathd)
      - ip_vs (for keepalived)
      - iscsi_tcp (for ironic-conductor)
      - openvswitch (for openvswitch-vswitchd)
      
      Change-Id: I1841ec30cde142c8019830ad3190847dfe493eb9
      778dba94
  27. Oct 04, 2018
  28. Sep 26, 2018
    • Doug Szumski's avatar
      Support deploying Monasca Persister · fddbbbbd
      Doug Szumski authored
      The Monasca Persister reads metrics from Kafka and stores them
      in a configurable time series database.
      
      Change-Id: I8166b32bfb1583098ab8318a5f38d25bddb81e89
      Partially-Implements: blueprint monasca-roles
      fddbbbbd
    • Doug Szumski's avatar
      Support deploying Monasca Notification engine · da1fa3f5
      Doug Szumski authored
      The Monasca Notification engine generates alerts such as Slack
      notifications from alerts.
      
      Change-Id: I84861d5feefe6b6f38acc4dd71e94c386d40b562
      Partially-Implements: blueprint monasca-roles
      da1fa3f5
    • Doug Szumski's avatar
      Support deploying Monasca Thresh · b6cce3e3
      Doug Szumski authored
      Monasca Thresh is a Storm topology which generates alerts from
      metric streams according to alarms defined via the Monasca API.
      
      This change runs the thresholder in local mode, which means that
      the log output for the topology is directed to stdout and the
      topology is restarted if the container is restarted. A future
      change will improve the log collection and introduce a better
      way of the checking the topology is running for multi-node
      clusters.
      
      Change-Id: I063dca5eead15f3cec009df62f0fc5d857dd4bb0
      Partially-Implements: blueprint monasca-roles
      b6cce3e3
    • Adam Harwell's avatar
      Refactor haproxy config (split by service) V2.0 · f1c81365
      Adam Harwell authored
      Having all services in one giant haproxy file makes altering
      configuration for a service both painful and dangerous. Each service
      should be configured with a simple set of variables and rendered with a
      single unified template.
      
      Available are two new templates:
      
      * haproxy_single_service_listen.cfg.j2: close to the original style, but
      only one service per file
      * haproxy_single_service_split.cfg.j2: using the newer haproxy syntax
      for separated frontend and backend
      
      For now the default will be the single listen block, for ease of
      transition.
      
      Change-Id: I6e237438fbc0aa3c89a3c8bd706a53b74e71904b
      f1c81365
Loading