Why does spacewalk-splice-checkin fail with error "KeyError: 'network.hostname'" ?
Issue
- Is it possible to configure SAM enhanced reporting without Satellite ?
- splice-sync fails with error:
# su - splice -s /bin/bash
-bash-4.1$ spacewalk-splice-checkin --splice-sync
Traceback (most recent call last):
File "/usr/bin/spacewalk-splice-checkin", line 96, in <module>
checkin.main(opts)
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 278, in main
splice_sync(options)
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 242, in splice_sync
mpu_list.append(dt.transform_to_rcs(katello_consumer, sps.get_splice_server_uuid()))
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/transforms.py", line 65, in transform_to_rcs
retval['hostname'] = consumer['facts']['network.hostname']
KeyError: 'network.hostname'
Environment
- Subscription Asset Manager 1.4 (SAM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
