Project

General

Profile

Actions

Bug #4728

closed

apipie dynamic bindings prevent foretello hammer from working

Added by Thomas McKay about 10 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Prior to dynamic bindings, whenever the generate katello_api script was run against a foretello server, it would need to be restarted. This is due to the Organization model not getting the katello extensions, causing errors later when a katello field was being accessed (error message is: undefined method `without_deleting'). The server would need to be restarted after the generate script.

With the introduction of dynamic bindings, this happens every time a hammer command is run and the cache needs to be refreshed (which is every server restart). I am unaware of any work arounds.

To reproduce:
% hammer system list --organization-id ACME_Corporation

Actions

Also available in: Atom PDF