Skip to content
Snippets Groups Projects
  1. Apr 17, 2020
    • Q.hongtao's avatar
      Add vitrage-persistor service · d0b06f67
      Q.hongtao authored
      Kolla Ansible was missing vitrage-persistor service
      required by Vitrage for data storage.
      
      Depends on fixing availability of Kolla image.
      
      Change-Id: I8158ba66b8b624f6bcb89da9c990a30a68b7187b
      Depends-On: Id5e143636f9a81e7294b775f3d8b9134bee58054
      Closes-Bug: #1869319
      d0b06f67
  2. Apr 12, 2020
  3. Apr 11, 2020
    • Rafael Weingärtner's avatar
      Allow operators to use "ceilometer-upgrade" parameters · 6fcccdae
      Rafael Weingärtner authored
      Allow operators to use custom parameters with the ceilometer-upgrade
      command. This is quite useful when using the dynamic pollster subsystem;
      that sub-system provides flexibility to create and edit pollsters configs,
      which affects gnocchi resource-type configurations. However, Ceilometer
      uses default and hard-coded resource-type configurations; if one customizes
      some of its default resource-types, he/she can get into trouble during
      upgrades. Therefore, the only way to work around it is to use the
      "--skip-gnocchi-resource-types" flag. This PR introduces a method for
      operators to execute such customization, and many others if needed.
      
      Depends-On: https://review.opendev.org/#/c/718190/
      Change-Id: I92f0edba92c9e3707d89b3ff4033ac886b29cf6d
      6fcccdae
    • Zuul's avatar
      b9f07bc3
  4. Apr 10, 2020
  5. Apr 09, 2020
    • Zuul's avatar
      Merge "Perform host configuration during upgrade" · 6cd0641e
      Zuul authored
      6cd0641e
    • Dincer Celik's avatar
      Introduce /etc/timezone to Debian/Ubuntu containers · 4b5df0d8
      Dincer Celik authored
      Some services look for /etc/timezone on Debian/Ubuntu, so we should
      introduce it to the containers.
      
      In addition, added prechecks for /etc/localtime and /etc/timezone.
      
      Closes-Bug: #1821592
      Change-Id: I9fef14643d1bcc7eee9547eb87fa1fb436d8a6b3
      4b5df0d8
    • John Garbutt's avatar
      Fix live migration to use migration int. address · 628c27ce
      John Garbutt authored
      In kolla ansible we typically configure services to communicate via IP
      addresses rather than hostnames. One accidental exception to this was
      live migration, which used the hostname of the destination even when
      not required (i.e. TLS not being used for libvirt).
      
      To make such hostnames work, k-a adds entries to /etc/hosts in the
      bootstrap-servers command. Alternatively users may provide DNS.
      
      One problem with using /etc/hosts is that, if a new compute host is
      added to the cloud, or an IP address is changed, that will not be
      reflected in the /etc/hosts file of other hosts. This would cause live
      migration to the new host from an old host to fail, as the name cannot
      be resolved.
      
      The workaround for this was to update the /etc/hosts file (perhaps via
      bootstrap-servers) on all hosts after adding new compute hosts. Then the
      nova_libvirt container had to be restarted to pick up the change.
      
      Similarly, if user has overridden the migration_interface, the used
      hostname could point to a wrong address on which libvirt would not
      listen.
      
      This change adds the live_migration_inbound_addr option to nova.conf. If
      TLS is not in use for libvirt, this will be set to the IP address of the
      host on the migration network. If TLS is enabled for libvirt,
      live_migration_inbound_addr will be set to migration_hostname, since
      certificates will typically reference the hostname rather than the
      host's IP. With libvirt TLS enabled, DNS is recommended to avoid the
      /etc/hosts issue which is likely the case in production deployments.
      
      Change-Id: I0201b46a9fbab21433a9f53685131aeb461543a8
      Closes-Bug: #1729566
      628c27ce
    • Zuul's avatar
    • James Kirsch's avatar
      Add support for encrypting backend Keystone HAProxy traffic · b475643c
      James Kirsch authored
      This patch introduces an optional backend encryption for Keystone
      service. When used in conjunction with enabling TLS for service API
      endpoints, network communcation will be encrypted end to end, from
      client through HAProxy to the Keystone service.
      
      Change-Id: I6351147ddaff8b2ae629179a9bc3bae2ebac9519
      Partially-Implements: blueprint add-ssl-internal-network
      b475643c
  6. Apr 08, 2020
    • Mark Goddard's avatar
      Perform host configuration during upgrade · 1d70f509
      Mark Goddard authored
      This is a follow up to I001defc75d1f1e6caa9b1e11246abc6ce17c775b. To
      maintain previous behaviour, and ensure we catch any host configuration
      changes, we should perform host configuration during upgrade.
      
      Change-Id: I79fcbf1efb02b7187406d3c3fccea6f200bcea69
      Related-Bug: #1860161
      1d70f509
  7. Apr 06, 2020
  8. Apr 05, 2020
  9. Apr 04, 2020
  10. Apr 03, 2020
  11. Apr 02, 2020
    • Zuul's avatar
      Merge "Avoid unconditional fact gathering" · 5b86b943
      Zuul authored
      5b86b943
    • Radosław Piliszek's avatar
      Use unittest.mock instead of PyPI mock · 5648ad6e
      Radosław Piliszek authored
      Now that py2 is gone, oslotest dropped dependency on mock and will
      soon affect Ussuri CI [1], let's use unittest.mock built in py3.
      
      This also fixes py38 jobs and proactively prevents py36 and py37
      failing due to [1]. This is because we never included mock in
      test-requirements (but in lower-constraints where it does not
      really belong at all) and instead relied on oslotest to bring
      it in.
      
      [1] https://review.opendev.org/716322
      
      Change-Id: I30e82e2d87418272a71c7ee089a8acdaf8872158
      5648ad6e
    • Zuul's avatar
      Merge "Support setting Kafka storage volume" · 47e2baf9
      Zuul authored
      47e2baf9
    • Mark Goddard's avatar
      Separate per-service host configuration tasks · fdea19a3
      Mark Goddard authored
      Currently there are a few services that perform host configuration
      tasks. This is done in config.yml. This means that these changes are
      performed during 'kolla-ansible genconfig', when we might expect not to
      be making any changes to the remote system.
      
      This change separates out these host configuration tasks into a
      config-host.yml file, which is included directly from deploy.yml.
      
      One change in behaviour is that this prevents these tasks from running
      during an upgrade or genconfig. This is probably what we want, but we
      should be careful when any of these host configuration tasks are
      changed, to ensure they are applied during an upgrade if necessary.
      
      Change-Id: I001defc75d1f1e6caa9b1e11246abc6ce17c775b
      Closes-Bug: #1860161
      fdea19a3
    • Mark Goddard's avatar
      Avoid unconditional fact gathering · e0ba55a8
      Mark Goddard authored
      One way to improve the performance of Ansible is through fact caching.
      Rather than gather facts in every play, we can configure Ansible to
      cache them in a persistent store. An example Ansible configuration for
      doing this is as follows:
      
      [defaults]
      gathering = smart
      fact_caching = jsonfile
      fact_caching_connection = ./facts
      fact_caching_timeout = 86400
      
      This does not affect Kolla Ansible however, since we use the setup
      module which unconditionally gathers facts regardless of the state of
      the cache. This gets worse with large inventories limited to a small
      batch of hosts via --limit or serial, since the limited hosts must
      gather facts for all others.
      
      One way to detect whether facts exist for a host is via the
      'module_setup' variable, which exists only when facts exist. This change
      uses the 'module_setup' fact to determine whether facts need to be
      gathered for hosts outside of the batch. For hosts in the batch, we
      switch from using the setup module to gather_facts on the play, which
      can use the 'smart' gathering logic.
      
      Change-Id: I04841fb62b2e1d9e97ce4b75ce3a7349b9c74036
      Partially-Implements: blueprint performance-improvements
      e0ba55a8
    • Zuul's avatar
      c7919433
    • Zuul's avatar
      Merge "kolla-toolbox container name variable" · 1a9dfa31
      Zuul authored
      1a9dfa31
    • Zuul's avatar
      Merge "Add clients ca_file in heat" · 5ffbdfdf
      Zuul authored
      5ffbdfdf
    • Zuul's avatar
  12. Apr 01, 2020
    • Radosław Piliszek's avatar
      Fix ovs fw driver for the other ovs agent · c033ddca
      Radosław Piliszek authored
      In [1] only neutron-openvswitch-agent was fixed and not xenapi.
      That merged in Ussuri and went cleanly into Train.
      In Stein and Rocky, the backport was not clean and
      accidentally fixed xenapi instead of the regular one.
      
      Neither the original bug nor its incomplete fix were released,
      except for Rocky. :-(
      Hence this patch also removes the confusing reno instead of
      adding a new one.
      
      [1] https://review.opendev.org/713129
      
      Change-Id: I331417c8d61ba6f180bcafa943be697418326645
      Closes-bug: #1869832
      Related-bug: #1867506
      c033ddca
  13. Mar 30, 2020
Loading