Actions
Bug #28528
closedhammer ping fails 'Error: The server does not support such operation.'
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Description
after upgrade to
foreman: 1.24
katello: 3.14
CentOS 7
i encounter the following problem.
i run hammer -d ping
[DEBUG 2019-12-17T16:45:43 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_general_exception [ERROR 2019-12-17T16:45:43 Exception] Error: The server does not support such operation. Error: The server does not support such operation. [ERROR 2019-12-17T16:45:43 Exception] HammerCLI::OperationNotSupportedError (The server does not support such operation.): /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/lib/hammer_cli/apipie/command.rb:51:in `send_request' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.19.4/lib/hammer_cli_foreman/commands.rb:188:in `send_request' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/lib/hammer_cli/apipie/command.rb:34:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/lib/hammer_cli/abstract.rb:76:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/lib/hammer_cli/abstract.rb:76:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/lib/hammer_cli/abstract.rb:76:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.19.0/bin/hammer:147:in `<top (required)>' /bin/hammer:23:in `load' /bin/hammer:23:in `<main>'
Updated by Oleh Fedorenko almost 5 years ago
Hey Sven,
Have you tried to reload the cache from the server with `hammer --reload-cache` command?
Updated by Sven Vogel almost 5 years ago
- Status changed from New to Resolved
it works with the cache! thanks.
i close the ticket!
Actions