Skip to content
Snippets Groups Projects
  1. Oct 24, 2019
  2. Oct 21, 2019
  3. Oct 20, 2019
  4. Oct 18, 2019
  5. Oct 17, 2019
    • Radosław Piliszek's avatar
      Do not disable IPv6 in Tempest · baa85527
      Radosław Piliszek authored
      IPv6 need not have been disabled in Tempest before either.
      
      Change-Id: I77f691b6b028d1a7f57537442a79557ede5f861e
      baa85527
    • Jan Vondra's avatar
      Neutron: add support to use legacy iptables · e54edb55
      Jan Vondra authored
      neutron_legacy_iptables option sets the KOLLA_LEGACY_IPTABLES
      environment variable in the neutron-l3-agent, neutron-linuxbridge-agent
      and neutron_openvswich_agent container where it should be consumed
      by kolla_extended_start script resulting in setting iptables-legacy.
      
      Depends-On: https://review.opendev.org/#/c/683679/
      Change-Id: Iaa8b46a2227b61a729b8d54bbe4b20f389f251d1
      e54edb55
    • Radosław Piliszek's avatar
      Fix OpenSSL template · 4443a53b
      Radosław Piliszek authored
      OpenSSL certificate should default to FQDN if possible.
      Using IP addresses is not recommended, complicates dual stack
      and limits addressing flexibility.
      
      IPv6 control plane implementation [1] follow-up.
      
      [1] Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      
      Change-Id: Ibfc02f933ddcc170e9d616d401e294ba0ff5e981
      4443a53b
    • Radosław Piliszek's avatar
      Refactor NSS database var · 75862bc7
      Radosław Piliszek authored
      IPv6 control plane implementation [1] follow-up.
      
      [1] Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      
      Change-Id: I4c2bd81e77fc09a04838a62f008e5d6c5dc1483d
      75862bc7
  6. Oct 16, 2019
    • Doug Szumski's avatar
      Support multiple nova cells · 78a828ef
      Doug Szumski authored
      
      This patch adds initial support for deploying multiple Nova cells.
      
      Splitting a nova-cell role out from the Nova role allows a more granular
      approach to deploying and configuring Nova services.
      
      A new enable_cells flag has been added that enables the support of
      multiple cells via the introduction of a super conductor in addition to
      cell-specific conductors. When this flag is not set (the default), nova
      is configured in the same manner as before - with a single conductor.
      
      The nova role now deploys the global services:
      
      * nova-api
      * nova-scheduler
      * nova-super-conductor (if enable_cells is true)
      
      The nova-cell role handles services specific to a cell:
      
      * nova-compute
      * nova-compute-ironic
      * nova-conductor
      * nova-libvirt
      * nova-novncproxy
      * nova-serialproxy
      * nova-spicehtml5proxy
      * nova-ssh
      
      This patch does not support using a single cell controller for managing
      more than one cell. Support for sharing a cell controller will be added
      in a future patch.
      
      This patch should be backwards compatible and is tested by existing CI
      jobs. A new CI job has been added that tests a multi-cell environment.
      
      ceph-mon has been removed from the play hosts list as it is not
      necessary - delegate_to does not require the host to be in the play.
      
      Documentation will be added in a separate patch.
      
      Partially Implements: blueprint support-nova-cells
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      Change-Id: I810aad7d49db3f5a7fd9a2f0f746fd912fe03917
      78a828ef
    • Viktor Michalek's avatar
      Openvswitch: some ovs tools require ovs daemons pidfiles · 492940be
      Viktor Michalek authored
      Change-Id: I4050c243f05571bbebab07b08c101e61879cda67
      Closes-Bug: 1848363
      492940be
    • Dincer Celik's avatar
      Fixes missing boolean for Neutron FWaaS · 0346dc12
      Dincer Celik authored
      The missing boolean breaks Neutron FWaaS deployment.
      
      Change-Id: I169246a6ce8b15af76fd84b32029437016bd3c42
      Closes-Bug: #1847562
      0346dc12
    • 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
  7. Oct 15, 2019
  8. Oct 14, 2019
  9. Oct 12, 2019
  10. Oct 10, 2019
    • Mark Goddard's avatar
      Remove /etc/hosts entries pointing hostname to localhost and prevent · 0b24a0f2
      Mark Goddard authored
      cloud-init to manage /etc/hosts
      
      1) Ubuntu includes a line in /etc/hosts that makes the local hostname and
      nodename (if different) point to 127.0.1.1. This can break RabbitMQ,
      which expects the hostname to resolve to the API network address.
      
      2) The distribution might come with cloud-init installed, and manage_etc_hosts
      configuration enabled. If so, it will override the file /etc/hosts from cloud-init
      templates at every boot, which will break RabbitMQ.
      
      This change fixes these issues.
      
      Change-Id: I53261d0403b983ab419bd44e705b89f7b7a1c316
      Closes-Bug: #1837699
      0b24a0f2
  11. Oct 09, 2019
  12. Oct 07, 2019
    • Mark Goddard's avatar
      Fix swift-proxy-server memcached configuration · 3488479d
      Mark Goddard authored
      Currently, swift-proxy config uses hosts in the swift-proxy-server group
      to generate the list of memcached servers. However, memcached is
      deployed to hosts in the memcached group.
      
      This change fixes the memcached_servers option for swift-proxy to be the
      same as other services.
      
      Change-Id: Ib850a1bb2a504ac3e1396846ca3f1d9a30e8fca0
      Closes-Bug: #1774313
      3488479d
  13. Oct 03, 2019
  14. Oct 01, 2019
    • Doug Szumski's avatar
      Copy Nova role as a basis for the Nova cell role · 952b5308
      Doug Szumski authored
      The idea is to factor out a role for deploying Nova related services
      to cells. Since all deployments use cells, this role can be used
      in both regular deployments which have just cell0 and cell1,
      and deployments with many cells.
      
      Partially Implements: blueprint support-nova-cells
      Change-Id: Ib1f36ec0a773c384f2c1eac1843782a3e766045a
      952b5308
    • Mark Goddard's avatar
      Add service-rabbitmq role · 039cc2be
      Mark Goddard authored
      This role can be used by other roles to register RabbitMQ resources.
      Currently support is provided for creating virtual hosts and users.
      
      Change-Id: Ie1774a10b4d629508584af679b8aa9e372847804
      Partially Implements: blueprint support-nova-cells
      Depends-On: https://review.opendev.org/684742
      039cc2be
  15. Sep 30, 2019
    • Mark Goddard's avatar
      Fall back to regexes in kolla_toolbox with Docker API 1.24 · 8d25b306
      Mark Goddard authored
      Since
      https://opendev.org/openstack/kolla-ansible/commit/70b515bf1225e56b7df81677043d75be4bbb1ab4
      was merged, we implicitly require Docker API version 1.25
      (https://docs.docker.com/engine/api/v1.25/) to support passing
      environment variables to docker exec. The version of docker we deployed
      before the Docker CE upgrade was 1.12.0, which is Docker API version
      1.24, and so does not support this. We get the following error:
      
          Setting environment for exec is not supported in API < 1.25
      
      This change modifies the kolla_toolbox module to use the new JSON
      method for parsing Ansible's output when Docker API 1.25 is available,
      falling back to the old regex-based method otherwise.
      
      This change can be reverted when we require a minimum Docker API version
      of 1.25+.
      
      Change-Id: Ie671624ecca5b43d7bd8fbd959d701d9e21d66b3
      Closes-Bug: #1845681
      8d25b306
    • Joseph M's avatar
      [designate] Add coordination backend for designate workers · 9cae6083
      Joseph M authored
      Add coordination backend configuration to designate.conf which is
      required in multinode environments. Fixes warning from designate:
      
      WARNING designate.coordination [-] No coordination backend configured,
      assuming we are the only worker. Please configure a coordination backend
      
      Change-Id: I23c4d2de7e3f9368795c423000a4f9a6c3a431e2
      Closes-Bug: #1843842
      Related-Bug: #1840070
      9cae6083
  16. Sep 29, 2019
  17. Sep 26, 2019
    • Doug Szumski's avatar
      Remove Nova legacy upgrade · 0d7a34e8
      Doug Szumski authored
      The rolling upgrade has been the default since Stein. The legacy
      upgrade has been removed because it doesn't follow the upgrade
      guide [1].
      
      [1] https://docs.openstack.org/nova/latest/user/upgrade.html
      
      Change-Id: I2aa879699cb4e9955bf5c38053eada5a53fb6211
      0d7a34e8
    • Kris Lindgren's avatar
      Add a job that *only* deploys updated containers · 2fe0d98e
      Kris Lindgren authored
      Sometimes as cloud admins, we want to only update code that is running
      in a cloud.  But we dont need to do anything else.  Make an action in
      kolla-ansible that allows us to do that.
      
      Change-Id: I904f595c69f7276e71692696471e32fd1f88e6e8
      Implements: blueprint deploy-containers-action
      2fe0d98e
    • Mark Goddard's avatar
      Remove delegate_to from service-ks-register tasks · 33b1b85d
      Mark Goddard authored
      This was actually not present in the original tasks, I'm not sure how it
      crept in. Using it could force delegating to a failed host.
      
      Also use a block in the service-ks-register role to avoid repeating the
      run_once and become arguments.
      
      Change-Id: Ie4e14b1cfb0167a2126685784b6a8f7262393f63
      33b1b85d
  18. Sep 25, 2019
  19. Sep 24, 2019
    • Mark Goddard's avatar
      Switch default cloudkitty storage backend to influxdb · 27f4876e
      Mark Goddard authored
      Backport: stein
      
      In the Stein release, cloudkitty switched the default storage backend
      from sqlalchemy to influxdb. In kolla-ansible stein configuration, we
      did not explicitly set the storage backend, and so we automatically
      picked up this change. However, prior to
      https://review.opendev.org/#/c/615928/ we did not have full support for
      InfluxDB as a storage backend, and so this has broken the Rocky-Stein
      upgrade (https://bugs.launchpad.net/kolla-ansible/+bug/1838641), which
      fails with this during the DB sync:
      
      ERROR cloudkitty InfluxDBClientError: get_list_retention_policies()
      requires a database as a parameter or the client to be using a database
      
      This change synchronises our default with cloudkitty's (influxdb), and
      also provides an upgrade transition to create the influxdb database.
      
      We also move the cloudkitty_storage_backend variable to
      group_vars/all.yml, since it is used to determine whether to enable
      influxdb.
      
      Finally, the section name in cloudkitty.conf was incorrect - it was
      storage_influx,  but should be storage_influxdb.
      
      Change-Id: I71f2ed11bd06f58e141d222e2709835b7ddb2c71
      Closes-Bug: #1838641
      27f4876e
    • Mark Goddard's avatar
      Create and grant all keystone roles in service-ks-register · 741f6d9b
      Mark Goddard authored
      This ensures we execute the keystone os_* modules in one place.
      
      Also rework some of the task names and loop item display.
      
      Change-Id: I6764a71e8147410e7b24b0b73d0f92264f45240c
      741f6d9b
    • Alexis Deberg's avatar
      Swift: add swift_extra_ring_files variable to handle multi-policies deployment · 0adbbb26
      Alexis Deberg authored
      The current tasks only use a hardcoded list deploying only the required files.
      When using multiple custom policies, additionnal object-*.builder and
      object*.gz files are to be deployed as well.
      This adds a new default-empty variable that can be overridden when needed
      
      Change-Id: I29c8e349c7cc83e3a2e01ff702d235a0cd97340e
      Closes-Bug: #1844752
      0adbbb26
  20. Sep 23, 2019
    • Mark Goddard's avatar
      Ensure keepalived is restarted during upgrade · 6f05f1b8
      Mark Goddard authored
      During upgrade, we stop all slave keepalived containers. However, if the
      keepalived container configuration has not changed, we never restart
      them.
      
      This change fixes the issue by notifying the restart handler when the
      containers are stopped.
      
      Change-Id: Ibe094b0c14a70a0eb811182d96f045027aa02c2a
      Closes-Bug: #1836368
      6f05f1b8
Loading