Project

General

Profile

Actions

Bug #15524

closed

Registering host with subscription-manager prevents loading puppet facts in subequent run

Added by Ivan Necas almost 8 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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)


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #15525: Fact-type specific host's last_compile timeClosedStephen Benjamin06/27/2016Actions
Actions #1

Updated by Ivan Necas almost 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)
Actions #2

Updated by Ivan Necas almost 8 years ago

  • Related to Refactor #15525: Fact-type specific host's last_compile time added
Actions #3

Updated by Ivan Necas almost 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.

Actions #4

Updated by Ivan Necas almost 8 years ago

  • Status changed from New to Assigned
Actions #5

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6153 added
Actions #6

Updated by Justin Sherrill over 7 years ago

  • Status changed from Ready For Testing to Rejected
  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF