Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with Client: 3.0.3-9 #95

Open
nikolakresic opened this issue Oct 22, 2019 · 0 comments
Open

issue with Client: 3.0.3-9 #95

nikolakresic opened this issue Oct 22, 2019 · 0 comments

Comments

@nikolakresic
Copy link

nikolakresic commented Oct 22, 2019

im seeing these errors on some of my RHEL7 servers :

insights-client --register
You successfully registered 55d90e7e-10fd-4867-b497-fcbe7a6ce2af to account 1021444.
Successfully registered host xxxxxxxxxxx
Automatic scheduling for Insights has been enabled.
Starting to collect Insights data for xxxxxxxxxxxxx
Fatal error
Traceback (most recent call last):
File "/var/lib/insights/newest.egg/insights/client/phase/v1.py", line 33, in _f
func(client, config)
File "/var/lib/insights/newest.egg/insights/client/phase/v1.py", line 260, in collect_and_output
insights_archive = client.collect()
File "/var/lib/insights/newest.egg/insights/client/init.py", line 63, in _init_connection
return func(self, *args, **kwargs)
File "/var/lib/insights/newest.egg/insights/client/init.py", line 346, in collect
tar_file = client.collect(self.config, self.connection)
File "/var/lib/insights/newest.egg/insights/client/client.py", line 379, in collect
dc.run_collection(collection_rules, rm_conf, branch_info)
File "/var/lib/insights/newest.egg/insights/client/data_collector.py", line 190, in run_collection
self.archive.add_to_archive(cmd_spec)
File "/var/lib/insights/newest.egg/insights/client/archive.py", line 166, in add_to_archive
output = spec.get_output()
File "/var/lib/insights/newest.egg/insights/client/insights_spec.py", line 75, in get_output
raise err
OSError: [Errno 8] Exec format error
Starting to collect Insights data for xxxxxxxxxxxxxx
Fatal error
Traceback (most recent call last):
File "/etc/insights-client/rpm.egg/insights/client/phase/v1.py", line 29, in _f
func()
File "/etc/insights-client/rpm.egg/insights/client/phase/v1.py", line 170, in collect_and_output
analyze_mountpoint=config["analyze_mountpoint"])
File "/etc/insights-client/rpm.egg/insights/client/init.py", line 333, in collect
tar_file = client.collect()
File "/etc/insights-client/rpm.egg/insights/client/client.py", line 438, in collect
dc.run_collection(collection_rules, rm_conf, branch_info)
File "/etc/insights-client/rpm.egg/insights/client/data_collector.py", line 264, in run_collection
self.archive.add_to_archive(cmd_spec)
File "/etc/insights-client/rpm.egg/insights/client/archive.py", line 168, in add_to_archive
output = spec.get_output()
File "/etc/insights-client/rpm.egg/insights/client/insights_spec.py", line 96, in get_output
raise err
OSError: [Errno 8] Exec format error

ive tried updating to 3.0.6-2 but its the same on the affected servers. funny thing it works on some and when i do insights-client --version on the ones that work i get this ->

insights-client --version
Client: 3.0.3-9
Core: 3.0.121-1

and on those that dont work, i get ->

insights-client --version
Client: 3.0.3-9
Core: 3.0.4-3

but its the same rpm, i remove it, cleanup all insights files, reinstall and its still the same "old" core version and the same error.

on the other hand when i do update to 3.0.6 i do get the core .121 version but the error doesnt go away so maybe its unrelated......

any ideas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant