[staypuft] Failing to create a new deployment: Operation FAILED: missing Operatingsystem

In a newly installed CentOS 6 machine, added the image linux to allow for
booting and discovery.

When trying to create a new deployment, it fails with an error that missing
Operatingsystem

Here is the copy from the log at /var/log/foreman/production.log

Started GET "/deployments/new" for 192.168.2.3 at 2014-08-20 23:43:16 -0400
Processing by Staypuft::DeploymentsController#new as HTML
Operation FAILED: missing Operatingsystem
Rendered common/500.html.erb within staypuft/layouts/staypuft (4.6ms)
Rendered layouts/base.html.erb (1.3ms)
Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/staypuft-0.1.20/app/views/staypuft/layouts/application.html.erb
(1.7ms)
Completed 500 Internal Server Error in 98ms (Views: 8.9ms | ActiveRecord:
14.7ms)

I have the OS defined in the Host Group as CentOS and the OS is pointing to
a Centos mirror. Ideas?

IB

Hello,

did you use staypuft-installer? It's not that easy to configure staypuft
manually, there are a lot of objects that must exist. Staypuft installer is
basically a foreman installer with few hooks that will prepare you foreman
installation for staypuft. You can find the installer here [1], RPMs are in
foreman plugins repositories.

[1] GitHub - theforeman/foreman-installer-staypuft: Foreman installer plugin that helps with staypuft Foreman plugin installation

··· -- Marek

On Wednesday 20 of August 2014 20:47:23 Ignacio Bravo wrote:

In a newly installed CentOS 6 machine, added the image linux to allow for
booting and discovery.

When trying to create a new deployment, it fails with an error that missing
Operatingsystem

Here is the copy from the log at /var/log/foreman/production.log

Started GET “/deployments/new” for 192.168.2.3 at 2014-08-20 23:43:16 -0400
Processing by Staypuft::DeploymentsController#new as HTML
Operation FAILED: missing Operatingsystem
Rendered common/500.html.erb within staypuft/layouts/staypuft (4.6ms)
Rendered layouts/base.html.erb (1.3ms)
Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/staypuft-0.1.20/app/views/staypuft/
layouts/application.html.erb (1.7ms)
Completed 500 Internal Server Error in 98ms (Views: 8.9ms | ActiveRecord:
14.7ms)

I have the OS defined in the Host Group as CentOS and the OS is pointing to
a Centos mirror. Ideas?

IB

Hi, Bravo.

Also you can look at my topic with same problem

··· On Thursday, August 21, 2014 9:32:04 AM UTC+3, Marek Hulan wrote: > > Hello, > > did you use staypuft-installer? It's not that easy to configure staypuft > manually, there are a lot of objects that must exist. Staypuft installer > is > basically a foreman installer with few hooks that will prepare you foreman > installation for staypuft. You can find the installer here [1], RPMs are > in > foreman plugins repositories. > > [1] https://github.com/theforeman/foreman-installer-staypuft > > -- > Marek > > On Wednesday 20 of August 2014 20:47:23 Ignacio Bravo wrote: > > In a newly installed CentOS 6 machine, added the image linux to allow > for > > booting and discovery. > > > > When trying to create a new deployment, it fails with an error that > missing > > Operatingsystem > > > > Here is the copy from the log at /var/log/foreman/production.log > > > > Started GET "/deployments/new" for 192.168.2.3 at 2014-08-20 23:43:16 > -0400 > > Processing by Staypuft::DeploymentsController#new as HTML > > Operation FAILED: missing Operatingsystem > > Rendered common/500.html.erb within staypuft/layouts/staypuft (4.6ms) > > Rendered layouts/base.html.erb (1.3ms) > > Rendered > > > /opt/rh/ruby193/root/usr/share/gems/gems/staypuft-0.1.20/app/views/staypuft/ > > > layouts/application.html.erb (1.7ms) > > Completed 500 Internal Server Error in 98ms (Views: 8.9ms | > ActiveRecord: > > 14.7ms) > > > > > > I have the OS defined in the Host Group as CentOS and the OS is pointing > to > > a Centos mirror. Ideas? > > > > IB > > >