Project

General

Profile

Actions

Bug #34159

closed

Cannot find rabl template 'api/v2/override_values/index'

Added by Ondřej Ezr over 3 years ago. Updated over 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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:


Related issues 1 (0 open1 closed)

Is duplicate of Ansible - Bug #33142: Add missing override template for Ansible variablesClosedOndřej PražákActions
Actions #1

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)
Actions #2

Updated by Ondřej Ezr over 3 years ago

  • Is duplicate of Bug #33142: Add missing override template for Ansible variables added
Actions

Also available in: Atom PDF