Compute node deployment failed if ceilometer enabled

Bug #1473416 reported by Maksym Strukov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Ivan Berezovskiy
7.0.x
Fix Released
Critical
Ivan Berezovskiy

Bug Description

Steps:
1. Create cluster: ubuntu, neutron vlan, ceilometer, 1 controller + 1 compute + 1 mongo
2. Deploy

Expected:
Deployment successful

Actual:
Compute node deployment failed:

2015-07-10 07:55:24 +0000 Puppet (debug): Executing '/usr/sbin/usermod -G libvirtd,nova ceilometer'
2015-07-10 07:55:24 +0000 Puppet (err): Could not set groups on user[ceilometer]: Execution of '/usr/sbin/usermod -G libvirtd,nova ceilometer' returned 6: usermod: group 'libvirtd' does not exist

/usr/lib/ruby/vendor_ruby/puppet/provider/nameservice.rb:288:in `rescue in set'
/usr/lib/ruby/vendor_ruby/puppet/provider/nameservice.rb:285:in `set'
/usr/lib/ruby/vendor_ruby/puppet/provider/nameservice.rb:73:in `block (2 levels) in resource_type='
/usr/lib/ruby/vendor_ruby/puppet/property.rb:178:in `call_provider'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:503:in `set'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
/usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block in run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:4:in `<main>'

But all fine if ceilometer not enabled.

Env:
{"build_id": "2015-07-09_18-59-55", "build_number": "16", "release_versions": {"2014.2.2-7.0": {"VERSION": {"build_id": "2015-07-09_18-59-55", "build_number": "16", "api": "1.0", "fuel-library_sha": "5013a663571684ab76840f666d797da3feb745da", "nailgun_sha": "ae63905b181bd02d6af0d766dad612b77b363892", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-7.0", "production": "docker", "python-fuelclient_sha": "fbe0fa49d4640d1cd5de0af9040ca0d874d5d4fa", "astute_sha": "9cbb8ae5adbe6e758b24b3c1021aac1b662344e8", "fuel-ostf_sha": "e3ad92b0e4a9301ffe0969a3bc5d6073966a27b4", "release": "7.0", "fuelmain_sha": "4778ce4a8fef3afb5ab60f4ba0faf2d1edb0796b"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "5013a663571684ab76840f666d797da3feb745da", "nailgun_sha": "ae63905b181bd02d6af0d766dad612b77b363892", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-7.0", "production": "docker", "python-fuelclient_sha": "fbe0fa49d4640d1cd5de0af9040ca0d874d5d4fa", "astute_sha": "9cbb8ae5adbe6e758b24b3c1021aac1b662344e8", "fuel-ostf_sha": "e3ad92b0e4a9301ffe0969a3bc5d6073966a27b4", "release": "7.0", "fuelmain_sha": "4778ce4a8fef3afb5ab60f4ba0faf2d1edb0796b"}

Tags: kilo
Revision history for this message
Maksym Strukov (unbelll) wrote :
Changed in fuel:
milestone: none → 7.0
assignee: nobody → Fuel Library Team (fuel-library)
importance: Undecided → High
Revision history for this message
Aleksandr Didenko (adidenko) wrote :

Assigned to MOS Deployment Team since they are working on modules upgrade for Kilo support.

tags: added: kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Anastasia Palkina (apalkina) wrote :

I think that this bug is critical because deployment with Ceilometer has failed and it is very bad.

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :

Reproduced on next environment:

Ubuntu+NeutronVLan
#43 ISO

{"build_id": "2015-07-16_04-50-59", "build_number": "43", "release_versions": {"2014.2.2-7.0": {"VERSION": {"build_id": "2015-07-16_04-50-59", "build_number": "43", "api": "1.0", "fuel-library_sha": "9796e2535307a5d9967e83cc7592c54078b11edb", "nailgun_sha": "bb362555dba04f461bb570aa414ab628e753d57c", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-7.0", "fuel-agent_sha": "ce4bfd0037f538cf929a92290fd211950e5cdf7d", "production": "docker", "python-fuelclient_sha": "fe14335efc3c800162b72d1e333e5179314e2ff4", "astute_sha": "3cc1bb6b2a7cc2b437c6c6ffc6366653b08749bf", "fuel-ostf_sha": "5b5ec07f15b1d15e452366e838c4c830010ee795", "release": "7.0", "fuelmain_sha": "533d1722016da9774fb406f86d35942e5870ed73"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "9796e2535307a5d9967e83cc7592c54078b11edb", "nailgun_sha": "bb362555dba04f461bb570aa414ab628e753d57c", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-7.0", "fuel-agent_sha": "ce4bfd0037f538cf929a92290fd211950e5cdf7d", "production": "docker", "python-fuelclient_sha": "fe14335efc3c800162b72d1e333e5179314e2ff4", "astute_sha": "3cc1bb6b2a7cc2b437c6c6ffc6366653b08749bf", "fuel-ostf_sha": "5b5ec07f15b1d15e452366e838c4c830010ee795", "release": "7.0", "fuelmain_sha": "533d1722016da9774fb406f86d35942e5870ed73"}

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/200602
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=aeb0af70ed97ff0e4c7479dfe3623b74cd380c58
Submitter: Jenkins
Branch: master

commit aeb0af70ed97ff0e4c7479dfe3623b74cd380c58
Author: iberezovskiy <email address hidden>
Date: Fri Jul 10 18:50:25 2015 +0300

    Set 'libvirt' group for ceilometer user on compute node

      Our custom libvirt-bin package (taken from Debian)
      creates 'libvirt' group instead of 'libvirtd'.
      That's why we need to redefine groups for ceilometer user.

      Closes-bug: #1473416

    Change-Id: I6b83ce1ee9429b6a747a593838896d2a5c4bc832

Changed in fuel:
status: In Progress → Fix Committed
tags: added: under verification
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on
{

    "build_id": "2015-08-05_21-24-26",
    "build_number": "139",
    "release_versions":

{

    "2015.1.0-7.0":

{

    "VERSION":

{

    "build_id": "2015-08-05_21-24-26",
    "build_number": "139",
    "api": "1.0",
    "fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac",
    "nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64",
    "feature_groups":

            [
                "mirantis"
            ],
            "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63",
            "openstack_version": "2015.1.0-7.0",
            "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50",
            "production": "docker",
            "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe",
            "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc",
            "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95",
            "release": "7.0",
            "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"
        }
    }

},
"auth_required": true,
"api": "1.0",
"fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac",
"nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64",
"feature_groups":

    [
        "mirantis"
    ],
    "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63",
    "openstack_version": "2015.1.0-7.0",
    "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50",
    "production": "docker",
    "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe",
    "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc",
    "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95",
    "release": "7.0",
    "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"

}

tags: removed: under verification
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.