Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

Regression bug on install_foreman_ssh_key() #238

Closed mimmus closed 6 years ago

mimmus commented 6 years ago

Recently, we started to have this error on every host:


Traceback (most recent call last):
  File "./bootstrap.py", line 1156, in <module>
    install_foreman_ssh_key()
  File "./bootstrap.py", line 503, in install_foreman_ssh_key
    foreman_ssh_key = urllib2.urlopen(("https://%s:9090/ssh/pubkey" % options.foreman_fqdn).read(), timeout=options.timeout)
AttributeError: 'str' object has no attribute 'read'