Project

General

Profile

Actions

Bug #33165

closed

Hammer ansible command gives "Error: undefined method"

Added by Ondřej Pražák over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

Description of problem:
The `hammer ansible variables update` command prints the following error on stderr:
Could not update the ansible variable:
Error: undefined method `create_search_options_without_katello_api' for #<HammerCLIForeman::IdResolver:0x00000000050fa000>
Did you mean? create_search_options

How reproducible:
Every time with katello

Steps to Reproduce:
1. hammer ansible roles import --proxy-id 1
2. hammer ansible variables import --proxy-id 1
3. hammer ansible variables list --search c_rh_c_host # check that the variable exists
4. hammer ansible variables update --variable c_rh_c_host --new-name foo_bar

Actual results:
The command does not update the variable and returns an error.

Expected results:
The command should update the variable without an error.

Actions #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/hammer-cli-foreman-ansible/pull/8 added
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases hammer-cli-foreman-ansible 0.3.3 added
Actions #3

Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF