Bug 1639364

Summary: Cannot change appliance name
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Mike Shriver <mshriver>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.5CC: abellott, dmetzger, hkataria, izapolsk, lavenel, mpovolny, mshriver, obarenbo, yrudman
Target Milestone: GAKeywords: AutomationBlocker, ZStream
Target Release: 5.9.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.6.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1635178 Environment:
Last Closed: 2018-12-13 15:15:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1635178    
Bug Blocks:    

Comment 2 CFME Bot 2018-11-05 17:27:25 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0c978bf9707ff3b492c31f18a197e8fe0a9a5ae7
commit 0c978bf9707ff3b492c31f18a197e8fe0a9a5ae7
Author:     Martin Povolny <mpovolny>
AuthorDate: Mon Jul  2 00:14:13 2018 -0400
Commit:     Martin Povolny <mpovolny>
CommitDate: Mon Jul  2 00:14:13 2018 -0400

    Merge pull request #4232 from lgalis/save_server_name_on_change

    Show and allow the server name to be saved in the settings/server screen

    (cherry picked from commit 69053eea9be1a7bdfd3e238e0b9257b175d69457)

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

 app/controllers/ops_controller/settings/common.rb | 2 +
 spec/controllers/ops_controller/settings/common_spec.rb | 9 +
 2 files changed, 11 insertions(+)

Comment 3 Harpreet Kataria 2018-11-06 20:50:30 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/4876 fixes the issue

Comment 5 CFME Bot 2018-11-26 15:12:24 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f32286ab67b390f38d5040cd2dd2191088a11b35
commit f32286ab67b390f38d5040cd2dd2191088a11b35
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Nov 21 09:55:01 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Nov 21 09:55:01 2018 -0500

    Fixed an issue introduced in cherry-pick conflict

    Issue introduced in https://github.com/ManageIQ/manageiq-ui-classic/pull/4876

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

 app/controllers/ops_controller/settings/common.rb | 17 +-
 1 file changed, 9 insertions(+), 8 deletions(-)

Comment 6 Ievgen Zapolskyi 2018-11-28 12:06:49 UTC
one of side issues of this fix - https://bugzilla.redhat.com/show_bug.cgi?id=1654287

Comment 7 Mike Shriver 2018-12-04 16:57:23 UTC
Tested in CFME 5.9.6.3.20181126231255_be48af6

The 'Save' button gets enabled when the appliance's name is changed in the server settings field.  The saved value persists.

The REST API continues to function as well for renaming.

Comment 9 errata-xmlrpc 2018-12-13 15:15:25 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/RHSA-2018:3816