Project

General

Profile

Actions

Bug #7150

closed

katello-installer --reset can leave elasticsearch in an odd state

Added by Justin Sherrill over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1131524
Description of problem:

katello-installer --reset doesn't stop elasticsearch before clearing all its data in /var/lib/elasticsearch/. There have been a few reports of elasticsearch working strangely (such as not returning results) after a --reset.

How reproducible:
Sometimes

Steps to Reproduce:
1. Install Katello
2. run 'katello-installer --reset'
3. Click around and create katello objects in the UI/Hammer
4. Restart Elasticsearch
5. Verify objects are still there

Actual results:
In some cases elasticsearch will be in a bad state

$ curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'

shows status RED

Expected results:
Elasticsearch not in a bad state. Cluster status should not be red.

Additional info:

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Status changed from New to Assigned
  • Target version set to 55
  • translation missing: en.field_release set to 13
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/106 added
  • Pull request deleted ()
Actions #3

Updated by Justin Sherrill over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF