Bug 2232235 - Hostgroup error: Some Puppet Classes are unavailable in the selected environment
Summary: Hostgroup error: Some Puppet Classes are unavailable in the selected environment
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Puppet
Version: 6.12.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-15 20:58 UTC by Joniel Pasqualetto
Modified: 2023-08-18 00:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joniel Pasqualetto 2023-08-15 20:58:03 UTC
Description of problem:

webUI wrongly says that "Some Puppet Classes are unavailable in the selected environment" when editing hostgroup

This seems to be the same issue being discussed here: https://projects.theforeman.org/issues/34402

This is also affecting Satellite 6.12 and 6.13 (at least, didn't test others)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Enable puppet integration on Satellite
2. Import some classes to one environment
3. Edit a hostgroup, select the environment where the classes were imported and assing at least one class to the hostgroup. Save it
4. Go back to the hostgroup details and you'll see a warning on the tab "Puppet ENC"

Actual results:
Warning complaining about classes not available in selected environment


Expected results:

no errors, unless classes are ACTUALLY missing from the environment

Additional info:


Note You need to log in before you can comment on or make changes to this bug.