Project

General

Profile

Bug #23896

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

Added by Ondřej Pražák 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Team Backlog:
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

Related to Foreman Remote Execution - Bug #24266: Job templates do not have taxonomies in metadata when exportedClosed

Associated revisions

Revision 2d5e52d9 (diff)
Added by Ondřej Pražák 10 months ago

Fixes #23896 - Update taxonomies when refreshing metadata

History

#1 Updated by Ondřej Pražák 10 months ago

  • Assignee set to Ondřej Pražák
  • Category set to Templates
  • 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
  • Project changed from Templates to Foreman

#2 Updated by The Foreman Bot 10 months ago

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

#3 Updated by Ondřej Pražák 10 months ago

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

#4 Updated by Marek Hulán 9 months ago

  • Triaged set to No
  • Target version set to 1.18.0

#5 Updated by The Foreman Bot 9 months ago

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

#6 Updated by Ondřej Pražák 9 months ago

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

Also available in: Atom PDF