Skip to content
Snippets Groups Projects
  1. Apr 03, 2018
    • Ryan Beisner's avatar
      Update tox.ini to stop using unverified package · 9dc9ce6e
      Ryan Beisner authored
      As of pip 10.0, --allow-unverified is not permitted.
      
      Use of the flag in this repo was previously used to force
      installation of python-apt to accommodate certain unit tests.
      
      The unverified package, python-apt, is no longer necessary
      for test execution.
      
      Related-Bug: #1760720
      
      Change-Id: I4d7cb93e41256ef6b75be3a8acd83303b32ac6bd
      9dc9ce6e
  2. Mar 08, 2018
    • Zuul's avatar
      Merge "Run ceilometer-upgrade as an action" · cb8a2bc8
      Zuul authored
      cb8a2bc8
    • David Ames's avatar
      Run ceilometer-upgrade as an action · f3148b9b
      David Ames authored
      The ceilometer-upgrade command needs to be run to update back end
      ceilometer data stores. When attempting to run this command during
      deploy time due to the number of required relations many inherent
      race conditions exist leading to Bug#1749280.
      
      This change allows the ceilometer-upgrade command to be run as an action
      post-deploy.
      
      Change-Id: I64a56d9a38532476b8a01df6227231a1276c708f
      Closes-Bug: #1749280
      f3148b9b
  3. Mar 06, 2018
    • David Ames's avatar
      Setup CA when >= queens · efb951b6
      David Ames authored
      When >= queens ceilometer uses the identity-credentials relation
      rather than the identity-service relation. When using HTTPS
      ceilometer still needs the CA certificate from keystone.
      
      This change sets up the CA when using the identity-credentials
      relation.
      
      Please merge https://github.com/juju/charm-helpers/pull/124 first.
      
      Change-Id: I7c6ca1d913ad8b8123685a064933031f322869df
      efb951b6
  4. Mar 02, 2018
  5. Mar 01, 2018
  6. Feb 28, 2018
  7. Feb 26, 2018
  8. Feb 24, 2018
    • David Ames's avatar
      Do not complete MongoDBContext with out replset · 4eec1929
      David Ames authored
      When there are multiple mongodb peers but replset has not yet been set
      on the relation, do not complete the MongoDBContext. This causes the
      template to be rendered incorrectly and leads to the following error:
      
      ERROR ceilometer ValueError: Port must be an integer between 0 and
      65535:
      
      Closes-Bug: #1750639
      Change-Id: Ifb9424ac5e175d788fa21de0ee332c0a13e61a9f
      4eec1929
  9. Feb 23, 2018
    • David Ames's avatar
      Delay between retries on ceilometer-upgrade · bc640540
      David Ames authored
      Ceilometer-upgrade is in a race with the keystone catalog for the
      metric entry. The function already has a retry on error loop. Bump up
      the delay between retries to mitigate the race with keystone.
      
      Change-Id: I7fdf36a1cf480607744dcfed9628f0bf9e6daac0
      bc640540
    • James Page's avatar
      queens: ensure ceilometer-upgrade executed · 3438d424
      James Page authored
      For queens, only the identity-credentials relation is required
      as ceilometer no longer registers endpoints; ensure the correct
      relation name is used when checking to see if the ceilometer
      upgrade process can be executed.
      
      Change-Id: I8482e97f4f60e019b0225f67c568965adbb034cb
      3438d424
  10. Feb 22, 2018
  11. Feb 21, 2018
  12. Feb 20, 2018
    • James Page's avatar
      Align worker configuration option · b7a329d4
      James Page authored
      Align ceilometer charm with worker-multiplier usage as found
      across the majority of OpenStack Charms.  Worker configuration
      values are set for API, Notification and Collector services
      as needed for each release. Note that for Ocata or later, API
      services are executed as WSGI apps under Apache which was
      already plugged into the standard worker calculation logic
      in charm helpers.
      
      This includes dropping of the existing api-worker configuration
      option in preference to a calculated approach.
      
      Change-Id: Idba7c3012d9d24b7ae6ef8eade4a5261ef1cbddc
      Closes-Bug: #1745189
      b7a329d4
  13. Feb 09, 2018
    • Billy Olsen's avatar
      Sync charm-helpers · 4727842b
      Billy Olsen authored
      Sync charm-helpers to pick up the updated InternalEndpointsContext
      which removes the need to provide a package.
      
      This essentially reverts commit f76d0755 in favor of an alternative
      approach to selecting the volume catalog endpoint information.
      
      Change-Id: I4a985fe1b8885b14aefdfeda9a8c2c4914c5fc93
      Related-Bug: #1733566
      4727842b
  14. Jan 19, 2018
  15. Jan 03, 2018
    • James Page's avatar
      Add support for OpenStack Queens. · 4c450fed
      James Page authored
      Update charm to support Ceilometer@Queens; specifically:
      
       - Removal of Ceilometer API service
       - Removal of ceilometer-collector service
      
      Most of this change is related to dropping of these
      services; In addition its now possible to complete a
      ceilometer-upgrade without mongodb being configured.
      
      As this charm no longer provides any endpoints to
      keystone, for Queens the identity-credentials relation
      is required instead of the identity-service relation.
      
      Change-Id: I3cefc24ffc9a0e60f446fbbdff603dfad37f7baa
      4c450fed
  16. Dec 11, 2017
    • David Ames's avatar
      Update HAProxy default timeout values · a34db0aa
      David Ames authored
      The default HAProxy timeout values are fairly strict. On a busy cloud
      it is common to exceed one or more of these timeouts. The only
      indication that HAProxy has exceeded a timeout and dropped the
      connection is errors such as "BadStatusLine" or "EOF." These can be
      very difficult to diagnose when intermittent.
      
      This charm-helpers sync pulls in the change to update the default
      timeout values to more real world settings. These values have been
      extensively tested in ServerStack. Configured values will not be
      overridden.
      
      Partial Bug: #1736171
      
      Change-Id: I2474ba8abbd77d89b82d2fefb51aef463c45169b
      a34db0aa
  17. Dec 08, 2017
  18. Dec 06, 2017
  19. Dec 05, 2017
    • Ryan Beisner's avatar
      Add Bionic and remove Zesty series and tests · 2ca3f53c
      Ryan Beisner authored
      Bionic, being the next LTS, is important to enable for dev
      and test as early as possible ahead of 18.02.
      
      Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
      will not provide Zesty series support, as it was an interim
      (non-LTS) release.
      
      Change-Id: Ie15ffb42b8381601917e8d3a96cca3628d422357
      2ca3f53c
  20. Nov 22, 2017
  21. Oct 06, 2017
    • Liam Young's avatar
      Block endpoint reg if cluster partially formed · 24e35995
      Liam Young authored
      When an existing cluster of the service is scaled out the new unit
      will join with keystone before it is fully clustered. In identity
      joined hook the charmhelpers function canonical_url is called which
      in turn uses another charmhelpers function, resolve_address.
      resolve_address will only return the vip if the vip is set in config
      AND the unit is clustered. This means that the units local address
      is returned and that is then registered with keystone.
      
      This change gates registering an endpoint if the cluster is
      partially formed.
      
      Change-Id: Icf2753b6b21347af8106ebad03d81309177d09f2
      Partial-Bug: #1544959
      24e35995
  22. Sep 26, 2017
  23. Sep 25, 2017
    • James Page's avatar
      Drop use of openstack OCF resources · 71654458
      James Page authored
      The OpenStack OCF resource definitions for Ceilometer have proven
      to be quite brittle, and we can achieve much the same end by just
      using the lsb module to track ceilometer-agent-central directly.
      
      Drop all use of ocf:openstack and delete res_ceilometer_polling
      which is a) broken for Pike and b) complete misnamed.  Configure
      'lsb:ceilometer-agent-central' for all deployments irrespective
      of release.
      
      Change-Id: I7b02065cf245ae480c04d5db235866e879c14002
      Closes-Bug: 1718830
      71654458
  24. Sep 14, 2017
  25. Sep 07, 2017
    • James Page's avatar
      Reset os_release cache during upgrade · f778d87c
      James Page authored
      Ensure that the os_release cache is cleared during the openstack
      upgrade process, ensuring that package list and configuration
      options are correctly set for the new OpenStack version.
      
      Change-Id: Ie685854952527f59ee344bfda8e49250c248150a
      Closes-Bug: 1715624
      f778d87c
  26. Sep 05, 2017
    • James Page's avatar
      Add support for use-internal-endpoints · 669bc22b
      James Page authored
      Add support for use of internal endpoints for inter-service
      API calls from ceilometer.
      
      Change-Id: Id702de85fb2236f21773ee7f2fb3698012b5f16c
      Closes-Bug: 1713923
      669bc22b
  27. Aug 31, 2017
  28. Aug 25, 2017
    • Nobuto Murata's avatar
      Set event,meter_dispatchers=database explicitly when used with MongoDB · 486b6f97
      Nobuto Murata authored
      The default value of event and meter_dispatchers were "database"
      implicitly. However with Newton, there is no default value for
      event_dispatchers. And empty meter_dispathers with Ocata. While Gnocchi
      and Panko are preferred solutions, keep backward compatibility to
      support an upgrade for existing deployments with MongoDB.
      
      event_dispathers is not needed for Ocata since v2/events API has been
      removed completely from Ceilometer.
      
      Change-Id: I3a0f3fb029136d106afe0e77b704ee0c303ab27f
      Closes-Bug: #1711932
      486b6f97
  29. Aug 24, 2017
  30. Aug 23, 2017
  31. Aug 18, 2017
    • David Ames's avatar
      Dual Stack VIPs · a32d1762
      David Ames authored
      Enable dual stack IPv4 and IPv6 VIPs on the same interface.
      HAProxy always listens on both IPv4 and IPv6 allowing connectivity
      on either protocol.
      
      charm-helpers sync for HAProxy template changes.
      
      Change-Id: Iaf85680f2c8b08856ff2476a97798ca94994aaa6
      a32d1762
    • Jenkins's avatar
      Merge "Add support for gnocchi" · 58b74657
      Jenkins authored
      58b74657
  32. Aug 10, 2017
    • James Page's avatar
      Add support for gnocchi · 72522a34
      James Page authored
      Add new metric-service interface to support use of
      Gnocchi as a storage backend for resource and metric
      data.
      
      Configure ceilometer to use the gnocchi dispatcher
      in the event that ceilometer is related to gnocchi.
      This has the side effect of disabling the ceilometer
      API - Aodh and Gnocchi API's should be used directly
      in this deployment topology.
      
      Note that Gnocchi is only supported in OpenStack
      Mitaka or later; 'metrics-service' is added to the
      required interfaces configuration as an alternative
      to 'mongodb' for >= Mitaka.
      
      Change-Id: Ia31dfefd5efa3fb5ec2ba5d132ee865c567bd8df
      72522a34
  33. Aug 09, 2017
  34. Aug 02, 2017
Loading