stdevel / katprep

Python toolkit for automating system maintenance and generating patch reports along with Foreman/Katello and Red Hat Satellite 6.x
GNU General Public License v3.0
35 stars 6 forks source link

Invalid hosts crash katprep_snapshot #34

Closed stdevel closed 7 years ago

stdevel commented 7 years ago

Having invalid hosts (e.g. virt-who hosts or invalid content hosts) in the inventory when running katprep_snapshot will make the tool crash:

$ katprep_snapshot -C pinkepank.auth -s giertz.shittyrobots.loc
...
ERROR:katprep_snapshot:Unable to get system information, check filter options!
INFO:katprep_snapshot:Report './errata-snapshot-report-giertz-20170617-1409.json' created.
stdevel commented 7 years ago

Fixed in commit 3dee36bd747732e76d9c8880b366f5eb994d8fec.