This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml | |
| index 88337608..0a5f8aa4 100644 | |
| --- a/.rubocop_todo.yml | |
| +++ b/.rubocop_todo.yml | |
| @@ -178,3 +178,6 @@ Rails/ReadWriteAttribute: | |
| Rails/TimeZone: | |
| Exclude: | |
| - 'app/models/foreman_openscap/arf_report.rb' | |
| + | |
| +Rails/HasManyOrHasOneDependent: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed | |
| 2022-01-07 14:19:19 [ERROR ] [root] Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed | |
| Error: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-selinux' returned 1: Error: | |
| Problem: package pulpcore-selinux-1.2.7-1.1.el8pc.x86_64 requires pulpcore, but none of the providers can be installed | |
| - package python38-pulpcore-3.16.1-1.el8pc.noarch requires python38-psycopg2 >= 2.9.1, but none of the providers can be installed | |
| - conflicting requests | |
| - package python38-psycopg2-2.9.1-1.el8pc.x86_64 is filtered out by modular filtering | |
| Error: /Stage[main]/Main/Package[pulpcore-selinux]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-selinux' returned 1: Error: | |
| Problem: package pulpcore-selinux-1.2.7-1.1.el8pc.x86_64 requires pulpcore, but none of the providers can be installed | |
| - package python38-pulpcore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yum -y install satellite | |
| Complete! | |
| Updating Subscription Management repositories. | |
| Red Hat Ansible Engine 2 for RHEL 8 x86_64 (RPM 2.1 kB/s | 2.3 kB 00:01 | |
| Red Hat Enterprise Linux 8 for x86_64 - BaseOS 2.0 kB/s | 2.4 kB 00:01 | |
| Red Hat Enterprise Linux 8 for x86_64 - AppStre 2.4 kB/s | 2.8 kB 00:01 | |
| Satellite 7.0 RHEL8 2.2 kB/s | 2.5 kB 00:01 | |
| Error: | |
| Problem: package foreman-service-3.1.0-3.el8sat.noarch requires rubygem(puma) >= 5.1, but none of the providers can be installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 16:37 <mhulan> oezr: the audits API response no longer contains user_name attribute | |
| 16:37 <mhulan> oezr: rabl template lists :user_name, but if it does not find it on audit record, it just ignores it | |
| 16:38 <mhulan> this method was defined by HasManyCommon module that's included in Audit model (which comes from the audited gem) | |
| 16:38 <mhulan> recently, user_name is no longer defined on Audit instance, even though the module is included in the Audit class | |
| 16:38 <mhulan> a simple workaround is to define alias, since audited gem actually stores this in username column (without the underscore) | |
| 16:39 <mhulan> but this may have impact on anything that relied on HasManyCommon module to define $resource_name method | |
| 16:40 <mhulan> oops I liknked wrong commit, I think it's actually caused by https://github.com/theforeman/foreman/commit/47c9a48f5120cb1732a95a046335848ddbf93c43#diff-770a3485a6eafabd9855d92aca8ab0ad055aee57c44a713a10221fdb67b65cfb | |
| 16:42 <mhulan> oezr: and to reproduce, enter the new host page and see audit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| distribution = facts[:ansible_lsb].try(:[], 'id') || facts[:ansible_distribution] | |
| case | |
| when %w(RedHatEnterprise RedHatEnterpriseServer).include?(distribution) | |
| distribution = 'RedHat' | |
| when distribution == 'RedHatEnterpriseWorkstation' | |
| distribution = 'RedHat_Workstation' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2021-09-16T13:34:18 [I|app|81707e91] Rendered layouts/base.html.erb (Duration: 38.4ms | Allocations: 31757) | |
| 2021-09-16T13:34:18 [W|app|81707e91] undefined method `puppetclasses=' for #<Hostgroup:0x000000001f3f04e8> | |
| 81707e91 | Did you mean? puppetclasses | |
| 2021-09-16T13:34:18 [I|app|81707e91] Backtrace for 'undefined method `puppetclasses=' for #<Hostgroup:0x000000001f3f04e8> | |
| 81707e91 | Did you mean? puppetclasses' error (NoMethodError): undefined method `puppetclasses=' for #<Hostgroup:0x000000001f3f04e8> | |
| 81707e91 | Did you mean? puppetclasses | |
| 81707e91 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/attribute_methods.rb:432:in `method_missing' | |
| 81707e91 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/auditor.rb:99:in `method_missing' | |
| 81707e91 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_puppet-1.0.0.rc.2/app/controllers/concerns/foreman_puppet/extensions/hostgroups_controller_extensions.rb:26:in `nest' | |
| 81707e91 | /opt/theforeman/t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Foreman 3.0 is released with the new report template for Remote Execution plugin users that want to render a report for a particular job (see https://www.youtube.com/watch?t=1094&v=O-azZjKOraY for more details). The feedback for the report structure convinced us to modify it to be more user friendly. It wasn't changed in time for 3.0 release but is expected to be changed in 3.0.1, so if you plan to consume the job data through this report, please don't hardcode the structure to your scripts yet. For the actual change, please see https://github.com/theforeman/foreman/pull/8771. | |
| We'd like to ask every user to provide a feedback for what's missing on this new page for their day to day work. To set some expectations, it's still considered experimental and we'd like to clean up several rough edges in 3.0.1, so it feels as really working replacement of the old page. | |
| To enable this page, navigate to Administer -> Settings -> General and set "Show Experimental Labs" setting to Yes. Then navigate to the Hosts -> All |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| srp 10 15:54:52 sat6-10.example.com pulpcore-worker-1[973]: pulp [None]: pulpcore.tasking.entrypoint:INFO: Starting distributed type worker | |
| srp 10 15:54:52 sat6-10.example.com pulpcore-worker-2[957]: pulp [None]: pulpcore.tasking.entrypoint:INFO: Starting distributed type worker | |
| srp 10 15:54:52 sat6-10.example.com pulpcore-worker-2[957]: pulp [None]: pulpcore.tasking.worker_watcher:INFO: New worker '957@sat6-10.example.com' discovered | |
| srp 10 15:54:52 sat6-10.example.com pulpcore-worker-1[973]: pulp [None]: pulpcore.tasking.worker_watcher:INFO: New worker '973@sat6-10.example.com' discovered | |
| srp 10 15:58:29 sat6-10.example.com pulpcore-worker-1[973]: pulp [81a8ec65-591d-4661-9c4d-d697fa6bf5d8]: pulpcore.tasking.pulpcore_worker:INFO: Starting task a2df2e6c-3a8d-45d8-80d2-08ec7f98af9b | |
| srp 10 15:58:29 sat6-10.example.com pulpcore-worker-1[973]: pulp [81a8ec65-591d-4661-9c4d-d697fa6bf5d8]: pulpcore.tasking.pulpcore_worker:INFO: Task completed a2df2e6c-3a8d-45d8-80d2-08ec7f98af9b | |
| srp 10 15:58:30 sat6-10.example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% if @host.content_view %> | |
| <%= @host.content_view %> | |
| <% else %> | |
| no cv | |
| <% end %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "pulpcore": { | |
| "http_enabled": false, | |
| "https_enabled": true, | |
| "settings": { | |
| "pulp_url": "https://foreman-nuc2.example.com", | |
| "mirror": false, | |
| "content_app_url": "https://foreman-nuc2.example.com/pulp/content", | |
| "username": null, | |
| "password": null, |