Commit Graph

118 Commits

Author SHA1 Message Date
Takashi Kajinami b14a6251fd Retire puppet-monasca - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/805098
Change-Id: I6d9314bef6781599a39038a5a405f84c8db9807a
2021-08-19 16:47:45 +00:00
Brad Klein e966b524e2 Add configuration of host_aggregate_re for libvirt plugin
Change-Id: I1380afc5144695156eb62929b4910eff15b2ae4b
2017-03-06 15:04:12 -07:00
Brad Klein 39465dfe31 Add configuration of ovs publish_router_capacity flag
Change-Id: I0431bee6f8cd92a6e01a4776f333af2e47454c1f
2017-01-27 07:59:26 -07:00
Brad Klein 6bb4ee6296 Add ability to specify whitelist of metrics to retain in admin project
Change-Id: I014c78cc91e4950b9115106bf32bf0e5217ee149
2017-01-24 14:50:04 -07:00
Ryan Bak bed6e5af2e Update agent init file for better shutdown
Updated to match the changes here:
https://review.openstack.org/#/c/408813/
Also adds basic tests for monasca::agent class

Change-Id: Iec74ba0003a432f2175a745ff88cba2584972604
2016-12-14 15:58:11 -07:00
Jenkins 43bce752a9 Merge "Add adminRole option to api config" 2016-12-01 01:13:30 +00:00
Ryan Bak 54ddc2f9b4 Add adminRole option to api config
Includes basic tests for the affected classes and params

Change-Id: I9e819bb89a2101c902aae8d17eef5e0adc8c7e86
2016-11-29 13:00:45 -07:00
Brad Klein 86955c96ac Add support for monasca-notification hipchat and slack
Also add spec test for the class and new parms

Change-Id: Ic4132374446b417d6bd7f0ecd6451b0070dc74e3
2016-11-16 16:32:45 -07:00
Clayton O'Neill a5aa94e275 Fix template for puppet 4
Puppet 4 requires variables be referenced as instance variables, not
local variables.

Change-Id: I27ed3ec021e81e8b936ae20c91308376f4e73152
2016-11-11 20:58:36 +00:00
Ryan Bak c1c9f0dd52 Add new config values for rabbitmq check
Change-Id: I229c412deee8dd8ae49a1771112c5bcd84d8e407
2016-11-01 09:09:58 -06:00
Brad Klein 27845d7f19 Add config of metadata for ovs plugin
Change-Id: I206247eccb952f5ae528843d3f50035fc72d6ff0
2016-10-17 14:36:14 -06:00
Brad Klein 3db503f0cf Fix drop partition script after testing with multiple older partitions
Change-Id: Iee2cbff126d8551a5428793ba5406aca676f942e
2016-09-16 13:59:17 -06:00
Brad Klein 098d07d7c3 Better vertica partition defaults, new drop script
Change-Id: Iebc96b72a62b8650e4cafa82f759b2847efa64f5
2016-09-15 15:28:15 -06:00
Brad Klein 0338017c52 Add configuration of monasca agent vertica plugin
Change-Id: I0529368ccd6de3e44037fa7234b9a46b967eaf63
2016-09-09 09:19:49 -06:00
Brad Klein ab26276973 Allow dynamic alarm and notification bootstrapping
Change-Id: I10d1e0ab7a7c88b29fd05fbf4173317ac96434c9
2016-09-01 11:34:58 -06:00
Brad Klein b988e01a44 Include ovs metrics when pruning non-infra projects
Change-Id: Ic27f3b90847c46b4137cb6c6beb4bcf3a499c6a9
2016-08-30 11:25:23 -06:00
Brad Klein 276d33a725 Allow tuning of database connection thread pool settings
Change-Id: I431f5f3fcdc934dcb6e65a29fcc43ed94a813095
2016-08-11 14:41:10 -06:00
Brad Klein 0b8492dd22 Add configuration of solidfire plugin
Change-Id: Ib6f0f0f832224f50bfe36d2371b4c51c8ae8ab30
2016-08-04 09:15:02 -06:00
Brad Klein a307cbd00c Add configuration of read-only api user roles.
Also do some documentation and parameter cleanup of this class
to conform with puppet-openstack standards.

Change-Id: Ib9a7901cf35171212642e29e27c09823cccd4f26
2016-08-01 13:49:45 -06:00
Brad Klein 4b36f0a080 Update libvirt plugin configuration for latest agent.
Also start to conform to puppet-openstack standard parameter
documentations and parameter defaults.

Change-Id: I3d0417840e9a293cd9379f5f9ddf6686f4d77ed1
2016-07-19 16:06:00 -06:00
Brad Klein 31d28a7c87 Update ovs plugin config file with latest settings
Change-Id: If7b99422f3183bd8f0646eba2cd5476569e9eabe
2016-07-18 14:10:37 -06:00
Brad Klein 5ea6af70b0 Update storm scripts to work with new storm
The java package names changed from 'backtype..'
to 'org.apache..'.  This change will work for both
old (0.9) and new (1.0) versions of storm.

Change-Id: Ibf19508ee5a190e6091212bbc8c8d340d5441848
2016-07-14 12:15:21 -06:00
Brad Klein 1c53d1f872 Update notification conf file for periodic notifications
This will default to the current (60 second) notifications,
but can be overridden with additional settings.  This is
necessary to install the latest monasca-notification with
changes for heat autoscaling.

Change-Id: I0b403fcc32f905f0404aeddf4264cd5db732b1f3
2016-07-13 13:45:52 -06:00
Brad Klein 6e26e2df9c Fix multiple dimension query bug
Introduced by testing multiple dimensions not part of the same
dimension set.  Will revise help to text to indicate that isn't
supported -- we end up pruning more than expected. No bueno!

