Bug 1325738 - Server role selection/deselection not being honored
Summary: Server role selection/deselection not being honored
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Beta 2
: 5.6.0
Assignee: Joe Rafaniello
QA Contact: Nandini Chandra
URL:
Whiteboard: worker
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 04:37 UTC by Nandini Chandra
Modified: 2016-06-29 15:48 UTC (History)
5 users (show)

Fixed In Version: 5.6.0.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:48:02 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Nandini Chandra 2016-04-11 04:37:20 UTC
Description of problem:
-----------------------
After a server role is selected/deselected, the corresponding worker thread refuses to start/stop.


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


How reproducible:
-----------------
Always


Steps to Reproduce:
------------------
1.Select a server role and save the configuration setting.Observe that the worker role refuses to start.
2.Alternatively, deselect a server role and observe that the corresponding worker refuses to stop.


Actual results:
---------------
After a server role is selected/deselected, the corresponding worker thread refuses to start/stop.


Expected results:
-----------------
After a server role is selected/deselected, the corresponding worker thread should start/stop.


Additional info:
----------------

Comment 2 Nandini Chandra 2016-04-14 00:35:27 UTC
This issue exists in Beta 2 as well.I'm unable to start the C&U worker threads because of this issue.This issue is blocking C&U testing.

Comment 5 CFME Bot 2016-04-19 01:57:21 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/29695c7bbbb0a1930052ec2a25b0dcc498b0bc77

commit 29695c7bbbb0a1930052ec2a25b0dcc498b0bc77
Author:     Joe Rafaniello <jrafanie>
AuthorDate: Mon Apr 18 14:19:19 2016 -0400
Commit:     Joe Rafaniello <jrafanie>
CommitDate: Mon Apr 18 17:08:19 2016 -0400

    Clear the my_server cache so we can detect role changes faster.
    
    With a cached MiqServer, sync_needed? fails to detect changes to active roles
    within a reasonable amount of time.
    
    The default cache_with_timeout value is 5 minutes.
    
    With this change, we'll refetch the my_server with each iteration of the monitor
    loop.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1325738

 app/models/miq_server/worker_management/monitor.rb | 3 +++
 1 file changed, 3 insertions(+)

Comment 6 Nandini Chandra 2016-04-22 17:44:22 UTC
Verified in 5.6.0.4-beta2.3

Comment 8 errata-xmlrpc 2016-06-29 15:48:02 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:1348


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