1. 03 Jan, 2018 1 commit
    • James Page's avatar
      Replace ujson with json · 05050e4b
      James Page authored
      ujson has not had any active maintenance for the last 12 months;
      switch to using json module instead.
      Change-Id: I39027b534e94b3f877d881647a7c843183f60f92
      Closes-Bug: 1737989
  2. 13 Dec, 2017 1 commit
    • Joseph Davis's avatar
      Exclude keystonemiddleware 4.19.0, force gnocchi install in devstack · 53eb56b3
      Joseph Davis authored
      keystonemiddleware 4.19.0 introduced a dependency on memcache and
      pulled in dogpile.cache and oslo.cache, causing gate failures.
      Future versions of keystonemiddleware should be fixed by
      commit 0c5070a035ca2eea200c5a7ab6b40375498463ac in that repo.
      Note that in Queens and beyond the requirement for keystonemiddleware
      has been removed from Ceilometer, so this fix cannot be placed on
      the master branch.
      also, change to make gnocchi install from pip rather than master
      Change-Id: Ibea7049f9fca0783b9ecf54a75bccbc27aef2187
  3. 30 Oct, 2017 1 commit
  4. 26 Oct, 2017 2 commits
    • Julien Danjou's avatar
      Replace jsonutils by ujson · 7b959b33
      Julien Danjou authored
      ujson is faster than jsonutils, and we do not need any fancy feature jsonutils
      might offer.
      This also has the benefit of removing a big dependency on Ceilometer.
      Change-Id: I24bf08d0fa6ccc34beef0a0c34a47bf2fa266e3e
    • Julien Danjou's avatar
      Remove deprecated storage drivers · 9323f07f
      Julien Danjou authored
      Change-Id: I6b262dd440a72f25662b64d938ab9e5328709a97
  5. 25 Oct, 2017 1 commit
    • Julien Danjou's avatar
      Remove Ceilometer API · d881dd52
      Julien Danjou authored
      This removes the deprecated Ceilometer API.
      Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
  6. 20 Jul, 2017 1 commit
    • Mehdi Abaakouk's avatar
      High precision rate of change timedelta · 75e10b2a
      Mehdi Abaakouk authored
      The current way to calculate rate of change is not precise at all and
      depends on the local host clock. So, we have good chance that the host
      clock derive a bit between each polling. Also the timestamp is polling
      cycle run and not the exact polled sample.
      This makes the rate of change transformer not accurate, and maybe wrong
      if the local clock have jumped to much or if a pollster make to much
      time to get the stats (libvirt reconnection, ...).
      A sample gets a new attribute monotonic_time, where we can store an
      accurate polling time using monotonic.monotonic().
      In rate of change transformer, if the monotonic time is available we use
      to calculate the time delta between samples.
      For instance metrics, we set monotonic_time as soon as we poll it from
      libvirt, avoiding almost all precision issue.
      That makes the rate of change precise to the nanoseconds for polled
      samples, while keeping the timestamp identical for all samples polled
      during one cycle.
      Related-bug: #1527620
      Change-Id: I40e14fb6aa595a86df9767be5758f52b7ceafc8f
  7. 11 May, 2017 1 commit
    • Huan Xie's avatar
      XenAPI: use os-xenapi for XenAPI driver · f2279a62
      Huan Xie authored
      os-xenapi contains all XenServer dom0 plugins and provide utility
      tools for communicating to XenServer dom0 plugins, currently both
      nova and neutron projects are using os-xenapi. This patch is to
      change ceilometer to use os-xenapi too.
      Change-Id: I14819fd57305edb0f4337af88e56ed6b980d7da8
  8. 02 May, 2017 1 commit
    • alextricity25's avatar
      Remove upper constraint on sqlalchemy · 66a77bb6
      alextricity25 authored
      To comply with the upper-constraints defined in OpenStack
      Requirements, the upper constraint for sqlalchemy has been
      Change-Id: Icb48c61b9022216a9593cdf20bb6166cb742fe56
      Closes-Bug: #1687641
  9. 23 Mar, 2017 1 commit
    • blue55's avatar
      Use HostAddressOpt for opts that accept IP and hostnames · 3b450c65
      blue55 authored
      Some configuration options were accepting both IP addresses
      and hostnames. Since there was no specific OSLO opt type to
      support this, we were using "StrOpt". The change [1] that added
      support for "HostAddressOpt" type was merged in Ocata and became
      available for use with oslo version 3.22.
      This patch changes the opt type of configuration options to use
      this more relevant opt type - HostAddressOpt.
      [1] I77bdb64b7e6e56ce761d76696bc4448a9bd325eb
      Change-Id: I2463fc873bb149cafa802f5743d5f482f25552fc
  10. 17 Mar, 2017 2 commits
    • Eric Berglund's avatar
      Remove second tenacity in requirements · 3d965eee
      Eric Berglund authored
      tenacity is defined twice in requirements.txt for ceilometer. This
      removes the definition with the lower requirement.
      Change-Id: I9c94c4950e81223a73e0514e03697cdca562c28d
      Closes-Bug: #1673798
    • Julien Danjou's avatar
      coordination: create coordinator at init time · 5e43dc77
      Julien Danjou authored
      This also switches the coordination to zake:// in test so the code actually
      works like it would with a production-ready coordinator.
      Change-Id: I38f6a3389f70bed6b45fa7526a13d0484bfc9c3f
  11. 16 Mar, 2017 1 commit
    • Mehdi Abaakouk's avatar
      libvirt: rewrite the error handling · 66179f89
      Mehdi Abaakouk authored
      Error handling of libvirt driver work 'sometimes'.
      Some error are catched only with we lookup for a instance
      uuid, but not for other libvirt operation.
      This change rewrites the logic to catch libvirt error on
      each inpector method. This ensures we catch all errors whatever
      which libvirt method raises it.
      We also leverage tenacity instead of the custom retry code.
      Change-Id: Idd54c18ece42c2dce3baf82626d30d5c2e5a49d6
  12. 10 Mar, 2017 1 commit
    • Darren Hague's avatar
      Bump kafka-python and oslo.messaging · 01ce7ff8
      Darren Hague authored
      kafka-python is bumped to 1.3.2 in order to support Kafka 0.10.x
      oslo.messaging is bumped to 5.12.0 in order to support kafka-python (there is
      a changed parameter name that causes a stacktrace otherwise)
      Change-Id: I630b999a050d7186d8c5fb38a24034a7f063c24b
  13. 03 Mar, 2017 1 commit
    • gord chung's avatar
      use tooz hashring · b530fc3e
      gord chung authored
      tooz provides hashring functionality so let's avoid duplicating it
      since we already use tooz
      Change-Id: Id40e4836c5690d252ba0830f6173587f8d5d470c
  14. 09 Jan, 2017 1 commit
    • Mehdi Abaakouk's avatar
      Don't poll nova with compute agent · b692d3a6
      Mehdi Abaakouk authored
      This change introduces a new method to get instances
      metadata on the ceilometer-compute-agent.
      This switches devstack/gate to libvirt_metadata for gnocchi
      Change-Id: Ice1918659be49589a45d7a406044adc0a187aa27
  15. 01 Dec, 2016 1 commit
  16. 17 Nov, 2016 1 commit
    • gord chung's avatar
      Replace retrying with tenacity · 380bb26d
      gord chung authored
      We are replacing all usages of the 'retrying' package with
      'tenacity' as the author of retrying is not actively maintaining
      the project. Tenacity is a fork of retrying, but has improved the
      interface and extensibility (see [1] for more details). Our end
      goal here is removing the retrying package from our requirements.
      Tenacity provides the same functionality as retrying, but has the
      following major differences to account for:
      - tenacity uses seconds rather than ms as retrying did.
      - tenacity has different kwargs for the decorator and
      Retrying class itself.
      - tenacity has a different approach for retrying args by
      using classes for its stop/wait/retry kwargs.
      - By default tenacity raises a RetryError if a retried callable
      times out; retrying raises the last exception from the callable.
      Tenacity provides backwards compatibility here by offering
      the 'reraise' kwarg.
      - tenacity defines 'time.sleep' as a default value for a kwarg.
      That said consumers who need to mock patch time.sleep
      need to account for this via mocking of time.sleep before
      tenacity is imported.
      This patch updates all usages of retrying with tenacity.
      Unit tests will be added where applicable.
      Note: This change is not newton critical so projects are welcome
      to hold off on committing until post-newton. Ideally this change
      will merge by the first part of Ocata so dependant functionality
      can land and have time to solidify for Ocata.
      [1] https://github.com/jd/tenacity
      Closes-Bug: #1635394
      Change-Id: I0ad7deee3f17f6626708369371167184a40e6368
  17. 10 Nov, 2016 1 commit
    • liusheng's avatar
      Add support of metering volume related resources · b7344dd6
      liusheng authored
      This change add the support of metering size of volume/snapshot/backup.
      Blueprint add-support-of-metering-volume-related-resources
      Change-Id: I9c6ec1e79c267255e7839d70324726e56bc6d768
  18. 07 Nov, 2016 1 commit
  19. 26 Oct, 2016 1 commit
  20. 13 Oct, 2016 1 commit
    • Lianhao Lu's avatar
      Fixed cotyledon version requirement · f68edc7f
      Lianhao Lu authored
      There is a minimum version requirement of cotyledon for
      ceilometer-collector to work properly. We need to make sure it's above
      version 1.2.4.
      Change-Id: I07276d032f7f8849501f94f9577833c1d9b68131
      Closes-Bug: #1632925
  21. 20 Sep, 2016 1 commit
    • Julien Danjou's avatar
      Move oslo.db to hard requirements list · 78be95bd
      Julien Danjou authored
      The options from oslo.db are also used by other storage drivers such as
      MongoDB, which makes it mandatory even for this backend.
      Change-Id: I3b09cffca1285ff92c0c7492b5b48c6a560251e5
      Closes-Bug: #1624692
  22. 18 Sep, 2016 1 commit
    • Julien Danjou's avatar
      Move oslo.db to hard requirements list · fae8caee
      Julien Danjou authored
      The options from oslo.db are also used by other storage drivers such as
      MongoDB, which makes it mandatory even for this backend.
      Change-Id: I3b09cffca1285ff92c0c7492b5b48c6a560251e5
      Closes-Bug: #1624692
  23. 14 Sep, 2016 2 commits
  24. 13 Jul, 2016 1 commit
    • Mehdi Abaakouk's avatar
      move out oslo.service · 80bc1245
      Mehdi Abaakouk authored
      This change replaces oslo.service by cotyledon.
      Change-Id: I6eea5fcd26ade07fbcb5718b4285b7fa039a3b08
  25. 02 Jun, 2016 1 commit
  26. 18 May, 2016 1 commit
  27. 28 Apr, 2016 1 commit
  28. 22 Apr, 2016 1 commit
  29. 20 Apr, 2016 1 commit
    • Mehdi Abaakouk's avatar
      notification: Remove eventlet timers · 24f75dae
      Mehdi Abaakouk authored
      This change removes usage of eventlet timers.
      This allows coordinator heartbeat/watchers to work correctly when
      the main thread is stuck for any reason (IO, time.sleep, ...).
      Change-Id: I847aebb0d0166c2b46505061a15a06e3ce1b5eb2
      Closes-Bug: #1566887
  30. 19 Apr, 2016 1 commit
  31. 18 Apr, 2016 2 commits
  32. 08 Apr, 2016 1 commit
  33. 06 Apr, 2016 1 commit
    • Julien Danjou's avatar
      messaging: remove RequestContextSerializer · 2e3f7920
      Julien Danjou authored
      We don't pass any oslo.context object around anymore, we just pass dict
      if we really need to send some context information – which we barely
      need actually.
      And remove oslo.context!
      Change-Id: I17d15c043b5c7d508af9a43f50511817f9e81151
  34. 05 Apr, 2016 1 commit
  35. 05 Mar, 2016 1 commit
  36. 27 Feb, 2016 1 commit