Project

General

Profile

Actions

Bug #33926

closed

Provisioning via Discovery: "undefined method `puppetclass_group_with_icon'"

Added by John Joshua over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

foreman_111521.txt foreman_111521.txt 31.2 KB foreman rake result John Joshua, 11/16/2021 01:28 AM
Actions #1

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.

Actions #2

Updated by Ondřej Ezr over 2 years ago

  • Project changed from Foreman to Discovery
  • Fixed in Releases deleted (3.0.2)
Actions #3

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
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Discovery Plugin 16.0 added
Actions #5

Updated by Ondřej Ezr over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Lukas Zapletal over 2 years ago

John, can you confirm Foreman and Discovery version (and platform) you are on?

Actions #7

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)
Actions #8

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.

Actions #9

Updated by Lukas Zapletal over 2 years ago

Ok 18.0.5 is in our release pipeline, expect the release sometimes this week.

Actions #10

Updated by John Joshua over 2 years ago

Understood, thank you very much.

Actions #11

Updated by Lukas Zapletal over 2 years ago

Let me know if it does not help, the update should be out by now.

Actions #12

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.

Actions #13

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:

https://github.com/theforeman/foreman-packaging/pull/7345

Actions #14

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.

Actions #15

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.

Actions

Also available in: Atom PDF