Skip to content
Snippets Groups Projects
  1. Nov 05, 2019
  2. Nov 04, 2019
    • Martin Chlumsky's avatar
      Fix empty match while setting supported_policy_files · 9d0ccad1
      Martin Chlumsky authored
      When supported_policy_files gets set under python 3.7 [1], the regex '(.*)'
      matches twice, once for the policy file name and once more for the empty string
      that follows the policy file name. This is new behavior under python
      3.7. [2]
      
      This leads to the replacement string being written out twice resulting
      in something like this: "nova_policy.yamlnova_".
      
      This patch changes the regex to '(.+)' ensuring there is no match success
      against the empty string.
      
      [1]:
      - set_fact:
          supported_policy_files: "{{ supported_policy_format_list | map('regex_replace', '(.*)', '{{ project_name }}_\\1') | list }}"
      
      [2]: https://docs.python.org/3/library/re.html#re.sub
      
      Change-Id: Ie5278832e293364c66d53ddb07dff9c5409f0cc6
      Closes-Bug: 1851249
      9d0ccad1
    • lklimin's avatar
      Fix haproxy deploy for external mariadb cluster · 0a7d189d
      lklimin authored
      Change-Id: I12fa6ae8dcec79485c30c4fea2977875aa8f4fae
      Closes-Bug: #1850792
      0a7d189d
  3. Nov 01, 2019
  4. Oct 31, 2019
  5. Oct 25, 2019
  6. Oct 24, 2019
    • Alexis Deberg's avatar
      Update swift templates to support swift_extra_ring_files · 5f4c71ee
      Alexis Deberg authored
      Change-Id: Ie594f6cdbe332d64d3461d84da730111d0db5cf1
      Related-Bug: #1844752
      5f4c71ee
    • Mark Goddard's avatar
      Fix kolla-bootstrap-servers with docker_storage_driver set · 12987ca0
      Mark Goddard authored
      If docker_storage_driver is set in globals.yml, then kolla-ansible
      bootstrap-servers is run, it fails like so:
      
      The conditional check 'docker_storage_driver' failed. The error was: error
      while evaluating conditional (docker_storage_driver): 'devicemapper' is
      undefined
      
      Ansible does not like evaluating strings as conditionals. This change switches
      to using the length filter.
      
      Change-Id: Ib95cbdac2a659e7a0d5f113fe48046de3a39dcda
      Closes-Bug: #1849691
      12987ca0
    • Michal Nasiadka's avatar
      Add proper wsgi loglevel when openstack_logging_debug · 0240763d
      Michal Nasiadka authored
      Change-Id: I51144d92f34ed51c499a4119c059e6475d02eb46
      0240763d
    • Mark Goddard's avatar
      Fix swift.conf custom configuration path collision · 86ccefc6
      Mark Goddard authored
      Both swift.conf and proxy-server.conf are affected be
      /etc/kolla/config/swift/proxy-server.conf. However, some options in
      proxy-server.conf are not valid in swift.conf.
      
      This change keeps this path for proxy-server.conf, but modifies the path
      for swift.conf to /etc/kolla/config/swift/proxy-server/swift.conf. The
      same applies for other services, object-*, account-*, container-*.
      
      Change-Id: I600891a15244ce705861f6ec93eec1d5ba83c1b8
      Closes-Bug: #1849265
      86ccefc6
  7. Oct 23, 2019
    • Radosław Piliszek's avatar
      Zun: fix Cinder (volume) iSCSI support · 01135e0f
      Radosław Piliszek authored
      Fixes /dev volume, missed in the previous commit [1].
      iscsid was installing the devices in /dev but zun-compute
      could not see them due to the emulated /dev volume.
      
      [1] I2c4aa666ff9f952e32c450347d31ddbf2e58209e
      
      Change-Id: Ic72c910b92765b9a6f59224728e9c4ea2482bc5a
      Related-bug: #1797448
      Related-bug: #1848933
      01135e0f
  8. Oct 21, 2019
    • Alexis Deberg's avatar
      Swift: compute the list of containers dynamically in the reconfigure task · 9622ab96
      Alexis Deberg authored
      If swift_has_replication_network is false some containers do not exist on the
      target node.
      This commit adds steps to compute the final list of containers to act on.
      
      Change-Id: I12f8de53724c3f24832df83597f36f9614af8e75
      Closes-Bug: #1849189
      9622ab96
    • Mark Goddard's avatar
      Perform database migration in monasca upgrade · c6392ed1
      Mark Goddard authored
      Currently the database is only synced during deployment. This change
      performs the sync during upgrade as well.
      
      Change-Id: Ia45fc733a1ab69de9d4762f5d9c8767041eeaed3
      Closes-Bug: #1832020
      c6392ed1
    • Jan Horstmann's avatar
      Extract cephx keys from vault encrypted files · 44709f41
      Jan Horstmann authored
      Cephx keys are not picked up by "local_action: shell cat [...]"
      when using ansible-vault encrypted keyrings.
      This commit changes the logic to use the file lookup plugin and
      extracts the key using jinja2 regex filters. The raw keys are then
      set as ansible facts.
      
      Closes-Bug: 1849127
      
      Change-Id: Iacb1e42307c4de6a7a379e8cf279e073995fd5d3
      44709f41
    • Will Szumski's avatar
      Limit open file descriptors for Neutron agent containers · ae5acc7f
      Will Szumski authored
      See https://bugs.launchpad.net/oslo.rootwrap/+bug/1760471, in particular
      comment #1 for an explanation of why inheriting the defaults of the
      docker daemon can cause poor performance:
      
      The performance difference likely comes from close_fds=True of subprocess.
      Popen. On Python 2, Popen calls close(fd) on all file descriptors from 3 to
      SC_OPEN_MAX. On my Fedora 27 "host", SC_OPEN_MAX is 1,024. But in docker,
      SC_OPEN_MAX is... 1,048,576: 1,000x larger. On Python 3, Popen is smarter. On
      Linux, it lists the content of /proc/self/fd/ to only close open file
      descriptors. It doesn't depend on SC_OPEN_MAX value.
      
      Change-Id: Iefef6039644192420abbd3bf614329cbc0d9a62a
      Closes-Bug: #1848737
      Related-Bug: #1760471
      Related-Bug: #1757556
      Related-Bug: #1824020
      ae5acc7f
    • Eduardo Gonzalez's avatar
      [train] Add required Tacker Conductor config and docs · b96ade3c
      Eduardo Gonzalez authored
      
      Tacker requires config for storing CSAR vnf packages.
      This patch adds it as well as relevant docs.
      Only one Tacker Conductor is deployed by default due to
      lack of a shared filesystem.
      
      Change-Id: Iad391f35105e79fa9319502256528990915df9b7
      Co-authored-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      Closes-Bug: #1845142
      b96ade3c
  9. Oct 20, 2019
  10. Oct 18, 2019
  11. 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
  12. 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
  13. Oct 15, 2019
  14. Oct 14, 2019
Loading