Bug 1348325

Summary: Error importing manifest: Error code shows improper organization id
Product: Red Hat Satellite Reporter: jcallaha
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: abalakht
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: 2016-06-21 10:42: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 Flags
foreman debug
none
error none

Description jcallaha 2016-06-20 20:01:49 UTC
Created attachment 1169981 [details]
foreman debug

Description of problem:
When trying to import/refresh a manifest on a CI system, I am presented with the following errors.
Error importing manifest. Organization with id Ml9apa could not be found.
Error refreshing manifest. Organization with id Ml9apa could not be found.
This was on a CI machine and an Org with an id of 1810. Org name was 'jake' and no instance of 'Ml9apa' was associated with the Org in any way. However, there was an Org on the system with that name.

Version-Release number of selected component (if applicable):
Satellite 6.2 Beta Snap 16.

Steps to Reproduce:
I'm unsure how to reproduce, you can try creating an org and importing a manifest on a machine that has had our automation run on it (approx 1800 Orgs created).

Actual results:
These errors are shown when trying to import/refresh a manifest.
Error importing manifest. Organization with id Ml9apa could not be found.
Error refreshing manifest. Organization with id Ml9apa could not be found.

Expected results:
No errors are shown and the manifest is imported/refreshed correctly.

Comment 1 jcallaha 2016-06-20 20:08:44 UTC
Created attachment 1169983 [details]
error

Comment 3 Andrii Balakhtar 2016-06-21 10:42:02 UTC
I believe it's a side-effect of https://bugzilla.redhat.com/show_bug.cgi?id=1343108. Feel free to reopen in case i'm wrong (although i think i'm not, we're facing this issue on CI environment for a long period of time)

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