This brings us up to date with the latest apache2 cookbook which
included a major refactor in 6.0.0 removing all of the definitions and
recipe with proper resources. Instead of using the apache2_default_site
resource, directly use a template and then enable the config file using
the apache2_site resource. This gives us the most flexibility.
Additional fixes:
- Install mod_wsgi as a package on RHEL since there is no built-in
resource for it.
- Remove hack for restarting apache.
- Convert web_app to template and subscribe to restarting apache.
- Remove resources to restore SELinux contexts since this taken care of
by Chef now automatically.
- Don't set SELinux to permissive on RHEL (I tested this works properly
with it set to enforcing).
- Remove collector recipe as this service has been deprecated upstream.
- Add openstack-ceilometer-notification package for RHEL in
agent_notification_packages as it was missing.
- Fix gnocchi-api_wsgi_and aodh-api_wsgi_file file on RHEL
- Remove openstack-aodh package in aodh_packages for RHEL as it does not
exist
- Clean up arrays in attributes using %w(foo) instead of ['foo']
- Set group for upgrade scripts so it can read files properly on RHEL
- Add missing ChefSpec tests for aodh
- Include additional cookbooks in Berksfile required for CI
Depends-On: https://review.opendev.org/702772
Depends-On: https://review.opendev.org/701824
Change-Id: Ie7e6d792a764314775c40d4489cfba05d5c483ce
This adds management of /etc/ceilometer/polling.yaml which defines which metrics
to poll and how often. This pulls in the default configuration which the same
for both RHEL and Ubuntu and adds two new attributes for configuring the file.
In addition, restart various services related to the configuration file.
Change-Id: I69ed0a8933a971d9cac20dbd4133197a7e4274af
Signed-off-by: Lance Albertson <lance@osuosl.org>
This adds a template for managing the pipeline.yaml file which allows one to
configure the pipeline publishers such as gnocchi or prometheus. The template
file was taken from the latest Rocky tarball for ceilometer.
Change-Id: I938219bfdcfa69a910cae4b72a40c19d5124d99e
- corrects deamon_process to daemon_process
- removes duplicate Listen directive in wsgi-template.conf.erb that gets
emitted in ports.conf that the apache2 cookbook lays down
- adds a run directory for ceilometer api socket
Change-Id: Ia369a50e42453428b0c572659b0c4078920e9890
* applied new template logic and refactored all recipes accordingly
* removed vmware and suse support and specs
* removed alarm ceilometer-alarm notifier and evaluator (needs to be rewritten
for aodh)
* added recipe for telemetry-metric/gnocchi deployment
* set gnocchi as default dispatcher for ceilometer
* added initial specs for gnocchi recipes
Depends-On: I22114b6d2d46cce561a2f292b92ff5f531cff533
Change-Id: If513cb2715d8266845bd6541d12005edef70f11c
Current template ceilometer.conf.erb is using auth_uri for os_auth_url
which is not a correct approach. This auth_uri is dedicated to be used
by auth_uri under section [keystone_authtoken]. On the other hand, the
passed in identity_endpoint param is not used. Actually, by comparison
with other cookbooks, identity_endpoint should be used for keystone
identity service connection.
Change-Id: I50c631000efe9c82cd83723c1bf9a7c6ef54556c
Closes-bug: #1479399
In order to allow components to better handle and respond to mq failures,
oslo has some heartbeat options that are useful.
Change-Id: I02faeba2c10d9c9b8035819156bfdc0759bafcc6
Partial-Bug: #1462438
Oslo.message using rabbit_max_retries and rabbit_retry_interval to
define reconnect rabbitmq server times and interval when can not
connect to rabbitmq server.
Change-Id: I1fd9d4840a55453667eb2ed4c03e4c3cb72442b9
Closes-bug: #1439968
For Kilo release, there are many deprecated group/name in conf files of openstack,
so we need to change the deprecated group/name to new group/name.
blueprint conf-section-update-for-kilo
Closes-bug: #1436170
Change-Id: Icf361d2132553bbc20b517c8b08f6df2d069e8bb
Remove deprecated keys and use identity_uri via the new transform
helper method.
Change-Id: Ibd21f81607f5ef1b02e07e4da3e5ea306f7d6f8b
Implements: blueprint identity-uri
ttl is the time_to_live value that will be configured against database. This value
indicates the expiry time for ceilometer samples
Implements: bluerprint ceilometer-db-cleanup-configuration
Change-Id: I1c207e15ec0ca23c2fbd0db10842e600e71d69df
This patch is for allowing cafile, os_cacert, insecure,
memcached_servers, memcache_security_strategy,
memcache_secret_key and hash_algorithms to be
configurable.
Change-Id: I4d8f94195a75f590849e5a1ea948a3837cdf38a0
Closes-Bug: #1372371
1. If the compute driver is vmwareapi.VMwareESXDriver or
vmwareapi.VMwareVCDriver, set the hypervisor_inspector to vsphere and
add vmware section in conf file.
2. Reuse the vmware related attribute from compute cookbooks since
ceilometer need monitor the same vsphere.
3. Update the testcases
Closes-Bug: #1351619
Change-Id: Ie67e84e5695bd5f9ceaa6ed6682cfe33f7ed0b68
The sample_source is used to specific the source name of emitted
samples.It required to use different name if you want to consolidate
the data from different openstack region.
Changed the version to 9.1.2 and modified the change log and readme.
Change-Id: I0c2e0b6d651ad6c4daf724041014582b31337073
Add more AMQP and QPID configuration options
to the ceilometer configuration file. This enables
users to use QPID federation support and also
use durable queues for rabbitmq or QPID.
Change-Id: I7cf1230cadf41313cd505bf8d89509c9f064e0e3
Add the ability to override the default listen IP/port for the api
service in the config file.
Use the ['telemetry-api-bind'] namespace to derive these values
Implements blueprint increase-ip-binding-flexibility
Change-Id: Ia51bd1b760563f06ed36ec8190f36f4e03a79695
Add hypervisor_inspector configuration in ceilometer.conf, it's necessary
in some cases, for example, if we want to use this cookbook's template to
support installation of ceilometer agent on windows platform.
Change-Id: Ie42eb3d055ff1dbc3944adb18777073044983ed4
Closes-Bug: #1300080
Currently, qpid's password is stored in an attribute in the common
cookbook. This change causes the password to be looked up via
get_password method, which is how we obtain the rabbitmq password.
Change-Id: I7afe9a0a069c6527ced4df7f094c31c1ca4acec4
Implements: blueprint use-data-bag-for-qpid-password
This change removes the attributes we'll be moving to openstack-common
and changes reference of those attributes to reflect new (more
consistent) namespace.
Change-Id: I30e37b4ff6369c19978973a8890ef2122692db44
Implements: blueprint clean-up-attr-for-mq-and-db
Change rpc_backend for qpid from nova.openstack.common.rpc.impl_qpid to
ceilometer.openstack.common.rpc.impl_qpid.
Change-Id: I6fc89dd218ce9f6daf8fb388372d1a6c116637e5
Moving all qpid parameters under default["openstack"]["metering"]
["mq"]["qpid"] so that other qpid options can be added under it.
Rabbit parameters will be brought under "mq" eventually. MQ is
selected through default["openstack"]["metering"]["mq"]["service_type"].
Default is "rabbitmq".
Implements: blueprint qpid-activemq-support
Change-Id: I4dd153a631063ee7c518e2d49fe01aa39a6f261d
By default cfg.CONF.host is the `hostname` of local node, however, not all envs
register their hosts by the fqdn. This allows a configurable attr to add to
the ceilometer.conf
Change-Id: If80cd5264a02eeb7c94655716839642dd7993906
These were migrated out of `openstack-compute` and into their
own cookbook. This is an initial best-effort attempt.
Made the following changes, which differ from the recipes imported.
* Moved to openstack["metering"] attribute namespace.
* No longer performing source install. This was done for folsom.
* No longer writing out an Apache virtualhost. This was done to
protect the folsom non-authenticated API endpoint.
* Templates write out as the ceilometer user/group vs nova.
* No longer including nova-common recipe. It doesn't appear nova.conf
is necessay (although I may be wrong). The stackforge puppet manifests
do not seem to do this [1].
* Added Strainerfile for testing.
[1] https://github.com/stackforge/puppet-ceilometer).
bug 1187514
Change-Id: Ia97126e13e422037ad1f2c89debd9e4cdfa60b0a