Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2165952 - Warning: Setting puppet_<variable> has no definition, please define it before using
Summary: Warning: Setting puppet_<variable> has no definition, please define it before...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Dashboard
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.13.0
Assignee: Adam Ruzicka
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-31 15:01 UTC by Lukáš Hellebrandt
Modified: 2023-05-03 13:25 UTC (History)
2 users (show)

Fixed In Version: foreman-3.5.1.7-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:24:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36107 0 Normal Assigned Take possibilty of report origin related settings not being there 2023-02-15 14:17:39 UTC
Red Hat Issue Tracker SAT-15623 0 None None None 2023-02-02 15:26:52 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:25:00 UTC

Description Lukáš Hellebrandt 2023-01-31 15:01:07 UTC
Description of problem:
When displaying dashboard in WebUI, I get the following warnings in the production.log, however I haven't noticed anything broken:

```
2023-01-31T09:14:31 [I|app|4e163ef2] Started GET "/widgets/77" for <IP> at 2023-01-31 09:14:31 -0500
2023-01-31T09:14:32 [I|app|4e163ef2] Processing by DashboardController#show as HTML
2023-01-31T09:14:32 [I|app|4e163ef2]   Parameters: {"id"=>"77"}
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_interval has no definition, please define it before using
2023-01-31T09:14:32 [W|app|4e163ef2] Setting puppet_out_of_sync_disabled has no definition, please define it before using
2023-01-31T09:14:32 [I|app|4e163ef2] Completed 200 OK in 390ms (Views: 161.2ms | ActiveRecord: 58.2ms | Allocations: 56679)
```

Version-Release number of selected component (if applicable):
Sat 6.13 snap 7.0 and NOT 6.12.0 => Regression

How reproducible:
Deterministic

Steps to Reproduce:
1. Login to Satellite's WebUI and watch production.log when accessing dashboard

Actual results:
Warnings in log

Expected results:
No warnings in log

Comment 2 Lukáš Hellebrandt 2023-02-28 14:46:07 UTC
Verified with Sat 6.13.0 snap 12.0

Accessing dashboard now doesn't produce the above warnings and everything seems to work.

Comment 5 errata-xmlrpc 2023-05-03 13:24:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2097


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