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 2214578 - Can't add hostgroup to new host
Summary: Can't add hostgroup to new host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.14.0
Assignee: Jeremy Lenz
QA Contact: Lucy Fu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-13 13:13 UTC by Jeremy Lenz
Modified: 2023-11-08 14:19 UTC (History)
2 users (show)

Fixed In Version: rubygem-katello-4.9.0.1-1,rubygem-katello-4.9.0.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:19:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36462 0 Normal Ready For Testing Can't add hostgroup to new host 2023-06-15 14:23:03 UTC
Red Hat Issue Tracker SAT-18356 0 None None None 2023-06-13 13:17:05 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:19:59 UTC

Description Jeremy Lenz 2023-06-13 13:13:44 UTC
A new host was created by running 'puppet agent -t'.  I don't want to do content management on this host because it's a one-off OS (Amazon Linux 2) and not worth setting up the repositories for it.
When I edit the new host and attempt to assign a host group I get the error "Oops, we're sorry but something went wrong undefined method `assign_single_environment' for nil:NilClass" (see attachment)

Here's the error log:
Foreman version: 3.6.1
Plugins: 
 - foreman-tasks 7.2.1
 - foreman_puppet 5.1.2
 - foreman_remote_execution 9.1.0
 - katello 4.8.1

2023-06-01T11:04:06 [I|app|0063a2c8] Started PATCH "/hosts/30" for 10.170.55.100 at 2023-06-01 11:04:06 -0700
2023-06-01T11:04:06 [I|app|0063a2c8] Processing by HostsController#update as */*
2023-06-01T11:04:06 [I|app|0063a2c8]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"88J4p4ICkVFmxoMda8nUnLSNQ+DPaoIym+bCNIIu3vNZ5UOJGPmevp63VcWmpvh7VZ731VJW6sX6NtQ3NKHjdA==", "host"=>{"name"=>"devamzn2.fsautomation.com", "hostgroup_id"=>"4", "content_facet_attributes"=>{"lifecycle_environment_id"=>"1", "content_view_id"=>"4", "content_source_id"=>"1"}, "puppet_attributes"=>{"environment_id"=>"1"}, "puppet_proxy_id"=>"1", "puppet_ca_proxy_id"=>"1", "config_group_ids"=>[""], "puppetclass_ids"=>[""], "managed"=>"false", "progress_report_id"=>"[FILTERED]", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"00:0c:29:39:3d:7e", "identifier"=>"eth0", "name"=>"devamzn2", "domain_id"=>"1", "ip"=>"192.168.54.118", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "tag"=>"", "attached_to"=>"", "id"=>"32"}}, "is_owned_by"=>"5-Users", "enabled"=>"1", "model_id"=>"2", "comment"=>"", "overwrite"=>"false"}, "id"=>"30"}
2023-06-01T11:04:06 [I|app|0063a2c8] set_up_content_view_environment: cv_id=4, env_id=1
2023-06-01T11:04:06 [W|app|0063a2c8] undefined method `assign_single_environment' for nil:NilClass
2023-06-01T11:04:06 [I|app|0063a2c8] Backtrace for 'undefined method `assign_single_environment' for nil:NilClass' error (NoMethodError): undefined method `assign_single_environment' for nil:NilClass
 0063a2c8 | /usr/share/gems/gems/katello-4.8.1/app/controllers/katello/concerns/content_facet_hosts_controller_extensions.rb:14:in `set_up_content_view_environment'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:427:in `block in make_lambda'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:179:in `block (2 levels) in halting_and_conditional'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:180:in `block in halting_and_conditional'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `block in invoke_before'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `each'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `invoke_before'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:115:in `block in run_callbacks'
 0063a2c8 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 0063a2c8 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 0063a2c8 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 0063a2c8 | /usr/share/gems/gems/audited-5.3.1/lib/audited/sweeper.rb:16:in `around'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 0063a2c8 | /usr/share/gems/gems/audited-5.3.1/lib/audited/sweeper.rb:16:in `around'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:137:in `run_callbacks'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rescue.rb:22:in `process_action'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `block in instrument'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `instrument'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 0063a2c8 | /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:165:in `process'
 0063a2c8 | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/rendering.rb:39:in `process'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:190:in `dispatch'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:254:in `dispatch'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `each'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `serve'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:842:in `call'
 0063a2c8 | /usr/share/gems/gems/katello-4.8.1/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 0063a2c8 | /usr/share/gems/gems/katello-4.8.1/lib/katello/middleware/event_daemon.rb:10:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 0063a2c8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
 0063a2c8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 0063a2c8 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 0063a2c8 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 0063a2c8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/tempfile_reaper.rb:15:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/etag.rb:27:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/conditional_get.rb:40:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/head.rb:12:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 0063a2c8 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:266:in `context'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:260:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 0063a2c8 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
 0063a2c8 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:28:in `call'
 0063a2c8 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 0063a2c8 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 0063a2c8 | /usr/share/gems/gems/katello-4.8.1/lib/katello/prevent_json_parsing.rb:12:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/method_override.rb:24:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/runtime.rb:22:in `call'
 0063a2c8 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/sendfile.rb:110:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 0063a2c8 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 0063a2c8 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
 0063a2c8 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
 0063a2c8 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `public_send'
 0063a2c8 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `method_missing'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:74:in `block in call'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `each'
 0063a2c8 | /usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `call'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
 0063a2c8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 0063a2c8 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-06-01T11:04:06 [I|app|0063a2c8]   Rendered common/500.html.erb (Duration: 8.8ms | Allocations: 5926)
