The first command shows 10 hosts (but in my content hosts view there are more than that). But maybe there’s more and it can’t list them? The output ends with “…]>”
The repositories listed make sense.
Example host (of the 10)
#<Katello::Host::ContentFacet id: 9, host_id: 10, uuid: “7bbbd0a0-3247-4d1c-ae3c-6d0fac640424”, content_view_id: 3, lifecycle_environment_id: 3, kickstart_repository_id: nil, content_source_id: nil, installable_security_errata_count: 1, installable_enhancement_errata_count: 0, installable_bugfix_errata_count: 0, applicable_rpm_count: 311, upgradable_rpm_count: 0, applicable_module_stream_count: 2, upgradable_module_stream_count: 0, applicable_deb_count: 0, upgradable_deb_count: 0>,
Example repo (of the ones listed which look correct)
#<Katello::Repository id: 54, pulp_id: “1-Rocky8-Production-c45cf342-b2dc-427c-89c5-02d0ff…”, library_instance_id: 8, content_view_version_id: 32, relative_path: “CTSI/Production/Rocky8/custom/Rocky8/rocky8_appstr…”, environment_id: 3, saved_checksum_type: nil, distribution_version: “8”, distribution_arch: “x86_64”, distribution_bootable: false, distribution_family: “Rocky Linux”, distribution_variant: “AppStream”, container_repository_name: nil, root_id: 8, remote_href: nil, publication_href: “/pulp/api/v3/publications/rpm/rpm/32d4dd3c-f5a6-43…”, version_href: “/pulp/api/v3/repositories/rpm/rpm/1db9644e-4c09-42…”, last_contents_changed: “2021-11-16 17:19:12”, last_applicability_regen: “1970-01-01 00:00:00”, last_indexed: “1970-01-01 00:00:00”>,