Bug 1341290 - Server Roles do not take effect without restart
Summary: Server Roles do not take effect without restart
Keywords:
Status: CLOSED DUPLICATE of bug 1339702
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: GA
: 5.7.0
Assignee: Dan Clarizio
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1310121
TreeView+ depends on / blocked
 
Reported: 2016-05-31 17:34 UTC by Krain Arnold
Modified: 2016-06-01 13:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-01 13:25:53 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Krain Arnold 2016-05-31 17:34:33 UTC
Description of problem:
Under Settings/Configuration the Server Control Server Roles selections do not change the actual server roles without an appliance restart.

Version-Release number of selected component (if applicable):
5.6.0.8-rc1.20160524155303_f2a5a50

How reproducible:
100%

Steps to Reproduce:
1. Navigate to settings/configuration
2. Turn off every single role, even the UI


Actual results:
Nothing.

Expected results:
The role's selected should be enabled, and the roles not selected should be disabled.

Additional info:

When the appliance is first configured, the roles enabled are: database_operations,event,reporting,scheduler,smartstate,ems_operations,ems_inventory,user_interface,websocket,web_services,automate

You can see this in vmdb/config/settings.yml and by running rake evm:status

If you change all the roles in the UI, this doesn't change. If you restart the evm service, it takes effect, visible by running evm:status, although settings.yml never changes. (It's also obvious when it starts working since, if you disable all the roles, you can still happily move about the UI. Once the roles take effect after the restart that breaks obviously.) This is true for disabling as well as enabling roles, so for example, at the moment it is impossible to enable C&U without restarting the appliance.

Comment 2 Harpreet Kataria 2016-05-31 19:17:57 UTC
I think the same fix for https://bugzilla.redhat.com/show_bug.cgi?id=1339702 might fix this issue as well.

Comment 3 Harpreet Kataria 2016-06-01 13:25:53 UTC
https://github.com/ManageIQ/manageiq/pull/9068

Please retest with next build.

*** This bug has been marked as a duplicate of bug 1339702 ***


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