You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It is not possible to bulk-edit parameters using katprep_parameters
To Reproduce
Steps to reproduce the behavior:
Enter a command such as katprep_parameters --insecure -C katprep.auth -s pinkepank.test.loc -R -g prod-hosts
See error
Expected behavior
Bulk-editing parameters is possible.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS version: CentOS 7.5
Red Hat Satellite or Foreman/Katello version: 1.19.0/3.8.0
Additional context
Stacktrace:
Authentication container password:
Traceback (most recent call last):
File "/home/cstan/.local/bin/katprep_parameters", line 9, in <module>
load_entry_point('katprep==0.5.0', 'console_scripts', 'katprep_parameters')()
File "/home/cstan/katprep/katprep/parameters.py", line 376, in cli
main(options, args)
File "/home/cstan/katprep/katprep/parameters.py", line 356, in main
manage_params(options)
File "/home/cstan/katprep/katprep/parameters.py", line 175, in manage_params
change_param(options, entry, "del", options.dry_run)
File "/home/cstan/katprep/katprep/parameters.py", line 136, in change_param
json.dumps(payload))
File "/home/cstan/katprep/katprep/clients/ForemanAPIClient.py", line 231, in api_delete
return self.__api_request("delete", sub_url, payload)
File "/home/cstan/katprep/katprep/clients/ForemanAPIClient.py", line 180, in __api_request
result.status_code, result.text))
katprep.clients.SessionException: 404: HTTP operation not successful {
"error": {"message":"Resource parameter not found by id 'None'"}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
It is not possible to bulk-edit parameters using
katprep_parameters
To Reproduce
Steps to reproduce the behavior:
katprep_parameters --insecure -C katprep.auth -s pinkepank.test.loc -R -g prod-hosts
Expected behavior
Bulk-editing parameters is possible.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: