Bug #33165
closedHammer ansible command gives "Error: undefined method"
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.
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
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases hammer-cli-foreman-ansible 0.3.3 added
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman-ansible|d88b851365dfe8fa4c4e5ffc3b6e87142d2bdeaa.