Staypuft deployment guide?

I'm looking for someone to point me to current documentation on how to get
Staypuft working correctly. I have installed the plugin successfully, but
when I click on New Deployment I get an error that my base_hostgroup is
missing. This took me down the rabbit hole of looking at the Staypuft dev
environment setup, but Its hard to follow (it may be out of date?). I'm
currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that
I need to import some openstack modules in puppet, but this is not laid out
in any of the documentation that I would consider current. Thanks!

Hello,

you can use staypuft-installer which will configure your staypuft during
installation. You can find the project
here https://github.com/theforeman/foreman-installer-staypuft and RPMs are
at http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need
foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps)

··· -- Marek

On Tuesday, May 13, 2014 5:56:22 PM UTC+2, lawre wrote:

I’m looking for someone to point me to current documentation on how to get
Staypuft working correctly. I have installed the plugin successfully, but
when I click on New Deployment I get an error that my base_hostgroup is
missing. This took me down the rabbit hole of looking at the Staypuft dev
environment setup, but Its hard to follow (it may be out of date?). I’m
currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that
I need to import some openstack modules in puppet, but this is not laid out
in any of the documentation that I would consider current. Thanks!

Anyone having Staypuft working on Centos 7 or 6.5 ??
What repos are you using ?

I even tried the live cd from theforeman no luck

··· On Wednesday, 14 May 2014 01:56:22 UTC+10, lawre wrote: > > I'm looking for someone to point me to current documentation on how to get > Staypuft working correctly. I have installed the plugin successfully, but > when I click on New Deployment I get an error that my base_hostgroup is > missing. This took me down the rabbit hole of looking at the Staypuft dev > environment setup, but Its hard to follow (it may be out of date?). I'm > currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that > I need to import some openstack modules in puppet, but this is not laid out > in any of the documentation that I would consider current. Thanks! >

We haven't had any success with staypuft and questions posted in their IRC
gets NO response so maybe this project is probably dead.

··· On Tuesday, May 13, 2014 at 4:56:22 PM UTC+1, lawre wrote: > > I'm looking for someone to point me to current documentation on how to get > Staypuft working correctly. I have installed the plugin successfully, but > when I click on New Deployment I get an error that my base_hostgroup is > missing. This took me down the rabbit hole of looking at the Staypuft dev > environment setup, but Its hard to follow (it may be out of date?). I'm > currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that > I need to import some openstack modules in puppet, but this is not laid out > in any of the documentation that I would consider current. Thanks! >

I have been trying to get this installer working for a while now, and I am
rather stumped. I've got a working foreman install with nothing in it on a
brand new box. I've tried this with both 0.0.12.1 and 0.0.13.2 and the
result is always the following:

