Project

General

Profile

Actions

Bug #7958

closed

[Staypuft] Unknown function str2bool at /etc/puppet/environments/production/modules/quickstack/manifests/openstack_common.pp:5

Added by Ignacio Bravo over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Installing staypuft will create a str2bool_i function instead of the str2bool function required.
This will prevent a quickstart::neutron::compute from being able to be created


[root@foreman ~]# locate str2bool
/etc/puppet/environments/production/modules/quickstack/lib/puppet/parser/functions/str2bool_i.rb
/usr/share/foreman-installer/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/usr/share/foreman-installer/modules/stdlib/spec/acceptance/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/spec/functions/str2bool_spec.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool_i.rb

On a regular foreman installer these are the files available


[root@puppet ~]# locate str2bool
/etc/puppet/environments/production/modules/quickstack/lib/puppet/parser/functions/str2bool_i.rb
/etc/puppet/environments/production/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/etc/puppet/environments/production/modules/stdlib/spec/unit/puppet/parser/functions/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/usr/share/foreman-installer/modules/stdlib/spec/acceptance/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/spec/functions/str2bool_spec.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool_i.rb

Actions #1

Updated by Marek Hulán over 9 years ago

So it seems that you don't have stdlib installed among your modules but it's part of https://github.com/redhat-openstack/openstack-puppet-modules. Does reruning the staypuft-installer fix the issue? Do you see /etc/puppet/environments/production/modules/**/stdlib?

Anyway could you please copy this to BZ? This is not Foreman related and OFI tracked was closed. I'll close this ticket then.

Actions #2

Updated by Marek Hulán over 9 years ago

  • Status changed from New to Rejected

Closing since this is staypuft specific.

Actions

Also available in: Atom PDF