1. 07 Mar, 2016 1 commit
    • Lianhao Lu's avatar
      gnocchi dispatch: Added new resource type support · aff5ed1b
      Lianhao Lu authored
      Added new resource types support of snmp related metrics: host,
      host_disk, host_network_interface.
      
      Change-Id: I220608e85629d89c44f778c82e0be67bb4ea6f3b
      Depends-On: I0be08864ee10cefa252dc89885fda5fcc89a4e8a
      Closes-Bug: #1518338
      aff5ed1b
  2. 02 Mar, 2016 3 commits
    • Vitaly Gridnev's avatar
      [sahara] add events definitions regarding new notifications · 85ca3e89
      Vitaly Gridnev authored
      on sahara side we added new events related to current cluster
      health. we want to collect statistic based on the cluster health,
      like how many healthy clusters we have, and so on.
      Health of the cluster will describe current state of cluster more
      precisely.
      
      Partially-implements blueprint: cluster-verification
      Depends-On: Iac74a7bdec0f59a3720e17a682268faea36a45f3
      
      Change-Id: Iea0f37cd2fe31e740a1ac5d02fd96c2f6b35495c
      85ca3e89
    • Michael Krotscheck's avatar
      Moved CORS middleware configuration into oslo-config-generator · 30934526
      Michael Krotscheck authored
      The default values needed for ceilometer's implementation of cors
      middleware have been moved from paste.ini into the configuration
      hooks provided by oslo.config. Furthermore, these values have been
      added to ceilometer's default configuration parsing. This ensures
      that if a value remains unset in ceilometer.conf, it will be set
      to use sane defaults, and that an operator modifying the
      configuration file will be presented with a default set of
      necessary sane headers.
      
      Closes-Bug: 1551836
      Change-Id: Iaab90bfa1811bf6d56696648a000f02ee3306285
      30934526
    • jizilian's avatar
      Add the meter example file 'lbaas-v2-meter-definitions.yaml' · 3fafaa6f
      jizilian authored
      Based on the discussion result with Gordon:
      
      In this change set, add the meter example file
      'lbaas-v2-meter-definitions.yaml' in the directory
      'etc/ceilometer/examples' to help the users to configure to
      translate the LbaaS v2 events to examples when they need.
      Co-Authored-By: 's avatarXia Linjuan <ljxiash@cn.ibm.com>
      DocImpact: Need to update the doc about the configuration
      Change-Id: Ied6778e26ba6d70ee1407279ce0025e8bf169f22
      3fafaa6f
  3. 01 Mar, 2016 2 commits
  4. 22 Feb, 2016 1 commit
    • Chaozhe.Chen's avatar
      Add /usr/local/{sbin,bin} to rootwrap exec_dirs · 58389f18
      Chaozhe.Chen authored
      I noticed that nova, neutron and cinder's rootwrap exec_dirs include
      /usr/local/{sbin,bin} which is a standardised location for admins to
      install non-distro executables, and these executables are no less
      "trustworthy" than /usr/bin and friends.  See neutron and cinder's
      rootwrap.conf (and probably others), and typical distro default values
      for sudoers/secure_path for extremely similar precedents that all include
      /usr/local/*bin.
      
      See the same patch of nova for more information:
      https://review.openstack.org/#/c/280052/1
      And see I710cf142b834381c00e651cfc062299ae755c33f for brief discussion
      of doing this via devstack before.
      
      Change-Id: If5ed1d7d81fdac10fc2b1608aafe20833e0f2980
      58389f18
  5. 21 Jan, 2016 1 commit
    • gordon chung's avatar
      Fix events rbac · f63470e0
      gordon chung authored
      Rbac context is limited not by policy but is inherently built in
      as we cannot enforce policy on a list.
      
      This patch drops the dummy policy, the invalid context_is_project
      and context_is_admin policies, and ensures policy rbac can restrict
      on admin appropriately.
      
      Closes-Bug: #1504495
      Change-Id: Id3b1ad71aea46456c6e6c1995776b988017d4786
      f63470e0
  6. 14 Jan, 2016 1 commit
  7. 12 Jan, 2016 1 commit
  8. 22 Dec, 2015 1 commit
  9. 26 Nov, 2015 1 commit
    • gordon chung's avatar
      add cpu.delta to gnocchi resources · c5b8b799
      gordon chung authored
      we added cpu.delta in liberty to capture cputime between polls.
      this adds it to the metric list for instance resource.
      
      Change-Id: Ib494f7d119cda370aa8291fd404dad38c0c53817
      c5b8b799
  10. 24 Nov, 2015 1 commit
    • Julien Danjou's avatar
      Remove alarming code · 6bc86f75
      Julien Danjou authored
      Since we moved all the alarming code and subsystem to the Aodh project,
      remove it from Ceilometer.
      
      Depends-On: I3983128d2d964b0f1f3326948b27f5d94df65a04
      Depends-On: I99c9f2be0bbc70f289da5c2ba22698b8b7dc4495
      Change-Id: Id169a914c1d1f2f5ad03ebb515d3d052204d5c5c
      6bc86f75
  11. 03 Nov, 2015 1 commit
  12. 20 Oct, 2015 1 commit
  13. 16 Oct, 2015 1 commit
  14. 09 Oct, 2015 1 commit
    • Mehdi Abaakouk's avatar
      Deprecate event trait plugin 'split' · d12d60da
      Mehdi Abaakouk authored
      'split' plugin can be replaced by an jsonpath expresion
      since jsonpath-rw-ext>=0.1.8.
      
      This change deprecates it
      
      Depends-On: I8cd971d6dd98cd6c4c3dc83696969c47e8cdd8ac
      Change-Id: Iac2253c81dacaa1b2a2258569716d20916fc9920
      d12d60da
  15. 29 Sep, 2015 1 commit
  16. 17 Sep, 2015 1 commit
    • Mehdi Abaakouk's avatar
      gnocchi: add two new resources · ac5811d7
      Mehdi Abaakouk authored
      This change add instance_network_interface and instance_disk to
      Gnocchi dispatcher.
      
      It also adds some missing metadata to samples to build the Gnocchi
      resource.
      
      Change-Id: Ic7babe73befbe0fff741d0c0c764ded493dc8c8e
      ac5811d7
  17. 16 Sep, 2015 1 commit
    • gordon chung's avatar
      add delta transfomer support · 6ef07995
      gordon chung authored
      this patch adds support for a delta transformer. the transformer's
      only functionality is to calculate the delta between current sample
      and previous sample.
      
      conditions:
      - it will disregard any out of order samples
      - a growth_only param is available to capture only positive deltas
      - supports renaming to a new meter name using same schema as other
        transformers.
      
      using this transformer, we also create a cpu.delta meter which will
      enable another view of cpu meter. this delta meter will allow for
      (relatively) accurate cputime calculations and will cope with cputime
      resets.
      
      DocImpact
      
      Change-Id: Iabcad20d500e3157e4d19f8b2ebffd770218165b
      Closes-Bug: #1417949
      6ef07995
  18. 09 Sep, 2015 1 commit
    • Patrick East's avatar
      Update event_definitions for Cinder Image Cache · 3bac98f1
      Patrick East authored
      With the new Image-Volume cache added in to Cinder there will be some
      new notifications sent from the Cinder services. This adds new event
      definitions for them.
      
      Change-Id: Ice70049dd13018be863eee8f3ba02d977e5ab88c
      Closes-Bug: #1493960
      3bac98f1
  19. 01 Sep, 2015 1 commit
  20. 27 Aug, 2015 1 commit
    • Divya's avatar
      Control Events RBAC from policy.json · 52235d07
      Divya authored
      The ceilometer events RBAC is currently hard-coded so
      that only an admin user can view events.The end-user
      should be able to customize who should be able to view
      events rather than hard-coding the control to admins.
      This changeset adds two new rules into the policy.json
      so that RBAC for events index and show methods can be
      configured using the policy.json file.
      
      DocImpact
      
      Change-Id: I7bf4d385b9ee8fa8f1097b6400cbbc4135f2a9b6
      blueprint: events-rbac
      52235d07
  21. 26 Aug, 2015 1 commit
    • Divya's avatar
      Add user_id,project_id traits to audit events · 6a532111
      Divya authored
      The ceilometer audit events stored at the ceilometer database
      currently don't have user_id/project_id associated with them
      even though this information is available as part of the event
      message payload. The user_id and project_id information has to
      be stored as traits so that there's user/project context for each
      event and these traits are required to apply RBAC-based rules
      and filters on events. For eg., presence of these traits enable
      db queries - like get all events for a project/user against events.
      The audit event definition in the events yaml file already stores
      payload.initiator.id as initiator_id but the initiator_id trait
      is not a common trait across all events and thus this trait cannot
      be used to apply RBAC filter against events.This changeset will
      thus add user_id and project_id traits to the audit events namely
      *.http.* and add useri_id and project_id as default traits for all
      events.
      
      DocImpact
      
      Change-Id: If4034342c4e60d519f0ec96ae8895dcf78f8ad3b
      blueprint: events-rbac
      6a532111
  22. 25 Aug, 2015 1 commit
    • Mehdi Abaakouk's avatar
      gnocchi: move to jsonpath_rw_ext · a832d134
      Mehdi Abaakouk authored
      This change use jsonpath_rw_ext instead of jsonpath_rw
      
      It also remove the useless attributes list by a dict in the
      yaml configuration.
      
      Change-Id: I6014181d6d4d45ffa9769da9670b11d79d6910fc
      a832d134
  23. 07 Aug, 2015 1 commit
    • Pradeep Kilambi's avatar
      Enable entry points for new declarative meters · 94b3d40c
      Pradeep Kilambi authored
      Include the new entry point for meters notifications
      and deprecate the migrated ones. Also add the exchange
      controls to the notification agent directly.
      
      As a first step, this commit converts glance, magnetodb
      and orchestration meters.
      
      Partially Implements: blueprint declarative-notifications
      
      Depends-On: I9de94c5ac6349c3b46adbacb77fc877b5201285c
      
      Change-Id: I45ea9ab20bbed1ec12b91a20977e8adb52bf59da
      94b3d40c
  24. 29 Jul, 2015 1 commit
  25. 21 Jul, 2015 1 commit
    • Mehdi Abaakouk's avatar
      Move gnocchi resources definition in yaml file · 2f3d9a8c
      Mehdi Abaakouk authored
      Transformation of samples to gnocchi resources/metrics is
      just json2json think, so do it in a declarative ways like we do
      for event and declarative notification.
      
      Implements blueprint gnocchi-declarative-resources
      
      Change-Id: I5a202c30614d06821063e243d4e2330736aba5fd
      2f3d9a8c
  26. 20 Jul, 2015 1 commit
    • Rohit Jaiswal's avatar
      Handles dns.domain.exists event in Ceilometer · c2c3273c
      Rohit Jaiswal authored
      Ceilometer handles Designate CRUD notifications
      as events, but not the exists notification.
      
      This fix handles the exists notification as
      event and sample for measurable audit interval.
      
      Change-Id: I53d63cc4c8bcc6924afb0560bd8482d94e564895
      Closes-Bug: 1474608
      c2c3273c
  27. 16 Jul, 2015 1 commit
    • Rohit Jaiswal's avatar
      add Trove(DBaaS) events · 014ee796
      Rohit Jaiswal authored
      this patch adds support for Trove crud notifications
      as events in ceilometer, and a notification plugin to
      emit sample for the trove exists event.
      
      Change-Id: I932941c88e7c8e9f059c97ec41ac098263e38803
      Partially-Implements: blueprint track-dbaas-notifications
      014ee796
  28. 15 Jul, 2015 1 commit
    • Pradeep Kilambi's avatar
      Declarative meters support · 0a895a82
      Pradeep Kilambi authored
      This is the initial support to migrate some basic meters to
      leverage declarative approach.
      
      Partially Implements: blueprint declarative-notifications
      
      Change-Id: I64a4b2925981cfa14dc22ae30acd1f17821c9a2c
      0a895a82
  29. 14 Jul, 2015 1 commit
    • gordon chung's avatar
      make notifier default event publisher · 2b01aeee
      gordon chung authored
      direct publisher is mainly for testing and was used for event
      pipeline to maintain consistency with previous functionality. this
      patch makes notifier default to move storage load to collector
      where it should be.
      
      Change-Id: I2b12ac8afcd6e66e36d03276198f2d8e310b518f
      2b01aeee
  30. 03 Jul, 2015 1 commit
    • gordon chung's avatar
      drop deprecated pipeline · d2ae9d6d
      gordon chung authored
      the old pipeline format was deprecated as of icehouse. this patch
      switches all tests to use current pipeline format and drops support
      for old pipeline.
      
      Change-Id: Ide53c1c5beab4a586324c4727dba3a9e200f8082
      d2ae9d6d
  31. 17 Jun, 2015 1 commit
  32. 09 Jun, 2015 1 commit
    • Rohit Jaiswal's avatar
      add DNS events · 22cf71f1
      Rohit Jaiswal authored
      this patch adds support for dns crud notifications
      as events in ceilometer.
      
      Change-Id: I7287a160b510bdb91a68594874bbbba45e6a210f
      Partially-Implements: blueprint dns-service-notifications
      22cf71f1
  33. 30 Apr, 2015 1 commit
    • Chris Dent's avatar
      Improve ceilometer-api install documentation · 101bacff
      Chris Dent authored
      This updates the mod_wsgi configuration and installation information
      to be more in line with current usage. It also makes the
      recommendation to use mod_wsgi more strongly than has been made in
      the past. In general we don't want people to be running
      ceilometer-api at all, but it is good for them to have the option.
      
      Also an effort has been made to clarify the difference between rpm
      and deb installations of Apache.
      
      DocImpact
      
      Change-Id: I11f92d91f4bdea884c266b91b52f9d012abd33b9
      Partially-Implements: blueprint remove-web-eventlet
      101bacff
  34. 28 Apr, 2015 1 commit
    • Doug Hellmann's avatar
      Drop use of 'oslo' namespace package. · e41b259a
      Doug Hellmann authored
      The Oslo libraries have moved all of their code out of the 'oslo'
      namespace package into per-library packages. The namespace package was
      retained during kilo for backwards compatibility, but will be removed by
      the liberty-2 milestone. This change removes the use of the namespace
      package, replacing it with the new package names.
      
      The patches in the libraries will be put on hold until application
      patches have landed, or L2, whichever comes first. At that point, new
      versions of the libraries without namespace packages will be released as
      a major version update.
      
      Please merge this patch, or an equivalent, before L2 to avoid problems
      with those library releases.
      
      Blueprint: remove-namespace-packages
      https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
      
      Change-Id: I2eeef93ee2e61a721c69f62add819f93f62f077d
      e41b259a
  35. 07 Apr, 2015 1 commit
    • Divya's avatar
      Adds support for default rule in ceilometer policy.json. · aa78d70d
      Divya authored
      The default rule is broken in the current implementation of
      ceilometer rbac, because ceilometer rbac.py does not leverage
      the support provided by oslo_policy . It instead tries to
      loop through all the rules in the policy.json to check if the
      rule corresponding to the requested REST api matches with the
      any in the policy.json. In this process, it completely ignores
      the existence of the default rule.
      
      Closes-Bug: 1435855
      
      Change-Id: Icab626b28d14514b0f024df447a8e7f35c52257c
      aa78d70d
  36. 02 Apr, 2015 2 commits