Why hammer fails with error "missing param 'id' in parameters" when try to upload content to repository on Red Hat Satellite 6?
Issue
-
After upgrade of Red Hat Satellite 6 from version
6.0.8to6.1.2, whyhammerfails with errormissing param 'id' in parameterswhen try to upload content to repository?To get repo id: # hammer -c auth.yml repository list --name <repository-name> --organization <organization-name> To upload content: # hammer -c auth.yml repository upload-content --path './path-to-file' --id <repository-id> Failed to upload file '' to repository. Please check the file and try again. Could not upload the content: missing param 'id' in parameters Same result with repository name: # hammer -c auth.yml repository upload-content --path './path-to-file' --name <repository-name> --product <product-name> --organization <organization-name> Failed to upload file '' to repository. Please check the file and try again. Could not upload the content: missing param 'id' in parameters
Environment
- Red Hat Satellite 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
