Skip to content
Snippets Groups Projects
  1. Feb 22, 2019
  2. Feb 18, 2019
    • Maciej Kucia's avatar
      designate: Correctly match hostnames · 4a127d4b
      Maciej Kucia authored
      
      'in' expresion matches substrings, therefore it is possible
      that following expression will fail:
          inventory_hostname in groups['groupname'][0]
      for example when:
          inventory_hostname = 'my-host-a'
          groups['groupname'][0] = 'my-host-a1'
      
      The result is running task on multiple hosts rather than single one.
      Such action might result in playbook failure
      
      Change-Id: Ibe2d5ca2f9502a8140a895ab3ac7abc5076ce2ff
      Signed-off-by: default avatarMaciej Kucia <m.kucia@partner.samsung.com>
      4a127d4b
  3. Feb 15, 2019
    • Michal Nasiadka's avatar
      Fix MariaDB bootstrap issues on CentOS · 38c0a4f2
      Michal Nasiadka authored
      Those issues intermittently show up in various branches,
      in all cases it's wrong path used to resolveip binary.
      Similar to the recent kolla-ansible-ubuntu-source job failures.
      
      Change-Id: I8cce42b60897e4ceb8d3b0bd5181fda88b10c2b8
      38c0a4f2
  4. Feb 14, 2019
    • Doug Szumski's avatar
      Automate Monasca documentation for configuring Kafka · ecf00096
      Doug Szumski authored
      Until the Monasca Kafka client fork is removed it is currently required
      to run Kafka in compatibility mode. It is also necessary to disable
      an optimisation in the Kafka brokers to clean up idle connections. This
      is because the optimisation was added after the Monasca Kafka client was
      forked, and the client hasn't been updated since. These settings are now
      applied automatically when Monasca is enabled.
      
      Change-Id: I6935f1fb29f4f731cf3c9a70a0adf4d5812ca55e
      ecf00096
    • Mohamed El Gindi's avatar
      Karbor providers managed from deployment node · e65f4ec7
      Mohamed El Gindi authored
      Karbor provider configs can be injected/managed from 'node_custom_config' var
      
      openstack-infra.conf will still be created if no custom providers present
      
      Closes-Bug #1814464
      
      Change-Id: I500daae80596cb7b7342fd8d4affa8f901b24a13
      e65f4ec7
    • wu.chunyang's avatar
      add debug option to ceph mon or osd start command · cdfc0442
      wu.chunyang authored
      when ceph_mon and ceph_osd start failed, add debug option will
      print more info. now when ceph_mon and ceph_osd containers start
      failed, docker logs ceph_mon print none log
      
      Closes-Bug: #1815707
      
      Change-Id: I3c5086019808a9738714f5279ec74cbb9b7a8587
      cdfc0442
    • wu.chunyang's avatar
      disable cinder-backup caused deploy failed · 13589484
      wu.chunyang authored
      when customize policy.json,disable cinder-backup caused deploy failed
      
      Change-Id: I50bf72e52bff27dc4abc7b13436b2115f6a9e955
      Closes-Bug: #1802221
      13589484
    • Michal Nasiadka's avatar
      Fix py35/py36 and k-a-ubuntu-source gate jobs · 189af13b
      Michal Nasiadka authored
      - py35/py36 jobs are failing
      python 3.6 pycache also includes links - so those also
      need to be removed by tox testenv
      
      - kolla-ansible-ubuntu-source job is failing
      Without basedir set in galera.cnf - mysql_install_db looks for resolveip
      in /usr/sbin, instead of /usr/bin, thus complains about cannot resolving
      neither $HOSTNAME, nor localhost.
      
      Change-Id: I40514c0a7c43ae01c7680aac81123942be1cdef9
      189af13b
  5. Feb 07, 2019
  6. Feb 04, 2019
    • Mark Goddard's avatar
      Set [pxe] tftp_server in ironic.conf · 4d646466
      Mark Goddard authored
      The ironic TFTP server should be accessed via the internal API network.
      For ironic inspector, dnsmasq.conf advertises this correctly:
      
      dhcp-option=option:tftp-server,'api_interface_address'
      dhcp-option=option:server-ip-address,'api_interface_address'
      
      However, ironic conductor does not set the [pxe] tftp_server variable.
      This means the TFTP server advertised gets the default value of $my_ip,
      which is set by
      https://docs.openstack.org/oslo.utils/latest/reference/netutils.html#oslo_utils.netutils.get_my_ipv4,
      typically the source IP for the default route.
      
      This change sets [pxe] tftp_server to 'api_interface_address'.
      
      Change-Id: Ic3e688b3f2b92ad9515322f49cd5f4f29d763e49
      Closes-Bug: #1808347
      4d646466
  7. 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
  8. Jan 23, 2019
  9. Jan 22, 2019
  10. 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
  11. 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
  12. Jan 17, 2019
    • wu.chunyang's avatar
      repair ceph_nfs container start failed · d35f9a4b
      wu.chunyang authored
      when enable ceph_nfs,it deploy failed, because no ganesha config
      file, and the 'ganesha.nfs' command need root privilege to run.
      i will modify ceph_nfs dockerfile,please review. thanks
      
      https://review.openstack.org/#/c/630510/
      
      Change-Id: I347107bc33733061ad043bffe38ecc1d16770afc
      Closes-Bug: #1811581
      d35f9a4b
    • Mark Goddard's avatar
      Fix reconfigure of neutron ml2_conf.ini · 43c83b51
      Mark Goddard authored
      The neutron containers were not being restarted if only the ml2_conf.ini
      file is changed. This is due to the XenAPI ml2_conf.ini config task
      registering a variable of the same name as the task that generates
      ml2_conf.ini for other services. Since the XenAPI service is typically
      not running, the tasks show as not changed, and the handler skips
      restarting the container.
      
      This change adds a second variable for XenAPI to avoid this shadowing.
      
      Change-Id: I77819ed8defb8a7653e1e5aec92013b1d40fbf02
      Closes-Bug: #1783268
      43c83b51
  13. Jan 13, 2019
    • Hongbin Lu's avatar
      kuryr: use internal neutron endpoint · a98c06f1
      Hongbin Lu authored
      Kuryr-neutron communication should use internal endpoint because
      public endpoint might be protected by SSL which fails the API call.
      
      Change-Id: I3f98f14d4f481c17a4368cc5c2a184323c548193
      Closes-Bug: #1811262
      a98c06f1
  14. Jan 08, 2019
  15. Jan 04, 2019
    • Nick Jones's avatar
      Fix Telegraf configuration template · 683f65aa
      Nick Jones authored
      Remove the erroneous curly braces that prevent the Telegraf
      configuration template from being rendered.
      
      Change-Id: Ibb8738b258245b4e43d5d877b156ed296fc66e4e
      Closes-Bug: 1810505
      683f65aa
    • Kien Nguyen's avatar
      Use <project>_install_type instead of kolla_install_type · 04394311
      Kien Nguyen authored
      Use <project>_install_type instead of kolla_install_type
      to set python_path. For example, general kolla_install_type
      is 'binary', but user wants to deploy Horizon from 'source'.
      Horizon templates still use python_path=/usr/share/openstack-dashboard,
      it is wrong.
      
      Change-Id: Ide6a24e17b1f8ab6506aa5e53f70693706830418
      04394311
  16. Jan 02, 2019
  17. Dec 27, 2018
    • Jim Rollenhagen's avatar
      Allow separate listen port in haproxy-config templates · 3ea51cef
      Jim Rollenhagen authored
      This allows a service to pass in a different listening port than haproxy
      listens on for the service. This allows haproxy to live on the same
      network interface as the services, and will be used by services in
      subsequent changes.
      
      Change-Id: Id1d2429a4c800628cb43e0fb7d2b69131e71ee1c
      Implements: blueprint service-hostnames
      3ea51cef
    • Dai, Dang Van's avatar
      Fix bootstrap prometheus container location · 8d5355db
      Dai, Dang Van authored
      This change to fix the case that
      I won't use prometheus-mysqld-exporter
      
      Change-Id: I1936bbae0172f4e65605d71066dced837bc30f7a
      8d5355db
    • confi-surya's avatar
      Update hacking version · b41309ef
      confi-surya authored
      Use latest release 1.1.0 and compatible changes w.r.t pep8
      
      Change-Id: Ie5e5417a1d8481bb59d516a320bd7cc1dd89591e
      b41309ef
  18. Dec 24, 2018
    • wu.chunyang's avatar
      remove cinder v1 endpoint · 4939fc28
      wu.chunyang authored
      now,cinder does not support v1 endpoint,so no need to create it in
      keystone
      
      Change-Id: I4b3bbf24c19a996e73f4b360beeb20a110907a6d
      4939fc28
  19. Dec 23, 2018
  20. Dec 22, 2018
  21. 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
    • dommgifer's avatar
      Add become for Prometheus configuration tasks · 69823f86
      dommgifer authored
      This is required to support execution as a non-root user.
      
      Change-Id: I60d224407c2828d6b9f1701f7637385a25fbcced
      Closes-Bug: #1809233
      69823f86
  22. Dec 19, 2018
  23. Dec 17, 2018
    • Nick Jones's avatar
      [Designate] Configure named to also listen on 'dns_interface' · 005458d6
      Nick Jones authored
      Update the template so that if 'dns_interface' is set, named listens on
      this interface as well as the 'api_interface'.
      
      Change-Id: I986ca46e5599e4767800fcc7f34a1c6e682efb55
      Closes-Bug: 1808829
      005458d6
    • Pavel Sinkevych's avatar
      Fix prometheus prechecks for haproxy and memcached · 0c8b4730
      Pavel Sinkevych authored
      Add missing `prometheus_memcached_exporter` container_fact
      Fix conditional container_fact for haproxy_exporter
      
      Change-Id: Id0f3b94af956f51e3c782c0244c6ce7a340119bd
      Closes-Bug: #1808820
      0c8b4730
    • 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
    • Kien Nguyen's avatar
      Configure vitrage notification topic · 838cffd9
      Kien Nguyen authored
      According [1], vitrage notification has to be configured in Nova,
      Neutron, Cinder & Aodh config file.
      
      [1] https://review.openstack.org/#/c/302802/
      
      Change-Id: Iaf8cd7d40e6eb988adf4d208e6ad784f1004caa5
      838cffd9
Loading