Bug 1719283

Summary: Internal capsule not initially in Default Org/Loc while they are selected
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Organizations and LocationsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6.0   
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: 2019-06-14 13:05:04 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 Lukáš Hellebrandt 2019-06-11 12:12:28 UTC
Description of problem:
After installing a clean Satellite, I go to Infrastructure -> Capsules and see no capsule. I set view to Default org/loc, I see the internal capsule. The Organizations and Locations columns say "None found".

However, when I open the Capsule for editing, Organization tab shows the Default Organization already selected. Changing nothing and clicking Submit actually makes this capsule be in Default Organization, which is reflected in the Capsules list. The same for Location. So, while the Org/Loc are shown as selected in capsule edit form, they are actually not initially.

Version-Release number of selected component (if applicable):
Tested with Sat 6.6 snap 5 and 6 but probably happens in other versions, too.

How reproducible:
Deterministic

Steps to Reproduce:
1. Install Satellite
2. Go to Infrastructure -> Capsules
3. Select Default Organization and Default Location. See the capsule, note it is not in any org/loc.
4. Open it for editing, in Organizations / Locations tab, see Default Organization / Default Location selected. Submit without any changes. Note the capsule is now in Default Organization / Default Location.

Actual results:
Capsule not in Default Org/Loc while they are selected as its Org/Loc.

Expected results:
I don't know if the capsule should initially be in Default Organization and Default Location but it should definitely be shown consistently. Given the fact that the default host (the Satellite itself) is in Default Organization and Default Location, its internal capsule should probably also be.

Comment 3 Brad Buckingham 2019-06-14 13:05:04 UTC
Thanks for opening the bugzilla.  This appears to be a duplicate of bug 1709695.  Please re-open with additional details, if it is not the same observed.

*** This bug has been marked as a duplicate of bug 1709695 ***