Actions
Bug #15524
closedRegistering host with subscription-manager prevents loading puppet facts in subequent run
Description
When importing facts, Foreman checks the last_compile time and prevents importing facts
if that even appeared within previous minute https://github.com/theforeman/foreman/blob/1.11.3/app/models/host/base.rb#L142
This means importing the subscription-manager facts will break loading puppet facts, if done too quickly
(which is usually the case when provisioning)
Updated by Ivan Necas over 8 years ago
- Subject changed from Provisioning with foreman_location and foreman_organization facts does not work anymore to Registering host with subscription-manager prevents loading puppet facts in subequent run
- Description updated (diff)
Updated by Ivan Necas over 8 years ago
- Related to Refactor #15525: Fact-type specific host's last_compile time added
Updated by Ivan Necas over 8 years ago
IMO the long-term solution should be addressed in Foreman http://projects.theforeman.org/issues/15525. However, this is affecting the users today, I think we should go for a workaround and not setting the last_compile time when importing subscription-manager facts.
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6153 added
Updated by Justin Sherrill over 8 years ago
- Status changed from Ready For Testing to Rejected
- Translation missing: en.field_release set to 166
This was fixed in foreman: https://github.com/theforeman/foreman/pull/3615
Actions