Problem:
Freshly installed Foreman 3.0 w/ tftp/discovery.
Discovered Hosts via PXE/discovery are attempted to be provisioned, when selecting “Customize Host” to configure. Get hit with the below error:
Oops, we’re sorry but something went wrong undefined method `host_puppet_environment_field’ for #<#Class:0x00007f54b9a05270:0x00007f54af7dce30>
Expected outcome:
Expected Outcome should be like 2.5 where Hosts customization can occur. and Deployment can move forward.
Foreman and Proxy versions:
Foreman version: 3.0.0
Foreman and Proxy plugin versions:
Foreman version: 3.0.0
Plugins:
foreman-tasks 5.0.0
foreman_ansible 6.4.1
foreman_discovery 16.3.5
foreman_puppet 1.0.0
foreman_remote_execution 4.7.0
Other relevant data:
3.0 is installed on Ubuntu 20.04 had no issues with foreman installation or components. rebuilt system 2 times and has same outcome.
No Logs are producing anything relevant.
I’m curious if there is a missing item I’m requiring as Puppet bits are fading out of Foreman. Puppet ENC is there… Environment is set properly I believe.
Any others experience this item?
Happy to provide more info if I can.
I can confirm, I am still working on remaining tests and then I will push a fixed discovery for 3.0 ASAP. You will have a fix this week, sorry about that.
Correction, it was only a test assertion what was failing, looks like 18.0.0 is gonna be gold.
Here is a packaging PR, from there you should be able to download a debian package if you cannot wait. I do not how to do that tho, it involves finding it on our debian staging site. Perhaps @Marek_Hulan knows?
Or just wait few days until we push an update into debian repositories.
Hi @lzap. I just wanted to say a huge thank you for all of the work you have done, and continue to do over all these years.
I’ve spent most of the last seven days (including weekends) getting Foreman working at my place of work, and though it has a huge learning curve (to which you’ve admitted), your name has been everywhere on these support requests, and I’ve learned a lot from you.
No problem, I thank to our sponsor Red Hat who allows me working full time on this project, as well as other sponsors and our great community. It is definitely not just me, this is a team work.
Discovery 18.0 is out, sort of, I am still waiting for Debian package to be merged.
The Ubuntu/Debian users are needing 1.0.3 still. Puppet plugin is still on 1.0.0.
root@foreman:/# apt install ruby-foreman-puppet
Reading package lists… Done
Building dependency tree
Reading state information… Done
ruby-foreman-puppet is already the newest version (1.0.0-1).