Bug 1095372

Summary: Packstack doesn't install ceilometer compute agent service on icehouse
Product: [Community] RDO Reporter: pgsousa <pgsousa>
Component: openstack-packstackAssignee: Eoghan Glynn <eglynn>
Status: CLOSED ERRATA QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: urgent    
Version: unspecifiedCC: aortega, apevec, derekh, eglynn, mmagr, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.14.dev1068.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 18:24:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pgsousa 2014-05-07 14:51:13 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Installed packstack
2.packstack --gen-answer=aws.txt
3.packstack --answer-file=aws.txt

Actual results:


Expected results:


Additional info:

Comment 1 Eoghan Glynn 2014-05-09 13:54:10 UTC
Also seen with RHOS5.0 beta on RHEL7 beta:

  openstack-packstack-2014.1.1-0.11.1.dev1055.el7ost

This is no reference to the ceilometer compute agent in the generated ceilometer manifest:

  http://pastebin.test.redhat.com/208118

nor in the generated nova manifest:

  http://pastebin.test.redhat.com/208115

Comment 2 Eoghan Glynn 2014-05-09 14:59:22 UTC
One workaround is simply to install and configure the compute agent manually:

 $ sudo yum install openstack-ceilometer-compute
 $ openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit True
 $ openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit_period hour
 $ openstack-config --set /etc/nova/nova.conf DEFAULT notify_on_state_change vm_and_task_state
 $ openstack-config --set /etc/nova/nova.conf DEFAULT notification_driver nova.openstack.common.notifier.rpc_notifier
 $ sed -i '/notification_driver *= *nova.openstack.common.notifier.rpc_notifier/a \
notification_driver=ceilometer.compute.nova_notifier' /etc/nova/nova.conf

 $ sudo service openstack-nova-compute restart
 $ sudo service openstack-ceilometer-compute start

Comment 3 Eoghan Glynn 2014-05-11 20:05:50 UTC
The installation of the ceilometer compute agent was mistakenly dropped on a floor, as an unintended side effect of the separation of rabbitmq and qpid config:

  https://github.com/stackforge/packstack/commit/35f25263

A simple oversight led to the nova_ceilometer.pp no longer being added to the manifest data (only nova_ceilometer_{rabbitmq|qpid}.pp was added).

Comment 4 Eoghan Glynn 2014-05-12 00:28:31 UTC
Fix has landed upstream:

  https://github.com/stackforge/packstack/commit/2d57df37

Comment 5 Martin Magr 2014-05-13 10:55:16 UTC
Resource duplication appeared as a side effect of the enabling ceilometer compute installation [1]. We will have to fix that first.

[1] http://people.redhat.com/~iwienand/93302/20140512134255.OSLAB_RHEL65.log.gz

Comment 6 Martin Magr 2014-05-14 12:36:41 UTC
Issue should be fixed with openstack-packstack-2014.1.1-0.14.dev1068.el7ost and openstack-puppet-modules-2014.1-11.el7ost.