Skip to content
Snippets Groups Projects
  1. Sep 22, 2020
    • Pierre Riteau's avatar
      Reduce the use of SQLAlchemy connection pooling · c8177202
      Pierre Riteau authored
      When the internal VIP is moved in the event of a failure of the active
      controller, OpenStack services can become unresponsive as they try to
      talk with MariaDB using connections from the SQLAlchemy pool.
      
      It has been argued that OpenStack doesn't really need to use connection
      pooling with MariaDB [1]. This commit reduces the use of connection
      pooling via two configuration options:
      
      - max_pool_size is set to 1 to allow only a single connection in the
        pool (it is not possible to disable connection pooling entirely via
        oslo.db, and max_pool_size = 0 means unlimited pool size)
      - lower connection_recycle_time from the default of one hour to 10
        seconds, which means the single connection in the pool will be
        recreated regularly
      
      These settings have shown better reactivity of the system in the event
      of a failover.
      
      [1] http://lists.openstack.org/pipermail/openstack-dev/2015-April/061808.html
      
      Change-Id: Ib6a62d4428db9b95569314084090472870417f3d
      Closes-Bug: #1896635
      c8177202
  2. Apr 03, 2020
  3. Jan 13, 2020
    • James Kirsch's avatar
      Configure services to use Certificate Authority · c15dc203
      James Kirsch authored
      Include a reference to the globally configured Certificate Authority to
      all services. Services use the CA to verify HTTPs connections.
      
      Change-Id: I38da931cdd7ff46cce1994763b5c713652b096cc
      Partially-Implements: blueprint support-trusted-ca-certificate-file
      c15dc203
  4. Oct 16, 2019
    • Radosław Piliszek's avatar
      Implement IPv6 support in the control plane · bc053c09
      Radosław Piliszek authored
      Introduce kolla_address filter.
      Introduce put_address_in_context filter.
      
      Add AF config to vars.
      
      Address contexts:
      - raw (default): <ADDR>
      - memcache: inet6:[<ADDR>]
      - url: [<ADDR>]
      
      Other changes:
      
      globals.yml - mention just IP in comment
      
      prechecks/port_checks (api_intf) - kolla_address handles validation
      
      3x interface conditional (swift configs: replication/storage)
      
      2x interface variable definition with hostname
      (haproxy listens; api intf)
      
      1x interface variable definition with hostname with bifrost exclusion
      (baremetal pre-install /etc/hosts; api intf)
      
      neutron's ml2 'overlay_ip_version' set to 6 for IPv6 on tunnel network
      
      basic multinode source CI job for IPv6
      
      prechecks for rabbitmq and qdrouterd use proper NSS database now
      
      MariaDB Galera Cluster WSREP SST mariabackup workaround
      (socat and IPv6)
      
      Ceph naming workaround in CI
      TODO: probably needs documenting
      
      RabbitMQ IPv6-only proto_dist
      
      Ceph ms switch to IPv6 mode
      
      Remove neutron-server ml2_type_vxlan/vxlan_group setting
      as it is not used (let's avoid any confusion)
      and could break setups without proper multicast routing
      if it started working (also IPv4-only)
      
      haproxy upgrade checks for slaves based on ipv6 addresses
      
      TODO:
      
      ovs-dpdk grabs ipv4 network address (w/ prefix len / submask)
      not supported, invalid by default because neutron_external has no address
      No idea whether ovs-dpdk works at all atm.
      
      ml2 for xenapi
      Xen is not supported too well.
      This would require working with XenAPI facts.
      
      rp_filter setting
      This would require meddling with ip6tables (there is no sysctl param).
      By default nothing is dropped.
      Unlikely we really need it.
      
      ironic dnsmasq is configured IPv4-only
      dnsmasq needs DHCPv6 options and testing in vivo.
      
      KNOWN ISSUES (beyond us):
      
      One cannot use IPv6 address to reference the image for docker like we
      currently do, see: https://github.com/moby/moby/issues/39033
      (docker_registry; docker API 400 - invalid reference format)
      workaround: use hostname/FQDN
      
      RabbitMQ may fail to bind to IPv6 if hostname resolves also to IPv4.
      This is due to old RabbitMQ versions available in images.
      IPv4 is preferred by default and may fail in the IPv6-only scenario.
      This should be no problem in real life as IPv6-only is indeed IPv6-only.
      Also, when new RabbitMQ (3.7.16/3.8+) makes it into images, this will
      no longer be relevant as we supply all the necessary config.
      See: https://github.com/rabbitmq/rabbitmq-server/pull/1982
      
      For reliable runs, at least Ansible 2.8 is required (2.8.5 confirmed
      to work well). Older Ansible versions are known to miss IPv6 addresses
      in interface facts. This may affect redeploys, reconfigures and
      upgrades which run after VIP address is assigned.
      See: https://github.com/ansible/ansible/issues/63227
      
      Bifrost Train does not support IPv6 deployments.
      See: https://storyboard.openstack.org/#!/story/2006689
      
      
      
      Change-Id: Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      Implements: blueprint ipv6-control-plane
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      bc053c09
  5. Jun 18, 2019
    • Marek Svensson's avatar
      Fix default deployment of freezer, use mariadb. · 10bf6b05
      Marek Svensson authored
      
      This change defaults freezer to use mariadb as default backend for database
      and adds elasticsearch as an optional backend due to the requirement of
      freezer to use elasticsearch version 2.3.0. The default elasticsearch in
      kolla-ansible is 5.6.x and that doesn't work with freezer.
      
      Added needed options to the elasticsearch backend like:
       - protocol
       - address
       - port
       - number of replicas
      
      Change-Id: I88616c285bdb297fd1f738846ddffe1b08a7a827
      Signed-off-by: default avatarMarek Svensson <marek@marex.st>
      10bf6b05
  6. Mar 06, 2019
    • 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
  7. Nov 09, 2018
    • Pierre Blanc's avatar
      Freezer: Update freezer driver with elasticsearch · 62222abc
      Pierre Blanc authored
      By default the driver used is elasticsearch in version 2
      This change updates the driver with the good one.
      It also updates backend with name used in the documentation.
      
      Change-Id: I80f3020cb42903ae48ef65f52f67aae977c5a56b
      62222abc
  8. Aug 07, 2018
  9. Apr 18, 2018
    • Kevin TIBI's avatar
      Fix SSL api for multiple services · a81a5d5d
      Kevin TIBI authored
      If SSL is enabled, api of multiple services returns
      wrong external URL without https prefix.
      
      Removal of condition for deletion of http  header.
      
      Change-Id: I4264e04d0d6b9a3e11ef7dd7add6c5e166cf9fb4
      Closes-Bug: #1749155
      Closes-Bug: #1717491
      a81a5d5d
  10. Apr 09, 2018
  11. Jan 22, 2018
  12. Aug 29, 2017
    • Eduardo Gonzalez's avatar
      Fix freezer elasticsearch config · 5c9d10fa
      Eduardo Gonzalez authored
      storage settings for elasticsearch are not correct.
      Need a backend and expecific options for the backend.
      
      Change-Id: I71e35644389b6f97a20daf0f1dec29a30c3c34e3
      Closes-Bug: #1713693
      5c9d10fa
  13. Jul 06, 2017
  14. May 23, 2017
  15. Mar 10, 2017
  16. Feb 24, 2017
  17. Feb 16, 2017
    • caowei's avatar
      Fix freezer auth issue · 3e3ab117
      caowei authored
      Change-Id: I14ba906cb688c935351ef296badccf720b0267f0
      Closes-Bug: #1665195
      3e3ab117
  18. Jan 27, 2017
  19. Nov 04, 2016
    • Jeffrey Zhang's avatar
      Change workers in murano service · f88448e7
      Jeffrey Zhang authored
      * Add api_workers option in murano group.
      * engine workers moved from workers to engine_workers option in engine
        group.
      
      Change-Id: I746a4e3c69acfd809e167e14a30cc8ed6b0512fb
      Closes-Bug: #1638793
      f88448e7
  20. Sep 20, 2016
  21. Sep 06, 2016
  22. Aug 25, 2016
  23. Aug 18, 2016
    • Alexander Reunov's avatar
      Fix murano notification driver · 26d8d6cd
      Alexander Reunov authored
      Notification driver should be configured to avoid timeout failures of
      murano app deployments while waiting notifications which will never be
      sent.
      
      The required driver is "messagingv2".
      
      TrivialFix
      Change-Id: Id0c753f50d93c81eedb2455a7323d86c08873c5f
      26d8d6cd
  24. Jul 27, 2016
    • Jeffrey Zhang's avatar
      Use a lower number of the workers · 3c3b0288
      Jeffrey Zhang authored
      Use a lower number of workers rather than the default value, which is
      equal to the number of the cpu. Otherwise, in a multi cpu environment,
      the number of the processes will very high.
      
      In this PS, we use min(5, << number of cpu >>) as the default worker
      count.
      
      Closes-Bug: #1582254
      Change-Id: I1c32cf0db794b43b8fb8be18f39190422ca5846f
      3c3b0288
  25. Apr 11, 2016
    • Ryan Hallisey's avatar
      Set db connection retry to infinity · 67333e4d
      Ryan Hallisey authored
      Make sure that all the sevices will attempt to
      connect to the database an infinite about of times.
      If the database ever disappears for some reason we
      want the services to try and reconnect more than just
      10 times.
      
      Closes-bug: #1505636
      Change-Id: I77abbf72ce5bfd68faa451bb9a72bd2544963f4b
      67333e4d
  26. Mar 19, 2016
    • SamYaple's avatar
      Add memcached_servers to keystone_auth section · d4535b6d
      SamYaple authored
      The in-process cache for keystone tokens has been deprecated due to
      "incosistent results and high memory usage" with the expectation we
      switch to memcached_servers if we want to stay performant.
      
      Add memcache_servers [cache] section to the appropriate servers as the
      [DEFAULT]\memcache_servers options was deprecated.
      
      TrivialFix
      Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a
      
      Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
      d4535b6d
  27. Feb 26, 2016
    • SamYaple's avatar
      Change kolla_internal_address variable · d3cfb205
      SamYaple authored
      Due to poor planning on our variable names we have a situation where
      we have "internal_address" which must be a VIP, but "external_address"
      which should be a DNS name. Now with two vips "external_vip_address"
      is a new variable.
      
      This corrects that issue by deprecating kolla_internal_address and
      replacing it with 4 nicely named variables.
      
      kolla_internal_vip_address
      kolla_internal_fqdn
      kolla_external_vip_address
      kolla_external_fqdn
      
      The default behaviour will remain the same, and the way the variable
      inheritance is setup the kolla_internal_address variable can still be
      set in globals.yml and propogate out to these 4 new variables like it
      normally would, but all reference to kolla_internal_address has been
      completely removed.
      
      Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5
      Partially-Implements: blueprint ssl-kolla
      d3cfb205
  28. Feb 19, 2016
  29. Feb 15, 2016
    • Dave McCowan's avatar
      Use variables to specify http or https when constructing URLs · 1cedf77f
      Dave McCowan authored
      To allow for TLS to protect the service endpoints, the protocol
      in the URLs for the endpoints will be either http or https.
      
      This patch removes the hardcoded values of http and replaces them
      with variables that can be adjusted accordingly in future patches.
      
      Change-Id: Ibca6f8aac09c65115d1ac9957410e7f81ac7671e
      Partially-implements: blueprint ssl-kolla
      1cedf77f
  30. Jan 20, 2016
  31. Jan 19, 2016
  32. Jan 18, 2016
    • Allen Gao's avatar
      remove option verbose from config files · 3729755d
      Allen Gao authored
      Option "verbose" from group "DEFAULT" is deprecated for removal.
      Its value may be silently ignored in the future.
      
      If this option is not set explicitly, there is no such warning.
      Furthermore, the default value of verbose is true, so there is
      no need to set this value in config files.
      
      TrivialFix
      
      Change-Id: I3ec2a8900c984a64bc0645672ef89a63975f7f4e
      3729755d
  33. Jan 15, 2016
  34. Dec 22, 2015
    • SamYaple's avatar
      Convert to pymysql · 026942e9
      SamYaple authored
      Closes-Bug: #1528432
      Change-Id: I6e56f283521b29678964cb655ac3cff2d13b8246
      026942e9
  35. Dec 16, 2015
    • OTSUKA, Yuanying's avatar
      Fix retrieving api_interface · 903c7d4c
      OTSUKA, Yuanying authored
      In heterogeneous environment, api_interfaces are different each other.
      So we should specify it from hostvars.
      
      Implements: bp configure-network-interface
      Change-Id: Id15d70bfb9ebb62a64a3847a6b77407efb171dbe
      903c7d4c
  36. Nov 05, 2015
    • Sam Yaple's avatar
      Remove vip for rabbitmq · 347730ce
      Sam Yaple authored
      Adjust all the configs to list all the rabbitmq hosts rather than
      running rabbitmq through the VIP. This is made possible by clusterer
      which has already merged.
      
      Change-Id: I5db48f5f10ec68f4c8863a29bc13984f6845a4f9
      Partially-Implements: blueprint rabbitmq-clusterer
      347730ce
  37. Sep 28, 2015
    • Michal Jastrzebski's avatar
      Murano logging to rsyslog · cacff1c1
      Michal Jastrzebski authored
      Configure murano to use rsyslog container as logging mechanism
      
      Change-Id: I98416f4dac7176539576e865c249adca04379251
      Implements: bp logging-container
      cacff1c1
  38. Sep 07, 2015
    • Mick Thompson's avatar
      Add ansible support for Murano · 68e7da0a
      Mick Thompson authored
      Deploy the core services for murano-api and murano-engine containers.
      
      Implements: bp ansible-murano
      
      Change-Id: Ibcc618665a3509465ba8f9249a417e8848087eef
      68e7da0a
Loading