Project

General

Profile

Bug #3370

Updated by Dominic Cleal over 9 years ago

All subcommands associated with hammer organization fail with message "The server does not support such operation."

<pre>
[root@rhel6b ~]# hammer -v organization list
[ INFO 2013-10-18 20:24:36 Init] Configuration from the file /etc/foreman/cli_config.yml has been loaded
[ INFO 2013-10-18 20:24:36 Init] Extension module hammer_cli_foreman loaded
[ INFO 2013-10-18 20:24:36 HammerCLI::MainCommand] Called with options: {"verbose"=>true}
[ INFO 2013-10-18 20:24:36 HammerCLIForeman::Organization] Called with options: {}
[ INFO 2013-10-18 20:24:36 HammerCLIForeman::Organization::ListCommand] Called with options: {}
The server does not support such operation.
</pre>

production.log shows a weird request:

<pre>
Started GET "/api/organization_id" for ::1 at 2013-10-18 20:25:05 +0000
Processing by Api::V1::HomeController#route_error as JSON
Parameters: {"other"=>"organization_id", "home"=>{}}
Authorized user admin(Admin User)
Rendered api/v1/errors/route_error.json.rabl (0.3ms)
Completed 404 Not Found in 16ms (Views: 0.9ms | ActiveRecord: 5.8ms)
</pre>

foreman-1.3.0-1.el6.noarch
rubygem-hammer_cli-0.0.7-1.el6.noarch
rubygem-hammer_cli_foreman-0.0.7-1.el6.noarch

(https://bugzilla.redhat.com/show_bug.cgi?id=1021039)

Back