Project

General

Profile

Actions

Bug #23896

closed

Templates are not exported with associated org and loc with metadata-export-mode refresh

Added by Ondřej Pražák almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
The templates are not exported with associated org and loc when metadata-export-mode is set to refresh

How reproducible:
Always

Steps to Reproduce:
1. Create a template in satellite and associate Org/Loc.
2. Using hammer/API, export the template containing metadata with Org/Loc specs and specify the metadata_export_mode parameter as 'refresh'.
  1. hammer -u admin -p changeme export-templates --metadata-export-mode refresh --repo /usr/share/jitu/exported/ --filter begawade

Actual results:
The template is not exported with associated org and location. Even there is no organizations and locations key in exported template metadata.

Expected results:
The template should be exported with associated org and location.


Related issues 1 (0 open1 closed)

Related to Foreman Remote Execution - Bug #24266: Job templates do not have taxonomies in metadata when exportedClosedOndřej PražákActions
Actions

Also available in: Atom PDF