Description of problem: The API does not return the value of Host Inventory status. Host Inventory status in the Satellite web UI Hosts -> All Hosts -> <Host> page -> Inventory (under Properties tab) does not return with the API. # curl --request GET --user admin:pass https://$(Satellite_FQDN)/api/v2/hosts/$(hostname) | grep status | python -m json.tool ---------------------------------------------------------- { <snip> "errata_status": 0, "errata_status_label": "All errata applied", <snip> "global_status": 0, "global_status_label": "OK", <snip> "puppet_status": 0, "purpose_addons_status": 0, "purpose_addons_status_label": "Unknown", "purpose_role_status": 0, "purpose_role_status_label": "Unknown", "purpose_sla_status": 0, "purpose_sla_status_label": "Unknown", "purpose_status": 0, "purpose_status_label": "Unknown", "purpose_usage_status": 0, "purpose_usage_status_label": "Unknown", <snip> "subscription_global_status": 0, "subscription_status": 5, "subscription_status_label": "Simple Content Access", "updated_at": "2022-10-10 14:43:43 UTC", "uptime_seconds": 55985, "use_image": null, "uuid": null } ---------------------------------------------------------- Version-Release number of selected component (if applicable): N/A Actual results: The API did not return the Inventory status. Expected results: The API should return the Inventory status. Additional info:
There are 2 status fields in the UI that are not in the API and therefor also not in the Hammer CLI host info - rhcloud inventory status - rhcloud insights status