[root@foreman ~]# foreman-installer
/usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:in
load': undefined methodenable' for nil:NilClass (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in
instance_exec' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:inexecute'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:ineach_pair'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:inset_parameters'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in
initialize' from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:innew'
from
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in run' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:inrun'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in
catch' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:inrun'
from /usr/sbin/foreman-installer:54

I'm fairly new at dealing with Ruby, so this may be something stupid I'm
missing. Any advice would be greatly appreciated.

Thanks,
Erik

··· On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com wrote: > > Hello, > > you can use staypuft-installer which will configure your staypuft during > installation. You can find the project here > https://github.com/theforeman/foreman-installer-staypuft and RPMs are at > http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need > foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps) > > -- > Marek > > On Tuesday, May 13, 2014 5:56:22 PM UTC+2, lawre wrote: >> >> I'm looking for someone to point me to current documentation on how to >> get Staypuft working correctly. I have installed the plugin successfully, >> but when I click on New Deployment I get an error that my base_hostgroup is >> missing. This took me down the rabbit hole of looking at the Staypuft dev >> environment setup, but Its hard to follow (it may be out of date?). I'm >> currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that >> I need to import some openstack modules in puppet, but this is not laid out >> in any of the documentation that I would consider current. Thanks! >> >

Also using the stay-puft installer & getting an error exit code 1…
according to:

/var/log/foreman-installer/foreman-installer.log

Also nothing at ERROR level output

/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:60:in `fail'

[DEBUG 2014-07-29 05:31:29 main] Loading hook
/usr/share/foreman-installer/hooks/boot/10-add_options.rb
[DEBUG 2014-07-29 05:31:29 main] Loading hook
/usr/share/foreman-installer/hooks/post/10-setup_provisioning.rb
[DEBUG 2014-07-29 05:31:29 main] Loading hook
/usr/share/foreman-installer/hooks/pre_values/10-register_staypuft_modules.rb
[DEBUG 2014-07-29 05:31:29 main] Loading hook
/usr/share/foreman-installer/hooks/pre_validations/10-gather_and_set_staypuft_values.rb
[ INFO 2014-07-29 05:31:29 main] Executing hooks in group boot
[DEBUG 2014-07-29 05:31:29 main] Hook
/usr/share/foreman-installer/hooks/boot/10-add_options.rb returned
#<Clamp::Option::Definition:0x7f947a319d70
@attribute_name="provisioning_wizard", @multivalued=nil, @type="MODE",
@switches=["–provisioning-wizard"], @default_value="interactive",
@description="Should the interactive wizard ask for provisioning
information and prepare foreman to provision machines accordingly?
Supported modes are: interactive, non-interactive, none">
[ INFO 2014-07-29 05:31:29 main] All hooks in group boot finished
[ INFO 2014-07-29 05:31:29 main] Executing hooks in group init
[ INFO 2014-07-29 05:31:29 main] All hooks in group init finished
[DEBUG 2014-07-29 05:31:29 main] Creating tmp dir within /tmp…
[ INFO 2014-07-29 05:31:29 main] Parsing default values from puppet
modules…
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/puppet/manifests/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/discovery/params.pp
[DEBUG 2014-07-29 05:31:29 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp

Did you manage to get staypuft build from the nightlies?

Thanks!

··· On Friday, July 11, 2014 2:09:02 PM UTC-7, lawre wrote: > > Thanks Marek, I just got around to trying out the staypuft-installer. I'm > getting the following error on install: > > Starting networking setup > Networking setup has finished > Preparing installation Done > Not running provisioning configuration since installation encountered > errors, exit code was 1 > Something went wrong! Check the log for ERROR-level output > The full log is at /var/log/foreman-installer/foreman-installer.log > > However, when I look through the Log files, I see no ERROR level output, > just this particulary pair of lines that means nothing to me: > > [DEBUG 2014-07-11 15:58:18 main] Automatically imported > puppet::server::service from puppet/server/service into production > [ INFO 2014-07-11 15:58:18 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:60:in `fail' > > I'm following your github instructions for installation, using foreman and > foreman-plugin nightly repos on a minimal CentOS 6.5 machine (I don't need > to add puppet repos, do I?) > > I have attached the log file and my list of RPMs and versions... let me > know where I went wrong... Thanks. > >

I haven't started with Staypuft yet (plan to later in the spring). Can
someone speak to the state of the project? Alpha/beta/release quality? This
thread indicates that the documentation is somewhat sparse. Is it stable
but undocumented, or is it undocumented because it is under intensive
development and it's not worth trying to document a moving target?

Thanks,
Bryce

··· On Sun, Mar 1, 2015 at 9:34 PM, Ivan Rodriguez wrote:

Anyone having Staypuft working on Centos 7 or 6.5 ??
What repos are you using ?

I even tried the live cd from theforeman no luck

On Wednesday, 14 May 2014 01:56:22 UTC+10, lawre wrote:

I’m looking for someone to point me to current documentation on how to
get Staypuft working correctly. I have installed the plugin successfully,
but when I click on New Deployment I get an error that my base_hostgroup is
missing. This took me down the rabbit hole of looking at the Staypuft dev
environment setup, but Its hard to follow (it may be out of date?). I’m
currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect
that I need to import some openstack modules in puppet, but this is not
laid out in any of the documentation that I would consider current. Thanks!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

First, there seems to be a series of blog posts by CaptainKVM on how to get
OpenStack up and going using StayPuft/openstack-foreman-installer.
(http://captainkvm.com/2014/12/openstack-installer-for-rhel-osp/)

Second, it seems that staypuft/openstack-foreman-installer is a stepping
stone to something better (a "converged installer") due out sometime in
June/July. As I understand it, the main feature of the new installer is
ongoing maintainence of an openstack cluster. I don't know if staypuft is
going to die off after that or what.

When I get to it later, I may be following along with that blog. The author
seems to be both knowledgable and responsive to comments.

Bryce

··· On Thursday, March 5, 2015 at 8:43:09 AM UTC-7, Chris Mall wrote: > > We haven't had any success with staypuft and questions posted in their IRC > gets NO response so maybe this project is probably dead. > > On Tuesday, May 13, 2014 at 4:56:22 PM UTC+1, lawre wrote: >> >> I'm looking for someone to point me to current documentation on how to >> get Staypuft working correctly. I have installed the plugin successfully, >> but when I click on New Deployment I get an error that my base_hostgroup is >> missing. This took me down the rabbit hole of looking at the Staypuft dev >> environment setup, but Its hard to follow (it may be out of date?). I'm >> currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect that >> I need to import some openstack modules in puppet, but this is not laid out >> in any of the documentation that I would consider current. Thanks! >> >

Hello,

First of all, you're running foreman-installer instead of staypuft-installer.
It's separate script which uses foreman-installer on background. This could be
one of causes.

The error indicates, that you're missing foreman_tasks plugin support in
installer. So second cause may be that you have too old foreman-installer.
Could you please describe steps you do to install in such case?

··· -- Marek

On Sunday 25 of May 2014 21:10:12 emccormick@cirrusseven.com wrote:

I have been trying to get this installer working for a while now, and I am
rather stumped. I’ve got a working foreman install with nothing in it on a
brand new box. I’ve tried this with both 0.0.12.1 and 0.0.13.2 and the
result is always the following:

[root@foreman ~]# foreman-installer
/usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:in
load': undefined methodenable’ for nil:NilClass (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in
instance_exec' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:inexecute’
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:ineach_pair’
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:inset_parameters’
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in
initialize' from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:innew’
from
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in run' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:inrun’
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in
catch' from /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:inrun’
from /usr/sbin/foreman-installer:54

I’m fairly new at dealing with Ruby, so this may be something stupid I’m
missing. Any advice would be greatly appreciated.

Thanks,
Erik

On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com wrote:

Hello,

you can use staypuft-installer which will configure your staypuft during
installation. You can find the project here
https://github.com/theforeman/foreman-installer-staypuft and RPMs are at
http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need
foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps)


Marek

On Tuesday, May 13, 2014 5:56:22 PM UTC+2, lawre wrote:

I’m looking for someone to point me to current documentation on how to
get Staypuft working correctly. I have installed the plugin
successfully,
but when I click on New Deployment I get an error that my base_hostgroup
is
missing. This took me down the rabbit hole of looking at the Staypuft
dev
environment setup, but Its hard to follow (it may be out of date?). I’m
currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect
that
I need to import some openstack modules in puppet, but this is not laid
out
in any of the documentation that I would consider current. Thanks!


Marek

Hi, I believe the error is explicitly described as:

[ INFO 2014-07-11 15:58:18 main] Must pass ssh_public_key to
Class[Foreman::Plugin::Staypuft] at
/usr/share/foreman-installer/modules/foreman/manifests/plugin/staypuft.pp:48
on node foreman.iaas.devops.dell.com

Meaning you may have possible forgot to create your public key and set it
in the configuration wizard menu.

I actually had tried running staypuft-installer first and it did complain
about that tasks.pp missing. I'm using the latest 1.5 foreman installer. I
ended up running that first as the doc on the staypuft github said to run
that. I wasn't really sure which way it was supposed to go.

[root@foreman cloud-user]# rpm -qa | grep foreman-installer
foreman-installer-1.5.0-1.el6.noarch

Using the 0.0.12.1 staypuft-installer

Using the 0.0.13.2 staypuft-installer I'm missing a number of ruby gems. I
think the issue here is that it's using the ruby193 in /opt/rh and the
system ruby is 1.8.7. this is on a CentOS 6.5 system. I am missing highline
and kafo out of this tree. I was able to find a ruby193-highline RPM ins
some random repository, but cannot locate a ruby193-kafo.

Using 0.0.12.1 I get the missing tasks plugin problem:

File not found
/usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks.pp,
check you answer file

I installed the following hoping it would resolve the issue:

ruby193-rubygem-foreman-tasks-0.5.3-1.el6.noarch

But still the error persists. Guessing this plugin differs from an
installer-specific plugin?

As to my foreman setup itself, here's the command I used to install it
initially. Perhaps something in here is conflicting with what I need for
Staypuft to work:

foreman-installer -v
–enable-foreman-compute-openstack
–enable-foreman-plugin-discovery
–foreman-foreman-url "https://foreman.dev.cirrusseven.com"
–foreman-server-ssl-cert
"/var/lib/puppet/ssl/certs/foreman.dev.cirrusseven.com.pem"
–foreman-server-ssl-key
"/var/lib/puppet/ssl/private_keys/foreman.dev.cirrusseven.com.pem"
–foreman-proxy-dhcp true
–foreman-proxy-dhcp-interface "eth1"
–foreman-proxy-dhcp-gateway "10.250.6.1"
–foreman-proxy-dns true
–foreman-proxy-dns-interface "eth1"
–foreman-proxy-dns-reverse "6.250.10.in-addr.arpa"

Thanks for your help!

Cheers,
Erik

··· On Monday, May 26, 2014 8:14:34 AM UTC-4, Marek Hulan wrote: > > Hello, > > First of all, you're running foreman-installer instead of > staypuft-installer. > It's separate script which uses foreman-installer on background. This > could be > one of causes. > > The error indicates, that you're missing foreman_tasks plugin support in > installer. So second cause may be that you have too old foreman-installer. > Could you please describe steps you do to install in such case? > > -- > Marek > > On Sunday 25 of May 2014 21:10:12 emcco...@cirrusseven.com wrote: > > I have been trying to get this installer working for a while now, and I > am > > rather stumped. I've got a working foreman install with nothing in it on > a > > brand new box. I've tried this with both 0.0.12.1 and 0.0.13.2 and the > > result is always the following: > > > > [root@foreman ~]# foreman-installer > > > /usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:in > > `load': undefined method `enable' for nil:NilClass (NoMethodError) > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in > > `instance_exec' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in > > `execute' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in > `execute' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in > `each_pair' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in > `execute' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:in > > `set_parameters' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in > > `initialize' > > from > > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in > `new' > > from > > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in > `run' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:in > > `run' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in > > `catch' > > from > > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in > > `run' > > from /usr/sbin/foreman-installer:54 > > > > I'm fairly new at dealing with Ruby, so this may be something stupid I'm > > missing. Any advice would be greatly appreciated. > > > > Thanks, > > Erik > > > > On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com wrote: > > > Hello, > > > > > > you can use staypuft-installer which will configure your staypuft > during > > > installation. You can find the project here > > > https://github.com/theforeman/foreman-installer-staypuft and RPMs are > at > > > http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need > > > foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps) > > > > > > -- > > > Marek > > > > > > On Tuesday, May 13, 2014 5:56:22 PM UTC+2, lawre wrote: > > >> I'm looking for someone to point me to current documentation on how > to > > >> get Staypuft working correctly. I have installed the plugin > > >> successfully, > > >> but when I click on New Deployment I get an error that my > base_hostgroup > > >> is > > >> missing. This took me down the rabbit hole of looking at the > Staypuft > > >> dev > > >> environment setup, but Its hard to follow (it may be out of date?). > I'm > > >> currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I suspect > > >> that > > >> I need to import some openstack modules in puppet, but this is not > laid > > >> out > > >> in any of the documentation that I would consider current. Thanks! > > -- > Marek >

As a quick followup to this: I only see the tasks module as part of the 1.6
development version installer. Was this built against 1.6? Do I need to be
running 1.6 to get this working?

http://koji.katello.org/koji/rpminfo?fileStart=800&rpmID=60340&fileOrder=name&buildrootOrder=-id&buildrootStart=0

··· On Tuesday, May 27, 2014 10:13:20 AM UTC-4, emcco...@cirrusseven.com wrote: > > I actually had tried running staypuft-installer first and it did complain > about that tasks.pp missing. I'm using the latest 1.5 foreman installer. I > ended up running that first as the doc on the staypuft github said to run > that. I wasn't really sure which way it was supposed to go. > > [root@foreman cloud-user]# rpm -qa | grep foreman-installer > foreman-installer-1.5.0-1.el6.noarch > > Using the 0.0.12.1 staypuft-installer > > Using the 0.0.13.2 staypuft-installer I'm missing a number of ruby gems. I > think the issue here is that it's using the ruby193 in /opt/rh and the > system ruby is 1.8.7. this is on a CentOS 6.5 system. I am missing highline > and kafo out of this tree. I was able to find a ruby193-highline RPM ins > some random repository, but cannot locate a ruby193-kafo. > > Using 0.0.12.1 I get the missing tasks plugin problem: > > File not found > /usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks.pp, > check you answer file > > I installed the following hoping it would resolve the issue: > > ruby193-rubygem-foreman-tasks-0.5.3-1.el6.noarch > > But still the error persists. Guessing this plugin differs from an > installer-specific plugin? > > As to my foreman setup itself, here's the command I used to install it > initially. Perhaps something in here is conflicting with what I need for > Staypuft to work: > > foreman-installer -v \ > --enable-foreman-compute-openstack \ > --enable-foreman-plugin-discovery \ > --foreman-foreman-url "https://foreman.dev.cirrusseven.com" \ > --foreman-server-ssl-cert > "/var/lib/puppet/ssl/certs/foreman.dev.cirrusseven.com.pem" \ > --foreman-server-ssl-key > "/var/lib/puppet/ssl/private_keys/foreman.dev.cirrusseven.com.pem" \ > --foreman-proxy-dhcp true \ > --foreman-proxy-dhcp-interface "eth1" \ > --foreman-proxy-dhcp-gateway "10.250.6.1" \ > --foreman-proxy-dns true \ > --foreman-proxy-dns-interface "eth1" \ > --foreman-proxy-dns-reverse "6.250.10.in-addr.arpa" > > Thanks for your help! > > Cheers, > Erik > > On Monday, May 26, 2014 8:14:34 AM UTC-4, Marek Hulan wrote: >> >> Hello, >> >> First of all, you're running foreman-installer instead of >> staypuft-installer. >> It's separate script which uses foreman-installer on background. This >> could be >> one of causes. >> >> The error indicates, that you're missing foreman_tasks plugin support in >> installer. So second cause may be that you have too old >> foreman-installer. >> Could you please describe steps you do to install in such case? >> >> -- >> Marek >> >> On Sunday 25 of May 2014 21:10:12 emcco...@cirrusseven.com wrote: >> > I have been trying to get this installer working for a while now, and I >> am >> > rather stumped. I've got a working foreman install with nothing in it >> on a >> > brand new box. I've tried this with both 0.0.12.1 and 0.0.13.2 and the >> > result is always the following: >> > >> > [root@foreman ~]# foreman-installer >> > >> /usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:in >> > `load': undefined method `enable' for nil:NilClass (NoMethodError) >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in >> > `instance_exec' >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in >> > `execute' >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in >> `execute' >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in >> `each_pair' >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in >> `execute' >> > from >> > >> /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:in >> > `set_parameters' >> > from >> > /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in >> > `initialize' >> > from >> > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in >> `new' >> > from >> > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in >> `run' >> > from >> > >> /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:in >> > `run' >> > from >> > >> /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in >> > `catch' >> > from >> > >> /usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in >> > `run' >> > from /usr/sbin/foreman-installer:54 >> > >> > I'm fairly new at dealing with Ruby, so this may be something stupid >> I'm >> > missing. Any advice would be greatly appreciated. >> > >> > Thanks, >> > Erik >> > >> > On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com wrote: >> > > Hello, >> > > >> > > you can use staypuft-installer which will configure your staypuft >> during >> > > installation. You can find the project here >> > > https://github.com/theforeman/foreman-installer-staypuft and RPMs >> are at >> > > http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need >> > > foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps) >> > > >> > > -- >> > > Marek >> > > >> > > On Tuesday, May 13, 2014 5:56:22 PM UTC+2, lawre wrote: >> > >> I'm looking for someone to point me to current documentation on how >> to >> > >> get Staypuft working correctly. I have installed the plugin >> > >> successfully, >> > >> but when I click on New Deployment I get an error that my >> base_hostgroup >> > >> is >> > >> missing. This took me down the rabbit hole of looking at the >> Staypuft >> > >> dev >> > >> environment setup, but Its hard to follow (it may be out of date?). >> I'm >> > >> currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I >> suspect >> > >> that >> > >> I need to import some openstack modules in puppet, but this is not >> laid >> > >> out >> > >> in any of the documentation that I would consider current. Thanks! >> >> -- >> Marek >> >

Hello,

sorry for late answer, that was something I wanted to suggest. Staypuft-
installer requires foreman-installer post 1.5, actually I was curious how did
you install staypuft (which is in nightly repos only) and foreman-installer
1.5? Do you have both nightly and 1.5 repos?

··· -- Marek

On Wednesday 28 of May 2014 10:14:49 emccormick@cirrusseven.com wrote:

As a quick followup to this: I only see the tasks module as part of the 1.6
development version installer. Was this built against 1.6? Do I need to be
running 1.6 to get this working?

http://koji.katello.org/koji/rpminfo?fileStart=800&rpmID=60340&fileOrder=nam
e&buildrootOrder=-id&buildrootStart=0
On Tuesday, May 27, 2014 10:13:20 AM UTC-4, emcco...@cirrusseven.com wrote:

I actually had tried running staypuft-installer first and it did complain
about that tasks.pp missing. I’m using the latest 1.5 foreman installer. I
ended up running that first as the doc on the staypuft github said to run
that. I wasn’t really sure which way it was supposed to go.

[root@foreman cloud-user]# rpm -qa | grep foreman-installer
foreman-installer-1.5.0-1.el6.noarch

Using the 0.0.12.1 staypuft-installer

Using the 0.0.13.2 staypuft-installer I’m missing a number of ruby gems. I
think the issue here is that it’s using the ruby193 in /opt/rh and the
system ruby is 1.8.7. this is on a CentOS 6.5 system. I am missing
highline
and kafo out of this tree. I was able to find a ruby193-highline RPM ins
some random repository, but cannot locate a ruby193-kafo.

Using 0.0.12.1 I get the missing tasks plugin problem:

File not found
/usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks.pp,
check you answer file

I installed the following hoping it would resolve the issue:

ruby193-rubygem-foreman-tasks-0.5.3-1.el6.noarch

But still the error persists. Guessing this plugin differs from an
installer-specific plugin?

As to my foreman setup itself, here’s the command I used to install it
initially. Perhaps something in here is conflicting with what I need for
Staypuft to work:

foreman-installer -v
–enable-foreman-compute-openstack
–enable-foreman-plugin-discovery
–foreman-foreman-url “https://foreman.dev.cirrusseven.com
–foreman-server-ssl-cert
"/var/lib/puppet/ssl/certs/foreman.dev.cirrusseven.com.pem"
–foreman-server-ssl-key
"/var/lib/puppet/ssl/private_keys/foreman.dev.cirrusseven.com.pem"
–foreman-proxy-dhcp true
–foreman-proxy-dhcp-interface “eth1”
–foreman-proxy-dhcp-gateway “10.250.6.1”
–foreman-proxy-dns true
–foreman-proxy-dns-interface “eth1”
–foreman-proxy-dns-reverse “6.250.10.in-addr.arpa”

Thanks for your help!

Cheers,
Erik

On Monday, May 26, 2014 8:14:34 AM UTC-4, Marek Hulan wrote:

Hello,

First of all, you’re running foreman-installer instead of
staypuft-installer.
It’s separate script which uses foreman-installer on background. This
could be
one of causes.

The error indicates, that you’re missing foreman_tasks plugin support in
installer. So second cause may be that you have too old
foreman-installer.
Could you please describe steps you do to install in such case?

On Sunday 25 of May 2014 21:10:12 emcco...@cirrusseven.com wrote:

I have been trying to get this installer working for a while now, and I

am

rather stumped. I’ve got a working foreman install with nothing in it

on a

brand new box. I’ve tried this with both 0.0.12.1 and 0.0.13.2 and the
result is always the following:

[root@foreman ~]# foreman-installer

/usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:
in

load': undefined methodenable’ for nil:NilClass (NoMethodError)

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in
`instance_exec’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in
`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in

`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in

`each_pair’

from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in

`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:in

`set_parameters’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in
`initialize’

    from

/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in

`new’

    from

/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in

`run’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:in

`run’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in

`catch’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in

`run’

    from /usr/sbin/foreman-installer:54

I’m fairly new at dealing with Ruby, so this may be something stupid

I’m

missing. Any advice would be greatly appreciated.

Thanks,
Erik

On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com wrote:

Hello,

you can use staypuft-installer which will configure your staypuft

during

installation. You can find the project here
https://github.com/theforeman/foreman-installer-staypuft and RPMs

are at

http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need
foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps)

I’m looking for someone to point me to current documentation on how

to

get Staypuft working correctly. I have installed the plugin
successfully,
but when I click on New Deployment I get an error that my

base_hostgroup

is
missing. This took me down the rabbit hole of looking at the

Staypuft

dev
environment setup, but Its hard to follow (it may be out of date?).

I’m

currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I

suspect

that
I need to import some openstack modules in puppet, but this is not

laid

out
in any of the documentation that I would consider current. Thanks!


Marek

I just fetched the staypuft installer directly out of the nightly repo via
http and the foreman installer via the repo added to my system. I didn't
realize using something from nightly meant that it would be dependent on a
later version. I'll get everything sorted out and give it a go. Thanks for
your help.

-Erik

··· On Thu, May 29, 2014 at 3:20 AM, Marek Hulan wrote:

Hello,

sorry for late answer, that was something I wanted to suggest. Staypuft-
installer requires foreman-installer post 1.5, actually I was curious how
did
you install staypuft (which is in nightly repos only) and foreman-installer
1.5? Do you have both nightly and 1.5 repos?


Marek

On Wednesday 28 of May 2014 10:14:49 emccormick@cirrusseven.com wrote:

As a quick followup to this: I only see the tasks module as part of the
1.6
development version installer. Was this built against 1.6? Do I need to
be
running 1.6 to get this working?

http://koji.katello.org/koji/rpminfo?fileStart=800&rpmID=60340&fileOrder=nam

e&buildrootOrder=-id&buildrootStart=0
On Tuesday, May 27, 2014 10:13:20 AM UTC-4, emcco...@cirrusseven.com > wrote:

I actually had tried running staypuft-installer first and it did
complain

about that tasks.pp missing. I’m using the latest 1.5 foreman
installer. I

ended up running that first as the doc on the staypuft github said to
run

that. I wasn’t really sure which way it was supposed to go.

[root@foreman cloud-user]# rpm -qa | grep foreman-installer
foreman-installer-1.5.0-1.el6.noarch

Using the 0.0.12.1 staypuft-installer

Using the 0.0.13.2 staypuft-installer I’m missing a number of ruby
gems. I

think the issue here is that it’s using the ruby193 in /opt/rh and the
system ruby is 1.8.7. this is on a CentOS 6.5 system. I am missing
highline
and kafo out of this tree. I was able to find a ruby193-highline RPM
ins

some random repository, but cannot locate a ruby193-kafo.

Using 0.0.12.1 I get the missing tasks plugin problem:

File not found
/usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks.pp,
check you answer file

I installed the following hoping it would resolve the issue:

ruby193-rubygem-foreman-tasks-0.5.3-1.el6.noarch

But still the error persists. Guessing this plugin differs from an
installer-specific plugin?

As to my foreman setup itself, here’s the command I used to install it
initially. Perhaps something in here is conflicting with what I need
for

Staypuft to work:

foreman-installer -v
–enable-foreman-compute-openstack
–enable-foreman-plugin-discovery
–foreman-foreman-url “https://foreman.dev.cirrusseven.com
–foreman-server-ssl-cert
"/var/lib/puppet/ssl/certs/foreman.dev.cirrusseven.com.pem"
–foreman-server-ssl-key
"/var/lib/puppet/ssl/private_keys/foreman.dev.cirrusseven.com.pem"
–foreman-proxy-dhcp true
–foreman-proxy-dhcp-interface “eth1”
–foreman-proxy-dhcp-gateway “10.250.6.1”
–foreman-proxy-dns true
–foreman-proxy-dns-interface “eth1”
–foreman-proxy-dns-reverse “6.250.10.in-addr.arpa”

Thanks for your help!

Cheers,
Erik

On Monday, May 26, 2014 8:14:34 AM UTC-4, Marek Hulan wrote:

Hello,

First of all, you’re running foreman-installer instead of
staypuft-installer.
It’s separate script which uses foreman-installer on background. This
could be
one of causes.

The error indicates, that you’re missing foreman_tasks plugin support
in

installer. So second cause may be that you have too old
foreman-installer.
Could you please describe steps you do to install in such case?

On Sunday 25 of May 2014 21:10:12 emcco...@cirrusseven.com wrote:

I have been trying to get this installer working for a while now,
and I

am

rather stumped. I’ve got a working foreman install with nothing in
it

on a

brand new box. I’ve tried this with both 0.0.12.1 and 0.0.13.2 and
the

result is always the following:

[root@foreman ~]# foreman-installer

/usr/share/foreman-installer/hooks/pre_values/10-gather_information.rb:8:

in

load': undefined methodenable’ for nil:NilClass (NoMethodError)

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in

`instance_exec’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hook_context.rb:13:in

`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:47:in

`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in

`each_pair’

from
/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/hooking.rb:46:in

`execute’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:230:in

`set_parameters’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:67:in

`initialize’

    from

/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in

`new’

    from

/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in

`run’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:117:in

`run’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in

`catch’

    from

/usr/lib/ruby/gems/1.8/gems/kafo-0.5.4/lib/kafo/kafo_configure.rb:116:in

`run’

    from /usr/sbin/foreman-installer:54

I’m fairly new at dealing with Ruby, so this may be something stupid

I’m

missing. Any advice would be greatly appreciated.

Thanks,
Erik

On Wednesday, May 14, 2014 10:22:48 AM UTC-4, mhu...@redhat.com > wrote:

Hello,

you can use staypuft-installer which will configure your staypuft

during

installation. You can find the project here
https://github.com/theforeman/foreman-installer-staypuft and RPMs

are at

http://yum.theforeman.org/plugins/nightly/el6/x86_64/ (you need
foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm and its deps)

I’m looking for someone to point me to current documentation on
how

to

get Staypuft working correctly. I have installed the plugin
successfully,
but when I click on New Deployment I get an error that my

base_hostgroup

is
missing. This took me down the rabbit hole of looking at the

Staypuft

dev
environment setup, but Its hard to follow (it may be out of
date?).

I’m

currently on ruby193-rubygem-staypuft-0.0.12-1.el6.noarch. I

suspect

that
I need to import some openstack modules in puppet, but this is
not

laid

out
in any of the documentation that I would consider current.
Thanks!


Marek


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/JdZXYcX6-c0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.