Bug #17068

Duplicate "Smart Class Parameter" entries created whenever puppet class is imported

Added by Kavita Gaikwad over 5 years ago. Updated almost 4 years ago.

Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


Bugzilla Link -

Description of problem:

- Whenever we import the puppet classes, it creates duplicate entries of the "Smart Class Parameters" in the WebUI.
If we run the hammer command to list the smart class parameter then it matches with the puppet environment count.
If we remove a puppet environment the smart class count is decreased in hammer but not on the WebUI.

How reproducible:

- Always

Steps to Reproduce:

-> Create a content view with puppet modules (with smart class parameter).

-> Go to the puppet classes page and import the puppet classes.

Actual results:

- Duplicate smart class parameter entries are created in the WebUI.

Expected results:

- No duplicate smart class parameter is expected without an association with the puppet environments / puppet classes.

Additional info:

- Duplicate entries are increasing by one whenever we import the classes (only in the WebUI, not on the hammer output).

- It is observed that only one smart class parameter is associated with the puppet class and the rest are duplicate entries (no association with puppet classes / environments).


#1 Updated by Kavita Gaikwad over 5 years ago

By mistakenly, created bug related to foreman under katello project. Created new bug under foreman.
Please check bug-id For reference - #17076

#2 Updated by Justin Sherrill over 5 years ago

  • Status changed from New to Rejected
  • Legacy Backlogs Release (now unused) set to 166

Closing this as it was reopened under foreman which actually handles the puppet class importing.

Also available in: Atom PDF