Project

General

Profile

Actions

Bug #17076

closed

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

Added by Kavita Gaikwad over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Bugzilla Link - https://bugzilla.redhat.com/show_bug.cgi?id=1384017

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).

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3999 added
Actions #2

Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to Rejected

PR was closed, the old parameters exist to prevent losing history.

Actions

Also available in: Atom PDF