Parameter ensure failed on Nova_service

Bug #1599485 reported by Michael Polenchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Michael Polenchuk

Bug Description

Description of the environment:
 10.0 (build #446)

Steps to reproduce:
 - setup cluster
 - remove any node with nova service(s)

Actual result:
 2016-07-06 11:28:46 +0000 Scope(Class[Osnailyfacter::Astute::Purge_service_entries]) (notice): MODULAR: astute/purge_service_entries.pp
2016-07-06 11:28:46 +0000 Puppet (notice): Compiled catalog for node-1.test.domain.local in environment production in 0.16 seconds
2016-07-06 11:28:46 +0000 Puppet (err): Parameter ensure failed on Nova_service[node-3.test.domain.local]: Invalid value "purged". Valid values are present, absent.
/usr/lib/ruby/vendor_ruby/puppet/parameter/value_collection.rb:189:in `validate'
/usr/lib/ruby/vendor_ruby/puppet/parameter.rb:452:in `unsafe_validate'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:591:in `unsafe_validate'
/usr/lib/ruby/vendor_ruby/puppet/parameter.rb:465:in `validate'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:563:in `block in should='
/usr/lib/ruby/vendor_ruby/puppet/property.rb:563:in `each'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:563:in `should='
/usr/lib/ruby/vendor_ruby/puppet/property.rb:615:in `value='
/usr/lib/ruby/vendor_ruby/puppet/type.rb:654:in `[]='
/usr/lib/ruby/vendor_ruby/puppet/type.rb:2272:in `block in set_parameters'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:2266:in `each'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:2266:in `set_parameters'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:2222:in `initialize'
/usr/lib/ruby/vendor_ruby/puppet/resource.rb:349:in `new'
/usr/lib/ruby/vendor_ruby/puppet/resource.rb:349:in `to_ral'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:520:in `block in to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:512:in `each'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:512:in `to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:404:in `to_ral'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:225:in `block in main'
/usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/lib/ruby/vendor_ruby/puppet.rb:246:in `override'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
/usr/bin/puppet:8:in `<main>'

Reproducibility:
 Always

Impact:
 LCM scenario with node removal

Tags: area-library
Changed in fuel:
milestone: none → 10.0
Changed in fuel:
assignee: nobody → Michael Polenchuk (mpolenchuk)
status: New → In Progress
Changed in fuel:
importance: Undecided → Medium
status: In Progress → Confirmed
tags: added: area-library
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

Related commit goes to the openstack/puppet-nova module:
https://review.openstack.org/338759

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

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

commit bf6f8c583c929cbcd6cba19b2d7a5f6c2dfbec2c
Author: Michael Polenchuk <email address hidden>
Date: Wed Jul 6 14:42:28 2016 +0300

    Mend nova_service ensure value

    Set ensure param of nova_service resource
    to valid 'absent' value.

    Change-Id: I06c649211f43811d203f0f1a02db67d3e41413d8
    Closes-Bug: #1599485

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.