Problem:
Maybe I’m losing my marbles but the Content Settings tab is blank. I’m sure it had “stuff” in it before and I honestly don’t know what I could have done to cause the settings to vanish but…
Distribution and version:
CentOS Linux release 7.9.2009 (Core)
Other relevant data:
Is it in any way related to this:
|Jan 06, 02:05:51 PM|WARN|File at /var/lib/pulp/content defined in pulp_content_dir parameter doesn’t exist or is unreadable|
|—|---|—|
|Jan 06, 02:05:51 PM|WARN|File at /var/lib/mongodb defined in mongodb_dir parameter doesn’t exist or is unreadable|
No errors direct to the browser just the one above in the log file and these errors in the Browser console.
react-dom.production.min.js:187 TypeError: Cannot read property ‘find’ of undefined
at h (SettingsTableHelpers.js:122)
at t.valueToString (SettingsTableHelpers.js:105)
at SettingsTableHelpers.js:134
at Array.reduce ()
at SettingsTableHelpers.js:130
at l (SettingCellInner.js:17)
at Ra (react-dom.production.min.js:148)
at Gs (react-dom.production.min.js:245)
at Ds (react-dom.production.min.js:216)
at Ns (react-dom.production.min.js:210)
Ii @ react-dom.production.min.js:187
SettingsTableHelpers.js:122 Uncaught (in promise) TypeError: Cannot read property ‘find’ of undefined
at h (SettingsTableHelpers.js:122)
at t.valueToString (SettingsTableHelpers.js:105)
at SettingsTableHelpers.js:134
at Array.reduce ()
at SettingsTableHelpers.js:130
at l (SettingCellInner.js:17)
at Ra (react-dom.production.min.js:148)
at Gs (react-dom.production.min.js:245)
at Ds (react-dom.production.min.js:216)
at Ns (react-dom.production.min.js:210)
13[Violation] ‘setInterval’ handler took ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 235ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 232ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 235ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 257ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 250ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 262ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 230ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 230ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 225ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 204ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 232ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 202ms
bundle-6c2361a41ea623194ed2.js:1 [Violation] ‘setInterval’ handler took 275ms
[Violation] Forced reflow while executing JavaScript took 30ms
Seems like a Javascript bug, or it may also be a particular Setting you have with a funky value. As a workaround you could try the CLI; they all should be there:
I can list the settings using hammer but I’m not convinced I’m seeing them all there. Any idea how I could confirm that? I was specifically looking for confirmation that katello jobs would be run using remote exec ssh rather than katello agent.
@andyfry@jeremylenz It’s because of http proxy. If you have http proxy(Infrastructure > Http Proxies) created then this somehow affects content tab on settings page.
I think the setting you’re looking for is remote_execution_by_default:
hammer settings show --name "remote_execution_by_default"
Id: remote_execution_by_default
Name: remote_execution_by_default
Description: If set to true, use the remote execution over katello-agent for remote actions
Category: Content
Settings type: boolean
Value: false
@jpathan thanks for bringing this up! I created a couple ‘dummy’ HTTP proxies and I don’t seem to be hitting the issue. Do you have any more detailed reproduction steps?