Skip to content
Snippets Groups Projects
  1. Mar 15, 2019
  2. Mar 13, 2019
  3. Mar 11, 2019
    • Pierre Riteau's avatar
      Fix failure to mount cephfs · 42dd7784
      Pierre Riteau authored
      Commit 2f6b1c68 changed the way the
      cephfs source path was generated and dropped the source path component,
      keeping only the list of IPs and ports. This results in failures to
      mount cephfs with the following message:
      
          source mount path was not specified
          failed to resolve source
      
      Change-Id: I94d18ec064971870264ae8d0b279564f2172e548
      Closes-Bug: #1819502
      42dd7784
    • 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
    • Gary Perkins's avatar
      Fix Neutron precheck to not fail with newer Docker · 958efcef
      Gary Perkins authored
      With newer Docker versions `systemctl show docker` returns:
      
        MountFlags=shared
      
      Instead of:
      
        MountFlags=1048576
      
      This fix accepts either value as valid to ensure the check is not
      erroneously failing.
      
      Closes-Bug: #1791365
      
      Change-Id: I2bd626466d6a0e189e0d85877b2be8f2b4bb37f4
      958efcef
  4. Mar 10, 2019
    • Victor Coutellier's avatar
      Fix kolla-docker possible undefined variable · 3bb4c199
      Victor Coutellier authored
      It is possible to reference undefined variable in kolla-docker module if
      DockerWorker object initialization fail, so the current behaviour will
      crash the playbook with the unwanted error message :
      
      UnboundLocalError: local variable 'dw' referenced before assignment
      
      Change-Id: Ic8d26b11f93255220888b5406f8ab4a6f81736c2
      Closes-Bug: #1819361
      3bb4c199
  5. Mar 09, 2019
    • Duong Mai's avatar
      Edit ansible script for deploy kibana · 25194516
      Duong Mai authored
      Kibana deployment failed becaused of kibana_confs variable does not have attribute key,
      So handlers failed to check conditional kibana_conf.changed | bool becaused of
      kibana_confs.results|selectattr(item.key) does not exits.
      
      Change variable name kibana_confs to kibana_conf.
      
      Change-Id: If5e0a25b270a6f05c435a6dc32e2ac49406389c5
      Closes-Bug: #1819246
      25194516
  6. Mar 08, 2019
    • Mark Goddard's avatar
      Fix bootstrap-servers on Ansible 2.6+ · 1b535359
      Mark Goddard authored
      Recently as part of adding support for Docker CE we added the following
      task to the baremetal role:
      
      - name: Update yum cache
        yum:
          update_cache: yes
        become: True
        when: ansible_os_family == 'RedHat'
      
      This works fine on Ansible 2.5, but no longer works on Ansible
      2.6, which complains that either the 'name' or 'list' argument
      is mandatory for the yum module.
      
      This change updates the cache later on, when installing packages.
      
      Change-Id: I1a158bda52c4e362cb12d361d7f961cfc699b385
      Closes-Bug: #1819173
      1b535359
    • Doug Szumski's avatar
      Fix format file message field · e5d56413
      Doug Szumski authored
      The message field for these format files wasn't renamed when
      the input field was renamed. This problem was masked by Monasca
      which renames the message field back to 'message' for the Fluentd
      Monasca output plugin.
      
      Change-Id: I2674958b1e64efddbca4765fefa55431261648e6
      Closes-Bug: #1819168
      e5d56413
    • 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
  7. Mar 07, 2019
  8. Mar 06, 2019
    • Jim Rollenhagen's avatar
      Allow horizon listening port to be different than reachable port · 3ee1a7ce
      Jim Rollenhagen authored
      This adds a horizon_listen_port option, which defaults to horizon_port
      for backward compatibility.
      
      This option 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: I1e47e9524fd9c41bbb2cd2fc80560e53d9296599
      Implements: blueprint service-hostnames
      3ee1a7ce
    • Jim Rollenhagen's avatar
      Allow gnocchi services to use independent hostnames · f8a1a716
      Jim Rollenhagen authored
      This allows gnocchi service endpoints to use custom hostnames, and adds the
      following variables:
      
      * gnocchi_internal_fqdn
      * gnocchi_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a gnocchi_api_listen_port option, which defaults to
      gnocchi_api_port for backward compatibility.
      
      This option 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: Ic9a0f8130b19ed77987f45fd0e824b82ea7a7328
      Implements: blueprint service-hostnames
      f8a1a716
    • Jim Rollenhagen's avatar
      Allow aodh services to use independent hostnames · 1ebb1cce
      Jim Rollenhagen authored
      This allows aodh service endpoints to use custom hostnames, and adds the
      following variables:
      
      * aodh_internal_fqdn
      * aodh_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a aodh_api_listen_port option, which defaults to
      aodh_api_port for backward compatibility.
      
      This option 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: Iee08b725d066bfbe543d9319c47941d59c22212a
      Implements: blueprint service-hostnames
      1ebb1cce
    • Jim Rollenhagen's avatar
      Allow heat services to use independent hostnames · d0fc1ec2
      Jim Rollenhagen authored
      This allows heat service endpoints to use custom hostnames, and adds the
      following variables:
      
      * heat_internal_fqdn
      * heat_external_fqdn
      * heat_cfn_internal_fqdn
      * heat_cfn_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds heat_api_listen_port and heat_api_cfn_listen_port
      options, which default to heat_api_port and heat_api_cfn_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: Ifb8bb55799703883d81be6a55641be7b2474fd4e
      Implements: blueprint service-hostnames
      d0fc1ec2
    • 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
    • Jim Rollenhagen's avatar
      Allow swift proxy server to use independent hostnames · 31ed556e
      Jim Rollenhagen authored
      This allows swift service endpoints to use custom hostnames, and adds the
      following variables:
      
      * swift_internal_fqdn
      * swift_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a swift_proxy_server_listen_port option, which defaults to
      swift_proxy_server_port for backward compatibility.
      
      This option 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.
      
      While we're in here, use the ``internal_protocol`` variable for the swift
      endpoint in cinder's swift backup driver configuration, instead of hardcoding
      to ``http``.
      
      Change-Id: Ibc01618383c26e16c0067f7f6b9cf5160d968d1e
      Implements: blueprint service-hostnames
      31ed556e
    • Jim Rollenhagen's avatar
      Allow senlin services to use independent hostnames · b6c31862
      Jim Rollenhagen authored
      This allows senlin service endpoints to use custom hostnames, and adds the
      following variables:
      
      * senlin_internal_fqdn
      * senlin_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a senlin_api_listen_port option, which defaults to
      senlin_api_port for backward compatibility.
      
      This option 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: I26e8cfdde54aaf0648473f54136cf5350f356917
      Implements: blueprint service-hostnames
      b6c31862
    • Jim Rollenhagen's avatar
      Allow octavia services to use independent hostnames · 55702739
      Jim Rollenhagen authored
      This allows octavia service endpoints to use custom hostnames, and adds the
      following variables:
      
      * octavia_internal_fqdn
      * octavia_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a octavia_api_listen_port option, which defaults to
      octavia_api_port for backward compatibility.
      
      This option 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: I1310eb5573a469b1a0e9549e853734455307a8b3
      Implements: blueprint service-hostnames
      55702739
    • Jim Rollenhagen's avatar
      Allow barbican services to use independent hostnames · 857871df
      Jim Rollenhagen authored
      This allows barbican service endpoints to use custom hostnames, and adds the
      following variables:
      
      * barbican_internal_fqdn
      * barbican_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a barbican_api_listen_port option, which defaults to
      barbican_api_port for backward compatibility.
      
      This option 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: I1807a9c8b64d737d0e278bb3e925fecb4fadfb08
      Implements: blueprint service-hostnames
      857871df
    • Jim Rollenhagen's avatar
      Allow designate services to use independent hostnames · 76b6d41e
      Jim Rollenhagen authored
      This allows designate service endpoints to use custom hostnames, and adds
      the
      following variables:
      
      * designate_internal_fqdn
      * designate_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a designate_api_listen_port option, which defaults to
      designate_api_port for backward compatibility.
      
      This option 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: I654bb3d1109b96cbaff6f450655cd65f349a94e6
      Implements: blueprint service-hostnames
      76b6d41e
    • Jim Rollenhagen's avatar
      Allow cinder services to use independent hostnames · 45bde4b9
      Jim Rollenhagen authored
      This allows cinder service endpoints to use custom hostnames, and adds the
      following variables:
      
      * cinder_internal_fqdn
      * cinder_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a cinder_api_listen_port option, which defaults to
      cinder_api_port for backward compatibility.
      
      This option 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: I2a5036456afac6135dca3723ae754ea9f8bc8475
      Implements: blueprint service-hostnames
      45bde4b9
    • Jim Rollenhagen's avatar
      Use keystone_*_url var in all configs · 2e4e6050
      Jim Rollenhagen authored
      We're duplicating code to build the keystone URLs in nearly every
      config, where we've already done it in group_vars. Replace the
      redundancy with a variable that does the same thing.
      
      Change-Id: I207d77870e2535c1cdcbc5eaf704f0448ac85a7a
      2e4e6050
  9. Mar 04, 2019
  10. Mar 02, 2019
  11. 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
    • Mark Goddard's avatar
      Use become for Cinder LVM precheck · 28076139
      Mark Goddard authored
      Typically root privileges are required to access LVM.
      
      Change-Id: Ia8cca7326526326486c4495e4ddfe126c7251448
      28076139
    • Doug Szumski's avatar
      Use prometheus tag for OpenStack exporter · e8f6a4aa
      Doug Szumski authored
      Change-Id: Idd570626851c068b9a2daf3f1550346d419f9c9b
      e8f6a4aa
  12. Feb 28, 2019
    • Doug Szumski's avatar
      Update arguments for starting Prometheus exporters · a55769b0
      Doug Szumski authored
      The patch that this depends on in the Kolla repo updates various Prometheus
      exporters. In some cases the command line syntax has changed which prevents
      them from starting. This commit updates the command line syntax in-line with
      the new versions.
      
      Depends-On: I846989b16fa7f76b11b309b7a9764cec8aaf538d
      Change-Id: I1c8c56059e51442d7bf2248b9632021cb529b4ba
      a55769b0
  13. Feb 27, 2019
    • Doug Szumski's avatar
      Default to Prometheus tag for all Prometheus images · 4aed0440
      Doug Szumski authored
      This allows an operator to pin the Prometheus docker image
      tag for all Prometheus images to that specified by the `prometheus_tag`.
      Without this change, the alert manager and cadvisor tags would also need
      to be set.
      
      Change-Id: Iadef001af7d3be5b2a39ce5e2363d05a33a775e4
      4aed0440
  14. Feb 25, 2019
  15. 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
  16. Feb 21, 2019
    • Mark Goddard's avatar
      Configure region_name_for_services in heat.conf · 54203843
      Mark Goddard authored
      
      backport: rocky
      
      Not including this means that SoftwareDeployments do not have a
      configured region (it's set to 'null'), and can therefore not
      communicate back to the heat API. In particular, this breaks Magnum with
      the following error in the journal on the deployed servers:
      
      publicURL endpoint for orchestration service in null region not found
      
      Change-Id: Ia2c18ef10727391812368c958262a92385374ace
      Co-Authored-By: default avatarJohn Garbutt <john@stackhpc.com>
      Closes-Bug: #1817051
      54203843
  17. Feb 20, 2019
    • Mariusz's avatar
      Fix location of hostdirs for Murano services · ff28cf50
      Mariusz authored
      Use "{{ node_config_directory }}/murano-api/" for `murano-api` and
      "{{ node_config_directory }}/murano-engine/" for `murano-engine`, so
      correct `config.json` are mounted in containers.
      
      Change-Id: I824ff00f6b86aac3eab5dc6fd01728653b4661d1
      Closes-Bug: 1811716
      ff28cf50
  18. Feb 19, 2019
  19. 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
Loading