IOError: [Errno 2] No such file or directory: '/etc/cloud/cloud.cfg'
insights-client --register on
Red Hat Enterprise Linux Server 7.8 this error is displayed.
[root@server ~]# insights-client --register Unable to fetch egg url. Defaulting to /release Successfully registered host server.example Automatic scheduling for Insights has been enabled. Starting to collect Insights data for server.example Traceback (most recent call last): File "/var/lib/insights/newest.egg/insights/core/dr.py", line 965, in run result = DELEGATES[component].process(broker) File "/var/lib/insights/newest.egg/insights/core/dr.py", line 684, in process return self.invoke(broker) File "/var/lib/insights/newest.egg/insights/core/plugins.py", line 90, in invoke return self.component(broker) File "/var/lib/insights/newest.egg/insights/specs/default.py", line 282, in cloud_cfg with open(relative_path, 'r') as f: IOError: [Errno 2] No such file or directory: '/etc/cloud/cloud.cfg'
Red Hat Enterprise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.