Bug 1713248
Summary: | Hammer hostgroup create fails with 'The selected content source and lifecycle environment do not match' | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | vijsingh |
Component: | Hosts - Content | Assignee: | Samir Jha <sajha> |
Status: | CLOSED ERRATA | QA Contact: | vijsingh |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | egolov, inecas, jomitsch, kgaikwad, lpramuk, pcreech |
Target Milestone: | 6.6.0 | Keywords: | AutomationBlocker, PrioBumpQA, Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-3.12.0.3-11 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 12:47:37 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
vijsingh
2019-05-23 09:03:41 UTC
Could this be caused by the fact the content source capsule is not assigned to the organization? In fact outcome of BZ 1709695? I checked on that but Capsule is part of correct 'organization/location' *** Bug 1718904 has been marked as a duplicate of this bug. *** This was fixed by https://github.com/Katello/katello/pull/8157/files, I updated this BZ, attaching the issue and am moving this to POST. ON_QA Verified @Satellite 6.6.0 snap 10.0 Steps/Observation: - Able to create HG ______________________________________ [root@qe-sat6-bm1 ~]# hammer hostgroup create --name Test_HG --organization 'Default Organization' --content-source-id 1 --lifecycle-environment Library Hostgroup created. [root@qe-sat6-bm1 ~]# hammer hostgroup info --id 1 Id: 1 Name: Test_HG Title: Test_HG Network: Operating system: Puppetclasses: Parameters: Organizations: Default Organization OpenSCAP Proxy: Content View: ID: Name: Lifecycle Environment: ID: 1 Name: Library Content Source: ID: 1 Name: qe-sat6-bm1.example.com Kickstart Repository: ID: Name: [root@qe-sat6-bm1 ~]# hammer hostgroup create --name Test_HG1 Hostgroup created. [root@qe-sat6-bm1 ~]# [root@qe-sat6-bm1 ~]# hammer hostgroup create --name Test_HG2 --organization 'Default Organization' --content-source-id 1 Hostgroup created. [root@qe-sat6-bm1 ~]# hammer hostgroup create --name Test_HG3 --organization 'Default Organization' --lifecycle-environment Library Hostgroup created. [root@qe-sat6-bm1 ~]# ______________________________________ 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 |