Actions
Bug #6768
closedHammer set-parameter overwrites existing value when adding new different parameter
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1122479
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Very
Steps to Reproduce:
1. Create a HostGroup
2. add params kt_org, kt_env, kt_cv
3. Display actual hostgroup info
Actual results:
Only 1 param is actually set "kt_org"
Expected results:
All three params be set "kt_org" "kt_cv" & "kt_env"
Additional info:
These are the commands I ran
- hammer hostgroup create --name "RHEL-65" --operatingsystem-id 1 --domain-id 1 --environment-id 1 --puppet-proxy-id 1 --subnet-id 1 --architecture-id 1 --ptable-id 7 --medium-id 7 --environment-id 2 --puppet-ca-proxy-id 1
Hostgroup created
- hammer hostgroup set-parameter --hostgroup-id 4 --name kt_org --value Hilti
New hostgroup parameter created - hammer hostgroup set-parameter --hostgroup-id 4 --name kt_env --value Library
Hostgroup parameter updated - hammer hostgroup set-parameter --hostgroup-id 4 --name kt_cv --value HOI-6_5_0-ci
Hostgroup parameter updated
- hammer hostgroup info --id 4
Id: 4
Name: RHEL-65
Label:
Operating System: RHEL Server 6.5
Environment: KT_Hilti_Library_HOI_6_5_0_ci_4
Model:
Ancestry:
Subnet: abcloud-ovirt-vlan
Domain: abcloud.pw
Architecture: x86_64
Partition Table: Kickstart default
Medium: Hilti/Library/Red_Hat_6_Server_Kickstart_x86_64_6_5
Puppet CA Proxy Id: 1
Puppet Master Proxy Id: 1
ComputeProfile:
Puppetclasses:Parameters:
kt_org => HOI-6_5_0-ci
Updated by Dominic Cleal over 10 years ago
- Category set to Foreman commands (obsolete)
Updated by The Foreman Bot over 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.8.0
- Pull request https://github.com/theforeman/foreman/pull/1620 added
- Pull request deleted (
)
Updated by Martin Bacovsky over 10 years ago
- Project changed from Hammer CLI to Foreman
- Category changed from Foreman commands (obsolete) to API
Updated by Dominic Cleal over 10 years ago
- Project changed from Foreman to Hammer CLI
- Translation missing: en.field_release set to 10
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1eaa44cab92bd1a89d56b3ec022eab0704ba7281.
Actions