Bug 1635178 - Cannot change appliance name
Summary: Cannot change appliance name
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
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Mike Shriver
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1639364
TreeView+ depends on / blocked
 
Reported: 2018-10-02 09:18 UTC by Jan Zmeskal
Modified: 2019-07-16 17:36 UTC (History)
11 users (show)

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


Attachments (Terms of Use)
Save button not clickable (132.30 KB, image/png)
2018-10-02 09:18 UTC, Jan Zmeskal
no flags Details

Description Jan Zmeskal 2018-10-02 09:18:17 UTC
Created attachment 1489360 [details]
Save button not clickable

Description of problem:
In server settings in configuration, it is impossible to change the field Appliance Name. Even though you provide a new value for it, Save button never becomes active.

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

How reproducible:
100 %

Steps to Reproduce:
1. Go to Configuration -> Settings -> Region -> Zones -> <your server>.
2. Switch to Server tab if you're not already in it.
3. Select Appliance Name field and fill in a new value there.

Actual results:
Save button is not clickable.

Expected results:
We should be able to save the new Appliance Name.

Additional info:
- This problem is not present in CFME 5.10.0.17
- If you change something else (e.g. you add server role Websocket), then the Save button becomes clickable. However, if you click it, your second change (adding Websocket server role) is saved, but the new Appliance Name is not.

Comment 3 Jan Zmeskal 2018-10-02 12:55:49 UTC
I found out that I can change Appliance name via REST API. This is from api.log:

[----] I, [2018-10-02T08:49:39.037447 #12150:16f29fc]  INFO -- : MIQ(Api::ServersController.log_request) Request:        {:method=>:patch, :action=>"edit", :fullpath=>"/api/servers/2/settings", :url=>"https://<my IP>/api/servers/2/settings", :base=>"https://<my IP>", :path=>"/api/servers/2/settings", :prefix=>"/api", :version=>"3.0.0", :api_prefix=>"https://<my IP>/api", :collection=>"servers", :c_suffix=>nil, :collection_id=>"2", :subcollection=>"settings", :subcollection_id=>nil}
[----] I, [2018-10-02T08:49:39.038028 #12150:16f29fc]  INFO -- : MIQ(Api::ServersController.log_request) Parameters:     {"action"=>"settings", "controller"=>"api/servers", "format"=>"json", "body"=>{"server"=>{"name"=>"EVM"}}}
[----] I, [2018-10-02T08:49:39.468981 #12150:16f29fc]  INFO -- : MIQ(Api::ServersController.log_request) Response:       {:completed_at=>"2018-10-02 12:49:39 UTC", :size=>"48.779 KBytes", :time_taken=>"0.543 Seconds", :status=>200}

This change is subsequently reflected in the UI in Configuration. Once I performed this change via REST API, I was able to change the Appliance name in the UI as well.

So this seems like an UI issue.

Comment 5 Ievgen Zapolskyi 2018-10-08 14:25:18 UTC
it also appears in 5.10.0.18

Comment 7 Harpreet Kataria 2018-10-08 21:52:46 UTC
once https://github.com/ManageIQ/manageiq-ui-classic/pull/4730 is backported, it should fix the issue.

~Harpreet

Comment 8 Harpreet Kataria 2018-10-08 22:18:18 UTC
Also need https://github.com/ManageIQ/manageiq-ui-classic/pull/4232 to be backported as well. Marking PR  as Gaprindashvili/yes.

Comment 10 Mike Shriver 2018-12-04 21:52:18 UTC
Tested in CFME 5.10.0.27.20181128170555_43ed8cb

The appliance name can be set via UI, the save button is enabled when the field is updated, and the value persists.


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