Skip to content
Snippets Groups Projects
  1. Aug 21, 2019
    • Michal Nasiadka's avatar
      Add --force to ceph mgr dashboard enablement · 361f61d4
      Michal Nasiadka authored
      Sometimes mgr dashboard enablement fails with following message:
      "Error ENOENT: all mgr daemons do not support module 'dashboard',
      pass --force to force enablement"
      
      Change-Id: Ie7052dbdccb855e02da849dbc207b5d1778e2c82
      361f61d4
  2. Aug 20, 2019
  3. Aug 19, 2019
    • Isaac Prior's avatar
      Removes monasca_grafana persistent volume · ff8c24d6
      Isaac Prior authored
      The monasca_grafana docker volume currently persists across container
      builds, causing changes to installed plugins during build to be ignored.
      This change deletes the volume entirely and forces plugin changes to be
      applied via rebuild.
      
      Change-Id: I36e62235a085e5c1955fdb5ae31f603be8ba69bf
      ff8c24d6
  4. Aug 18, 2019
  5. Aug 16, 2019
  6. Aug 15, 2019
    • Rafael Weingärtner's avatar
      Standardize the configuration of "oslo_messaging" section · 22a6223b
      Rafael Weingärtner authored
      After all of the discussions we had on
      "https://review.opendev.org/#/c/670626/2", I studied all projects that
      have an "oslo_messaging" section. Afterwards, I applied the same method
      that is already used in "oslo_messaging" section in Nova, Cinder, and
      others. This guarantees that we have a consistent method to
      enable/disable notifications across projects based on components (e.g.
      Ceilometer) being enabled or disabled. Here follows the list of
      components, and the respective changes I did.
      
      * Aodh:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Congress:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Cinder:
      It was already properly configured.
      
      * Octavia:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Heat:
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Ceilometer:
      Ceilometer publishes some messages in the rabbitMQ. However, the
      default driver is "messagingv2", and not ''(empty) as defined in Oslo;
      these configurations are defined in ceilometer/publisher/messaging.py.
      Therefore, we do not need to do anything for the
      "oslo_messaging_notifications" section in Ceilometer
      
      * Tacker:
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Neutron:
      It was already properly configured.
      
      * Nova
      It was already properly configured. However, we found another issue
      with its configuration. Kolla-ansible does not configure nova
      notifications as it should. If 'searchlight' is not installed (enabled)
      the 'notification_format' should be 'unversioned'. The default is
      'both'; so nova will send a notification to the queue
      versioned_notifications; but that queue has no consumer when
      'searchlight' is disabled. In our case, the queue got 511k messages.
      The huge amount of "stuck" messages made the Rabbitmq cluster
      unstable.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1478274
      https://bugs.launchpad.net/ceilometer/+bug/1665449
      
      * Nova_hyperv:
      I added the same configurations as in Nova project.
      
      * Vitrage
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Searchlight
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Ironic
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Glance
      It was already properly configured.
      
      * Trove
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Blazar
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Sahara
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Watcher
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Barbican
      I created a mechanism similar to what we have in Cinder, Nova,
      and others. I also added a configuration to 'keystone_notifications'
      section. Barbican needs its own queue to capture events from Keystone.
      Otherwise, it has an impact on Ceilometer and other systems that are
      connected to the "notifications" default queue.
      
      * Keystone
      Keystone is the system that triggered this work with the discussions
      that followed on https://review.opendev.org/#/c/670626/2
      
      . After a long
      discussion, we agreed to apply the same approach that we have in Nova,
      Cinder and other systems in Keystone. That is what we did. Moreover, we
      introduce a new topic "barbican_notifications" when barbican is
      enabled. We also removed the "variable" enable_cadf_notifications, as
      it is obsolete, and the default in Keystone is CADF.
      
      * Mistral:
      It was hardcoded "noop" as the driver. However, that does not seem a
      good practice. Instead, I applied the same standard of using the driver
      and pushing to "notifications" queue if Ceilometer is enabled.
      
      * Cyborg:
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Murano
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Senlin
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Manila
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Zun
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Designate
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Magnum
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      Closes-Bug: #1838985
      
      Change-Id: I88bdb004814f37c81c9a9c4e5e491fac69f6f202
      Signed-off-by: default avatarRafael Weingärtner <rafael@apache.org>
      22a6223b
    • Kien Nguyen's avatar
      Add Masakari Ansible role · 577bb50a
      Kien Nguyen authored
      Masakari provides Instances High Availability Service for
      OpenStack clouds by automatically recovering failed Instances.
      
      Depends-On: https://review.openstack.org/#/c/615469/
      
      
      Change-Id: I0b3457232ee86576022cff64eb2e227ff9bbf0aa
      Implements: blueprint ansible-masakari
      Co-Authored-By: default avatarGaëtan Trellu <gaetan.trellu@incloudus.com>
      577bb50a
    • Radosław Piliszek's avatar
      Allow cinder coordination backend to be configured · 03b4c706
      Radosław Piliszek authored
      
      This is to allow operator to prevent enabling redis and/or
      etcd from magically configuring cinder coordinator.
      
      Note this change is backwards-compatible.
      
      Change-Id: Ie10be55968e43e3b9cc347b1b58771c1f7b1b910
      Related-Bug: #1840070
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      03b4c706
  7. Aug 14, 2019
  8. Aug 13, 2019
  9. Aug 12, 2019
  10. Aug 08, 2019
    • Radosław Piliszek's avatar
      Fix FWaaS service provider (v2, Stein issue) · 85a5fb55
      Radosław Piliszek authored
      Because we merged both [1] and [2] in master,
      we got broken FWaaS.
      This patch unbreaks it and is required to backport
      to Stein due to [2] backport waiting for merge,
      while [1] is already backported.
      
      [1] https://review.opendev.org/661704
      [2] https://review.opendev.org/668406
      
      
      
      Change-Id: I74427ce9b937c42393d86574614603bd788606af
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      85a5fb55
    • Doug Szumski's avatar
      Support namespacing RabbitMQ logs · 339ea2bd
      Doug Szumski authored
      The RabbitMQ role supports namespacing the service via the
      project_name. For example, if you change the project_name, the
      container name and config directory will be renamed accordingly. However
      the log folder is currently fixed, even though the service tries to
      write to one named after the project_name. This change fixes that.
      
      Whilst you might generally use vhosts, running multiple RabbitMQ
      services on a single node is useful at the very least for testing,
      or for running 'outward RabbitMQ' on the same node.
      
      This change is part of the work to support Cells v2.
      
      Partially Implements: blueprint support-nova-cells
      Change-Id: Ied2c24c01571327ea532ba0aaf2fc5e89de8e1fb
      339ea2bd
  11. Aug 07, 2019
    • Mark Goddard's avatar
      Use default BGP speaker driver in bgp_dragent.ini · a13bc550
      Mark Goddard authored
      In the Stein release, neutron-dynamic-routing switched from
      using ryu to os-ken (a fork of ryu). The config option
      bgp_speaker_driver [1] is currently set in kolla-ansible to use the ryu
      driver, but this is not included in the image due to it being removed
      from neutron-dynamic-routing's requirements.txt.
      
      This change uses the os-ken driver for bgp_speaker_driver, since this
      package is included in the image.
      
      [1] https://docs.openstack.org/neutron-dynamic-routing/latest/contributor/dragent-drivers.html#bgp-driver
      
      Change-Id: I76ad84c6b963818208f080ebeb054b2553ff40af
      Closes-Bug: #1839165
      a13bc550
    • Michal Nasiadka's avatar
      Add support for sha256 in ceph key distribution · ad9e8786
      Michal Nasiadka authored
      - add support for sha256 in bslurp module
      - change sha1 to sha256 in ceph-mon ansible role
      
      Depends-On: https://review.opendev.org/655623
      Change-Id: I25e28d150f2a8d4a7f87bb119d9fb1c46cfe926f
      Closes-Bug: #1826327
      ad9e8786
    • Marcin Juszkiewicz's avatar
      Stop using MountFlags=shared in Docker configuration · 35941738
      Marcin Juszkiewicz authored
      According to Docker upstream release notes [1] MountFlags should be
      empty.
      
      1. https://docs.docker.com/engine/release-notes/#18091
      
      "Important notes about this release
      
      In Docker versions prior to 18.09, containerd was managed by the Docker
      engine daemon. In Docker Engine 18.09, containerd is managed by systemd.
      Since containerd is managed by systemd, any custom configuration to the
      docker.service systemd configuration which changes mount settings (for
      example, MountFlags=slave) breaks interactions between the Docker Engine
      daemon and containerd, and you will not be able to start containers.
      
      Run the following command to get the current value of the MountFlags
      property for the docker.service:
      
      sudo systemctl show --property=MountFlags docker.service
      MountFlags=
      
      Update your configuration if this command prints a non-empty value for
      MountFlags, and restart the docker service."
      
      Closes-bug: #1833835
      
      Change-Id: I4f4cbb09df752d00073a606463c62f0a6ca6c067
      35941738
    • Mark Goddard's avatar
      Enable iscsid on cinder-backup hosts · ec075240
      Mark Goddard authored
      
      Without this we may see the following error in cinder-backup when using
      the LVM backend:
      
          Could not login to any iSCSI portal
      
      Enabling the iscsid container on hosts in the cinder-backup group fixes
      this.
      
      Closes-Bug: #1838624
      
      Change-Id: If373c002b0744ce9dbdffed50a02bab55dd0acb9
      Co-Authored-By: default avatardmitry-a-grachev <dmitry.a.grachev@gmail.com>
      ec075240
  12. Aug 06, 2019
  13. Aug 05, 2019
    • wangwei's avatar
      Support mon and osd to be named with hostname · cd519db1
      wangwei authored
      In the current deployment of ceph, the node name of osd and the name
      of mon are both IP, and other daemons use hostname.
      
      This commit adds support for naming mon and osd nodes using hostname,
      and does not change the default ip-named way.
      
      Change-Id: I22bef72dcd8fc8bcd391ae30e4643520250fd556
      cd519db1
    • pangliye's avatar
      Add Kafka input to telegraf config · 93e86836
      pangliye authored
      Change-Id: I9a8d3dc5f311d4ea4e5d9b03d522632abc66a7ac
      93e86836
    • Radosław Piliszek's avatar
      Do not require EPEL repo on RHEL-based target hosts · 67cedb7a
      Radosław Piliszek authored
      This change makes kolla-ansible more compatible with
      RHEL which does not provide epel-release package.
      
      EPEL was required to install simplejson from rpm
      which was an ansible requirement when used python
      version was below 2.5 ([1]). This has been obsolete for
      quite a time so it's a good idea to get rid of it.
      
      This change includes update of docs to read more properly.
      
      [1] https://docs.ansible.com/ansible/2.3/intro_installation.html
      
      
      
      Change-Id: I825431d41fbceb824baff27130d64dabe4475d33
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      67cedb7a
    • Radosław Piliszek's avatar
      ceph: fixes to deployment and upgrade · 826f6850
      Radosław Piliszek authored
      1) ceph-nfs (ganesha-ceph) - use NFSv4 only
      This is recommended upstream.
      v3 and UDP require portmapper (aka rpcbind) which we
      do not want, except where Ubuntu ganesha version (2.6)
      forces it by requiring enabled UDP, see [1].
      The issue has been fixed in 2.8, included in CentOS.
      Additionally disable v3 helper protocols and kerberos
      to avoid meaningless warnings.
      
      2) ceph-nfs (ganesha-ceph) - do not export host dbus
      It is not in use. This avoids the temptation to try
      handling it on host.
      
      3) Properly handle ceph services deploy and upgrade
      Upgrade runs deploy.
      The order has been corrected - nfs goes after mds.
      Additionally upgrade takes care of rgw for keystone
      (for swift emulation).
      
      4) Enhance ceph keyring module with error detection
      Now it does not blindly try to create a keyring after
      any failure. This used to hide real issue.
      
      5) Retry ceph admin keyring update until cluster works
      Reordering deployment caused issue with ceph cluster not being
      fully operational before taking actions on it.
      
      6) CI: Remove osd df from collected logs as it may hang CI
      Hangs are caused by healthy MON and no healthy MGR.
      A descriptive note is left in its place.
      
      7) CI: Add 5s timeout to ceph informational commands
      This decreases the timeout from the default 300s.
      
      [1] https://review.opendev.org/669315
      
      
      
      Change-Id: I1cf0ad10b80552f503898e723f0c4bd00a38f143
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      826f6850
  14. Aug 02, 2019
    • chenxing's avatar
      Remove unnecessary option from group_vars/all.yml · a1ab06d2
      chenxing authored
      We often specific the project name after "{{ node_config_directory }}",
      for example,
      ``{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro``.
      As the  "{{ project }}" option is not configured, This line was
      generated with:
      ``/etc/kolla//cinder-api/:...``
      There would be double slash exists. It's OK, but confusing.
      
      Change-Id: I82e6a91b2c541e38cf8e97896842149b31244688
      Closes-Bug: #1838259
      a1ab06d2
  15. Jul 30, 2019
  16. Jul 23, 2019
  17. Jul 18, 2019
    • Jason's avatar
      Do not recreate Blazar DB if using preconfigured · 7d284761
      Jason authored
      Most other services already gate the DB bootstrap operations with the
      'use_preconfigured_databases' variable; Blazar did not.
      
      Change-Id: I772b1cb92612c7e6936f052ed9947f93582f264c
      Unverified
      7d284761
    • Jason Anderson's avatar
      [gnocchi] Don't recursively modify file perms on start · 464fefb1
      Jason Anderson authored
      For deployments with a lot of Gnocchi data, this is a non-starter
      (literally... the service basically can't start.) There maybe needs to
      be a way to configure this, or only do it during deploy/bootstrap?
      Unclear, but disabling for now; users can `chown -R gnocchi:gnocchi`
      themselves in the meantime if need be.
      
      Change-Id: I0bae6dfbbee9f63506c89bd6b392e7be07fd5930
      Unverified
      464fefb1
    • Mark Goddard's avatar
      Fix glance bootstrap with file backend · 1abd15d4
      Mark Goddard authored
      Change https://review.opendev.org/#/c/670247/ attempted to fix glance
      deployment with the file backend. However, it added a new bug by being
      more strict about only generating configuration where the container will
      be deployed. This means that the current method of running the glance
      bootstrap container on any host in glance-api group could be broken,
      since it needs the container configuration.
      
      This change only runs the bootstrap container on hosts in the
      glance_api_hosts list, which in the case of the file backend typically
      only contains one host.
      
      This change also fixes up some logic during rolling upgrade, where we
      might not generate new configuration for the bootstrap host.
      
      Change-Id: I83547cd83b06ddefb3a9e1f39844537bdb32bd7f
      Related-Bug: #1836151
      1abd15d4
    • Radosław Piliszek's avatar
      Fix handling of docker restart policy · 6a737b19
      Radosław Piliszek authored
      Docker has no restart policy named 'never'. It has 'no'.
      This has bitten us already (see [1]) and might bite us again whenever
      we want to change the restart policy to 'no'.
      
      This patch makes our docker integration honor all valid restart policies
      and only valid restart policies.
      All relevant docker restart policy usages are patched as well.
      
      I added some FIXMEs around which are relevant to kolla-ansible docker
      integration. They are not fixed in here to not alter behavior.
      
      [1] https://review.opendev.org/667363
      
      
      
      Change-Id: I1c9764fb9bbda08a71186091aced67433ad4e3d6
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      6a737b19
  18. Jul 16, 2019
    • Michal Nasiadka's avatar
      ceph-nfs: Add rpcbind to Ubuntu host bootstrap · efcaf400
      Michal Nasiadka authored
      * Ubuntu ships with nfs-ganesha 2.6.0, which requires to do an rpcbind
      udp test on startup (was fixed later)
      * Add rpcbind package to be installed by kolla-ansible bootstrap when
      ceph_nfs is enabled
      * Update Ceph deployment docs with a note
      
      Change-Id: Ic19264191a0ed418fa959fdc122cef543446fbe5
      efcaf400
  19. Jul 12, 2019
    • Mark Goddard's avatar
      Fix ironic inspector iPXE boot with UEFI · 7b939756
      Mark Goddard authored
      The ironic inspector iPXE configuration includes the following kernel
      argument:
      
      initrd=agent.ramdisk
      
      However, the ramdisk is actually called ironic-agent.initramfs, so the
      argument should be:
      
      initrd=ironic-agent.initramfs
      
      In BIOS boot mode this does not cause a problem, but for compute nodes
      with UEFI enabled, it seems to be more strict about this, and fails to
      boot.
      
      Change-Id: Ic84f3b79fdd3cd1730ca2fb79c11c7a4e4d824de
      Closes-Bug: #1836375
      7b939756
    • Mark Goddard's avatar
      During deploy, always sync DB · d5e5e885
      Mark Goddard authored
      A common class of problems goes like this:
      
      * kolla-ansible deploy
      * Hit a problem, often in ansible/roles/*/tasks/bootstrap.yml
      * Re-run kolla-ansible deploy
      * Service fails to start
      
      This happens because the DB is created during the first run, but for some
      reason we fail before performing the DB sync. This means that on the second run
      we don't include ansible/roles/*/tasks/bootstrap_service.yml because the DB
      already exists, and therefore still don't perform the DB sync. However this
      time, the command may complete without apparent error.
      
      We should be less careful about when we perform the DB sync, and do it whenever
      it is necessary. There is an argument for not doing the sync during a
      'reconfigure' command, although we will not change that here.
      
      This change only always performs the DB sync during 'deploy' and
      'reconfigure' commands.
      
      Change-Id: I82d30f3fcf325a3fdff3c59f19a1f88055b566cc
      Closes-Bug: #1823766
      Closes-Bug: #1797814
      d5e5e885
  20. Jul 11, 2019
    • Mark Goddard's avatar
      Fix glance with file backend · 602f89ba
      Mark Goddard authored
      Since https://review.opendev.org/647699/, we lost the logic to only
      deploy glance-api on a single host when using the file backend.
      
      This code was always a bit custom, and would be better supported by
      using the 'host_in_groups' pattern we have in a few other places where a
      single group name does not describe the placement of containers for a
      service.
      
      Change-Id: I21ce4a3b0beee0009ac69fecd0ce24efebaf158d
      Closes-Bug: #1836151
      602f89ba
  21. Jul 10, 2019
Loading