Bug 1634518 - Embedded Ansible: Wrong message in Notifications
Summary: Embedded Ansible: Wrong message in Notifications
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Satyajit Bulage
Red Hat CloudForms Documentation
URL:
Whiteboard: ansible_embed
: 1638682 1639275 (view as bug list)
Depends On: 1638009
Blocks: 1646571
TreeView+ depends on / blocked
 
Reported: 2018-10-01 07:14 UTC by Satyajit Bulage
Modified: 2019-02-12 16:50 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.19
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1646571 (view as bug list)
Environment:
Last Closed: 2019-02-12 16:50:13 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot is showing actual results 5.9.5 (154.21 KB, image/png)
2018-10-01 07:14 UTC, Satyajit Bulage
no flags Details

Description Satyajit Bulage 2018-10-01 07:14:53 UTC
Created attachment 1488904 [details]
Screenshot is showing actual results 5.9.5

Description of problem:


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


How reproducible:100%


Steps to Reproduce:
1. Start Embedded Ansible server role
2.
3.

Actual results: In notification message shows "The role Embedded Ansible has started Activation on server null"


Expected results: It should show proper message like "The role Embedded Ansible has started activation on server EVM"


Additional info:

Comment 7 CFME Bot 2018-10-03 22:42:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/96809410e76cb4fe4b37efaf8edba412a20593bf
commit 96809410e76cb4fe4b37efaf8edba412a20593bf
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Oct  3 15:18:24 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Oct  3 15:18:24 2018 -0400

    Made changes to save server name only if it is not blank

    Also fixed the check that compares previously saved value against the value from miq_server record instead of checking `@update.config[:server][:name]` server/name key did not exist in settings.yml so the condition always returned true.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634518

 app/controllers/ops_controller/settings/common.rb | 30 +-
 spec/controllers/ops_controller/settings/common_spec.rb | 33 +
 2 files changed, 51 insertions(+), 12 deletions(-)

Comment 8 CFME Bot 2018-10-05 00:28:44 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f51dafbbb99b77c5812d1dbc405efdb67e1f33c5
commit f51dafbbb99b77c5812d1dbc405efdb67e1f33c5
Author:     Dan Clarizio <dclarizi>
AuthorDate: Wed Oct  3 18:39:22 2018 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Wed Oct  3 18:39:22 2018 -0400

    Merge pull request #4730 from h-kataria/dont_allow_blank_appliance_name_for_server

    Made changes to save server name only if it is not blank

    (cherry picked from commit 50782950894f776f5d37e3fe1aa5c174737451c0)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634518

 app/controllers/ops_controller/settings/common.rb | 30 +-
 spec/controllers/ops_controller/settings/common_spec.rb | 33 +
 2 files changed, 51 insertions(+), 12 deletions(-)

Comment 14 Harpreet Kataria 2018-10-12 13:12:18 UTC
*** Bug 1638682 has been marked as a duplicate of this bug. ***

Comment 15 Yuri Rudman 2018-10-15 15:31:10 UTC
*** Bug 1639275 has been marked as a duplicate of this bug. ***

Comment 16 Antonin Pagac 2018-10-17 10:02:24 UTC
Hit this with 5.10.0.20 while testing LDAP auth.

[root@dhcp-8-196-122 ~]# vmdb
[root@dhcp-8-196-122 vmdb]# rake evm:status
** CFME 5.10.0.20, codename: Hammer
Checking EVM status...
 Region | Zone    | Server   |
--------+---------+----------+
      0 | default | UNKNOWN* |

Server now shows UNKNOWN.

Comment 18 CFME Bot 2018-11-06 20:27:40 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/cfb9de4fcd3d6f6d71175c03330419a918fc59b5
commit cfb9de4fcd3d6f6d71175c03330419a918fc59b5
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Nov  5 16:37:27 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Nov  5 16:37:27 2018 -0500

    Made changes to save server name only if it is not blank

    Also fixed the check that compares previously saved value against the value from miq_server record instead of checking `@update.config[:server][:name]` server/name key did not exist in settings.yml so the condition always returned true.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634518

    (cherry picked from commit 96809410e76cb4fe4b37efaf8edba412a20593bf)

    # Conflicts:
    #	app/controllers/ops_controller/settings/common.rb
    #	spec/controllers/ops_controller/settings/common_spec.rb

 app/controllers/ops_controller/settings/common.rb | 24 +-
 spec/controllers/ops_controller/settings/common_spec.rb | 31 +
 2 files changed, 44 insertions(+), 11 deletions(-)

Comment 19 Satyajit Bulage 2018-11-12 13:09:34 UTC
Able to see the proper Notification after Embedded Ansible server role enabled. Also it is not allowing empty server name.

Verified Version: 5.10.0.23.20181106165157_92dd189


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