diff --git a/pytest_fixtures/component/rh_cloud.py b/pytest_fixtures/component/rh_cloud.py index ead92f68db2..f0107f1a98f 100644 --- a/pytest_fixtures/component/rh_cloud.py +++ b/pytest_fixtures/component/rh_cloud.py @@ -40,6 +40,8 @@ def rhcloud_registered_hosts( org=rhcloud_manifest_org.label, rhel_distro=f"rhel{vm.os_version.major}", ) + # workaround to get updated facts for infrastructure_type + vm.execute('subscription-manager facts --update && subscription-manager repos --list') assert vm.subscribed return mod_content_hosts