Bug 1478434 - prevent two miq servers from starting
prevent two miq servers from starting
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.6.0
All All
medium Severity high
: GA
: 5.8.2
Assigned To: Gregg Tanzillo
Tasos Papaioannou
appliance
: ZStream
Depends On: 1464698
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-04 10:27 EDT by Satoe Imaishi
Modified: 2017-10-23 20:17 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.8.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1464698
Environment:
Last Closed: 2017-10-23 20:17:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)

  None (edit)
Comment 2 CFME Bot 2017-08-04 10:31:22 EDT
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/cdd920a7ab17b7c9d20065a26103a4649f9da823

commit cdd920a7ab17b7c9d20065a26103a4649f9da823
Author:     Gregg Tanzillo <gtanzill@redhat.com>
AuthorDate: Sat Jul 1 07:03:04 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Fri Aug 4 10:27:49 2017 -0400

    Merge pull request #15491 from jrafanie/do_not_remove_other_process_pidfile
    
    Only remove my process' pidfile.
    (cherry picked from commit 8dff3ce84db537aad522c580ce786c002a57548d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1478434

 lib/pid_file.rb           | 2 +-
 spec/lib/pid_file_spec.rb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 3 Tasos Papaioannou 2017-09-05 09:50:30 EDT
Verified on 5.8.2.0. After several days of uptime, evm.pid still exists:

****
[----] I, [2017-09-01T12:15:51.810359 #16873:5dd130]  INFO -- : MIQ(EvmApplication.start) EVM Startup initiated

# date
Tue Sep  5 09:48:16 EDT 2017

# ll /var/www/miq/vmdb/tmp/pids/evm.pid 
-rw-r--r--. 1 root root 5 Sep  1 12:16 /var/www/miq/vmdb/tmp/pids/evm.pid
****

Compare to 5.8.1.5, where evm.pid is missing after ~12 hours:

****
[----] I, [2017-09-04T21:37:14.274286 #48469:aab130]  INFO -- : MIQ(EvmApplication.start) EVM Startup initiated

# date
Tue Sep  5 09:48:05 EDT 2017

# ll /var/www/miq/vmdb/tmp/pids/evm.pid
ls: cannot access /var/www/miq/vmdb/tmp/pids/evm.pid: No such file or directory
****
Comment 5 errata-xmlrpc 2017-10-23 20:17:32 EDT
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/RHSA-2017:3005

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