Project

General

Profile

Actions

Bug #12302

closed

Cannot subscribe content host during provision

Added by Stephen Benjamin about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Facts cannot be imported while a host is in build mode, so when trying to do subscription-manager in kickstart %post, you get this error:

ERF42-9911 [Foreman::Exception]: Host is pending for Build (Foreman::Exception)
/home/vagrant/foreman/app/models/host/base.rb:108:in `import_facts'
/home/vagrant/katello/app/models/katello/system.rb:196:in `update_foreman_facts'
/home/vagrant/katello/app/lib/actions/katello/system/create.rb:34:in `plan'
Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5547 added
  • Pull request deleted ()
Actions #2

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 9 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF