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 over 5 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 #1

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

  • Project changed from Templates to Foreman
  • Subject changed from Templates are not exported with associated org and loc with metadata-export-mode refresh to Templates are not exported with associated org and loc with metadata-export-mode refresh
  • Category set to Templates
  • Assignee set to Ondřej Pražák
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5729 added
Actions #3

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Marek Hulán over 5 years ago

  • Target version set to 1.18.0
  • Triaged set to No
Actions #5

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5799 added
Actions #6

Updated by Ondřej Pražák over 5 years ago

  • Related to Bug #24266: Job templates do not have taxonomies in metadata when exported added
Actions

Also available in: Atom PDF