2023-06-01T11:04:06 [I|app|0063a2c8] Completed 500 Internal Server Error in 36ms (Views: 9.7ms | ActiveRecord: 4.3ms | Allocations: 10935)

Comment 1 Jeremy Lenz 2023-06-13 13:13:48 UTC
Created from redmine issue https://projects.theforeman.org/issues/36462

Comment 2 Jeremy Lenz 2023-06-13 13:13:49 UTC
Upstream bug assigned to None

Comment 5 Lucy Fu 2023-07-06 16:26:27 UTC
1. Create a hostgroup with CV and LCE
2. create a host: hammer host subscription register --name 'hp5yexlksv' --organization-id 1 --content-view-id 1 --lifecycle-environment-id 1
3. remove host's content_facet
    In rails console, remove the host's content facet (verify that myhost.content_facet returns nil)
      [13] pry(main)> host.update(content_facet: nil)       
4. Edit Host to add hostgroup
5. Edit Host to remove hostgroup
Add/remove hostgroup successfully.


Check audited_changes in the log messages.

2023-07-06T16:06:38 [I|app|1574065a] Processing by Api::V2::AuditsController#index as JSON
2023-07-06T16:06:38 [I|app|1574065a]   Parameters: {"search"=>"host=hp5yexlksv", "per_page"=>"3", "apiv"=>"v2"}
2023-07-06T16:06:38 [D|app|1574065a]   Rendering layout api/v2/layouts/index_layout.json.erb
2023-07-06T16:06:38 [D|app|1574065a]   Rendering api/v2/audits/index.json.rabl within api/v2/layouts/index_layout
2023-07-06T16:06:38 [I|app|1574065a]   Rendered api/v2/audits/index.json.rabl within api/v2/layouts/index_layout (Duration: 74.1ms | Allocations: 20014)
2023-07-06T16:06:38 [I|app|1574065a]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 78.8ms | Allocations: 21506)
2023-07-06T16:06:38 [D|app|1574065a] Body: {
 1574065a |   "total": 293,
 1574065a |   "subtotal": 3,
 1574065a |   "page": 1,
 1574065a |   "per_page": 3,
 1574065a |   "search": "host=hp5yexlksv",
 1574065a |   "sort": {
 1574065a |     "by": null,
 1574065a |     "order": null
 1574065a |   },
 1574065a |   "results": [{"user_id":4,"user_type":null,"user_name":"admin","version":3,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"192.168.122.1","associated_name":null,"created_at":"2023-07-06 12:06:36 -0400","request_uuid":"97c13c8c-8616-4be6-8e48-573b002b636f","id":293,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"update","audited_changes":{"hostgroup_id":[1,null]},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]},{"user_id":4,"user_type":null,"user_name":"admin","version":2,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"192.168.122.1","associated_name":null,"created_at":"2023-07-06 12:04:04 -0400","request_uuid":"ef7a36ff-0d64-4bef-85a3-06f22cc3e3c9","id":290,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"update","audited_changes":{"comment":[null,""],"hostgroup_id":[null,1]},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]},{"user_id":4,"user_type":null,"user_name":"admin","version":1,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"::1","associated_name":null,"created_at":"2023-06-29 15:11:08 -0400","request_uuid":"b5b1c457-8a2a-41ec-b01b-443dbd63f544","id":175,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"create","audited_changes":{"name":"hp5yexlksv","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":4,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":null,"uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":null,"image_id":null,"organization_id":1,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":null,"grub_pass":null,"pxe_loader":null,"initiated_at":null,"build_errors":null,"creator_id":4},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]}]




