Bug 1639275

Summary: Server name "EVM" disappears when Server Roles changed
Product: Red Hat CloudForms Management Engine Reporter: Antonin Pagac <apagac>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED DUPLICATE QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.9.5CC: abellott, bascar, dmetzger, obarenbo, yrudman
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-15 15:31:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Antonin Pagac 2018-10-15 12:46:34 UTC
Description of problem:
When saving a change made to Server Roles (enabling or disabling a Server Role), the server name "EVM" disappears.

Before:
[root@host-192-168-100-98 vmdb]# rake evm:status
Checking EVM status...
 Zone    | Server | Status  | ID |
---------+--------+---------+----+
 default | EVM    | started |  1 |

After disabling Automation Engine server role:
[root@host-192-168-100-98 vmdb]# rake evm:status
Checking EVM status...
 Zone    | Server | Status  | ID |
---------+--------+---------+----+
 default |        | started |  1 |

Version-Release number of selected component (if applicable):
5.9.5.1
Occurs also in 5.9.5.0

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Configuration, settings for the current server
2. In Server Control part, enable or disable a Role
3. Save
4a. SSH to appliance and run
    [root@host-192-168-100-98 ~]# vmdb
    [root@host-192-168-100-98 vmdb]# rake evm:status
4b. Or refresh the page and notice there is no "EVM" behind the current user name

Actual results:
EVM server name disappears when making change in Server Roles

Expected results:
EVM server name shouldn't disappear

Additional info:
Not reproducible on 5.10.0.19.

Comment 2 Yuri Rudman 2018-10-15 15:31:10 UTC
it is fixed in https://github.com/ManageIQ/manageiq-ui-classic/pull/4730 + https://github.com/ManageIQ/manageiq-ui-classic/pull/4232

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