./check_katello_currency.py -a repoauthfile -y -P
/usr/lib/python2.6/site-packages/argparse.py:1575: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
ERROR:ForemanAPIClient:zero length field name in format
Traceback (most recent call last):
File "./check_katello_currency.py", line 600, in
main(options)
File "./check_katello_currency.py", line 576, in main
options.server, sat_user, sat_pass, options.ssl_verify
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 87, in init
self.validate_api_support()
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 244, in validate_api_support
self.api_get("/status")
File "/usr/lib64/python2.6/json/init.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
System facts:
OS: RHEL 6
Satellite API v2
Python 2.6.6
./check_katello_currency.py -a repoauthfile -y -P /usr/lib/python2.6/site-packages/argparse.py:1575: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead """instead""", DeprecationWarning) ERROR:ForemanAPIClient:zero length field name in format Traceback (most recent call last): File "./check_katello_currency.py", line 600, in
main(options)
File "./check_katello_currency.py", line 576, in main
options.server, sat_user, sat_pass, options.ssl_verify
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 87, in init
self.validate_api_support()
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 244, in validate_api_support
self.api_get("/status")
File "/usr/lib64/python2.6/json/init.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
System facts: OS: RHEL 6 Satellite API v2 Python 2.6.6
Any hints/workarounds for this issue?