Actions
Bug #17247
closedHammer --interface option doesn't work with subnet name and domain name while creating new host.
Status:
Closed
Priority:
Normal
Assignee:
Category:
Networking
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Marek
Description
Description of problem:
New host creation using --interface options with hammer doesn't accept the subnet and domain names. It works fine with IDs.
hammer host create --name amar-host-one-domain-subnet --hostgroup 'RHEL7' --lifecycle-environment Library --content-view RHEL7 --root-password 'RedHat' --location Celestial --organization Orion --build false --interface="type=interface,mac=fe:54:00:06:f6:68,identifier=eth0,name=h1test,subnet=OrionSubnet1,domain=sat6.gsslab.pnq.redhat.com,ip=10.65.242.70,primary=true,provision=true" [Foreman] Password for admin: Could not create the host: Subnet(#124149220) expected, got String(#19113840)
Version-Release number of selected component (if applicable):
hammer-cli 0.8.0
hammer-cli-foreman 0.8.0
foreman 1.13.0
Steps to Reproduce:
1. Try to create a new system profile with hammer using domain name and subnet name
Actual results:
Could not create the host: Subnet(#124149220) expected, got String(#19113840)
Expected results:
It should create the host.
Updated by Tomáš Strachota about 8 years ago
- Subject changed from Hammer --interface option doesn't work with subnet name and domain name while creating new host. to Hammer --interface option doesn't work with subnet name and domain name while creating new host.
- Category set to Networking
- Target version set to 115
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Tomáš Strachota
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/273 added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|ef32a5519387f53b24760bca093e7d857f7f0466.
Updated by Tomáš Strachota over 7 years ago
- Translation missing: en.field_release set to 234
Actions