Skip to content
Snippets Groups Projects
  1. Sep 06, 2019
    • Mark Goddard's avatar
      Add [nova] section to ironic.conf · 8489a753
      Mark Goddard authored
      In the Train cycle, ironic added a [nova] section to its configuration.
      This is used to configure access to Nova API, for sending power state
      callbacks.
      
      This change adds the [nova] section to ironic.conf.
      
      Change-Id: Ib891af1db2a2c838c887e858ea0721f5e6a4fab0
      Closes-Bug: #1843070
      8489a753
    • Mark Goddard's avatar
      Fix removed and deprecated options in ironic.conf · 3da05319
      Mark Goddard authored
      The ironic configuration in ironic.conf uses several options which have
      been removed in the Train cycle:
      
      [glance] glance_api_servers was removed in https://review.opendev.org/#/c/665929.
      [neutron] url was removed in https://review.opendev.org/#/c/672971.
      
      We should use the endpoint catalog instead of specifying the endpoint
      for both of these, and also ironic inspector. region_name and
      valid_interfaces have been added for that purpose.
      
      Other options are deprecated.
      
      [conductor] api_url: Use [service_catalog] section to lookup ironic API
      endpoint instead.
      
      [inspector] enabled: No longer used.
      
      Change-Id: If07c4ff9bfea7d780aeff5c3295a0ace7d10ecdc
      Closes-Bug: #1843067
      3da05319
  2. Sep 02, 2019
  3. Aug 30, 2019
    • Joseph M's avatar
      [nova] Fix service catalog lookup of Neutron endpoint · 096555dc
      Joseph M authored
      nova.conf currently uses the [neutron] "url" parameter which has been
      deprecated since 17.0.0. In multi-region environments this can
      cause Nova to look up the Neutron endpoint for a different region.
      Remove this parameter and set region_name and
      valid_interfaces to allow the correct lookup to be performed.
      
      Change-Id: I1bbc73728439a460447bc8edd264f9f2d3c814e0
      Closes-Bug: #1836952
      096555dc
    • Jan Horstmann's avatar
      Use net_default_mac in ansible/roles/ironic/templates/ironic_pxe_uefi.default.j2 · 870cb1be
      Jan Horstmann authored
      Upstream ironic went from $net_default_ip to $net_default_mac in
      ironic/drivers/modules/master_grub_cfg.txt with
      https://review.opendev.org/#/c/578959/
      
      This commit makes the same change for
      ansible/roles/ironic/templates/ironic_pxe_uefi.default.j2
      
      Using $net_default_ip breaks ironic standalone deployments with
      [dhcp]dhcp_provider = none
      
      Change-Id: I2ca9a66d2bdb0aab5cd9936c8be8206e6ade3bd5
      Closes-Bug: 1842078
      870cb1be
  4. Aug 29, 2019
  5. Aug 26, 2019
    • Joseph M's avatar
      [octavia] Add region-specific catalog lookups · 51033d9b
      Joseph M authored
      octavia.conf is missing configuration values required to do service
      catalog lookups in multiple region environments. Without them Octavia
      can try to contact a service in a different region than its own. Specify
      region_name and endpoint_type for the glance, neutron, and nova services
      to prevent this from happening.
      
      Change-Id: I753cf443c1506bbd7b69fc47e2e0a9b39857509c
      Closes-Bug: #1841479
      51033d9b
  6. Aug 23, 2019
  7. Aug 22, 2019
    • Mark Goddard's avatar
      Don't assume etcd group exists in baremetal role · 331d373b
      Mark Goddard authored
      The baremetal role does not currently assume too much about the
      inventory, and in kayobe the seed is deployed using a very minimal
      inventory.
      
      Icf3f01516185afb7b9f642407b06a0204c36ecbe added a reference to the etcd
      group in the baremetal role, which causes kayobe seed deployment to fail
      with the following error:
      
          AnsibleUndefinedVariable: 'dict object' has no attribute 'etcd'
      
      This change defaults the group lookup to an empty list.
      
      Change-Id: Ib3252143a97652c5cf70b56cbfd7c7ce69f93a55
      Closes-Bug: #1841073
      331d373b
    • Michal Nasiadka's avatar
      Use fluentd image labels · 4180bee0
      Michal Nasiadka authored
      In order to orchestrate smooth transition to fluentd 0.14.x
      aka 1.0 stable branch aka td-agent 3
      from td-agent repository - use image labels (fluentd_version
      and fluentd_binary).
      
      Depends-On: https://review.opendev.org/676411
      Change-Id: Iab8518c34ef876056c6abcdb5f2e9fc9f1f7dbdd
      4180bee0
    • Mark Goddard's avatar
      Remove stale nova-consoleauth variables · 67c59b1c
      Mark Goddard authored
      Nova-consoleauth support was removed in
      I099080979f5497537e390f531005a517ab12aa7a, but these variables were
      left.
      
      Change-Id: I1ce1631119bba991225835e8e409f11d53276550
      67c59b1c
  8. 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
    • ljhuang's avatar
      Add meta for some roles · 74edd54b
      ljhuang authored
      The meta is missing, this PS to add it
      
      Change-Id: Ib7e39820a48659202ddd1c1f91b2e8c3f0529443
      74edd54b
  9. Aug 20, 2019
    • Dincer Celik's avatar
      Fix import of horizon custom_local_settings on python3 · 120e8080
      Dincer Celik authored
      Change-Id: I71f3e8ab50426246b595755a8f3298ba7ca0a50d
      Closes-Bug: #1803029
      120e8080
    • Doug Szumski's avatar
      Fix HAProxy check for MariaDB · d34147b8
      Doug Szumski authored
      The MariaDB role HAProxy config section exposes MariaDB on the
      mariadb_port which may not always be the same as database_port. The
      HAProxy role checks that the database_port is free, and not the
      mariadb_port. This could mean that the check passes, but the actual
      port which HAProxy will attempt to use is taken.
      
      This change configures HAProxy to talk to the MariaDB instances on
      the mariadb_port, and maps them to the database_port which is used by
      most services as part of the DB connection string.
      
      There is a small risk that it may break someones override config.
      
      Change-Id: I9507ee709cb21eb743112107770ed3170c61ef74
      d34147b8
  10. 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
    • Mark Goddard's avatar
      Set default timeout to 60 seconds for docker stop · 33efcb81
      Mark Goddard authored
      The previous default timeout was 10 seconds, which does not always
      allow services enough time to shut down safely.
      
      Change-Id: I54eff91567108a7e5d99f067829ae4a6900cd859
      33efcb81
  11. Aug 18, 2019
  12. Aug 16, 2019
  13. 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
    • Scott Solkhon's avatar
      Wait for MariaDB to be accessible via HAProxy · 03cd7eb3
      Scott Solkhon authored
      Explicitly wait for the database to be accessible via the load balancer.
      Sometimes it can reject connections even when all database services are up,
      possibly due to the health check polling in HAProxy.
      
      Closes-Bug: #1840145
      Change-Id: I7601bb710097a78f6b29bc4018c71f2c6283eef2
      03cd7eb3
    • 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
  14. Aug 14, 2019
    • chenxing's avatar
      update horizon configuration for python3 migrating · 673bbd56
      chenxing authored
      Depends-On: https://review.opendev.org/675581
      Closes-Bug: #1838719
      Partially Implements: blueprint python3-support
      
      Change-Id: Ib8bfb130b8490b583539cc264c2d2a2a034b270c
      673bbd56
    • Scott Solkhon's avatar
      Add missing when condition for swift config files · 8acbb32b
      Scott Solkhon authored
      Change-Id: If5bba855a6e34c971fdb1ceb6f10dba62e54b811
      8acbb32b
    • Scott Solkhon's avatar
      Fix idempotency of fluentd customisations · dcaa5f0b
      Scott Solkhon authored
      Fix fluentd config from overwriting custom config with the same filename
      
      Closes-Bug: #1840166
      Change-Id: I42c5446381033015f590901b2120950d602f847f
      dcaa5f0b
    • Scott Solkhon's avatar
      Add missing Octavia policy file to Horizon · b3d07a4b
      Scott Solkhon authored
      This commit adds the missing policy file for Octavia
      in Horizon, thus enabling the panel where appropriate.
      
      Change-Id: I60f1a52de71519f2d8bd84baa8aba5700fa75b1c
      b3d07a4b
    • Scott Solkhon's avatar
      HAProxy backend connection limits · 46f9ad3a
      Scott Solkhon authored
      The default connection limits for backends is 2000
      however, mariadb defaults to a max of 10000 conections,
      therefore changing this limit to match the mariadb limit.
      
      'haproxy_max_connections' also needs to be bumped
      for this to work.
      
      Change-Id: I5ded328485855f3f3d4390282040b0d89d08d997
      46f9ad3a
    • Scott Solkhon's avatar
      Add support for Swift S3 API · d72b27f2
      Scott Solkhon authored
      This feature is disabled by default, and can be enabled by setting
      'enable_swift_s3api' to 'true' in globals.yml.
      
      Two middlewares are required for Swift S3 - s3api and s3token. Additionally, we
      need to configure the authtoken middleware to delay auth decisions to give
      s3token a chance to authorise requests using EC2 credentials.
      
      Change-Id: Ib8e8e3a1c2ab383100f3c60ec58066e588d3b4db
      d72b27f2
  15. Aug 13, 2019
    • Scott Solkhon's avatar
      Fix swift log level configuration · dea87cde
      Scott Solkhon authored
      Change-Id: I7f980640e75a9328a14a3e14e9c55358955f3182
      dea87cde
    • Keith Plant's avatar
      Configure Telegraf to monitor Docker containers · b95ff2d1
      Keith Plant authored
      
      Added configuration to ansible/roles/telegraf/templates/telegraf.conf.j2 to
      allow telegraf to grab telemetry data from docker directly.
      
      Added option to etc/kolla/globals.yml to switch on/off the configuration to
      ingest data from the docker daemon into telegraf.
      
      Change-Id: Icbebc415d643a237fa128840d5f5a9c91d22c12d
      Signed-off-by: default avatarKeith Plant <kplantjr@gmail.com>
      b95ff2d1
    • Isaac Prior's avatar
      Fixes Monasca log transformer UTC offset exception · 3010d4c3
      Isaac Prior authored
      Monasca log transformer currently throws exceptions on encountering a 
      non-UTC time offset (+0000):
      """
      "exception": "Invalid format: \"2019-08-08 17:39:45 +0100\" is malformed at \" +0100\"",
      "config_parsers":"yyyy-MM-dd HH:mm:ss +0000,ISO8601"}
      """
      
      This fix allows logstash to interpret any valid ISO8601 offset.
      
      Change-Id: Id70c3dd9cdcf681e955931f18a054e19cc284c0a
      Closes-Bug: #1839597
      3010d4c3
  16. Aug 12, 2019
  17. Aug 08, 2019
Loading