Bug 1118669

Summary: Problem during install, caused issues with ElasticSearch - could not publish a content view - error 404
Product: Red Hat Satellite Reporter: Ade Bradshaw <abradshaw>
Component: InstallationAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: andrew.schofield, bbuckingham, bhamrick, ehelms, hshukla, jcallaha, kabbott, mmccune, rankumar, shughes
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:25:33 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:
Bug Depends On:    
Bug Blocks: 1115190    
Attachments:
Description Flags
Katello Install Logs none

Description Ade Bradshaw 2014-07-11 08:50:25 UTC
Created attachment 917281 [details]
Katello Install Logs

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run katello-install
2. Re-run the katello install (due to issue the first time)
3. Try to publish a content view

Actual results:

# hammer content-view publish --id 2  --organization "blah"
Could not publish the content view:
  404 : {"error":"IndexMissingException[[katello_distribution] missing]","status":404}


Expected results:
Content view to be published


Additional info:
This was resolved by running 
  
   foreman-rake katello:reindex

Comment 1 RHEL Program Management 2014-07-11 09:14:20 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Andrew Schofield 2014-07-25 18:14:58 UTC
Also just encountered this when trying to publish a content view via the web gui. foreman-rake katello:reindex resolved thie for me too.

Comment 5 jcallaha 2016-06-09 15:36:49 UTC
Verified in Satellite 6.2 Beta Snap 15.

Currently not seeing any issues with publishing/promoting multiple versions of content views. Additionally, incremental updates are working as expected.

Comment 6 Bryan Kearney 2016-07-27 11:25:33 UTC
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/RHBA-2016:1501