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

Also available in: Atom PDF