Skip to content
Snippets Groups Projects
  1. Mar 06, 2019
    • 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
  2. 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
  3. 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
  4. 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
  5. Feb 25, 2019
  6. 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
  7. 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
  8. 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
  9. Feb 19, 2019
  10. 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
  11. Feb 15, 2019
    • Mark Goddard's avatar
      Fix rabbitmq reconfigure, simplify role · 1e2a1a8f
      Mark Goddard authored
      Since Id724b44a3edd951fa8b06c9f2c347e9ed8c5ffd9, there is a reference to a
      non-existent variable, rabbitmq_confs, that causes deployment to fail if
      rabbitmq configuration other than config.json is changed.
      
      I'm taking this opportunity to simplify the role, since we can use the Ansible
      handler notification system to determine when handlers need to run, without
      registering and checking variables. This simpler approach was used in the
      haproxy refactor.
      
      Change-Id: Ibe0e7fda93afff741243ff9c350db1c8c6e1e6d3
      Closes-Bug: #1816053
      1e2a1a8f
    • 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
  12. 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
  13. Feb 08, 2019
    • Jim Rollenhagen's avatar
      Allow keystone services to use independent hostnames · bece976b
      Jim Rollenhagen authored
      This allows keystone service endpoints to use custom hostnames, and adds the
      following variables:
      
      * keystone_internal_fqdn
      * keystone_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds the following variables:
      
      * keystone_admin_listen_port
      * keystone_public_listen_port
      
      These default to keystone_admin_port and keystone_public_port,
      respectively, 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: I50c46c674134f9958ee4357f0f4eed5483af2214
      Implements: blueprint service-hostnames
      bece976b
    • Jim Rollenhagen's avatar
      Allow neutron services to use independent hostnames · 255fff02
      Jim Rollenhagen authored
      This allows neutron service endpoints to use custom hostnames, and adds the
      following variables:
      
      * neutron_internal_fqdn
      * neutron_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a neutron_server_listen_port option, which defaults to
      neutron_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.
      
      Change-Id: I87d7387326b6eaa6adae1600b48d480319d10676
      Implements: blueprint service-hostnames
      255fff02
    • Jim Rollenhagen's avatar
      Allow glance services to use independent hostnames · a819ef12
      Jim Rollenhagen authored
      This allows glance service endpoints to use custom hostnames, and adds the
      following variables:
      
      * glance_internal_fqdn
      * glance_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a glance_api_listen_port option, which defaults to
      glance_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: Icb91f728533e2db1908b23dabb0501cf9f8a2b75
      Implements: blueprint service-hostnames
      a819ef12
    • 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
  14. Feb 07, 2019
  15. 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
  16. 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
  17. Jan 23, 2019
  18. Jan 22, 2019
Loading