Bug 1710241
Summary: | creating host with openscap capsule fails with ISE when org/loc is not properly selected for a capsule | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> | ||||
Component: | SCAP Plugin | Assignee: | Ondřej Pražák <oprazak> | ||||
Status: | CLOSED ERRATA | QA Contact: | Peter Dragun <pdragun> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | Unspecified | CC: | aruzicka, inecas, mhulan, oprazak, pcreech, pdragun, rplevka | ||||
Target Milestone: | 6.6.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-foreman_openscap-1.0.5 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-10-22 19:51:02 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: | |||||||
Attachments: |
|
Description
Jan Hutař
2019-05-15 07:32:20 UTC
Created attachment 1568828 [details]
traceback
Created redmine issue http://projects.theforeman.org/issues/26940 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26940 has been resolved. Failed QA. Host is created even if organization of capsule is different as organization of created host. #hammer organization list ---|----------------------|----------------------|-------------|--------------------- ID | TITLE | NAME | DESCRIPTION | LABEL ---|----------------------|----------------------|-------------|--------------------- 1 | Default Organization | Default Organization | | Default_Organization 3 | mABVbH | mABVbH | | mABVbH # hammer capsule info --id="1" . . . Locations: BcqKxJ2xQr Organizations: mABVbH # hammer -v -u admin -p changeme --output=csv host create --architecture-id="1" --domain-id="1" --ip="95.253.203.135" --location-id="2" --mac="c4:28:04:a8:20:bb" --medium-id="12" --name="QBtbElRVyA2" --operatingsystem-id="1" --openscap-proxy-id="1" --organization-id="1" --partition-table-id="106" --root-password="RLxtKubz" Message,Id,Name Host created.,4,qbtbelrvya2.lab.eng.brq.redhat.com OpenSCAP capsule is really assigned from another organization. # hammer host info --id="4" Id: 4 Name: qbtbelrvya2.lab.eng.brq.redhat.com Organization: Default Organization Location: Default Location Cert name: qbtbelrvya2.lab.eng.brq.redhat.com ... OpenSCAP Proxy: 1 ... Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26940 has been resolved. Verified on Sat 6.6 snap 16. When creating host with OpenSCAP with different organizations, error message is shown as expected. Same applies to locations. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172 |