Bug 1055661

Summary: ceilometer install failes with usermod: group 'nova' does not exist
Product: [Community] RDO Reporter: Pádraig Brady <pbrady>
Component: openstack-puppet-modulesAssignee: Martin Magr <mmagr>
Status: CLOSED UPSTREAM QA Contact: Amit Ugol <augol>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: lars, whayutin, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-20 16:16:45 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:
Attachments:
Description Flags
openstack-setup.log w/ none

Description Pádraig Brady 2014-01-20 17:41:28 UTC
Bug report: https://www.redhat.com/archives/rdo-list/2014-January/msg00116.html
  ceilometer.pp
    Error: Could not set groups on user[ceilometer]:
      Execution of '/usr/sbin/usermod -G ceilometer,nobody,nova ceilometer'
        returned 6: usermod: group 'nova' does not exist

There is a candidate upstream fix here:
  https://github.com/stackforge/puppet-ceilometer/commit/d064997c
Though I'm not 100% sure if it deals with the case where
ceilometer happens to be installed before nova on a particular host.

Comment 1 wes hayutin 2014-08-14 18:14:37 UTC
Created attachment 926874 [details]
openstack-setup.log w/

details of

00:25:57.135 Error: Could not set groups on user[ceilometer]: Execution of '/usr/sbin/usermod -G ceilometer,nobody,nova ceilometer' returned 6: usermod: group 'nova' does not exist

Comment 2 Lars Kellogg-Stedman 2015-03-20 16:16:45 UTC
The original problem was caused by installing Ceilometer on a standalone host using packstack.  This configuration is no longer available with recent versions of packstack.

The problem with the ceilometer::agent::compute manifest still exists, but that needs to be solved upstream.  The ceilometer::agent:polling manifest, which seems to deprecate ceilometer::agent::compute, has a boolean (compute_namespace) that can be set to avoid this problem.