satellite6 tools: hammer host update ... --parameters=... fails if parameters already exist
Issue
We'd like to create and update machines in Satellite using the hammer CLI. We are passing --parameters to hammer, as we want to have a few custom params set on each machine. Creating machines works fine, but when we want to update those, hammer exists with the following error:
Could not update the host:
Name has already been taken
Ommiting the --params in the hammer update call solves the issue, but that way we can neither update nor delete parameters using the hammer cli. Updating them in the Satellite UI works fine.
Environment
- Red Hat Satellite 6.1.1
- Red Hat Satellite 6.1.3
- hammer tool
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.