RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1055661 - ceilometer install failes with usermod: group 'nova' does not exist
Summary: ceilometer install failes with usermod: group 'nova' does not exist
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: RDO
Classification: Community
Component: openstack-puppet-modules
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Martin Magr
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-20 17:41 UTC by Pádraig Brady
Modified: 2016-01-04 14:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-20 16:16:45 UTC
Embargoed:


Attachments (Terms of Use)
openstack-setup.log w/ (97.95 KB, text/plain)
2014-08-14 18:14 UTC, wes hayutin
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.