Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1325738 - Server role selection/deselection not being honored
Server role selection/deselection not being honored
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: Beta 2
: 5.6.0
Assigned To: Joe Rafaniello
Nandini Chandra
worker
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-11 00:37 EDT by Nandini Chandra
Modified: 2016-06-29 11:48 EDT (History)
5 users (show)

See Also:
Fixed In Version: 5.6.0.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:48:02 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Nandini Chandra 2016-04-11 00:37:20 EDT
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-13 20:35:27 EDT
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-18 21:57:21 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/29695c7bbbb0a1930052ec2a25b0dcc498b0bc77

commit 29695c7bbbb0a1930052ec2a25b0dcc498b0bc77
Author:     Joe Rafaniello <jrafanie@redhat.com>
AuthorDate: Mon Apr 18 14:19:19 2016 -0400
Commit:     Joe Rafaniello <jrafanie@redhat.com>
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 13:44:22 EDT
Verified in 5.6.0.4-beta2.3
Comment 8 errata-xmlrpc 2016-06-29 11:48:02 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/RHBA-2016:1348

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