Change-Id: I58961861aa183eacab394aa803a6294fed493d70
2016-06-29 10:45:12 -06:00
Brad Klein f3810193bf Support pruning a time range in vertica
Change-Id: I66b95e15804603b7b9f2f4fee9e79609f04cd849
2016-06-28 10:31:42 -06:00
Brad Klein 57cf143e29 Ensure all servers are listed (beyond osapi_max_limit)
Change-Id: I5d99b5c8b9b1b396040fe7ee19d2333d8a82ce29
2016-06-14 15:57:21 -06:00
Brad Klein 97c166344c Schema change for deterministic alarms defs
Change-Id: Iacac50881868d9239b44c2081f454d8dfe42a306
2016-06-10 13:15:56 -06:00
Brad Klein 46c945e2f8 Add support for periodic notification
Change-Id: I024969c5e9568898db3401292a93535491fd45c6
2016-06-09 13:01:17 -06:00
Brad Klein 1a4ae8a903 Allow vertica db hint for queries
Change-Id: I8cfb34ed15a9b9eb68f6b5613584e781e93dba07
2016-06-08 10:08:27 -06:00
Ryan Bak 29c6e93c11 Add flag to submit libvirt metrics as bits
Change-Id: I6152c098fbcd917049619328605416e07a00e92f
2016-06-06 09:16:39 -06:00
Ryan Bak 034da28451 Update agent plugin for new options
Change-Id: Iec34f0ab26763a80c9ed4d6b96156e4ccf83e43b
2016-06-01 15:03:58 -06:00
Ryan Bak b20ff86b2c Update monasca-agent init scripts
Brings init.d and supervisor.conf up to date

Change-Id: I5bf8c03d2c0c6ff0962a88747b9def82c57e65d1
2016-05-24 15:49:52 -06:00
Brad Klein 69405495ac Add configuration of ovs plugin
Change-Id: Iac96f1e86b9a55aee4c750e638d0c98541f15ea4
2016-05-24 08:57:31 -06:00
Brad Klein 218bc38f1b Allow query limit to be configurable
Change-Id: I42041df284eb418236d0bec82a6b6d3d721c917b
2016-05-12 07:35:37 -06:00
Brad Klein 56976956e2 Support individual alarm notification actions
Change-Id: If64418c008d4a6342148d30a09a5232bc1d59582
2016-05-03 10:30:24 -06:00
Jenkins 034d5f154a Merge "Add ability to include libvirt scale group metadata" 2016-04-21 12:56:05 +00:00
Brad Klein 095d35ce1a Add ability to include libvirt scale group metadata
Change-Id: I64698a3ba21b2e152ed8a9ba68cc21f9169cab8b
2016-04-20 15:09:47 -06:00
Brad Klein 86d0626e52 Support pruning metrics by dimension(s)
Change-Id: Ib56cd3440512079782cf0cb15c02c37020555a1b
2016-04-20 12:41:35 -06:00
Brad Klein 1e27ee7dfa Add script to cleanup stale VM alarms
Change-Id: I7296c0b46d66a55702a4f117f104c021913492e2
2016-03-21 15:09:37 -06:00
Brad Klein 5dfdc23cd8 Add ability to prune metrics by name
Change-Id: I9c6526ef006c4d24a87f2d2e83d7a971e3d3cd2e
2016-03-13 09:52:04 -06:00
bklei b6c34684bf Support dynamic mysql port
Change-Id: I8049db89701c9ba9a46210f80ac4f24340d79e3c
2016-02-24 09:33:13 -07:00
bklei 9bf9f9337a Change vertica bootstrap scripts to work with vertica 7.2
Change-Id: Iec250c12a6b5de88e49c0e790b362e4354f03cce
2016-02-03 13:13:57 -07:00
bklei 1cf02f756e Fix prune script to protect admin project data
Change-Id: If439461b203471f83a2cb31d86449fe39b40cb73
2016-01-28 08:01:26 -07:00
bklei 86edf5d18c Refactor keystone service and endpoint to be more like other puppet modules
Also provide adminProjectName which is necessary if authenticating
monasca-api via username/password with keystone middleware.

Change-Id: Idf676ab0e8db0e612376121efcb3cabe54245c0c
2016-01-22 13:54:13 -07:00
Jenkins 4bf61277bd Merge "Add support for symlinked agent virtualenv" 2016-01-15 17:06:39 +00:00
Ryan Bak 5c8461d781 Add support for symlinked agent virtualenv
This allows multiple virtualenv to be managed, allowing fresh rebuilds
of the virtualenv when making changes.

Change-Id: I4428a485dea87021ca642a773af57b35416f2a20
2016-01-14 15:10:38 -07:00
bklei 51f21afb75 Add bootstrapping of notification methods
Change-Id: I5719315855f8771e7be0d38097672170eb8e63d6
2016-01-11 15:46:46 -07:00
bklei 0f477c86a3 Add script to prune data older than a retention period
Change-Id: I8902bc61d830cc0c7f0e5dbae5aaf5b752cc80ce
2016-01-05 14:35:36 -07:00
bklei 5010a21932 Add execution parallelism tunable to vertica resource pool creation
Change-Id: I8b02793873c2937b547b87cf4d7a003c924d3410
2015-12-17 16:27:24 -07:00
bklei f4e1005f9e Use params class for api and pers settings
Simplify how to set username and password via hiera,
use params for vertica settings.

Change-Id: I73779412f8ab3f2356d2fa1563b3dbfc14b2e247
2015-12-04 08:55:40 -07:00