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 - Misleading error message while upload rpm using
hammer repository upload-content
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.