Skip to content
Snippets Groups Projects
  1. Nov 21, 2019
    • Zhuo Zhen's avatar
      Fix hard-coded admin project name and username in blazar task · f2d32d2e
      Zhuo Zhen authored
      In one of the blazar ansible tasks in "bootstrap.yml", the admin
      project name and username are hard-coded as "admin". OpenStack
      users can define their admin project name and username differently
      and the hard-coded names would cause authentication errors.
      
      In addition, keystone identity api version 3 uses "os-project-name"
      instead of "os-tenant-name". Although "os-tenant-name" might be
      still accepatable, it's better to keep the latest.
      
      Change-Id: Ie5c1016f9ce6f402ef208f3c295e6883a9edd8ab
      Closes-bug: #1853462
      f2d32d2e
  2. Nov 18, 2019
  3. Nov 16, 2019
  4. Nov 14, 2019
    • Mark Goddard's avatar
      Attempt to pull image before stopping and removing container · 64d07c0b
      Mark Goddard authored
      * Deploy services using kolla-ansible deploy
      * Reconfigure the image for one or more services to use an invalid
      * config
      * Deploy/reconfigure services using kolla-ansible reconfigure
      
      The invalid config could be a wrong docker registry, wrong image name,
      wrong tag, etc.
      
      The restart handler for the service fails, and the old container is
      left running.
      
      The restart handler for the service fails, and the old container is
      stopped and removed. This leaves the service in a broken state.
      
      This change fixes the issue by pulling the image if necessary prior to
      stopping and removing the container.
      
      Change-Id: I85b2a1b224d4c4d85c32c4922a2cd2c41171a1dc
      Closes-Bug: #1852572
      64d07c0b
    • Mark Goddard's avatar
      Remove precheck for nova_enable_rolling_upgrade · d98be11e
      Mark Goddard authored
      This variable was removed in the Train cycle, and a precheck added for
      its use. This precheck can now be removed.
      
      Change-Id: I6d9f0b577631ff9443deecf8ef9d94ca217674c5
      d98be11e
    • Mark Goddard's avatar
      Remove transitional support for neutron-lbaas removal · 0bd60388
      Mark Goddard authored
      Support for deploying neutron-lbaas was removed in the Train release. We
      no longer need the task to remove the container in the upgrade process.
      
      Change-Id: Ie336f68c710616de29f34dd4011e137ec056973b
      0bd60388
    • Mark Goddard's avatar
      Remove transitional support for influxdb in cloudkitty upgrade · e6c5aa4a
      Mark Goddard authored
      During the Stein release the default storage backend for cloudkitty was
      switched to influxdb. To aid this transition we added creation of the
      influxdb database during upgrade. Now that this transition is complete
      we can remove it.
      
      Change-Id: Ieb247f36af932d3a357504c7419ead44b10d1301
      e6c5aa4a
    • Mark Goddard's avatar
      Remove enable_xtrabackup variable · ad015569
      Mark Goddard authored
      This was deprecated in the Train release in favour of enable_mariadb.
      
      Change-Id: Iea0c6eb51ff26817eeb913c9aa241a9fe7553588
      ad015569
    • Mark Goddard's avatar
      Set previous release to Train · d4f719e9
      Mark Goddard authored
      Now that the stable/train branch has been cut, we can set the previous
      release to Train. This is done in kolla-ansible for rolling upgrades,
      and in CI configuration for upgrade tests.
      
      Change-Id: I9d903543936e59aeeee939b32afce3e63b8c4394
      d4f719e9
  5. Nov 11, 2019
    • Keith Plant's avatar
      Add support for custom HAProxy service config · a3a1b068
      Keith Plant authored
      
      Allow users to create/override HAProxy service configuration by
      copying over '*.cfg' files from {{ node_custom_config
      }}/haproxy/services.d/
      
      Ex: /etc/kolla/config/haproxy/services.d/radosgw.cfg
      
      Change-Id: Id84e3b6e62e544582d6917047534e846e026798d
      Signed-off-by: default avatarKeith Plant <kplantjr@gmail.com>
      a3a1b068
    • Mark Goddard's avatar
      Start Docker after upgrade · 82e58a7a
      Mark Goddard authored
      If you do the following:
      
      * Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers
        with the Rocky release or earlier.
      * Update to Docker CE, using kolla-ansible bootstrap-servers with the
        Stein release or later
      
      The package is upgraded, but docker is stopped. This prevents the 'Wait
      for Docker to start' task from completing, since Docker will not start.
      Seen on CentOS 7.6, Docker CE 19.03.4.
      
      This was tested and working previously, perhaps something changed with
      the Docker package.
      
      This change fixes the issue by starting and enabling Docker after the
      upgrade.
      
      Change-Id: If6e9c91f3e8d0ec366eea7ca506c6d10dbf11c3a
      Closes-Bug: #1852066
      82e58a7a
  6. Nov 07, 2019
    • Mark Goddard's avatar
      Fix restart policy after MariaDB recovery · f979ae1f
      Mark Goddard authored
      After performing a recovery of MariaDB, the mariadb containers are left
      without a restart policy. This leaves them unable to recover from the
      crash of a single galera node. There is another issue, in that the
      'master' node is left in a bootstrap configuration, with the
      --wsrep-new-cluster argument configured as BOOTSTRAP_ARGS.
      
      This change fixes these issues by removing the restart policy of 'no'
      from the 'slave' containers, and recreating the master container without
      the restart policy or bootstrap arguments.
      
      Change-Id: I36c875611931163ca2c29ae93b71d3af64cb197c
      Closes-Bug: #1851594
      f979ae1f
  7. Nov 05, 2019
  8. 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
  9. Nov 01, 2019
  10. Oct 31, 2019
  11. Oct 25, 2019
  12. 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
  13. 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
  14. 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
  15. Oct 20, 2019
Loading