Project

General

Profile

Actions

Bug #28528

closed

hammer ping fails 'Error: The server does not support such operation.'

Added by Sven Vogel about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:
yes

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>'

Actions #1

Updated by Shira Maximov about 5 years ago

  • In Kanboard set to yes

Changing the

Actions #2

Updated by Oleh Fedorenko about 5 years ago

Hey Sven,

Have you tried to reload the cache from the server with `hammer --reload-cache` command?

Actions #3

Updated by Sven Vogel about 5 years ago

  • Status changed from New to Resolved

it works with the cache! thanks.

i close the ticket!

Actions

Also available in: Atom PDF