Bug 1376946 - trouble with the is_master flag during/after region reboot
Summary: trouble with the is_master flag during/after region reboot
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Gregg Tanzillo
QA Contact: Alex Newman
URL:
Whiteboard: distributed
Depends On:
Blocks: 1377412
TreeView+ depends on / blocked
 
Reported: 2016-09-16 22:11 UTC by Colin Arnott
Modified: 2019-12-16 06:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1377412 (view as bug list)
Environment:
Last Closed: 2016-11-01 14:11:19 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Colin Arnott 2016-09-16 22:11:27 UTC
Description of problem:
I stopped the evmserved process on all my appliances, rebooted the db owning appliance, but that process will not start. I manually reset the is_master flags in the VMDB¹, and this resolved the issue.

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


How reproducible:


Steps to Reproduce:
0. on all appliances:
  # systemctl stop evmserverd
1. reboot the db owning appliance
2. wait 5+ minutes for webserver to start up

Actual results:
the evmserverd process is running, but puma never starts, and most of the workers do not either

Expected results:
normal appliance start

Additional info:
1]  # psql vmdb_production -c "select id,hostname,is_master from miq_servers;"
    # psql vmdb_production -c "update miq_servers set is_master='f';"

2] logs have reviewed and are pending attachment, but showed nothing problematic


Note You need to log in before you can comment on or make changes to this bug.