One or more templates fails to synchronize with error "Failed to parse metadata" in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • When trying to sync templates from an upstream git repository or some local directory, one or more templates are failing to synchronize and showing the following error:

    Failed to parse metadata
    
  • The same issue can be seen when attempting the same action from hammer_cli, i.e.

    # hammer import-templates --organization-id 1 --verbose true
    Name:     
    Type:     
    Imported: false
    Changed:  false
    Errors:   
       Additional: 
         Failed to parse metadata
    Import finished.
    

Environment

  • Red Hat Satellite 6.14 - 6.17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content