Bug #34159
closedCannot find rabl template 'api/v2/override_values/index'
Description
Error while trying to import Ansible variables using hammer CLI.
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2033217
Description of problem:
"Cannot find rabl template 'api/v2/override_values/index'" error while trying to import Ansible variables using hammer CLI.
Version-Release number of selected component (if applicable):
- Foreman 3.1
How reproducible:
- Always
Steps to Reproduce:
hammer> ansible roles import --proxy-id 1
Result:
The following ansible roles were changed
Imported:
1) theforeman.foreman_scap_client
hammer> ansible variables import --proxy-id 1
Could not import variables:
Cannot find rabl template 'api/v2/override_values/index' within registered (["/usr/share/foreman/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_templates-9.1.0/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-19.0.1/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_azure_rm-2.2.6/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.3.0.rc3/app/views"]) view paths!
Actual results:
hammer> ansible variables import --proxy-id 1
Could not import variables:
Cannot find rabl template 'api/v2/override_values/index' within registered (["/usr/share/foreman/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_templates-9.1.0/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-19.0.1/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_azure_rm-2.2.6/app/views", "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.3.0.rc3/app/views"]) view paths!
Expected results:
- No error while trying to import Ansible variables.
Additional info:
Updated by Ondřej Ezr over 3 years ago
- Subject changed from Cannot find rabl template 'api/v2/override_values/index' to Cannot find rabl template 'api/v2/override_values/index'
- Status changed from New to Duplicate
- Bugzilla link deleted (
2033217)
Updated by Ondřej Ezr over 3 years ago
- Is duplicate of Bug #33142: Add missing override template for Ansible variables added