Bug #12294
Updated by Tomáš Strachota over 8 years ago
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1274683 *Description Description of problem:* problem: I want to create and update hosts using hammer host create/update and pass custom parameters to it. This works fine on create but fails when I want to update a host and pass a parameter that is already present. *Version-Release Version-Release number of selected component (if applicable):* applicable): foreman 1.13 hammer 0.8.0 hammer_cli_foreman 0.8.0 Satellite 6.1.3 *How reproducible:* How reproducible: always *Steps Steps to Reproduce:* Reproduce: 1. hammer host create ... --parameters="foo=bar" 2. hammer host update ... --parameters="foo=bar" *Actual results:* Actual results: <pre> Could not update the host: Name has already been taken </pre> *Expected results:* Expected results: Host updated *Additional info:* Additional info: It does not matter if I want to set the parameter to the same or a new value.