1. 05 Mar, 2016 1 commit
  2. 23 Feb, 2016 1 commit
    • Claudiu Belu's avatar
      Hyper-V: replaces in-tree hyper-v utils usage with os_win · 235556a5
      Claudiu Belu authored
      os-win is a library containing Windows / Hyper-V related code.
      It contains utils modules that are used by nova, cinder,
      networking_hyperv, os-brick. It also contains Hyper-V metrics
      related utils, which can be used in ceilometer.
      
      Adds os-win to requirements.txt.
      Replaces the current usage of *Utils classes in the
      Hyper-V Inspector with the equivalent *Utils classes
      from os-win.
      
      Adds decorators to the HyperVInspector methods that prevent
      os-win specific exceptions to leak outside the inspector.
      
      Depends-On: Ia937399c999d7293799a864a322323e3d2efc123
      Depends-On: I1256b632be7aa90561338b595b9406c30f406c7c
      
      Change-Id: Ic637e2a9c929cac88b1cb99f5b55dd70c4f84c47
      235556a5
  3. 11 Feb, 2016 1 commit
  4. 18 Jan, 2016 1 commit
  5. 09 Jan, 2016 1 commit
  6. 05 Jan, 2016 1 commit
  7. 11 Dec, 2015 1 commit
  8. 09 Dec, 2015 1 commit
  9. 24 Nov, 2015 1 commit
  10. 19 Nov, 2015 1 commit
  11. 17 Nov, 2015 2 commits
    • Chris Dent's avatar
      A dogpile cache of gnocchi resources · 2511cfb6
      Chris Dent authored
      What this does is store a key value pair in oslo_cache where the key
      is the resource id and the value is a hash of the frozenset of
      the attributes of the resource less the defined metrics[1]. When it
      is time to create or update a resource we ask the cache:
      
        Are the resource attributes I'm about to store the same as the
        last ones stored for this id?
      
      If the answer is yes we don't need to store the resource. That's all
      it does and that is all it needs to do because if the cache fails
      to have the correct information that's the same as the cache not
      existing in the first place.
      
      To get this to work in the face of eventlet's eager beavering we
      need to lock around create_resource and update_resource so that
      we have a chance to write the cache before another *_resource is
      called in this process. Superficial investigation shows that this
      works out pretty well because when, for example, you start a new
      instance the collector will all of sudden try several
      _create_resources, only one of which actually needs to happen.
      The lock makes sure only that one happens when there is just
      one collector. Where there are several collectors that won't be
      the case but _some_ of them will be stopped. And that's the point
      here: better not perfect.
      
      The cache is implemented using oslo_cache which can be configured
      via oslo_config with an entry such as:
      
          [cache]
          backend = dogpile.cache.redis
          backend_argument = url:redis://localhost:6379
          backend_argument = db:0
          backend_argument = distributed_lock:True
          backend_argument = redis_expiration_time:600
      
      The cache is exercised most for resource updates (as you might
      expect) but does still sometimes get engaged for resource creates
      (as described above).
      
      A cache_key_mangler is used to ensure that keys generated by the
      gnocchi dispatcher are in their own namespace.
      
      [1] Metrics are not included because they are represented as
      sub-dicts which are not hashable and thus cannot go in the
      frozenset. Since the metrics are fairly static (coming from a yaml
      file near you, soon) this shouldn't be a problem. If it is then we
      can come up with a way to create a hash that can deal with
      sub-dicts.
      
      Closes-Bug: #1483634
      Change-Id: I1f2da145ca87712cd2ff5b8afecf1bca0ba53788
      2511cfb6
    • OpenStack Proposal Bot's avatar
      Updated from global requirements · e5ded45e
      OpenStack Proposal Bot authored
      Change-Id: I5f063261d83dc1ef438731e2a4f436b8980bc9a5
      e5ded45e
  12. 11 Nov, 2015 1 commit
  13. 15 Oct, 2015 1 commit
    • liusheng's avatar
      Block oslo.messaging 2.6.1 release · bbcfcbb1
      liusheng authored
      The oslo.messaging-2.6.1 has broken Ceilometer Jenkins job two days, The
      change[1] could hopefully fix the issue, but it is better to block the
      oslo.messaging-2.6.1 to make Ceilometer Jenkins alive now.
      
      [1] https://review.openstack.org/#/c/234372/
      
      Related-Bug: #1505730
      Change-Id: Ibb2a8c18651c601c844c3bc9d89f18ae032accf8
      Depends-On: Id1e58a9db0d277de2f30de54db97040811f40ff2
      bbcfcbb1
  14. 14 Oct, 2015 1 commit
  15. 07 Oct, 2015 1 commit
  16. 21 Sep, 2015 1 commit
  17. 07 Sep, 2015 1 commit
  18. 28 Aug, 2015 1 commit
  19. 21 Aug, 2015 1 commit
  20. 04 Aug, 2015 1 commit
  21. 23 Jul, 2015 1 commit
  22. 18 Jul, 2015 1 commit
  23. 03 Jul, 2015 1 commit
  24. 30 Jun, 2015 1 commit
  25. 16 Jun, 2015 1 commit
  26. 04 Jun, 2015 1 commit
    • Ilya Tyaptin's avatar
      Add running functional scripts for defined backend · 57a9fc5b
      Ilya Tyaptin authored
      This CR allows running "functional" tox job for different backends.
      Short description about expected workflow:
      1. Gate job run ceilometer/ceilometer/tests/functional/hooks/post_test_hook.py
      with <backend> parameter.
      2. This script run "tox -efunctional" command with defined variable
      CEILOMETER_TEST_BACKEND
      3. After in "run-functional-tests.sh" setup script for the backend
      and testr are runned.
      
      In this CR running testr with pretty_tox.sh script added because
      it allows to use subunit-trace output which developed in tempest-lib
      and improve useful of testr output.
      
      Partially implements: blueprint ceilometer-functional-tests
      Change-Id: Idb66aca0b46779516db2baec856df8223dbe5c13
      57a9fc5b
  27. 02 Jun, 2015 1 commit
  28. 28 May, 2015 1 commit
    • Victor Stinner's avatar
      Port test_inspector to Python 3 · ce08e620
      Victor Stinner authored
      * Replace contextlib.nested() with contextlib.ExitStack
      * Add contextlib2 dependency for Python 2.6 and 2.7 to get ExitStack
      * TestLibvirtInspection: set libvirtError because it must be a subclass
        of Exception on Python 3
      
      Enable ceilometer.tests.compute.virt.libvirt.test_inspector on Python 3.
      
      Change-Id: I82f4b911c1b3ede90805150630c222b1dd5f3474
      ce08e620
  29. 20 May, 2015 1 commit
  30. 24 Apr, 2015 1 commit
  31. 23 Apr, 2015 1 commit
  32. 10 Apr, 2015 1 commit
  33. 21 Mar, 2015 1 commit
  34. 09 Mar, 2015 1 commit
  35. 24 Feb, 2015 1 commit
  36. 23 Feb, 2015 1 commit
  37. 19 Feb, 2015 1 commit
  38. 11 Feb, 2015 1 commit
  39. 10 Feb, 2015 1 commit