bootstrap.py is failing because of missing `/etc/rhsm/facts` directory

Solution Verified - Updated -

Issue

  • We are migrating our systems from Satellite 5 to Satellite 6 and are experiencing and issue when running the bootstrap.py as described in https://access.redhat.com/articles/2280691. When we run the script as mentioned, it fails with the below error:
[NOTIFICATION], [2016-12-28 09:23:56], [Workaround for FQDN] 
Traceback (most recent call last):
  File "./bootstrap.py", line 797, in <module>
    clean_environment()
  File "./bootstrap.py", line 277, in clean_environment
    katellofacts = open('/etc/rhsm/facts/katello.facts', 'w')
IOError: [Errno 2] No such file or directory: '/etc/rhsm/facts/katello.facts'
  • bootstrap.py is failing because of missing /etc/rhsm/facts directory.

Environment

  • Red Hat Satellite 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In