agent notification package name is invalid

Bug #1353844 reported by Xingchao Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceilometer
Fix Released
Undecided
Xingchao Yu

Bug Description

When I use class {'::ceilometer::agent::notification':} to configure openstack-ceilometer-notification service.
I see this erorr:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[ceilometer-collector] to ["openstack-ceilometer-collector"] at /etc/puppet/modules/production/ceilometer/manifests/collector.pp:16; resource ["Package", "openstack-ceilometer-collector"] already declared at /etc/puppet/modules/production/ceilometer/manifests/collector.pp:16
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Then I find $agent_notification_package_name is the same as $collector_package_name. And I see an comment is:
# notification agent is included in collector package

But I find in http://pkgs.fedoraproject.org/git/openstack-ceilometer.git
there is an separate package for openstack-ceilometer-notification:

%package notification
Summary: OpenStack ceilometer notification agent
Group: Applications/System

Requires: %{name}-common = %{version}-%{release}

%description notification
OpenStack ceilometer provides services to measure and
collect metrics from OpenStack components.

The service init script is in this package:
%files notification
%{_bindir}/ceilometer-agent-notification
%{_initrddir}/%{name}-notification
%{_datarootdir}/ceilometer/%{name}-notification.upstart

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/112496

Changed in puppet-ceilometer:
assignee: nobody → Xingchao Yu (yuxcer)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ceilometer (master)

Reviewed: https://review.openstack.org/112496
Committed: https://git.openstack.org/cgit/stackforge/puppet-ceilometer/commit/?id=3c38c6522de80d53a8b0b7d0621f222c12928295
Submitter: Jenkins
Branch: master

commit 3c38c6522de80d53a8b0b7d0621f222c12928295
Author: Xingchao Yu <email address hidden>
Date: Thu Aug 7 15:05:23 2014 +0800

    Fix ceilometer agent notification package error

    ceilometer-notification package name should be
    openstack-ceilometer-notification in RHEL.
    See more info in related bug tracker record.

    Change-Id: If64f1ea641c5d99c0adf2104a308c2d5442c3324
    Closes-Bug: #1353844

Changed in puppet-ceilometer:
status: In Progress → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-ceilometer:
milestone: none → 5.0.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.