Bug 1614360
Summary: | hammer hostgroup create/update --compute-resource fails to query CR | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
Component: | Host Group | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | akarsale, apatel, dhlavacd, inecas, kgaikwad, lpramuk, mbacovsk, mhulan, mshira, rabajaj, tstrachota |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-10 09:17:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Pramuk
2018-08-09 13:41:48 UTC
When referring to compute profile by name it also uses wrong api call listing all 3 compute profiles: # hammer hostgroup create --name 'libvirt hosts' --compute-resource-id 2 --compute-profile 1-Small Could not create the hostgroup: Error: Found more than one compute_profile. ... [ INFO 2018-08-09T10:05:47 API] GET /api/compute_profiles [DEBUG 2018-08-09T10:05:47 API] Params: { "name" => "1-Small" } [DEBUG 2018-08-09T10:05:47 API] Headers: { :params => { "name" => "1-Small" } } [DEBUG 2018-08-09T10:05:47 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth [DEBUG 2018-08-09T10:05:48 API] Response: { "total" => 3, ... Hi Lukas, Do you know if this is a regression from 6.3? (Thanks!) With --compute-resource option it can't be regression since the option doesn't exist on 6.3 With --compute-profile option I tested it is broken the same way on 6.3, so no regression too. *** This bug has been marked as a duplicate of bug 1584785 *** |