While running insights-client it generates an error IOError: [Errno 2] No such file or directory: '/etc/cloud/cloud.cfg'
Issue
-
Running
insights-client
generates below error.# insights-client Starting to collect Insights data for host.example.com Traceback (most recent call last): File "/var/lib/insights/last_stable.egg/insights/core/dr.py", line 962, in run result = DELEGATES[component].process(broker) File "/var/lib/insights/last_stable.egg/insights/core/dr.py", line 681, in process return self.invoke(broker) File "/var/lib/insights/last_stable.egg/insights/core/plugins.py", line 90, in invoke return self.component(broker) File "/var/lib/insights/last_stable.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'
Environment
- Red Hat Enterprise Linux 7.9
- insights-client-3.1.1-1.el7_9.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.