Pradeep Kilambi [Tue, 3 Oct 2017 13:31:34 +0000 (09:31 -0400)]
Add support to set host param
Lets expose this param so we can override the host param in
ceilometer config. Without this, some metrics from nova wont
make it as in some cases the fqdn might not match hostname.
Matthew J. Black [Wed, 11 Jan 2017 22:18:55 +0000 (17:18 -0500)]
Allow python-memcache install from authtoken class
The python-memcache package is required if using memcached. By
default the package is not installed and the define has it set to
false. This change allows managing the python-memcache package
install from the authtoken class.
Ceilometer is now using the HTTPProxyToWSGI middleware from
oslo.middlware in its default api-paste configuration [1]. This commit
gives us the ability to enable/disable that middlware.
Hanxi Liu [Sun, 25 Sep 2016 06:36:41 +0000 (14:36 +0800)]
standardize release note page ordering
In order to support automatically updating the release notes when we
create stable branches, we want the pages to be in a standard order.
This patch updates the order to be reverse chronological, so the most
recent notes appear at the top.
Matthew J. Black [Fri, 23 Sep 2016 23:27:04 +0000 (19:27 -0400)]
Remove blank values in namespaces array.
The inline template is using compact which is not removing
the blank values. A call to delete function from stdlib is
needed to remove the blank values.
Alex Schultz [Wed, 14 Sep 2016 12:45:15 +0000 (06:45 -0600)]
Temporarily add gnocchiclient to acceptance test
Currently CI is blocked because the ceilometer package in RDO does not
properly have gnocchiclient as a depedency. It has been determined
upstream that this dependency is not correct. So as a temporary solution
until the correct upstream fix lands, we need to pull in the
gnocchiclient in the acceptance test. This did not get caught by the
p-o-i testing because we install gnocchi with ceilometer in the
scenario. This should be reverted one the package lands with the fix
for LP#1621384
Carlos Camacho [Wed, 14 Sep 2016 11:40:14 +0000 (13:40 +0200)]
Fix puppet-lint before upgrading gem
Removing puppet-lint warnings
in favor of upgrading to latest gem
2016-09-13 21:09:56.710873 | manifests/api.pp:164:WARNING: line has more than 140 characters
2016-09-13 21:09:56.711049 | manifests/policy.pp:9:WARNING: line has more than 140 characters
In ceilometer::api, use keystone::resource::authtoken to configure
keystone_authsection in the configuration file.
Some deprecations:
- ceilometer::api::identity_uri is deprecated in favor of
ceilometer::api::auth_url
- ceilometer::api::keystone_tenant is deprecated in favor of
ceilometer::api::project_name.
- ceilometer::api::keystone_user is deprecated in favor of
ceilometer::api::username.
- ceilometer::api::keystone_password is deprecated in favor of
ceilometer::api::password.
Emilien Macchi [Fri, 12 Aug 2016 14:40:24 +0000 (10:40 -0400)]
puppet4: fix ordering for compute agent
When managing the POSIX user for Ceilometer, we need to make sure
ceilometer-common and libvirt are installed before, otherwise catalog
will fail on Puppet4 with:
Error: Could not set groups on user[ceilometer]: Execution of
'/usr/sbin/usermod -G libvirtd,nova ceilometer' returned 6: usermod:
group 'libvirtd' does not exist
Andreas Jaeger [Fri, 12 Aug 2016 19:05:28 +0000 (21:05 +0200)]
Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.
Move the file around to follow this change.
Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.
For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/
As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html
Michael Chapman [Wed, 24 Feb 2016 02:46:08 +0000 (13:46 +1100)]
Add event_pipeline.yaml management
Allow event_pipeline.yaml to have publishers specified. This is
required to support aodh event alarms by pushing notifications
to an alarm queue as described here:
Alex Schultz [Tue, 7 Jun 2016 16:52:42 +0000 (10:52 -0600)]
Provide default service_name for keystone endpoint
This change updates the ceilometer::keystone::auth class to include a
default service_name of 'ceilometer' so that if a user changes the
auth_name, the service is still created as being related to
'ceilometer'. This improves the user experiance when they want to
customize the usernames for services.
Where the transport scheme specifies the rpc or notification backend
as one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the
host, port, and auth configuration options [1]. All drivers will get
these options via the transport_url.
This patch:
* use oslo::messaging::default resource
* use oslo::messaging::notifications resource
* add parameters for transport_url(s)
* update spec tests
* add feature release note
iberezovskiy [Tue, 24 May 2016 13:29:46 +0000 (16:29 +0300)]
Use 'password' auth_type by default
It's better to use 'password' keystone auth plugin by default
for the supporting v2 and v3 keystone API instead of ceilometer
legacy keystone loader which supports only v2.
Remove hard-coded API version from auth_url as well.
Actually this legacy loader has been deprecated in Mitaka and
has been already removed in Newton:
https://review.openstack.org/#/c/307053/
Emilien Macchi [Thu, 19 May 2016 17:03:18 +0000 (19:03 +0200)]
Add other-requirements.txt for bindep
Bindep is a binary automation tool used in openstack-infra. With it,
projects can better control the default packages installed into the
OS. Because we are using puppet, we actually don't want any packages
installed by default as to better test our manifests.
Change-Id: I16970ad5f2b8cf0305b0554bb1cc3079e49454da Co-Authored-By: Paul Belanger <pabelanger@redhat.com>
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.
If this option is not set explicitly, there is no such warning
Andrew Smith [Tue, 10 May 2016 17:17:42 +0000 (13:17 -0400)]
Introduce support for oslo.messaging amqp driver configuration
This commit adds support for the oslo.messaging amqp rpc_backend which enables
the AMQP 1.0 driver. A proposed feature for the Newton oslo.messaging release is an
update to the AMQP 1.0 driver to support a stateless messaging interconnect for
RPC traffic[1].
This patch:
* use oslo::messaging::amqp resource
* add new parameters for the oslo_messaging_amqp driver
* update spec tests for amqp as alternate rpc_backend
* add feature release note
Matt Fischer [Fri, 13 May 2016 02:32:16 +0000 (20:32 -0600)]
metering_secret was renamed to telemetry_secret
Annoyingly upstream renamed this variable which is used in about two
dozen places. In addition to this we'll need to fix the integration
tests once this lands.
Matt Fischer [Sat, 14 May 2016 02:22:16 +0000 (20:22 -0600)]
Correct service_credentials section
The service_credential section variables were renamed at some point
before Mitaka. They are broken in Mitaka and Newton, and possibly
earlier. Additionally some critical variables for dealing with domains
and keystone v3 are missing. This corrects those issues.
A later commit should deprecate some of the naming for things
that have totally different names, like the endpoint_type and
tenant_name, but we need to cleanly (and minimally) backport this to
Mitaka.
Emilien Macchi [Sun, 15 May 2016 08:34:13 +0000 (10:34 +0200)]
acceptance: remove scenario without apache
The scenario without apache was a transition to test upgrade between non
wsgi with apache to wsgi with apache and was introduced during Liberty
cycle.
The scenario is not useful anymore, as we have a wsgi with apache
scenario working well.
Moreover, we were trying to stop Keystone service, which does not exist
anymore in Mitaka, and removed from distros in Newton. It causes beaker
jobs errors.
Let's remove this test.
Emilien Macchi [Wed, 23 Mar 2016 18:43:54 +0000 (14:43 -0400)]
Release 8.0.0
* Update CHANGELOG with release notes URL.
* Update README with new release number & name.
* Update metadata.json with new tag & dependencies.
* Add release note prelude for Mitaka.
* Update Reno release note to drop prelude.
* Improve release note landing page.
iberezovskiy [Fri, 19 Feb 2016 10:07:15 +0000 (13:07 +0300)]
Deprecate ceilometer alarm classes
Alarming services (evaluator and notifier) in Mitaka
were moved to Aodh OpenStack project. Now Ceilometer
doesn't contain any code related to alarms,
so we need to stop usage of Ceilometer alarm classes.
nanhai.liao [Tue, 19 Jan 2016 09:32:49 +0000 (17:32 +0800)]
Consistent with other core module, auth_uri,identity_uri
keystone_auth_ui and keystone_identity_uri parameters are inconsistent
with other modules, change keystone_auth_ui,keystone_identity_uri to
auth_uri,identity_uri
luyuan [Sat, 23 Jan 2016 10:39:49 +0000 (18:39 +0800)]
Adding amqp_durable_queues parameter to ceilometer
amqp_durable_queues is an important param for configuring
Rabbitmq HA, When rabbitmq service quits or crashes,it
will forget the queues and messages. To make sure those
messages aren't lost, amqp_durable_quesesneed to added in
ceilometer.
Emilien Macchi [Mon, 18 Jan 2016 17:30:34 +0000 (12:30 -0500)]
beaker: stop testing ceilometer-alarm
Ceilometer Alarm has been replaced by Aodh, and does not exist anymore
in Mitaka.
This change just stop testing the Puppet classes, but still allow to use
the classes.
Xingchao Yu [Sat, 16 Jan 2016 07:35:12 +0000 (15:35 +0800)]
Add rabbit_ha_queues option
There are two ways for setting up RabbitMQ HA:
1. Configure rabbit_hosts to multi rabbit hosts.
2. Set up a loadbalancer in front of RabbitMQ cluster,
provide a unique address in rabbit_host
But rabbit_ha_queues option is controled by rabbit_hosts if conditional
statement. When users try the second method: changing rabbit_ha_queues to true.
If they don't set rabbit_hosts, then current logic will not work.
This patch aims to add an rabbit_ha_queues option, set to undef by
default for backward compatbility.
Liao Penghui [Tue, 12 Jan 2016 16:34:27 +0000 (00:34 +0800)]
Move workers options into specific sections.
The notification_workers/api_workers/collector_workers options are
deprecated and should be set in [notification]/[api]/[collector]
sections separately.
Alex Schultz [Thu, 7 Jan 2016 04:28:00 +0000 (21:28 -0700)]
Add rspec-puppet-facts to the spec_helper
This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests. With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.
Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.