2023-07-06T16:10:38 [I|app|e185646c] Processing by Api::V2::AuditsController#index as JSON
2023-07-06T16:10:38 [I|app|e185646c]   Parameters: {"search"=>"host=hp5yexlksv", "per_page"=>"3", "apiv"=>"v2"}
2023-07-06T16:10:39 [D|app|e185646c]   Rendering layout api/v2/layouts/index_layout.json.erb
2023-07-06T16:10:39 [D|app|e185646c]   Rendering api/v2/audits/index.json.rabl within api/v2/layouts/index_layout
2023-07-06T16:10:39 [I|app|e185646c]   Rendered api/v2/audits/index.json.rabl within api/v2/layouts/index_layout (Duration: 79.5ms | Allocations: 19851)
2023-07-06T16:10:39 [I|app|e185646c]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 84.9ms | Allocations: 21343)
2023-07-06T16:10:39 [D|app|e185646c] Body: {
 e185646c |   "total": 294,
 e185646c |   "subtotal": 4,
 e185646c |   "page": 1,
 e185646c |   "per_page": 3,
 e185646c |   "search": "host=hp5yexlksv",
 e185646c |   "sort": {
 e185646c |     "by": null,
 e185646c |     "order": null
 e185646c |   },
 e185646c |   "results": [{"user_id":4,"user_type":null,"user_name":"admin","version":4,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"192.168.122.1","associated_name":null,"created_at":"2023-07-06 12:10:37 -0400","request_uuid":"e0a54a87-0c90-4df5-a5d9-0e3a8d65740f","id":294,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"update","audited_changes":{"hostgroup_id":[null,1]},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]},{"user_id":4,"user_type":null,"user_name":"admin","version":3,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"192.168.122.1","associated_name":null,"created_at":"2023-07-06 12:06:36 -0400","request_uuid":"97c13c8c-8616-4be6-8e48-573b002b636f","id":293,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"update","audited_changes":{"hostgroup_id":[1,null]},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]},{"user_id":4,"user_type":null,"user_name":"admin","version":2,"comment":null,"associated_id":null,"associated_type":null,"remote_address":"192.168.122.1","associated_name":null,"created_at":"2023-07-06 12:04:04 -0400","request_uuid":"ef7a36ff-0d64-4bef-85a3-06f22cc3e3c9","id":290,"auditable_id":5,"auditable_name":"hp5yexlksv","auditable_type":"Host::Base","action":"update","audited_changes":{"comment":[null,""],"hostgroup_id":[null,1]},"locations":[{"id":2,"name":"Default Location","title":"Default Location","description":null}],"organizations":[{"id":1,"name":"Default Organization","title":"Default Organization","description":null}]}]

Comment 12 errata-xmlrpc 2023-11-08 14:19:49 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.14 security and bug fix update), 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:6818


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