Description of problem: Hammer host info doesn't show Lifecycle environment and Content view of a host Version-Release number of selected component (if applicable): 6.14, reproduced on snap 3.0 How reproducible: Deterministic Steps to Reproduce: 1. Have a host in some CV and LCE 2. Get its info through API. It will show CV and LCE 3. Get its info through Hammer. It will NOT show CV and LCE Actual results: # curl -k -uadmin:changeme -H 'Content-Type: application/json' -X GET https://$(hostname)/api/hosts/3 [...] ,"content_facet_attributes":{"id":1,"uuid":null,"content_source_id":null,"content_source_name":null,"kickstart_repository_id":null,"kickstart_repository_name":null,"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0,"applicable":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"applicable_deb_count":0,"upgradable_deb_count":0,"applicable_package_count":0,"upgradable_package_count":0,"applicable_module_stream_count":0,"upgradable_module_stream_count":0,"content_views":[{"id":3,"name":"ziKdbAwGkR","composite":false}],"lifecycle_environments":[{"id":3,"name":"WSfzlleD"}],"content_source":null,"kickstart_repository":null,"content_view":{"id":3,"name":"ziKdbAwGkR","composite":false},"lifecycle_environment":{"id":3,"name":"WSfzlleD"},"permissions": [...] # hammer host info --id 3 [...] Content Information: Content View: Lifecycle Environment: Content Source: Id: Name: Kickstart Repository: Id: Name: Applicable Packages: 0 Upgradable Packages: 0 Applicable Errata: Enhancement: 0 Bug Fix: 0 Security: 0 [...] Expected results: Hammer returns correct CV and LCE Additional info: Probably related to Multiple Environment backend changes for 6.14
Upstream bug assigned to chrobert
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36401 has been resolved.