Bug #33926
closedProvisioning via Discovery: "undefined method `puppetclass_group_with_icon'"
Description
Hello, I am trying to provision a bare metal server via Discovery and when I click provision or customize host I get this:
Oops, we're sorry but something went wrong undefined method `puppetclass_group_with_icon' for #<#<Class:0x00005585a5d5b0d0>:0x00007f0203f9df10> Did you mean? puppetclasses_with_parameters_for
I am new to foreman and would appreciate help on this matter. I have attached the foreman rake result to help fix this. Thank you very much for your time.
Files
Updated by Lukas Zapletal over 2 years ago
- Triaged changed from No to Yes
Yeah Puppet extraction caused some regressions. We need to look on this.
Updated by Ondřej Ezr over 2 years ago
- Project changed from Foreman to Discovery
- Fixed in Releases deleted (
3.0.2)
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Ezr
- Pull request https://github.com/theforeman/foreman_discovery/pull/558 added
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Discovery Plugin 16.0 added
Updated by Ondřej Ezr over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|f8955b983961d69dd3b2e6483a9ed3356d0704c9.
Updated by Lukas Zapletal over 2 years ago
John, can you confirm Foreman and Discovery version (and platform) you are on?
Updated by Lukas Zapletal over 2 years ago
- Fixed in Releases Discovery plugin 18.0.5 added
- Fixed in Releases deleted (
Discovery Plugin 16.0)
Updated by John Joshua over 2 years ago
Lukas Zapletal wrote:
John, can you confirm Foreman and Discovery version (and platform) you are on?
Hello,
I am on Foreman version 3.0.1, foreman_discovery 18.0.4, and I am using Ubuntu 20.04.
Updated by Lukas Zapletal over 2 years ago
Ok 18.0.5 is in our release pipeline, expect the release sometimes this week.
Updated by Lukas Zapletal over 2 years ago
Let me know if it does not help, the update should be out by now.
Updated by John Joshua over 2 years ago
Hi Lukas,
I tried to do this:
wget 'https://stagingdeb.theforeman.org/pool/plugins/lzap/r/ruby-foreman-discovery/ruby-foreman-discovery_9999-18.0.5-plugins+scratchbuild+20211123162721_all.deb'
But it seems like there is no file to download. I am not sure on how to properly update the foreman_discovery plugin besides wget and dpkg -i ''. Please advise.
Updated by Lukas Zapletal over 2 years ago
If you are on Foreman 3.1 RC then version 19.0.0 is already out:
https://deb.theforeman.org/pool/plugins/3.1/r/ruby-foreman-discovery/
For 3.0 I do not see the package published yet, I have to ask a colleague:
Updated by Lukas Zapletal over 2 years ago
The package has been published already, our CDN takes ages to refresh:
https://deb.theforeman.org/pool/plugins/3.0/r/ruby-foreman-discovery/?whatevercache
If you do apt-get update it should be there already.
Updated by John Joshua over 2 years ago
I was able to get the new version via apt-get update and now provisioning works! Thank you very much for your time.