Deploying fuel will fail with ceilometer in multi-node.

Bug #1455029 reported by Chung Chih, Hung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Chung Chih, Hung
6.0.x
Fix Committed
High
Chung Chih, Hung

Bug Description

Deploying fuel will fail with ceilometer in multi-node.

I had check this error was thrown at fuel-library/deployment/puppet/openstack/manifests/ceilometer.pp, line 129.
The variable didn't been assign any value. Therefore puppet will not find correct resource instead of try to find undef service.
The service should specify correct service name.
The error messages will show in the following.

Thu Apr 30 16:27:35 +0000 2015 Puppet (err): Could not find resource 'Service[undef]' for relationship from 'Package[ceilometer-common]' on node node-10.domain.tld
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:54:in `mk_relationship'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:18:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:18:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `evaluate_relationships'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `evaluate_relationships'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:402:in `finish'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:119:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:119:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:24:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:204: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 `run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364: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
Thu Apr 30 16:27:35 +0000 2015 Puppet (err): Could not find resource 'Service[undef]' for relationship from 'Package[ceilometer-common]' on node node-10.domain.tld
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:54:in `mk_relationship'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:18:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:18:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `evaluate_relationships'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `each'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:207:in `evaluate_relationships'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:402:in `finish'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:119:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:119:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:24:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:204: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 `run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:364: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

Changed in fuel:
assignee: nobody → Chung Chih, Hung (lyanchih)
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/183372

Changed in fuel:
status: New → In Progress
Changed in fuel:
importance: Undecided → Critical
milestone: none → 6.1
importance: Critical → High
Changed in fuel:
assignee: Chung Chih, Hung (lyanchih) → Bartlomiej Piotrowski (bpiotrowski)
Changed in fuel:
assignee: Bartlomiej Piotrowski (bpiotrowski) → Chung Chih, Hung (lyanchih)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

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

commit 3319eca19d4e85231d5386a5d754cea753b95fda
Author: Chung Chih, Hung <email address hidden>
Date: Thu May 14 22:30:44 2015 +0800

    Could not find resource Service[undef] for relationship from Package.

    Original variables were not assign any value. Therefore puppet will try
    to find Service[undef].

    Adjust those service's title to correctly parameter location at
    ceilometer's class.

    Change-Id: Ibe7c0ea1c12d2bcd7e1a062a237dccd8a3d36ef8
    Closes-Bug: #1455029

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/185350

Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Verified

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "496"
  build_id: "2015-06-02_06-16-08"
  nailgun_sha: "3830bdcb28ec050eed399fe782cc3dd5fbf31bde"
  python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
  astute_sha: "5d570ae5e03909182db8e284fbe6e4468c0a4e3e"
  fuel-library_sha: "5a2146c80186cd74021cf1a55449286c3c59a60b"
  fuel-ostf_sha: "7413186490e8d651b8837b9eee75efa53f5e230b"
  fuelmain_sha: "bcc909ffc5dd5156ba54cae348b6a07c1b607b24"

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/6.0)

Reviewed: https://review.openstack.org/185350
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=e053a9246ffd61e30d4e7db71c0bd87dd699a791
Submitter: Jenkins
Branch: stable/6.0

commit e053a9246ffd61e30d4e7db71c0bd87dd699a791
Author: Chung Chih, Hung <email address hidden>
Date: Thu May 14 22:30:44 2015 +0800

    Could not find resource Service[undef] for relationship from Package.

    Original variables were not assign any value. Therefore puppet will try
    to find Service[undef].

    Adjust those service's title to correctly parameter location at
    ceilometer's class.

    Change-Id: Ibef8410848076bc0bc7d7824b28e93efad02a231
    Closes-Bug: #1455029

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.