Project

General

Profile

Actions

Bug #23188

open

Hammer plugin doesn't handle a server where the plugin is not installed

Added by Ewoud Kohl van Wijngaarden about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When there is no resource (as happens when the client has a cache without the plugin enabled) the plugin can't be loaded.

https://github.com/theforeman/hammer_cli_foreman_remote_execution/blob/d022608253cfb72097130024b35cf6a7404cd771/lib/hammer_cli_foreman_remote_execution/job_invocation.rb#L7 is causing this.

This means after installation I always need to clean the cache before the plugin works.


Related issues 1 (0 open1 closed)

Related to Foreman Remote Execution - Feature #20496: Expose job invocation cancelling via hammerClosedAdam Ruzicka08/03/2017Actions
Actions #1

Updated by Ivan Necas about 6 years ago

  • Related to Feature #20496: Expose job invocation cancelling via hammer added
Actions #2

Updated by Ivan Necas about 6 years ago

The question if that's actually an issue? Until the cache is regenerated, we can't use other rex commands anyway, as hammer doesn't know about the options that it can use.

Actions

Also available in: Atom PDF